You are not logged in.
Pages: 1
Hello!
I have a problem with my new printer Canon TR4550. I do not know how to compile the official Canon driver and I cannot compile the AUR package cnijfilter-common because of the error
In file included from bjcups.c:26:
/usr/include/cups/ppd.h:364:14: note: declared here
364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
make[3]: *** [Makefile:410: bjcups.o] Error 1
make[3]: uscita dalla directory "/tmp/trizen-camillo/cnijfilter-common/src/cnijfilter-source-4.10-1/cngpij/cngpij"
make[2]: *** [Makefile:396: all-recursive] Error 1
make[2]: uscita dalla directory "/tmp/trizen-camillo/cnijfilter-common/src/cnijfilter-source-4.10-1/cngpij"
make[1]: *** [Makefile:328: all] Error 2
make[1]: uscita dalla directory "/tmp/trizen-camillo/cnijfilter-common/src/cnijfilter-source-4.10-1/cngpij"
make: *** [Makefile:18: common] Error 1
Does anyone know how to get the printer working?
Thank you!
Last edited by camillo (2019-09-23 17:31:34)
Offline
Does the following PKGBUILD work for your printer (not ready for AUR submission)
_basename=cnijfilter2
pkgname=$_basename-bin
_pkgname=$_basename-deb
pkgver=5.70_1
_pkgver=5.70-1
pkgrel=1
pkgdesc=""
url=''
arch=('x86_64')
license=('custom')
depends=('cups')
source=("$_pkgname-$_pkgver.tar.gz::http://pdisp01.c-wss.com/gdl/WWUFORedirectTarget.do?id=MDEwMDAwOTkyODAx")
sha256sums=('cc5f5ee9379cf644f089d21513cbe1da7d79084510643dd3faaf0dfa13450f6c')
build(){
cd $_basename-$_pkgver-deb
bsdtar -xf packages/cnijfilter2_5.70-1_amd64.deb
bsdtar -xf data.tar.gz
mkdir usr/share/cups/
mv usr/share/ppd usr/share/cups/model
}
package(){
cd $_basename-$_pkgver-deb
cp -r --no-preserve=ownership usr "$pkgdir"
install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
install -Dm644 documents/LICENSE-cnijfilter-5.70EN.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE-cnijfilter-5.70EN.txt"
}
Offline
It worked!
Thanks a lot!!
Offline
Pages: 1