From e4ea9167ac295f042da15a1fe57a22e2a2b2a642 Mon Sep 17 00:00:00 2001 From: Jakob Meier Date: Tue, 4 Oct 2022 16:43:17 +0200 Subject: [PATCH] cloned aur pkgbuild --- brother-dcpj140w/.SRCINFO | 20 ++++++++++++++++++++ brother-dcpj140w/LISEZMOI | 26 ++++++++++++++++++++++++++ brother-dcpj140w/README | 26 ++++++++++++++++++++++++++ brother-dcpj140w/fix_lp.patch | 11 +++++++++++ 4 files changed, 83 insertions(+) create mode 100644 brother-dcpj140w/.SRCINFO create mode 100644 brother-dcpj140w/LISEZMOI create mode 100644 brother-dcpj140w/README create mode 100644 brother-dcpj140w/fix_lp.patch diff --git a/brother-dcpj140w/.SRCINFO b/brother-dcpj140w/.SRCINFO new file mode 100644 index 0000000..e3e267e --- /dev/null +++ b/brother-dcpj140w/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = brother-dcpj140w + pkgdesc = Driver for the Brother DCP-j140w wifi multifuncional printer + pkgver = 1.1.3 + pkgrel = 3 + url = http://solutions.brother.com/linux/en_us/index.html + install = brother-dcpj140w.install + arch = i686 + arch = x86_64 + license = custom:brother + depends = a2ps + depends = cups + source = fix_lp.patch + source = http://www.brother.com/pub/bsc/linux/dlf/dcpj140wlpr-1.1.3-6.i386.rpm + source = http://www.brother.com/pub/bsc/linux/dlf/dcpj140wcupswrapper-1.1.3-6.i386.rpm + md5sums = 69229583e5d43d82e5655f74729c05ba + md5sums = 599a7667f2c805d5dbc2fa655832f17c + md5sums = fa2d50677492bfc83e27184f316061c3 + +pkgname = brother-dcpj140w + diff --git a/brother-dcpj140w/LISEZMOI b/brother-dcpj140w/LISEZMOI new file mode 100644 index 0000000..e6c8cf2 --- /dev/null +++ b/brother-dcpj140w/LISEZMOI @@ -0,0 +1,26 @@ +Le pilote fourni par Brother étant écrit en 32 bits, +installez d’abord lib32-libstdc ++ 5 depuis aur: + +1. Avec git : + $ git clone https://aur.archlinux.org/lib32-libstdc++5.git + $ cd lib32-libstdc ++ 5 + $ makepkg -si + +2. Avec curl : + $ curl -L -O https://aur.archlinux.org/cgit/aur.git/snapshot/lib32-libstdc++5.tar.gz + $ rm "lib32-libstdc++5.tar.gz" + $ cd lib32-libstdc++5 + $ makepkg -si" + +3. avec wget : + $ wget "https://aur.archlinux.org/cgit/aur.git/snapshot/lib32-libstdc++5.tar.gz" + $ tar vxf "lib32-libstdc++5.tar.gz" + $ rm "lib32-libstdc++5.tar.gz" + $ cd lib32-libstdc++5 + $ makepkg -si" + +REMARQUES : +Installez le pilote brother-dcpj140w par l'une des méthodes ci-dessus. + +Le pilote du scanner de cette imprimante est disponible dans aur : +https://aur.archlinux.org/packages/brscan4/ diff --git a/brother-dcpj140w/README b/brother-dcpj140w/README new file mode 100644 index 0000000..96d00d3 --- /dev/null +++ b/brother-dcpj140w/README @@ -0,0 +1,26 @@ +As the driver provided by Brother is written in 32 bits, +first install lib32-libstdc++5 from aur : + +1. With git: + $ git clone https://aur.archlinux.org/lib32-libstdc++5.git + $ cd lib32-libstdc ++ 5 + $ makepkg -si + +2. With curl: + $ curl -L -O https://aur.archlinux.org/cgit/aur.git/snapshot/lib32-libstdc++5.tar.gz + $ rm "lib32-libstdc ++ 5.tar.gz" + $ cd lib32-libstdc ++ 5 + $ makepkg -si " + +3. With wget: + $ wget "https://aur.archlinux.org/cgit/aur.git/snapshot/lib32-libstdc++5.tar.gz" + $ tar vxf "lib32-libstdc ++ 5.tar.gz" + $ rm "lib32-libstdc ++ 5.tar.gz" + $ cd lib32-libstdc ++ 5 + $ makepkg -si " + +NOTES: +Install the brother-dcpj140w driver by one of the methods above. + +The scanner driver for this printer is available in aur: +https://aur.archlinux.org/packages/brscan4/ diff --git a/brother-dcpj140w/fix_lp.patch b/brother-dcpj140w/fix_lp.patch new file mode 100644 index 0000000..a3cb76c --- /dev/null +++ b/brother-dcpj140w/fix_lp.patch @@ -0,0 +1,11 @@ +--- opt/brother/Printers/dcpj140w/inf/setupPrintcapij.old 2008-09-15 22:01:07.000000000 +0200 ++++ opt/brother/Printers/dcpj140w/inf/setupPrintcapij 2008-09-15 22:01:26.000000000 +0200 +@@ -34,7 +34,7 @@ + if [ ! -d $SPOOLER_NAME ]; then + mkdir $SPOOLER_NAME + fi +- chown lp $SPOOLER_NAME ++ chown root $SPOOLER_NAME + chgrp lp $SPOOLER_NAME + chmod 700 $SPOOLER_NAME + -- 2.38.5