Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24382 - sane-frontend ebuilds create a "plugin-link" for gimp-1.2, but not for gimp 1.3
Summary: sane-frontend ebuilds create a "plugin-link" for gimp-1.2, but not for gimp 1.3
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-13 04:51 UTC by Carsten Lohrke (RETIRED)
Modified: 2004-04-25 13:55 UTC (History)
1 user (show)

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 Carsten Lohrke (RETIRED) gentoo-dev 2003-07-13 04:51:49 UTC
fix: 

if [ -d /usr/lib/gimp/1.2 ]; then
  dodir /usr/lib/gimp/1.2/plug-ins
  dosym /usr/bin/xscanimage /usr/lib/gimp/1.2/plug-ins/xscanimage
fi
if [ -d /usr/lib/gimp/1.3 ]; then
  dodir /usr/lib/gimp/1.3/plug-ins
  dosym /usr/bin/xscanimage /usr/lib/gimp/1.3/plug-ins/xscanimage
fi


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Matthew Eaton 2003-08-20 13:11:57 UTC
The ebuild would also need to specify --enable-gimp13 to the configure script. Perhaps a gimp1.3 USE flag is needed.

Additionally,
result = gimp_main (argc, argv);
needs to be this for gimp 1.3:
result = gimp_main (&PLUG_IN_INFO, argc, argv);
(this probably needs to be an #ifdef in the upstream)
Comment 2 foser (RETIRED) gentoo-dev 2003-08-23 17:14:59 UTC
First of all, gimp 1.3 is not really supported by us yet. I'm not gonna add USE flags for it.

does the frontend autodetect gimp-1.3 series ? if that's the case the proposed fix in 1 would be enough for now.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2003-08-23 18:40:53 UTC
--enable-gimp13        include GIMP 1.3 plugin mode (this disables GIMP =< 1.2 plugin)

1. >=sane-frontends-1.0.11
2. mutual exlusive (or a lot of work) 
3. no autodetection

foser, you're right. There are a not much bugs with a lower priority in bugs.g.o., than any gimp-1.3 stuff.
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2004-04-25 13:55:53 UTC
outdated, closing