GNOME Bugzilla – Bug 139024
gimptool collides with gimp-1.2
Last modified: 2004-04-04 19:24:21 UTC
When gimp is being configured with the --enable-default-binary options (which is on by default since gimp-2.0rc), we create a symlink gimptool pointing to gimptool-2.0. gimp-1.2 contains this symlink also, pointing to gimptool-1.2. The intention was to make gimptool convenient to use for our users. There's a problem however which is in the gimp-1.2 tree but since we can't fix it there, we should think about possible workarounds in gimp-2.0. The problem is that gimp.m4, which provides AM_PATH_GIMP(), the automake macro to check for gimp-1.2 does not use gimptool-1.2 as it should. It checks for the gimptool binary in the PATH and uses that. This means that if people have gimp-2.0 installed, makefiles and configure scripts written to work with gimp-1.2 start to break. The gimp-print plug-in is a prominent example. If gimp-1.2 and gimp-2.0 are installed and the gimp-print configure script is run, the script detects the presence of gimp-1.2 but uses CFLAGS and LIBS from gimptool which points to gimp-2.0. Probably the only thing we can do about this is to not install the symlink and to document that gimptool-2.0 needs to be used with gimp-2.0. This doesn't fix all the systems that already have gimp-2.0.0 installed since the symlink exists there already.
Created attachment 26308 [details] [review] don't install the gimptool links
I've fixed the gimp.m4 script in the gimp-1-2 branch. We should consider to do a 1.2.6 release as a final release in the 1.2 series. 2004-04-04 Sven Neumann <sven@gimp.org> * gimp.m4 (AM_PATH_GIMP): use gimptool-1.2, not gimptool (bug #139024).
2004-04-04 Sven Neumann <sven@gimp.org> * Makefile.am * docs/Makefile.am: don't install gimptool symlinks to gimptool-2.0 and its manpage. gimp.m4 as installed with gimp-1.2 looks for gimptool (bug #139024).