FS#70198 - [netpbm] Convert to use python 3.
Attached to Project:
Arch Linux
Opened by loqs (loqs) - Sunday, 28 March 2021, 20:35 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:26 GMT
Opened by loqs (loqs) - Sunday, 28 March 2021, 20:35 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:26 GMT
|
Details
Description:
netpbm upstream contains commits that add python3 compatibility [1][2]. After applying the patches the build does not work as some of the docs from netpbm-doc-31Jan2014.tar.xz contain invalid utf-8. The invalid characters can be preserved and written out again so the man pages will be identical [3]. As an alternative the docs can be converted to utf-8 [4]. Additional info: * netpbm-10.73.33-1 [1] https://sourceforge.net/p/netpbm/code/2996/ [2] https://sourceforge.net/p/netpbm/code/3033/ [3] PKGBUILD.diff.1 [4] PKGBUILD.diff.2 |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:26 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/netpbm/issues/1
Saturday, 25 November 2023, 20:26 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/netpbm/issues/1
sed -i 's|LDFLAGS_ALL = $(WINICON_OBJECT)|LDFLAGS_ALL = $(LDFLAGS) $(WINICON_OBJECT)|' common.mk
sed -i 's|LDSHLIB = -shared -Wl,-soname,$(SONAME)|LDSHLIB = -shared -Wl,-soname,$(SONAME) $(LDFLAGS)|' config.mk
For the time being python(2) support was dropped entirely in august of 2022[0]
In the meantime there were newer releases and the mentioned commits could be released (still figuring it out, but the SF viewer for the history doesn't make it easy).
Edit: The python3 compat seems to be only available from the stable[1] versions and not super_stable, what is currently packaged. Therefore fixed with versions 10.80.00+.
____________
[0] https://github.com/archlinux/svntogit-packages/commit/8c0f1388c0a6f467839d6dc370d323f353fa1d2a
[1] https://sourceforge.net/p/netpbm/code/4485/tree/stable/doc/HISTORY
[1] https://gitlab.archlinux.org/archlinux/packaging/packages/netpbm/-/commit/885488c11a2a29c1f90492e943339579264011a3