View previous topic :: View next topic |
Author |
Message |
sarahb523 Guru
Joined: 10 Mar 2004 Posts: 423 Location: Berlin
|
Posted: Wed Apr 28, 2004 5:23 pm Post subject: gimp2 + xsane-plugin |
|
|
hAi
ich betreibe meinen parralellport scanner mit SANE (xscane bzw. kooka). XSane läuft als Plugin in gimp1 wunderbar. Nun habe ich mich vor kurzem von meinem alten gimp getrennt und das neue gimp2 installiert. Ich finde Gimp2 einfach toll (obwohl ich noch einiges verbessern würde ), leider ist das xsane-plugin nicht vorhanden. Ich habe auch schon xsane neu kompiliert, leider ohne Erfolg. Weiß jemand ne Lösung? Danke!
ciao
sarah _________________ AMD Sempron 2400+ / 1GB RAM / NVidia Geforce 5200FX /
Kernel 2.6.31-gentoo-r4 / kde 4.3 |
|
Back to top |
|
|
Robelix l33t
Joined: 21 Jul 2002 Posts: 760 Location: in a World created by a Flying Spaghetti Monster
|
Posted: Wed Apr 28, 2004 6:00 pm Post subject: |
|
|
Such' im bugzilla nach xsane, da findst ein ebuild mit patch für gimp2.
Im gimp1 läuft xsane dann allerdings nicht mehr, aber das kann man verschmerzen.
Robelix _________________ mysql> SELECT question FROM life, universe, everything WHERE answer=42;
Empty set (2079460347 sec) |
|
Back to top |
|
|
sarahb523 Guru
Joined: 10 Mar 2004 Posts: 423 Location: Berlin
|
Posted: Wed Apr 28, 2004 6:29 pm Post subject: |
|
|
Wie installiere ich das? Sorry für die dumme Frage das steht sicher auch irgendwo aber kann mir das mal jemand schnell und einfach erklären?
Ich habe mir den patch und das ebuild runtergeladen und in meinen portage tree gepackt. Ich dachte ja das das ebuild alles allein macht wenn ich es mit emerge aufrufe. Leider bekomme ich nur folgende Fehlermeldung:
Code: |
bash-2.05b# ACCEPT_KEYWORDS="~x86" emerge -a xsane
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild U ] media-gfx/xsane-0.92-r1 [0.92]
Do you want me to merge these packages? [Yes/No] y
>>> emerge (1 of 1) media-gfx/xsane-0.92-r1 to /
>>> md5 src_uri ;-) xsane-0.92.tar.gz
>>> Unpacking source...
>>> Unpacking xsane-0.92.tar.gz to /var/tmp/portage/xsane-0.92-r1/work
>>> Source unpacked.
RUNNING FROM extra_functions.sh
* Applying xsane-0.92_gimp2.0.patch...
* Failed Patch: xsane-0.92_gimp2.0.patch!
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/xsane-0.92-r1/temp/xsane-0.92_gimp2.0.patch-7672.out
!!! ERROR: media-gfx/xsane-0.92-r1 failed.
!!! Function epatch, Line 360, Exitcode 0
!!! Failed Patch: xsane-0.92_gimp2.0.patch!
bash-2.05b#
|
_________________ AMD Sempron 2400+ / 1GB RAM / NVidia Geforce 5200FX /
Kernel 2.6.31-gentoo-r4 / kde 4.3 |
|
Back to top |
|
|
Robelix l33t
Joined: 21 Jul 2002 Posts: 760 Location: in a World created by a Flying Spaghetti Monster
|
Posted: Wed Apr 28, 2004 6:32 pm Post subject: |
|
|
Der patch gehört in's xsane/files/ Directory!
Robelix _________________ mysql> SELECT question FROM life, universe, everything WHERE answer=42;
Empty set (2079460347 sec) |
|
Back to top |
|
|
sarahb523 Guru
Joined: 10 Mar 2004 Posts: 423 Location: Berlin
|
Posted: Wed Apr 28, 2004 6:36 pm Post subject: |
|
|
hatte ja ich gemacht. Ich hab auch noch digest-xsane-0.92 in digest-xsane-0.92 umkopiert, da emerge das auch angemeckert hatte. _________________ AMD Sempron 2400+ / 1GB RAM / NVidia Geforce 5200FX /
Kernel 2.6.31-gentoo-r4 / kde 4.3 |
|
Back to top |
|
|
sarahb523 Guru
Joined: 10 Mar 2004 Posts: 423 Location: Berlin
|
Posted: Wed Apr 28, 2004 6:39 pm Post subject: |
|
|
Der Patch findet die Dateien nicht die er patchen soll. ich hab in meinem /var/tmp/portage auch mal nen link von xsane-0.92 auf xsane-0.92-r1 gemacht. brachte auch nix _________________ AMD Sempron 2400+ / 1GB RAM / NVidia Geforce 5200FX /
Kernel 2.6.31-gentoo-r4 / kde 4.3 |
|
Back to top |
|
|
Robelix l33t
Joined: 21 Jul 2002 Posts: 760 Location: in a World created by a Flying Spaghetti Monster
|
Posted: Wed Apr 28, 2004 6:44 pm Post subject: |
|
|
Einen Digest macht man mit "ebuild /path/to/ebuild-xyz.ebuild digest". Bei'm rumkopieren kommt nix sinnvolles raus.
BTW:
Und für solche Basteleien empfiehlt es sich ein portage-overlay directory (zb /usr/local/portage) anzulegen, ansonsten ist nach dem nächstem emerge sync wieder alles weg.
Robelix _________________ mysql> SELECT question FROM life, universe, everything WHERE answer=42;
Empty set (2079460347 sec) |
|
Back to top |
|
|
sarahb523 Guru
Joined: 10 Mar 2004 Posts: 423 Location: Berlin
|
Posted: Wed Apr 28, 2004 6:56 pm Post subject: |
|
|
ich kriegs nich hin
hab auch einen neues digest dings gemacht.
hier ist die log datei für den fehler:
Code: |
***** xsane-0.92_gimp2.0.patch *****
====================================
PATCH COMMAND: patch -p0 < /usr/portage/media-gfx/xsane/files/xsane-0.92_gimp2.0.patch
====================================
patching file xsane-0.92/acinclude.m4
can't find file to patch at input line 629
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- /home/julien/debian/pkg-build/SANE/xsane/GIMP/test/xsane-0.92/aclocal.m4 2002-12-13 22:38:58.000000000 +0100
|+++ xsane-0.92/aclocal.m4 2004-03-22 20:23:08.000000000 +0100
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 815
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- /home/julien/debian/pkg-build/SANE/xsane/GIMP/test/xsane-0.92/configure 2003-05-11 23:48:12.000000000 +0200
|+++ xsane-0.92/configure 2004-03-22 20:23:15.000000000 +0100
--------------------------
No file to patch. Skipping patch.
patch unexpectedly ends in middle of line
patch: **** unexpected end of file in patch
====================================
PATCH COMMAND: patch -p1 < /usr/portage/media-gfx/xsane/files/xsane-0.92_gimp2.0.patch
====================================
patching file acinclude.m4
patching file aclocal.m4
patching file configure
patch unexpectedly ends in middle of line
patch: **** unexpected end of file in patch
====================================
PATCH COMMAND: patch -p2 < /usr/portage/media-gfx/xsane/files/xsane-0.92_gimp2.0.patch
====================================
missing header for unified diff at line 3 of patch
patching file julien/debian/pkg-build/SANE/xsane/GIMP/test/xsane-0.92/acinclude.m4
missing header for unified diff at line 629 of patch
can't find file to patch at input line 629
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- /home/julien/debian/pkg-build/SANE/xsane/GIMP/test/xsane-0.92/aclocal.m4 2002-12-13 22:38:58.000000000 +0100
|+++ xsane-0.92/aclocal.m4 2004-03-22 20:23:08.000000000 +0100
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 815 of patch
can't find file to patch at input line 815
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- /home/julien/debian/pkg-build/SANE/xsane/GIMP/test/xsane-0.92/configure 2003-05-11 23:48:12.000000000 +0200
|+++ xsane-0.92/configure 2004-03-22 20:23:15.000000000 +0100
--------------------------
No file to patch. Skipping patch.
patch unexpectedly ends in middle of line
patch: **** unexpected end of file in patch
====================================
PATCH COMMAND: patch -p3 < /usr/portage/media-gfx/xsane/files/xsane-0.92_gimp2.0.patch
====================================
missing header for unified diff at line 3 of patch
patching file debian/pkg-build/SANE/xsane/GIMP/test/xsane-0.92/acinclude.m4
missing header for unified diff at line 629 of patch
can't find file to patch at input line 629
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- /home/julien/debian/pkg-build/SANE/xsane/GIMP/test/xsane-0.92/aclocal.m4 2002-12-13 22:38:58.000000000 +0100
|+++ xsane-0.92/aclocal.m4 2004-03-22 20:23:08.000000000 +0100
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 815 of patch
can't find file to patch at input line 815
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- /home/julien/debian/pkg-build/SANE/xsane/GIMP/test/xsane-0.92/configure 2003-05-11 23:48:12.000000000 +0200
|+++ xsane-0.92/configure 2004-03-22 20:23:15.000000000 +0100
--------------------------
No file to patch. Skipping patch.
patch unexpectedly ends in middle of line
patch: **** unexpected end of file in patch
====================================
PATCH COMMAND: patch -p4 < /usr/portage/media-gfx/xsane/files/xsane-0.92_gimp2.0.patch
====================================
missing header for unified diff at line 3 of patch
patching file pkg-build/SANE/xsane/GIMP/test/xsane-0.92/acinclude.m4
missing header for unified diff at line 629 of patch
can't find file to patch at input line 629
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- /home/julien/debian/pkg-build/SANE/xsane/GIMP/test/xsane-0.92/aclocal.m4 2002-12-13 22:38:58.000000000 +0100
|+++ xsane-0.92/aclocal.m4 2004-03-22 20:23:08.000000000 +0100
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 815 of patch
can't find file to patch at input line 815
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- /home/julien/debian/pkg-build/SANE/xsane/GIMP/test/xsane-0.92/configure 2003-05-11 23:48:12.000000000 +0200
|+++ xsane-0.92/configure 2004-03-22 20:23:15.000000000 +0100
--------------------------
No file to patch. Skipping patch.
patch unexpectedly ends in middle of line
patch: **** unexpected end of file in patch
|
_________________ AMD Sempron 2400+ / 1GB RAM / NVidia Geforce 5200FX /
Kernel 2.6.31-gentoo-r4 / kde 4.3 |
|
Back to top |
|
|
sarahb523 Guru
Joined: 10 Mar 2004 Posts: 423 Location: Berlin
|
Posted: Wed Apr 28, 2004 6:57 pm Post subject: |
|
|
ich kriegs nich hin
hab auch einen neues digest dings gemacht.
hier ist die log datei für den fehler:
Code: |
***** xsane-0.92_gimp2.0.patch *****
====================================
PATCH COMMAND: patch -p0 < /usr/portage/media-gfx/xsane/files/xsane-0.92_gimp2.0.patch
====================================
patching file xsane-0.92/acinclude.m4
can't find file to patch at input line 629
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- /home/julien/debian/pkg-build/SANE/xsane/GIMP/test/xsane-0.92/aclocal.m4 2002-12-13 22:38:58.000000000 +0100
|+++ xsane-0.92/aclocal.m4 2004-03-22 20:23:08.000000000 +0100
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 815
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- /home/julien/debian/pkg-build/SANE/xsane/GIMP/test/xsane-0.92/configure 2003-05-11 23:48:12.000000000 +0200
|+++ xsane-0.92/configure 2004-03-22 20:23:15.000000000 +0100
--------------------------
No file to patch. Skipping patch.
patch unexpectedly ends in middle of line
patch: **** unexpected end of file in patch
====================================
PATCH COMMAND: patch -p1 < /usr/portage/media-gfx/xsane/files/xsane-0.92_gimp2.0.patch
====================================
patching file acinclude.m4
patching file aclocal.m4
patching file configure
patch unexpectedly ends in middle of line
patch: **** unexpected end of file in patch
====================================
PATCH COMMAND: patch -p2 < /usr/portage/media-gfx/xsane/files/xsane-0.92_gimp2.0.patch
====================================
missing header for unified diff at line 3 of patch
patching file julien/debian/pkg-build/SANE/xsane/GIMP/test/xsane-0.92/acinclude.m4
missing header for unified diff at line 629 of patch
can't find file to patch at input line 629
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- /home/julien/debian/pkg-build/SANE/xsane/GIMP/test/xsane-0.92/aclocal.m4 2002-12-13 22:38:58.000000000 +0100
|+++ xsane-0.92/aclocal.m4 2004-03-22 20:23:08.000000000 +0100
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 815 of patch
can't find file to patch at input line 815
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- /home/julien/debian/pkg-build/SANE/xsane/GIMP/test/xsane-0.92/configure 2003-05-11 23:48:12.000000000 +0200
|+++ xsane-0.92/configure 2004-03-22 20:23:15.000000000 +0100
--------------------------
No file to patch. Skipping patch.
patch unexpectedly ends in middle of line
patch: **** unexpected end of file in patch
====================================
PATCH COMMAND: patch -p3 < /usr/portage/media-gfx/xsane/files/xsane-0.92_gimp2.0.patch
====================================
missing header for unified diff at line 3 of patch
patching file debian/pkg-build/SANE/xsane/GIMP/test/xsane-0.92/acinclude.m4
missing header for unified diff at line 629 of patch
can't find file to patch at input line 629
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- /home/julien/debian/pkg-build/SANE/xsane/GIMP/test/xsane-0.92/aclocal.m4 2002-12-13 22:38:58.000000000 +0100
|+++ xsane-0.92/aclocal.m4 2004-03-22 20:23:08.000000000 +0100
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 815 of patch
can't find file to patch at input line 815
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- /home/julien/debian/pkg-build/SANE/xsane/GIMP/test/xsane-0.92/configure 2003-05-11 23:48:12.000000000 +0200
|+++ xsane-0.92/configure 2004-03-22 20:23:15.000000000 +0100
--------------------------
No file to patch. Skipping patch.
patch unexpectedly ends in middle of line
patch: **** unexpected end of file in patch
====================================
PATCH COMMAND: patch -p4 < /usr/portage/media-gfx/xsane/files/xsane-0.92_gimp2.0.patch
====================================
missing header for unified diff at line 3 of patch
patching file pkg-build/SANE/xsane/GIMP/test/xsane-0.92/acinclude.m4
missing header for unified diff at line 629 of patch
can't find file to patch at input line 629
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- /home/julien/debian/pkg-build/SANE/xsane/GIMP/test/xsane-0.92/aclocal.m4 2002-12-13 22:38:58.000000000 +0100
|+++ xsane-0.92/aclocal.m4 2004-03-22 20:23:08.000000000 +0100
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 815 of patch
can't find file to patch at input line 815
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- /home/julien/debian/pkg-build/SANE/xsane/GIMP/test/xsane-0.92/configure 2003-05-11 23:48:12.000000000 +0200
|+++ xsane-0.92/configure 2004-03-22 20:23:15.000000000 +0100
--------------------------
No file to patch. Skipping patch.
patch unexpectedly ends in middle of line
patch: **** unexpected end of file in patch
|
_________________ AMD Sempron 2400+ / 1GB RAM / NVidia Geforce 5200FX /
Kernel 2.6.31-gentoo-r4 / kde 4.3 |
|
Back to top |
|
|
sarahb523 Guru
Joined: 10 Mar 2004 Posts: 423 Location: Berlin
|
Posted: Wed Apr 28, 2004 7:06 pm Post subject: |
|
|
ich habe jetzt mal versucht den patch manuell anzuwenden. da bekomme ich folgenden fehler:
Code: |
bash-2.05b# patch -p0 < /usr/portage/media-gfx/xsane/files/xsane-0.92_gimp2.0.patch
patching file xsane-0.92/acinclude.m4
patching file xsane-0.92/aclocal.m4
patching file xsane-0.92/configure
patch unexpectedly ends in middle of line
patch: **** unexpected end of file in patch
|
_________________ AMD Sempron 2400+ / 1GB RAM / NVidia Geforce 5200FX /
Kernel 2.6.31-gentoo-r4 / kde 4.3 |
|
Back to top |
|
|
Robelix l33t
Joined: 21 Jul 2002 Posts: 760 Location: in a World created by a Flying Spaghetti Monster
|
Posted: Wed Apr 28, 2004 7:10 pm Post subject: |
|
|
Am Besten nochmal ganz von vorn:
Lösch' den digest
Lösch /usr/portage/distfiles/xsane-0.92.tar.gz
emerge -f xsane
ebuild xsane-0.92.ebuild digest
emerge xsane
Sollte doch klappen, bei mir läuft's ja auch...
Robelix _________________ mysql> SELECT question FROM life, universe, everything WHERE answer=42;
Empty set (2079460347 sec) |
|
Back to top |
|
|
sarahb523 Guru
Joined: 10 Mar 2004 Posts: 423 Location: Berlin
|
Posted: Wed Apr 28, 2004 7:51 pm Post subject: |
|
|
Hat leider wieder nicht geklappt. Der Patch wurde nicht mit installiert. Dann hab ich das ebuild von bugzilla genommen und schon war das gleiche wie vorher. Wird der patch irgendwann im ofiziellen portage tree drin sein? Dann warte ich lieber solange. _________________ AMD Sempron 2400+ / 1GB RAM / NVidia Geforce 5200FX /
Kernel 2.6.31-gentoo-r4 / kde 4.3 |
|
Back to top |
|
|
yeoman Tux's lil' helper
Joined: 05 Jan 2004 Posts: 109 Location: Germany
|
Posted: Mon May 03, 2004 2:46 pm Post subject: |
|
|
von: http://www.xsane.org/
Quote: | 2004 Apr 28: xsane-0.93 with gimp-2.0.x support released |
Es gibt auch schon einen ebuild, ist aber noch nicht als stable gekennzeichnet. Außerdem sind die neuen Quote: | SANE-Backends-1.0.14 (...) released |
|
|
Back to top |
|
|
|