Summary: | media-gfx/sane-pixma-0.11.3 (new ebuild) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Colin Kiegel <kiegel> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | CONFIRMED --- | ||
Severity: | enhancement | CC: | bugzie, geevh, mbowenster, nonas, zeger1 |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://home.arcor.de/wittawat/pixma/ | ||
Whiteboard: | sunrise suggested | ||
Package list: | Runtime testing required: | --- | |
Attachments: |
media-gfx/sane-pixma/sane-pixma-0.11.3.ebuild
media-gfx/sane-pixma/sane-pixma-0.13.1.ebuild New ebuild for sane-pixma 0.13.1 New ebuild for sane-pixma 0.14.4 |
Description
Colin Kiegel
2006-06-27 10:59:16 UTC
Created attachment 90297 [details]
media-gfx/sane-pixma/sane-pixma-0.11.3.ebuild
Scanning works now. I had to choose a resolution of 600 dpi or greater. 75, 150, and 300 dpi didn't work. Created attachment 130449 [details]
media-gfx/sane-pixma/sane-pixma-0.13.1.ebuild
Ebuild for new version: 0.13.1
Tested with Pixma 160 and works!
it stopped working ;-( Now media-gfx/sane-pixma-0.13.1 fails to compile # emerge media-gfx/sane-pixma Calculating dependencies... done! >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) media-gfx/sane-pixma-0.13.1 to / * mp150-0.13.1.tar.bz2 MD5 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking mp150-0.13.1.tar.bz2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking mp150-0.13.1.tar.bz2 to /var/tmp/portage/media-gfx/sane-pixma-0.13.1/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/media-gfx/sane-pixma-0.13.1/work/sane-pixma-0.13.1 ... cc -march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer -Wall -W -DWITHOUT_SANEI -DHAVE_FCNTL_H -DHAVE_STDINT_H -g -O -DWITH_TIFF -c -o scan.o scan.c cc -march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer -Wall -W -DWITHOUT_SANEI -DHAVE_FCNTL_H -DHAVE_STDINT_H -g -O -fPIC -pedantic -c -o usb.o usb.c cc -march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer -Wall -W -DWITHOUT_SANEI -DHAVE_FCNTL_H -DHAVE_STDINT_H -g -O -fPIC -pedantic -c -o pixma_io.o pixma_io.c usb.c: In function 'usbSendControlMsg': usb.c:710: warning: unused parameter 'ep' cc -march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer -Wall -W -DWITHOUT_SANEI -DHAVE_FCNTL_H -DHAVE_STDINT_H -g -O -fPIC -pedantic -c -o pixma_common.o pixma_common.c cc -march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer -Wall -W -DWITHOUT_SANEI -DHAVE_FCNTL_H -DHAVE_STDINT_H -g -O -fPIC -pedantic -c -o pixma_mp150.o pixma_mp150.c cc -march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer -Wall -W -DWITHOUT_SANEI -DHAVE_FCNTL_H -DHAVE_STDINT_H -g -O -fPIC -pedantic -c -o pixma_mp730.o pixma_mp730.c cc -march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer -Wall -W -DWITHOUT_SANEI -DHAVE_FCNTL_H -DHAVE_STDINT_H -g -O -fPIC -pedantic -c -o pixma_mp750.o pixma_mp750.c cc -march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer -Wall -W -DWITHOUT_SANEI -DHAVE_FCNTL_H -DHAVE_STDINT_H -g -O -fPIC -pedantic -c -o pixma_sane.o pixma_sane.c cc -Wl,--as-needed -lm -g -O -ltiff scan.o usb.o pixma_io.o pixma_common.o pixma_mp150.o pixma_mp730.o pixma_mp750.o -o scan cc -Wl,--as-needed -lm -g -O -fPIC -shared -Wl,--version-script=libsane-pixma.def -o libsane-pixma.so pixma_sane.o usb.o pixma_io.o pixma_common.o pixma_mp150.o pixma_mp730.o pixma_mp750.o scan.o: In function `TIFF_writePage': /var/tmp/portage/media-gfx/sane-pixma-0.13.1/work/sane-pixma-0.13.1/scan.c:546: undefined reference to `TIFFSetField' /var/tmp/portage/media-gfx/sane-pixma-0.13.1/work/sane-pixma-0.13.1/scan.c:547: undefined reference to `TIFFSetField' /var/tmp/portage/media-gfx/sane-pixma-0.13.1/work/sane-pixma-0.13.1/scan.c:548: undefined reference to `TIFFSetField' /var/tmp/portage/media-gfx/sane-pixma-0.13.1/work/sane-pixma-0.13.1/scan.c:549: undefined reference to `TIFFSetField' /var/tmp/portage/media-gfx/sane-pixma-0.13.1/work/sane-pixma-0.13.1/scan.c:552: undefined reference to `TIFFSetField' scan.o:/var/tmp/portage/media-gfx/sane-pixma-0.13.1/work/sane-pixma-0.13.1/scan.c:553: more undefined references to `TIFFSetField' follow scan.o: In function `TIFF_writePage': /var/tmp/portage/media-gfx/sane-pixma-0.13.1/work/sane-pixma-0.13.1/scan.c:574: undefined reference to `TIFFDefaultStripSize' /var/tmp/portage/media-gfx/sane-pixma-0.13.1/work/sane-pixma-0.13.1/scan.c:574: undefined reference to `TIFFSetField' /var/tmp/portage/media-gfx/sane-pixma-0.13.1/work/sane-pixma-0.13.1/scan.c:582: undefined reference to `TIFFSetField' /var/tmp/portage/media-gfx/sane-pixma-0.13.1/work/sane-pixma-0.13.1/scan.c:583: undefined reference to `TIFFSetField' /var/tmp/portage/media-gfx/sane-pixma-0.13.1/work/sane-pixma-0.13.1/scan.c:588: undefined reference to `TIFFSetField' /var/tmp/portage/media-gfx/sane-pixma-0.13.1/work/sane-pixma-0.13.1/scan.c:589: undefined reference to `TIFFDefaultStripSize' /var/tmp/portage/media-gfx/sane-pixma-0.13.1/work/sane-pixma-0.13.1/scan.c:589: undefined reference to `TIFFSetField' /var/tmp/portage/media-gfx/sane-pixma-0.13.1/work/sane-pixma-0.13.1/scan.c:595: undefined reference to `TIFFDefaultStripSize' /var/tmp/portage/media-gfx/sane-pixma-0.13.1/work/sane-pixma-0.13.1/scan.c:595: undefined reference to `TIFFSetField' /var/tmp/portage/media-gfx/sane-pixma-0.13.1/work/sane-pixma-0.13.1/scan.c:607: undefined reference to `TIFFWriteScanline' /var/tmp/portage/media-gfx/sane-pixma-0.13.1/work/sane-pixma-0.13.1/scan.c:609: undefined reference to `TIFFWriteDirectory' scan.o: In function `TIFF_close': /var/tmp/portage/media-gfx/sane-pixma-0.13.1/work/sane-pixma-0.13.1/scan.c:530: undefined reference to `TIFFClose' scan.o: In function `TIFF_open': /var/tmp/portage/media-gfx/sane-pixma-0.13.1/work/sane-pixma-0.13.1/scan.c:522: undefined reference to `TIFFOpen' pixma_common.o: In function `pixma_fill_gamma_table': /var/tmp/portage/media-gfx/sane-pixma-0.13.1/work/sane-pixma-0.13.1/pixma_common.c:740: undefined reference to `pow' collect2: ld returned 1 exit status make: *** [scan] Error 1 make: *** Waiting for unfinished jobs.... * * ERROR: media-gfx/sane-pixma-0.13.1 failed. * Call stack: * ebuild.sh, line 46: Called src_compile * environment, line 2393: Called die * The specific snippet of code: * emake || diefunc "$FUNCNAME" "$LINENO" "$?" * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-gfx/sane-pixma-0.13.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/sane-pixma-0.13.1/temp/environment'. * This ebuild is from an overlay: '/usr/local/portage/' Created attachment 143285 [details]
New ebuild for sane-pixma 0.13.1
0.13.1 requires media-libs/tiff to compile. I've added this to the ebuild. Another issue is that collision-protect will prevent adding sane-backends and sane-pixma at the same time, if the pixma backend is included in sane-backends. This means you need a line like:
SANE_BACKENDS="canon"
to prevent the pixma backend from being built. "canon" isn't the only value that will work - it can't be empty or missing, and it can't include 'pixma'.
I don't get it: media-libs/tiff is installed [ebuild R ] media-libs/tiff-3.8.2-r3 USE="jbig jpeg zlib -nocxx" 0 kB I still get the same error when compiling fyi I'm on ~amd64 Created attachment 155647 [details] New ebuild for sane-pixma 0.14.4 New ebuild matching files found here : http://sourceforge.net/project/showfiles.php?group_id=210977 Nicolos (the author of these files) says that the pixma driver is in sane CVS though (but I am far from being capable of writing a CVS ebuild) You can check mp610.blogspot.com for more information. This ebuild helped me to get my Canon Pixma MP210 to scan correctly. Thank you for the ebuild! I got my Canon MP520 scanner end working with the sane-pixma 0.14.4.ebuild! Still have to fix a few things but it produced a good scan of a text file. Good job! (this is an automated message based on filtering criteria that matched this bug) 'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached to this bug. This bug is assigned to maintainer-wanted which means that it is not in the main tree. Heuristics show that no Gentoo developer has commented on your ebuild. Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq "URL" "http://home.arcor.de/wittawat/pixma/" is dead and should be https://sourceforge.net/projects/mp610linux/ as found in sane-pixma-0.14.4.ebuild. Last version there is from 2008. There have been a lot of pixma changes in sane-project/backends in the last years. https://gitlab.com/sane-project/backends/-/commits/master?search=pixma Does anybody still need this with recent media-gfx/sane-backends or can this bug declared as obsolete? Hi, I haven't used this for many many years. So can be marked as obsolete IMO. Cheers, |