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
Task Type General Gripe
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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
Comment by loqs (loqs) - Thursday, 01 April 2021, 23:12 GMT
Overlinking can be removed by:
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
Comment by Lex Black (TrialnError) - Monday, 20 March 2023, 09:00 GMT
Recent history for this package in that regard:
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

Comment by Christian Heusel (gromit) - Monday, 24 July 2023, 21:24 GMT
@loqs, is this bug still relevant? Currently it seem the package does not need python at all and python2 was long dropped from the repos ...
Comment by loqs (loqs) - Monday, 24 July 2023, 21:32 GMT
The man pages were dropped and become a TODO item in [1]. If the intent is to reinstate the man pages as the TODO implies I could provide an updated patch. Although as the package has no maintainer it might be simpler to close the issue.

[1] https://gitlab.archlinux.org/archlinux/packaging/packages/netpbm/-/commit/885488c11a2a29c1f90492e943339579264011a3
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...