[MacPorts] #47443: Reducing the dependencies of ImageMagick (djvulibre)
#47443: Reducing the dependencies of ImageMagick (djvulibre) --------------------------+-------------------------------- Reporter: ocroquette@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: ImageMagick --------------------------+-------------------------------- Currently, the ImageMagick port is unconditionally depending on the "djvulibre" port, bringing in 160 (!) indirect dependencies, including: * dbus, and its Launch Agent * gtk3 * cairo * python27 * sqlite3 * docbook-xml * ... As a quick experiment, I removed djvulibre from the list of dependencies, and I could build ImageMagick and use "convert" successfully. I suggest to remove "djvulibre" as hard dependency and/or create a specific variant if it has added value for some users. -- Ticket URL: <https://trac.macports.org/ticket/47443> MacPorts <https://www.macports.org/> Ports system for OS X
#47443: Reducing the dependencies of ImageMagick (djvulibre) ---------------------------+--------------------------- Reporter: ocroquette@… | Owner: vryandesign@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: ImageMagick | ---------------------------+--------------------------- Changes (by mf2k@…): * owner: macports-tickets@… => vryandesign@… Comment: In the future, please Cc the port maintainers ({{{port info --maintainers ImageMagick}}}), if any. -- Ticket URL: <https://trac.macports.org/ticket/47443#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#47443: Reducing the dependencies of ImageMagick (djvulibre) ---------------------------+--------------------------- Reporter: ocroquette@… | Owner: vryandesign@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: ImageMagick | ---------------------------+--------------------------- Comment (by ocroquette@…): Replying to [comment:1 mf2k@…]:
In the future, please Cc the port maintainers ({{{port info --maintainers ImageMagick}}}), if any.
I will, sorry. -- Ticket URL: <https://trac.macports.org/ticket/47443#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#47443: Reducing the dependencies of ImageMagick (djvulibre) ---------------------------+--------------------------- Reporter: ocroquette@… | Owner: vryandesign@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: ImageMagick | ---------------------------+--------------------------- Comment (by frederic.devernay@…): I think installing librsvg with the -viewer variant fixes this. The viewer variant should not be enabled by default in librsvg. I just filed #47596 -- Ticket URL: <https://trac.macports.org/ticket/47443#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#47443: Reducing the dependencies of ImageMagick (djvulibre) ---------------------------+-------------------------- Reporter: ocroquette@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: ImageMagick | ---------------------------+-------------------------- Changes (by mf2k@…): * owner: vryandesign@… => ryandesign@… -- Ticket URL: <https://trac.macports.org/ticket/47443#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#47443: Reducing the dependencies of ImageMagick (djvulibre) ---------------------------+-------------------------- Reporter: ocroquette@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: ImageMagick | ---------------------------+-------------------------- Comment (by devans@…): As of r135684, the +viewer variant of librsvg is no longer asserted by default. This removes its dependency on gtk3. If you're not using gtk3 for other reasons, this may help. See #47596 for details. -- Ticket URL: <https://trac.macports.org/ticket/47443#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#47443: Reducing the dependencies of ImageMagick (djvulibre) ---------------------------+-------------------------- Reporter: ocroquette@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: ImageMagick | ---------------------------+-------------------------- Comment (by mschamschula@…): I've created a djvulibre variant. As it depends on the rsvg variant, which in turn depends on the pango variant, the variants now use the "requires" syntax to note this fact. -- Ticket URL: <https://trac.macports.org/ticket/47443#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#47443: Reducing the dependencies of ImageMagick (djvulibre) ---------------------------+-------------------------- Reporter: ocroquette@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: ImageMagick | ---------------------------+-------------------------- Comment (by ryandesign@…): Replying to [comment:6 mschamschula@…]:
As it depends on the rsvg variant, which in turn depends on the pango variant, the variants now use the "requires" syntax to note this fact.
How do you know that djvulibre support in ImageMagick requires the rsvg variant? How do you know the rsvg variant requires the pango variant? -- Ticket URL: <https://trac.macports.org/ticket/47443#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#47443: Reducing the dependencies of ImageMagick (djvulibre) ---------------------------+-------------------------- Reporter: ocroquette@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: ImageMagick | ---------------------------+-------------------------- Comment (by mschamschula@…): Replying to [comment:8 ryandesign@…]:
Replying to [comment:6 mschamschula@…]:
As it depends on the rsvg variant, which in turn depends on the pango variant, the variants now use the "requires" syntax to note this fact.
How do you know that djvulibre support in ImageMagick requires the rsvg variant? How do you know the rsvg variant requires the pango variant?
I found out the hard way, while trying to build ImageMagick under El Cap, where it currently is impossible to build pango due to some system header issues. In other words: * If you install the rsvg variant, you need pango as a dependency, so why not install the variant? * If you install the djvulibre variant, you need both pango and rsvg as dependencies, so why not install those variants? -- Ticket URL: <https://trac.macports.org/ticket/47443#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts