[MacPorts] #43328: librsvg dependent on gtk3?
#43328: librsvg dependent on gtk3? -------------------------+-------------------------------- Reporter: jshpettus@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: librsvg -------------------------+-------------------------------- Why does the librsvg have a dependency on gtk3? Personally all I need it for is gtk2, and it certainly doesn't need gtk3 to compile for itself. Can this dependency be removed? For me this is an issue as currently gtk3 isn't compiling with OS10.6 -- Ticket URL: <https://trac.macports.org/ticket/43328> MacPorts <http://www.macports.org/> Ports system for OS X
#43328: librsvg dependent on gtk3? --------------------------+----------------------- Reporter: jshpettus@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: librsvg | --------------------------+----------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => pixilla@… * cc: pixilla@…, openmaintainer@… (removed) Comment: Please do not Cc openmaintainer@macports.org because it is [wiki:MacPortsDevelopers#special not a valid email address]. -- Ticket URL: <https://trac.macports.org/ticket/43328#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43328: librsvg dependent on gtk3? --------------------------+----------------------- Reporter: jshpettus@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: librsvg | --------------------------+----------------------- Changes (by devans@…): * cc: devans@… (added) Comment: librsvg requires gtk3 to build included utility rsvg-view-3. -- Ticket URL: <https://trac.macports.org/ticket/43328#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43328: librsvg dependent on gtk3? --------------------------+----------------------- Reporter: jshpettus@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: librsvg | --------------------------+----------------------- Comment (by jshpettus@…): Thanks for responding I see, but rsvg-veiw is only useful for people using gtk3 anyway. Can we make a variant for people who only want to bother with gtk2 and not have to install gtk3 as well? It’s still a waste. Sry about the openmaintainer, Ill remember next time. -- Ticket URL: <https://trac.macports.org/ticket/43328#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#43328: librsvg dependent on gtk3? --------------------------+----------------------- Reporter: jshpettus@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: librsvg | --------------------------+----------------------- Changes (by pixilla@…): * cc: cal@… (added) Comment: Replying to [comment:4 jshpettus@…]:
Thanks for responding I see, but rsvg-veiw is only useful for people using gtk3 anyway. Can we make a variant for people who only want to bother with gtk2 and not have to install gtk3 as well?
In principle a default variant to enable rsvg-view sound reasonable. Not knowing gtk{2,3} or librsvg well I am confused by the dependencies. See #32949 where we dropped the dependency on gtk2, so librsvg can be made a dependency of gtk2. Would creating subports for rsvg-view or rsvg-view-3 help? -- Ticket URL: <https://trac.macports.org/ticket/43328#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#43328: librsvg dependent on gtk3? --------------------------+----------------------- Reporter: jshpettus@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: librsvg | --------------------------+----------------------- Comment (by devans@…): The problem is that the package has no configure option to disable the build of rsvg-view-3 so it will build if gtk3 is present and not otherwise. Just removing the gtk3 dependency won't do it as many other related ports now require gtk3. There is no longer a gtk2 option for this utility. I would suggest patching Makefile.am to build without rsvg- view-3 by default and adding a variant to build it by disabling this patch if desired. -- Ticket URL: <https://trac.macports.org/ticket/43328#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#43328: librsvg dependent on gtk3? --------------------------+----------------------- Reporter: jshpettus@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: librsvg | --------------------------+----------------------- Comment (by jshpettus@…): @devens that sounds to me like a good solution. Though to me the gtk2 version should be the variant as this would be a modification of the code. It's really weird. In linix repos, where it's already built, I'm fairly certian gtk3 isn't automatically installed with librsvg. though I could be wrong. -- Ticket URL: <https://trac.macports.org/ticket/43328#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#43328: librsvg dependent on gtk3? --------------------------+----------------------- Reporter: jshpettus@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: librsvg | --------------------------+----------------------- Comment (by devans@…): In that case, to conform to current variant guidelines, the variant would enable the build of the viewer and be asserted by default. You would then have to build librsvg -viewer to get what you want. This makes sense since gtk3 is the current version of GTK+ and gtk2 is deprecated and its use is increasingly disappearing from ports. -- Ticket URL: <https://trac.macports.org/ticket/43328#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#43328: librsvg dependent on gtk3? --------------------------+----------------------- Reporter: jshpettus@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: librsvg | --------------------------+----------------------- Comment (by jshpettus@…): Really? What applications use gtk3? Even gimp still uses gtk2 for their macport. -- Ticket URL: <https://trac.macports.org/ticket/43328#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#43328: librsvg dependent on gtk3? --------------------------+----------------------- Reporter: jshpettus@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: librsvg | --------------------------+----------------------- Comment (by devans@…): gimp and inkscape are current exceptions but both are working on gtk3 versions (see ports gimp3-devel and inkscape-devel +gtk3). All current GNOME ports use gtk3 exclusively. -- Ticket URL: <https://trac.macports.org/ticket/43328#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#43328: librsvg dependent on gtk3? --------------------------+----------------------- Reporter: jshpettus@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: librsvg | --------------------------+----------------------- Comment (by devans@…): Patch attached that adds a new default variant +viewer as well as updating the port to version 2.30.2 (#43331). -- Ticket URL: <https://trac.macports.org/ticket/43328#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#43328: librsvg dependent on gtk3? --------------------------+----------------------- Reporter: jshpettus@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch Port: librsvg | --------------------------+----------------------- Changes (by devans@…): * keywords: => haspatch -- Ticket URL: <https://trac.macports.org/ticket/43328#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#43328: librsvg dependent on gtk3? --------------------------+----------------------- Reporter: jshpettus@… | Owner: pixilla@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: haspatch Port: librsvg | --------------------------+----------------------- Changes (by devans@…): * status: new => closed * resolution: => fixed Comment: Patch committed in r118848 after email discussion with maintainer. Also closes #43331. Install librsvg -viewer to avoid a gtk3 dependency at the expense of the rsvg-view-3 utility. -- Ticket URL: <https://trac.macports.org/ticket/43328#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#43328: librsvg dependent on gtk3? --------------------------+----------------------- Reporter: jshpettus@… | Owner: pixilla@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: haspatch Port: librsvg | --------------------------+----------------------- Comment (by jshpettus@…): neat! thanks a lot! -- Ticket URL: <https://trac.macports.org/ticket/43328#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts