GNOME Bugzilla – Bug 725531
[patch] gimp doesn't build in stable modulesets
Last modified: 2015-02-23 20:30:25 UTC
Created attachment 270734 [details] [review] Patch against gimp to fix build of 2.8.10 Stable moduleset currently has gimp 2.8.2 which is fairly old, and no longer builds with the current provided version of freetype: gimpfont.c:30:10: fatal error: 'freetype/tttables.h' file not found #include <freetype/tttables.h> ^ per https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732010 freetype has changed and gimp to use the proper #define instead of hardcoding the name of this file. I can also confirm that going ahead and updating to 2.8.10 works, but still needs a patch.
Created attachment 270735 [details] [review] Update of module definition to gimp 2.8.10, adds patch Change the patch path to the final path when applying, of course. :) Note that to actually build gimp it's also necessary to fix babl -- workaround on bug 725530
Tracked for GIMP in bug #719560 (fix was also committed to the stable branch gimp-2-8, but after the release of 2.8.10).
Comment on attachment 270735 [details] [review] Update of module definition to gimp 2.8.10, adds patch
A patch file pointing to your user directory works only for you. Don't feel bad, I've made that mistake too. For reference, see Gimp bug 719560; Mitch's actual patch is https://git.gnome.org/browse/gimp/patch/?id=71c144c972d5582522b6d13a4194169916186c7a. The best solution is to use that URI and to add a comment saying that it will be in 2.8.11 so that I remember to take it out the next time I upgrade the gimp version.
Gimp is now at 2.8.14, and I'm updating the modulesets accordingly.