Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45954 - xsane-0.92 with gimp-2.0 support
Summary: xsane-0.92 with gimp-2.0 support
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
: 46331 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-28 00:31 UTC by Sean
Modified: 2004-12-07 02:22 UTC (History)
2 users (show)

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


Attachments
gimp-2.0 patch from xsane website (xsane-0.92_gimp2.0.patch,71.80 KB, patch)
2004-03-28 00:32 UTC, Sean
Details | Diff
xsane-0.92.ebuild (xsane-0.92.ebuild,1.08 KB, text/plain)
2004-04-11 15:47 UTC, Panard
Details
xsane-0.92-r1.ebuild that checks for gimp-2.0 first (xsane-0.92-r1.ebuild,1.33 KB, text/plain)
2004-04-22 08:19 UTC, Caleb Shay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sean 2004-03-28 00:31:41 UTC
Using the patch posted on the xsane webpage, this ebuild the xsane plugin works with gimp-2.0.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Sean 2004-03-28 00:32:56 UTC
Created attachment 28198 [details, diff]
gimp-2.0 patch from xsane website
Comment 2 Sean 2004-03-28 00:35:59 UTC
All I did was take the existing xsane ebuild and add to src_compile():

epatch ${FILEDIR}-${P}_gimp2.0.patch

And then at the bottom of the ebuild, change 1.2 to 2.0 for the plugin.
Comment 3 foser (RETIRED) gentoo-dev 2004-04-01 16:23:51 UTC
*** Bug 46331 has been marked as a duplicate of this bug. ***
Comment 4 Jeremy Heslop 2004-04-08 14:13:41 UTC
Edit for ebuild didn't work off the bat. I needed to change to:

epatch ${FILESDIR}/${P}_gimp2.0.patch

Note: needs to be at top of src_compile() { because it edits configure script.

Also attached patch file has broken lines. Maybe because of long lines being wrapped. Easy fix was to download file directly: http://people.debian.org/~jblache/misc/xsane-0.92_gimp2.0.patch

Put this file into /usr/portage/media-gfx/xsane/files where /usr/portage is where your portage tree is.

Thanks for the info to get me going!

Jeremy
Comment 5 Panard 2004-04-11 15:47:05 UTC
Created attachment 29114 [details]
xsane-0.92.ebuild

Here is my xsane-0.92.ebuild, which creates the rights syms (both 1.2 and 2.0
but I don't know if xsane works still with 1.2)
Comment 6 Roland "Robelix" Obermayer 2004-04-22 05:27:35 UTC
just tried it - works fine with gimp-2.0.0, but no longer with gimp-1.2.5

Robelix
Comment 7 Caleb Shay 2004-04-22 08:19:10 UTC
Created attachment 29820 [details]
xsane-0.92-r1.ebuild that checks for gimp-2.0 first

This ebuild is basically identical, but it checks if the user has gimp-2.0
installed before applying the patch (to prevent gimp-1.2 breakage).
Comment 8 jochen 2004-04-22 08:40:06 UTC
what if somebody has both versions installed?
Comment 9 Dominik Stadler (RETIRED) gentoo-dev 2004-08-09 14:27:24 UTC
Shouldn't xsane-0.93 or higher fix this Bug?
Comment 10 Patrick Kursawe (RETIRED) gentoo-dev 2004-12-07 02:22:00 UTC
I think so.
Comment 11 Patrick Kursawe (RETIRED) gentoo-dev 2004-12-07 02:22:23 UTC
Closing as WONTFIX.