From 4c9a4c44451ccbb2636aaab82b06b4908921e55a Mon Sep 17 00:00:00 2001 From: onekk <carlo.dormeletti@email.it> Date: Sun, 27 Apr 2014 13:51:10 +0200 Subject: [PATCH] brother-brscan3: modified template file and deleted udev rule The template file avoid the dependencies on brother-xxxx-lpr and brother-xxxx-cupswrapper so anyone with a brother printer/scanner could install it and get the scanner part of the printer work. The udev rule create a problem with the printer part so it is moved in brother-xxxx-cupswrapper package. A note in the Wiki page explain the needed configuration step to make the scanner working for all users Regards Carlo - Please enter the commit message for your changes. Lines starting --- srcpkgs/brother-brscan3/files/60-brother-brscan3.rules | 5 ----- srcpkgs/brother-brscan3/template | 5 ++--- 2 files changed, 2 insertions(+), 8 deletions(-) delete mode 100644 srcpkgs/brother-brscan3/files/60-brother-brscan3.rules diff --git a/srcpkgs/brother-brscan3/files/60-brother-brscan3.rules b/srcpkgs/brother-brscan3/files/60-brother-brscan3.rules deleted file mode 100644 index 08873369d8..0000000000 --- a/srcpkgs/brother-brscan3/files/60-brother-brscan3.rules +++ /dev/null @@ -1,5 +0,0 @@ -# This file use the libsane_matched routine in 53-sane.rules - -# For Brother Brscan3 -ATTR{idVendor}=="04f9", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes" - diff --git a/srcpkgs/brother-brscan3/template b/srcpkgs/brother-brscan3/template index c17eb0ec0d..31550733e0 100644 --- a/srcpkgs/brother-brscan3/template +++ b/srcpkgs/brother-brscan3/template @@ -1,13 +1,13 @@ # Template file for 'brother-brscan3' pkgname=brother-brscan3 version=0.2.11 -revision=1 +revision=2 maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>" homepage="http://support.brother.com/g/b/index.aspx" license="GPL-2" short_desc=" Scanner driver for the brother DCP-197C printer/scanner" only_for_archs="i686 x86_64" -makedepends="brother-dcp197c-lpr brother-dcp197c-cupswrapper cups sane" +makedepends="sane-devel" depends="${makedepends}" create_wksrc=yes @@ -40,5 +40,4 @@ do_install(){ ln -sf /usr/lib/libbrscandec3.so.1.0.0 ${DESTDIR}/usr/lib/libbrscandec3.so vmkdir /opt/Brother vcopy "./usr/local/Brother/*" /opt/Brother/ - vinstall ${FILESDIR}/60-brother-brscan3.rules 644 usr/lib/udev/rules.d }