I tried adding
Code: Select all
*ColorModel Gray/Grayscale: "<</cupsColorSpace 0/cupsColorOrder 0>>setpagedevice"maybe we could use a filter? I dont wanna waste precious color on stupid websites, so this would be a good feature.....
Code: Select all
*ColorModel Gray/Grayscale: "<</cupsColorSpace 0/cupsColorOrder 0>>setpagedevice"Code: Select all
src_unpack() {
rpm_src_unpack || die
mv ${PN}-common-${PV} ${P} || die # Correcting
directory-structure
epatch ${FILESDIR}/cnijfilter-2.60-r1-pstocanonij-c.patch ||
die
if use "ip4200" || die || ${_autochoose} || die; then
epatch
${FILESDIR}/cnijfilter-2.60-r1-canonip4200-ppd.patch || die
fi
}Code: Select all
src_unpack() {
unpack ${A} || die
cd ${WORKDIR} || die
mkdir ${P} || die# this way portage won't complain about missing
directories
cd "${WORKDIR}/popt-1.7" || die
epatch "${FILESDIR}"/popt-1.7-missing-tests.patch || die
epatch "${FILESDIR}"/popt-1.7-nls.patch || die
eautomake || die
elibtoolize || die
}Code: Select all
BdONsPC bdon # emerge --digest -av cnijfilter
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] app-emulation/emul-linux-x86-bjdeps-0.1-r1 0 kB [1]
[ebuild N ] app-emulation/emul-linux-x86-compat-1.0-r1 0 kB
[ebuild N ] net-print/cnijfilter-2.60-r6 USE="amd64 ip2200 -ip4200 -ip6600d -ip7500 -mp500 -nocupsdetection -servicetools" 0 kB [1]
Total: 3 packages (3 new), Size of downloads: 0 kB
Portage overlays:
[1] /usr/local/portage
Would you like to merge these packages? [Yes/No] y
>>> Creating Manifest for /usr/local/portage/app-emulation/emul-linux-x86-bjdeps
>>> Creating Manifest for /usr/portage/app-emulation/emul-linux-x86-compat
>>> Creating Manifest for /usr/local/portage/net-print/cnijfilter
>>> Emerging (1 of 3) app-emulation/emul-linux-x86-bjdeps-0.1-r1 to /
* popt-1.7.tar.gz MD5 ;-) ... [ ok ]
* popt-1.7.tar.gz RMD160 ;-) ... [ ok ]
* popt-1.7.tar.gz SHA1 ;-) ... [ ok ]
* popt-1.7.tar.gz SHA256 ;-) ... [ ok ]
* popt-1.7.tar.gz size ;-) ... [ ok ]
>>> Creating Manifest for /usr/local/portage/app-emulation/emul-linux-x86-bjdeps
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking popt-1.7.tar.gz ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking popt-1.7.tar.gz to /var/tmp/portage/app-emulation/emul-linux-x86-bjdeps-0.1-r1/work
rm: cannot remove `/var/tmp/portage/app-emulation/emul-linux-x86-bjdeps-0.1-r1/image//usr/share': No such file or directory
!!! ERROR: app-emulation/emul-linux-x86-bjdeps-0.1-r1 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_unpack
ebuild.sh, line 751: Called qa_call 'src_unpack'
environment, line 3760: Called src_unpack
emul-linux-x86-bjdeps-0.1-r1.ebuild, line 50: Called die
!!! (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/app-emulation/emul-linux-x86-bjdeps-0.1-r1/temp/build.log'.
!!! This ebuild is from an overlay: '/usr/local/portage'
line 50 is the last line of src_install() and contains just a closing bracket '}'. Can you confirm this?environment, line 3760: Called src_unpack
emul-linux-x86-bjdeps-0.1-r1.ebuild, line 50: Called die
This error can only be caused if line 48 was executed too early (i.e. before compilation).rm: cannot remove `/var/tmp/portage/app-emulation/emul-linux-x86-bjdeps-0.1-r1/image//usr/share'
Code: Select all
rm -Rv ${D}/usr/share || die


