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.
Created attachment 28198 [details, diff] gimp-2.0 patch from xsane website
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.
*** Bug 46331 has been marked as a duplicate of this bug. ***
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
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)
just tried it - works fine with gimp-2.0.0, but no longer with gimp-1.2.5 Robelix
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).
what if somebody has both versions installed?
Shouldn't xsane-0.93 or higher fix this Bug?
I think so.
Closing as WONTFIX.