~comcloudway/ccw-aports

e4ea9167ac295f042da15a1fe57a22e2a2b2a642 — Jakob Meier 2 years ago ac40440
cloned aur pkgbuild
A brother-dcpj140w/.SRCINFO => brother-dcpj140w/.SRCINFO +20 -0
@@ 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


A brother-dcpj140w/LISEZMOI => brother-dcpj140w/LISEZMOI +26 -0
@@ 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/

A brother-dcpj140w/README => brother-dcpj140w/README +26 -0
@@ 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/

A brother-dcpj140w/fix_lp.patch => brother-dcpj140w/fix_lp.patch +11 -0
@@ 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