[MacPorts] #39550: gd2: update to 2.1.0
#39550: gd2: update to 2.1.0 ---------------------+-------------------------- Reporter: mojca@… | Owner: ryandesign@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: gd2 ---------------------+-------------------------- I would like to request updating gd2 (now at http://libgd.bitbucket.org). -- Ticket URL: <https://trac.macports.org/ticket/39550> MacPorts <http://www.macports.org/> Ports system for OS X
#39550: gd2: update to 2.1.0 ----------------------+-------------------------- Reporter: mojca@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 | ----------------------+-------------------------- Changes (by ryandesign@…): * status: new => assigned Comment: I have an update to 2.1.0-rc2 in my working copy. If 2.1.0 final is now out I shall update this and commit it. The trick will be identifying all the ports using gd2 so that the can be revbumped. -- Ticket URL: <https://trac.macports.org/ticket/39550#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39550: gd2: update to 2.1.0 ----------------------+-------------------------- Reporter: mojca@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 | ----------------------+-------------------------- Comment (by ryandesign@…): I've attached my proposed patch. -- Ticket URL: <https://trac.macports.org/ticket/39550#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#39550: gd2: update to 2.1.0 ----------------------+-------------------------- Reporter: mojca@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 | ----------------------+-------------------------- Comment (by mojca@…): Unrelated, but I'm just curious: is there any reason why $HOME/Library/Fonts is not added to -DDEFAULT_FONTPATH? -- Ticket URL: <https://trac.macports.org/ticket/39550#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#39550: gd2: update to 2.1.0 ----------------------+-------------------------- Reporter: mojca@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 | ----------------------+-------------------------- Comment (by mojca@…): Perfect, thank you. This fixes #34072. -- Ticket URL: <https://trac.macports.org/ticket/39550#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#39550: gd2: update to 2.1.0 ----------------------+-------------------------- Reporter: mojca@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 | ----------------------+-------------------------- Comment (by ryandesign@…): Replying to [comment:4 mojca@…]:
Unrelated, but I'm just curious: is there any reason why $HOME/Library/Fonts is not added to -DDEFAULT_FONTPATH?
That would be the value of $HOME at build time, which might not match the value of $HOME at runtime, particularly now that we have buildbots building ports for users. -- Ticket URL: <https://trac.macports.org/ticket/39550#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#39550: gd2: update to 2.1.0 ----------------------+-------------------------- Reporter: mojca@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 | ----------------------+-------------------------- Comment (by mojca@…): Oh, thank you. I thought that there was a way to ask for storing the path unexpanded. If such an option doesn't exist, leaving HOME out makes more sense of course. -- Ticket URL: <https://trac.macports.org/ticket/39550#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#39550: gd2: update to 2.1.0 ----------------------+-------------------------- Reporter: mojca@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 | ----------------------+-------------------------- Comment (by mojca@…): Tiny request: when revbumping gnuplot, there are two small patches that I would like to add at the same time if possible. -- Ticket URL: <https://trac.macports.org/ticket/39550#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#39550: gd2: update to 2.1.0 ----------------------+-------------------------- Reporter: mojca@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 | ----------------------+-------------------------- Comment (by ryandesign@…): Could you attach those patches here, or point me to another ticket where they're attached? I'll include them when I revbump. -- Ticket URL: <https://trac.macports.org/ticket/39550#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#39550: gd2: update to 2.1.0 ----------------------+-------------------------- Reporter: mojca@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 | ----------------------+-------------------------- Comment (by mojca@…): For gnuplot: 1.) I attached a new patch for src/variable.c here (just replace the old file with this one). There is no ticket for that patch except for this (https://sourceforge.net/p/gnuplot/patches/627/). The patch has now been applied upstream, but the exclamation mark is needed to search for fonts in /Library/Fonts recursively, else fonts from, say, /Library/Fonts/Microsoft aren't found. Not that anyone uses that obscure feature for PostScript plots ... ;) I asked the author of the previous patch why he removed the exclamation marks, but he wasn't able to recall why. So: exclamation marks need to stay. 2.) See #38798 for [http://trac.macports.org/attachment/ticket/38798 /gnuplot-demo.patch this patch] 3.) #34072 can be closed as fixed. Thank you. -- Ticket URL: <https://trac.macports.org/ticket/39550#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#39550: gd2: update to 2.1.0 ----------------------+-------------------------- Reporter: mojca@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 | ----------------------+-------------------------- Comment (by mojca@…): I attached a new complete patch for gnuplot upgrade. I just remembered that the released version of gnuplot didn't yet include the patch for off- by-one strlen error, so I included the patch for that as well. -- Ticket URL: <https://trac.macports.org/ticket/39550#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#39550: gd2: update to 2.1.0 ----------------------+-------------------------- Reporter: mojca@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 | ----------------------+-------------------------- Comment (by ryandesign@…): gd2 updated to 2.1.0 in r109413. -- Ticket URL: <https://trac.macports.org/ticket/39550#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#39550: gd2: update to 2.1.0 ----------------------+-------------------------- Reporter: mojca@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 | ----------------------+-------------------------- Comment (by ryandesign@…): Revbumped ports that link with gd2 in their default variants, and that don't require any other fixes, in r109415. -- Ticket URL: <https://trac.macports.org/ticket/39550#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#39550: gd2: update to 2.1.0 ----------------------+-------------------------- Reporter: mojca@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 | ----------------------+-------------------------- Comment (by ryandesign@…): Revbumped mldonkey and fixed its configure script in r109416. -- Ticket URL: <https://trac.macports.org/ticket/39550#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#39550: gd2: update to 2.1.0 ----------------------+-------------------------- Reporter: mojca@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 | ----------------------+-------------------------- Comment (by ryandesign@…): Revbumped gnuplot in r109417. Looks like the other patches for gnuplot attached above were already committed in r108795. -- Ticket URL: <https://trac.macports.org/ticket/39550#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
#39550: gd2: update to 2.1.0 ----------------------+-------------------------- Reporter: mojca@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 | ----------------------+-------------------------- Comment (by mojca@…): Replying to [comment:15 ryandesign@…]:
Revbumped gnuplot in r109417. Looks like the other patches for gnuplot attached above were already committed in r108795. Ummm. Yes, sorry. I wasn't aware that I forgot to tell you. I had to revbump gnuplot because of wxWidgets already. Thanks a lot for the commit and sorry for the confusion.
-- Ticket URL: <https://trac.macports.org/ticket/39550#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X
#39550: gd2: update to 2.1.0 ----------------------+-------------------------- Reporter: mojca@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 | ----------------------+-------------------------- Comment (by ryandesign@…): I was worried I was making you wait on my changes; glad you took care of it already! I didn't realize gd2 now needed pkgconfig to find its dependencies; without that, it stupidly builds successfully, but without support for any image formats other than jpeg (#40123). pkgconfig dependency added in r109420 but now I need to tell the buildbot to try again to build the ports I revbumped already that failed, and figure out if any of the ports silently ignored the missing gd2 features and need yet another revbump. Revbumped magicspp in r109421. -- Ticket URL: <https://trac.macports.org/ticket/39550#comment:17> MacPorts <http://www.macports.org/> Ports system for OS X
#39550: gd2: update to 2.1.0 ----------------------+-------------------------- Reporter: mojca@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 | ----------------------+-------------------------- Comment (by mojca@…): Gnuplot isn't shipping as a binary package, so that one probably doesn't need a revbump. Thanks for fixing this so quickly. -- Ticket URL: <https://trac.macports.org/ticket/39550#comment:18> MacPorts <http://www.macports.org/> Ports system for OS X
#39550: gd2: update to 2.1.0 ----------------------+-------------------------- Reporter: mojca@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 | ----------------------+-------------------------- Comment (by ryandesign@…): If gnuplot had built successfully and simply omitted gd2 support when it discovered that png support wasn't available, then it would have needed another revbump. But it failed to build, so it doesn't. If binary packages were available, then I would have to tell the buildbot to try the build again. -- Ticket URL: <https://trac.macports.org/ticket/39550#comment:19> MacPorts <http://www.macports.org/> Ports system for OS X
#39550: gd2: update to 2.1.0 ----------------------+-------------------------- Reporter: mojca@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 | ----------------------+-------------------------- Comment (by ryandesign@…): Replying to [comment:17 ryandesign@…]:
and figure out if any of the ports silently ignored the missing gd2 features and need yet another revbump.
The [https://build.macports.org/builders/buildports-snowleopard- x86_64/builds/19568/steps/gather%20archives/logs/stdio list of ports] that the buildbot successfully built after the first revbumps, which are therefore suspected of possibly missing gd2 support: * EMBOSS: checks for gdImageCreateFromPng and when missing omits libgd support = needs revbump * cvsgraph: checks for gdImagePng and gdImagePngEx and when missing omits png support = needs revbump * g2: checks for gdImagePng and when missing omits png support = needs revbump * graphviz, graphviz-devel: warns at configure time when gd2 is missing fontconfig or freetype support but doesn't change the build = doesn't need revbump * libpuzzle: only checks for gdImageCreateFromGd2 which exists either way = doesn't need revbump * mrtg: checks for gdImagePng and when missing omits png support = needs revbump * nagios: checks for gdImagePng and when missing omits libgd support = needs revbump * p5-gd: not sure; updated to 2.50 in r109426 * p5-term-gnuplot: checks for gdImagePng in gd.h = doesn't need revbump * pTeX: checks for gdImageCreateFromPng and when missing uses its own internal version of gd = needs revbump * py-gd: doesn't seem to check for anything = doesn't need revbump Revbumps committed in r109427. That leaves these which did not build and which the buildbots need to try again: * argus-monitor * dvipng * grads * icoconvert * libgphoto2 * mkhexgrid * mosml-dynlibs * mscgen * pcb * ploticus * rb-gd * s710 * vnstat * webalizer * wview Started rebuilds of those: * snowleopard: https://build.macports.org/builders/buildports- snowleopard-x86_64/builds/19574 * lion: https://build.macports.org/builders/buildports-lion- x86_64/builds/13217 * mtln: https://build.macports.org/builders/buildports-mtln- x86_64/builds/7078 -- Ticket URL: <https://trac.macports.org/ticket/39550#comment:20> MacPorts <http://www.macports.org/> Ports system for OS X
#39550: gd2: update to 2.1.0 ----------------------+-------------------------- Reporter: mojca@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 | ----------------------+-------------------------- Comment (by ryandesign@…): Replying to [comment:20 ryandesign@…]:
That leaves these which did not build and which the buildbots need to try again:
argus-monitor fails to build because it violates the destroot (#39666). mosml-dynlibs fails to build and has several open tickets. pcb fails to build, saying "configure: error: Your gd installation does not appear to include gif support." gif support should be there, so this needs investigation. s710 fails to build because it cannot find libvpx. I declared libvpx as a build dependency of gd2 because it only contains a static library, but it turns out "-lvpx" makes its way into gd2's pkgconfig files and gdlib- config script, so libvpx should be a library dependency after all. -- Ticket URL: <https://trac.macports.org/ticket/39550#comment:21> MacPorts <http://www.macports.org/> Ports system for OS X
#39550: gd2: update to 2.1.0 ----------------------+-------------------------- Reporter: mojca@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 | ----------------------+-------------------------- Comment (by ryandesign@…): Replying to [comment:21 ryandesign@…]:
s710 fails to build because it cannot find libvpx. I declared libvpx as a build dependency of gd2 because it only contains a static library, but it turns out "-lvpx" makes its way into gd2's pkgconfig files and gdlib- config script, so libvpx should be a library dependency after all.
Changed libvpx to a library dependency in r109435.
pcb fails to build, saying "configure: error: Your gd installation does not appear to include gif support." gif support should be there, so this needs investigation.
The most telling difference between the log on my system (where it builds) and the buildbot's (where it doesn't) is that the buildbot didn't have tiff installed. Looks like gd2 is opportunistically using libtiff, so I added an explicit dependency on it in r109444. Not sure if that will help with this but I'll kick off a new build on the buildbot to see. -- Ticket URL: <https://trac.macports.org/ticket/39550#comment:22> MacPorts <http://www.macports.org/> Ports system for OS X
#39550: gd2: update to 2.1.0 ----------------------+-------------------------- Reporter: mojca@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 | ----------------------+-------------------------- Comment (by ryandesign@…): Replying to [comment:22 ryandesign@…]:
Not sure if that will help with this but I'll kick off a new build on the buildbot to see.
* snowleopard: https://build.macports.org/builders/buildports- snowleopard-x86_64/builds/19588 * lion: https://build.macports.org/builders/buildports-lion- x86_64/builds/13232 * mtln: https://build.macports.org/builders/buildports-mtln- x86_64/builds/7094 Both pcb and s710 built successfully on all three. -- Ticket URL: <https://trac.macports.org/ticket/39550#comment:23> MacPorts <http://www.macports.org/> Ports system for OS X
#39550: gd2: update to 2.1.0 ----------------------+-------------------------- Reporter: mojca@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 | ----------------------+-------------------------- Comment (by mojca@…): Can this ticket be closed now? -- Ticket URL: <https://trac.macports.org/ticket/39550#comment:24> MacPorts <http://www.macports.org/> Ports system for OS X
#39550: gd2: update to 2.1.0 ----------------------+-------------------------- Reporter: mojca@… | Owner: ryandesign@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: gd2 | ----------------------+-------------------------- Changes (by mojca@…): * status: assigned => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/39550#comment:25> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts