Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94343 - sane-frontends installs gimp plugins to /plug-ins
Summary: sane-frontends installs gimp plugins to /plug-ins
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-28 19:38 UTC by Jeff Davidson
Modified: 2005-05-30 22:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Davidson 2005-05-28 19:38:23 UTC
( sane-frontends-1.0.13.ebuild )

The problem is that with USE="gimp", the ebuild tries to automatically detect
the gimp version and use /usr/bin/gimptool-<version>.  However, I have gimp 2.2,
and the ebuild tries to run /usr/bin/gimptool-2.2 to get the plug-in directory,
while the only gimp tool I have installed is gimptool-2.0.  Therefore, the
command to get the plug-in directory fails, and the plugin installs to
/plug-ins.  Hardcoding the version in works, however, I doubt that is the way
you want it to be done.

Thanks in advance.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2005-05-30 02:21:22 UTC
Thanks for the hint, I'll ask the gimp maintainer about the right way to find
this path.
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2005-05-30 06:03:13 UTC
Ok, just calling gimptool without version suffix now. Silent fix, no need to
recompile for a broken symlink.
Comment 3 Jeff Davidson 2005-05-30 15:36:06 UTC
Sorry, but I don't think this is resolved.  I don't have a /usr/bin/gimptool either.

% ls /usr/bin | grep gimp
gimp
gimp-2.2
gimp-remote
gimp-remote-2.2
gimpprint-config
gimptool-2.0

% equery l media-gfx/gimp
[ Searching for package 'gimp' in 'media-gfx' among: ]
 * installed packages
[I--] [  ] media-gfx/gimp-print-4.2.7 (0)
[I--] [  ] media-gfx/gimp-2.2.7 (2)

I didn't notice any ebuild changes to gimp in WebCVS, but I verified what you
said about the sane-frontends ebuild there.

Sorry for the hassle.
Comment 4 Patrick Kursawe (RETIRED) gentoo-dev 2005-05-30 22:57:56 UTC
The current version of gimp installs such a symlink but I think you are right,
it is not yet safe to assume this since older versions aren't that nice.
Modified the ebuild accordingly, thanks for the hint again.