[Bug 271530] textproc/py-sphinxcontrib-svg2pdfconverter: should follow LIBRSVG2_DEFAULT for librsvg2 dependency
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271530] textproc/py-sphinxcontrib-svg2pdfconverter: should follow LIBRSVG2_DEFAULT for librsvg2 dependency"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271530] textproc/py-sphinxcontrib-svg2pdfconverter: should follow LIBRSVG2_DEFAULT for librsvg2 dependency"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271530] textproc/py-sphinxcontrib-svg2pdfconverter: should follow LIBRSVG2_DEFAULT for librsvg2 dependency"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 20 May 2023 11:45:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271530 Bug ID: 271530 Summary: textproc/py-sphinxcontrib-svg2pdfconverter: should follow LIBRSVG2_DEFAULT for librsvg2 dependency Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: fuz@FreeBSD.org CC: agh@riseup.net Flags: maintainer-feedback?(agh@riseup.net) CC: agh@riseup.net Attachment #242293 maintainer-approval?(agh@riseup.net) Flags: Flags: merge-quarterly? Created attachment 242293 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=242293&action=edit textproc/py-sphinxcontrib-svg2pdfconverter: use USES=gnome to depend on librsvg2 This port currently selects which rsvg2 dependency to use based on a port option. This is quite suboptimal as most (but not all) architectures use the rust variant by default, but this port uses the old C variant. Thus there are package conflicts when you try to install this port and and various GUI ports at the same time. To fix this, the port should not supply an option but rather depend on rsvg by using USES= gnome USE_GNOME= librsvg2 This will pick the correct librsvg dependency depending on which one the user selected as his/her default and on what is installed. Attached patch implements this change. -- You are receiving this mail because: You are the assignee for the bug.