After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 139024 - gimptool collides with gimp-1.2
gimptool collides with gimp-1.2
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: General
2.0.x
Other All
: Urgent blocker
: 2.0
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2004-04-04 11:11 UTC by Sven Neumann
Modified: 2004-04-04 19:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
don't install the gimptool links (1.79 KB, patch)
2004-04-04 11:30 UTC, Sven Neumann
none Details | Review

Description Sven Neumann 2004-04-04 11:11:59 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.
Comment 1 Sven Neumann 2004-04-04 11:30:59 UTC
Created attachment 26308 [details] [review]
don't install the gimptool links
Comment 2 Sven Neumann 2004-04-04 14:49:47 UTC
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).
Comment 3 Sven Neumann 2004-04-04 19:24:21 UTC
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).