Code: Select all
/usr/bin/gmsgfmt: found 1 fatal error
make[2]: *** [th.gmo] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-print/bjfilter-2.50-r6/work/bjf
ilter-2.50/pixusip4100/printui/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-print/bjfilter-2.50-r6/work/bjf
ilter-2.50/pixusip4100/printui'
make: *** [all] Error 2
!!! ERROR: net-print/bjfilter-2.50-r6 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3318: Called src_compile
bjfilter-2.50-r6.ebuild, line 179: Called src_compile_pr
bjfilter-2.50-r6.ebuild, line 256: Called die
!!! Couldn't make pixusip4100/printui
!!! If you need support, post the topmost build error, and the call stack if rel
evant.
!!! A complete build log is located at '/var/tmp/portage/net-print/bjfilter-2.50
-r6/temp/build.log'.Code: Select all
if [ -z "$LINGUAS" ]; then # -z tests to see if the argument is empty
ewarn "You didn't specify 'LINGUAS' in your make.conf. Assuming"
ewarn "english localisation, i.e. 'LINGUAS=\"en\"'."
LINGUAS="en"
fiNo, I didn't have LINGUAS set at all...ColinK wrote:This is somewhat strange, because the ebuild checks if LINGUAS is set. If it's not, it'll set it to "en".
Do you have similar variables set to some non-english language?Code: Select all
if [ -z "$LINGUAS" ]; then # -z tests to see if the argument is empty ewarn "You didn't specify 'LINGUAS' in your make.conf. Assuming" ewarn "english localisation, i.e. 'LINGUAS="en"'." LINGUAS="en" fi

I`m stuck in the same boat but I don`t have the "R" version, just plain mp800. Did you succeed with this?davidc wrote:No luck with a Canon Pixma MP800R, though I only tried the pixusip4100 driver (as it supports 770. 780. 790 etc). It does print but the top half of the CUPS test page is duplicated vertically, the bottom half is not shown. Also the colours on the colour wheel are out of alignment.
Perhaps I'll try some of the other drivers later, but wasting ink at the moment seems like a bad idea
I have MP800R and Turboprint works, the free version is limited to 300DPI, with higher resolutions you have their logo printed in. With "R" I can print even throught newtork using protocol Socket and prot 9100.RaZoR1394 wrote:I`m stuck in the same boat but I don`t have the "R" version, just plain mp800. Did you succeed with this?

Code: Select all
>>> Emerging (1 of 1) net-print/cnijfilter-2.60-r6 to /
* cnijfilter-common-2.60-1.src.rpm MD5 ;-) ... [ ok ]
* cnijfilter-common-2.60-1.src.rpm RMD160 ;-) ... [ ok ]
* cnijfilter-common-2.60-1.src.rpm SHA1 ;-) ... [ ok ]
* cnijfilter-common-2.60-1.src.rpm SHA256 ;-) ... [ ok ]
* cnijfilter-common-2.60-1.src.rpm size ;-) ... [ ok ]
>>> Creating Manifest for /usr/local/portage/net-print/cnijfilter
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking cnijfilter-common-2.60-1.src.rpm ;-) ... [ ok ]
*
* USE-flags (description / probably compatible printers)
*
* amd64 (basic support for this architecture - currently without servicetools)
* servicetools (additional monitoring and maintenance software)
* nocupsdetection (this is only useful to create binary packages)
* ip2200 ip1600/2200 mp150/170/450
* ip4200 ip4200 mp500
* ip6600d ip6600d/6600pd
* ip7500 ip7500
* mp500 ip4200 mp500
*
>>> Unpacking source...
>>> Unpacking cnijfilter-common-2.60-1.src.rpm to /var/tmp/portage/net-print/cnijfilter-2.60-r6/work
>>> Unpacking cnijfilter-common-2.60-1.tar.gz to /var/tmp/portage/net-print/cnijfilter-2.60-r6/work
* Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is:
*
* /usr/local/portage/net-print/cnijfilter/files/cnijfilter-2.60-r1-pstocanonij-c.patch
* ( cnijfilter-2.60-r1-pstocanonij-c.patch )
!!! ERROR: net-print/cnijfilter-2.60-r6 failed.
Call stack:
ebuild.sh, line 1621: Called dyn_unpack
ebuild.sh, line 753: Called qa_call 'src_unpack'
ebuild.sh, line 44: Called src_unpack
cnijfilter-2.60-r6.ebuild, line 118: Called epatch '/usr/local/portage/net-print/cnijfilter/files/cnijfilter-2.60-r1-pstocanonij-c.patch'
eutils.eclass, line 198: Called die
!!! Cannot find $EPATCH_SOURCE!
!!! 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/net-print/cnijfilter-2.60-r6/temp/build.log'.
!!! This ebuild is from an overlay: '/usr/local/portage'