Summary: | graphics/gif2png: depends on python 2.x | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Steve Wills <swills> |
Component: | Individual Port(s) | Assignee: | Rene Ladan <rene> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | rene, saper, wen |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(saper) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any | ||
Bug Depends on: | |||
Bug Blocks: | 249337 |
Description
Steve Wills
2020-09-24 16:28:15 UTC
Now gif2png-3.0 code switched to Go. Yes, gif2png got converted to go, but the problematic web2png script is still python 1.5.2+ and not python 3 compatible. https://gitlab.com/esr/gif2png/-/blob/3.0.0/web2png Maybe it can be brought to something closer to 3.x easily. Can you link https://gitlab.com/esr/gif2png/-/issues/13 and assign this to me? thanks. Any update on this? Note that this port expired today. No updates. We can either: 1) kick out web2png (that's the python part) - not sure how to do this (PORTREVISION bump looks not good to me here) 2) kick the whole port out - there is only one dependency in the ports tree which is trivial to avoid (In reply to Marcin Cieślak from comment #5) Hm, so only games/lbreakout2 depends on this port and lbreakout2 is unmaintained. But is should indeed be trivial to remove the gif2png call in pre-build: there. I'll try that. (In reply to Rene Ladan from comment #6) Building lbreakout2 without gif2png works just fine. I think the only artifact is that the window manager menu icon is lost. Maybe this could be manually converted once and added to the port? Any advice how shall I remove web2png? In the unlikely event someone depends on it I'd like to make sure the installed package does not get automatically upgraded. web2png was written for Python ca 1.5 but still works with 2.7. (In reply to Marcin Cieślak from comment #9) We can just remove this port, the package would become orphaned on people still having it installed. It will never get upgraded that way. Feel free to add the converted icon to games/lbreakout2 (In reply to Marcin Cieślak from comment #8) Yes, that sounds fair. I'll host the converted image on FreeBSDs infrastructure for now (until upstream converts it I guess). A commit references this bug: Author: rene Date: Wed Jan 13 08:46:58 UTC 2021 New revision: 561442 URL: https://svnweb.freebsd.org/changeset/ports/561442 Log: games/lbreakout2: use a pre-generated png version of the desktop icon Pre-generating the desktop icon has two advantages: - this port no longer depends on the expired graphics/gif2png - the port is no longer broken on powerpc64, as that was related to gif2png Idea from the gif2png maintainer PR: 249693 Submitted by: swills Changes: head/games/lbreakout2/Makefile head/games/lbreakout2/distinfo lbreakout2 now uses a pre-generated image, thanks for the idea! |