--- brother-cups-wrapper-ac-1.0.3-1.orig/debian/control +++ brother-cups-wrapper-ac-1.0.3-1/debian/control @@ -0,0 +1,18 @@ +Source: brother-cups-wrapper-ac +Section: text +Priority: optional +Homepage: http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html +Maintainer: Ubuntu MOTU Team +XSBC-Original-Maintainer: Saïvann Carignan +Build-Depends: debhelper (>= 5), quilt +Standards-Version: 3.7.3 + +Package: brother-cups-wrapper-ac +Architecture: i386 amd64 +Depends: ${shlibs:Depends}, brother-lpr-drivers-ac, ${misc:Depends} +Conflicts: hl4040cncups, hl4040cncupswrapper, hl4040cdncups, hl4040cdncupswrapper, hl4050cdncups, hl4050cdncupswrapper, hl4070cdwcups, hl4070cdwcupswrapper, mfc9440cncups, mfc9440cncupswrapper, mfc9450cdncups, mfc9450cdncupswrapper, mfc9840cdwcups, mfc9840cdwcupswrapper, dcp9040cncups, dcp9040cncupswrapper, dcp9042cdncups, dcp9042cdncupswrapper, dcp9045cdncups, dcp9045cdncupswrapper +Replaces: hl4040cncups, hl4040cncupswrapper, hl4040cdncups, hl4040cdncupswrapper, hl4050cdncups, hl4050cdncupswrapper, hl4070cdwcups, hl4070cdwcupswrapper, mfc9440cncups, mfc9440cncupswrapper, mfc9450cdncups, mfc9450cdncupswrapper, mfc9840cdwcups, mfc9840cdwcupswrapper, dcp9040cncups, dcp9040cncupswrapper, dcp9042cdncups, dcp9042cdncupswrapper, dcp9045cdncups, dcp9045cdncupswrapper +Description: Cups Wrapper drivers for ac brother printers + This package provides all cups wrapper drivers for models HL-4040CN + HL-4040CDN HL-4050CDN HL-4070CDW MFC-9440CN MFC-9450CDN MFC-9840CDW + DCP-9040CN DCP-9042CDN DCP-9045CDN --- brother-cups-wrapper-ac-1.0.3-1.orig/debian/rules +++ brother-cups-wrapper-ac-1.0.3-1/debian/rules @@ -0,0 +1,68 @@ +#!/usr/bin/make -f + +include /usr/share/quilt/quilt.make + +CC = gcc +CFLAGS = -g -Wall + +#export DH_VERBOSE=1 + + +install: build + dh_testdir + dh_testroot + + #Remove brother printers that don't exist. + rm -R build-tree/hl4040cnjcupswrapper* + rm -R build-tree/mfc9640cwcupswrapper* + + for i in `ls build-tree/ | sed s/'cupswrapper.*'//g` ; do \ + mkdir -p debian/tmp/usr/Brother/Printer/$$i/cupswrapper ; \ + mkdir -p debian/tmp/usr/share/ppd/Brother/ ; \ + sed -e '1,/^cat/d' -e '/!ENDOFWFILTER/,$$d' -e 's/\\//g' -e 's/$${printer_model}/'$$i'/g' build-tree/$${i}cupswrapper*/cupswrapper/cupswrapperSetup_$$i > debian/tmp/usr/Brother/Printer/$$i/cupswrapper/brlpdwrapper_$$i ; \ + sed -i s,'brlpdwrapper','/usr/Brother/Printer/'$$i'/cupswrapper/brlpdwrapper_',g build-tree/$${i}cupswrapper*/PPD/*.ppd ; \ + cp build-tree/$${i}cupswrapper*/PPD/*.ppd debian/tmp/usr/share/ppd/Brother/ ; \ + cp build-tree/dcp9040cncupswrapper*/brcupsconfig/brcupsconfcl1 debian/tmp/usr/Brother/Printer/ ; \ + ln -sf /usr/Brother/Printer/brcupsconfcl1 debian/tmp/usr/Brother/Printer/$$i/cupswrapper/brcupsconfcl1 ; \ + done + #Fix wrong folders in scripts + sed -i s_'usr/share/cups/model'_'usr/share/ppd/Brother'_g debian/tmp/usr/Brother/Printer/*/cupswrapper/brlpd* + sed -i s_'/usr/local'_'/usr'_g debian/tmp/usr/Brother/Printer/*/cupswrapper/brlpd* + + dh_install --autodest debian/tmp/usr + + +build: + mkdir -p build-tree + cd build-tree && for i in ../*.tar.gz; do tar zxvf $$i; done + #Fix wrong folder and build + cd build-tree/dcp9040cncupswrapper*/brcupsconfig && sed -i s_'/usr/local'_'/usr'_g brcupsconfig.c + cd build-tree/dcp9040cncupswrapper*/brcupsconfig && gcc brcupsconfig.c -o brcupsconfcl1 + +binary-indep: build install + +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installdocs -a + dh_installchangelogs -a + dh_strip -a + dh_compress -a + dh_fixperms -a + chmod a+x debian/brother-cups-wrapper-ac/usr/Brother/Printer/*/cupswrapper/brlpdwrapper* + dh_installdeb -a + dh_link -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch + +.PHONY: binary binary-arch binary-indep clean checkroot + +clean: + dh_testdir + -rm -r build-tree + dh_clean + rm -f build --- brother-cups-wrapper-ac-1.0.3-1.orig/debian/compat +++ brother-cups-wrapper-ac-1.0.3-1/debian/compat @@ -0,0 +1 @@ +6 --- brother-cups-wrapper-ac-1.0.3-1.orig/debian/changelog +++ brother-cups-wrapper-ac-1.0.3-1/debian/changelog @@ -0,0 +1,50 @@ +brother-cups-wrapper-ac (1.0.3-1-0ubuntu2) quantal; urgency=low + + * debian/control: added ${misc:Depends} to dependencies line. + + -- Chris Schmidt Tue, 18 Sep 2012 10:33:25 +0200 + +brother-cups-wrapper-ac (1.0.3-1-0ubuntu1) lucid; urgency=low + + * Updated wrappers to upstream version 1.0.3-1 + - Added DCP-9042CDN, HL-4040CDN and MFC-9450CDN wrappers + * debian/rules: updated to handle new source tarball format + * debian/control: updated list of printers and homepage + + -- Marc Deslauriers Tue, 22 Dec 2009 21:19:42 -0500 + +brother-cups-wrapper-ac (1.0.0-7-0ubuntu5) intrepid; urgency=low + + * debian/control: Remove not necessary csh dependency. (LP: #251972) + + -- Saïvann Carignan Thu, 28 Aug 2008 13:23:57 -0400 + +brother-cups-wrapper-ac (1.0.0-7-0ubuntu4) intrepid; urgency=low + + * debian/control: Change "provide" to "provides" (LP: #229346). + * debian/copyright: Use verbatim license header of one of the generator + scripts for PPDs and filters. + + -- Saïvann Carignan Tue, 13 May 2008 15:34:41 -0400 + +brother-cups-wrapper-ac (1.0.0-7-0ubuntu3) hardy; urgency=low + + * debian/control: Drop transitional packages. + * debian/compat: Update debhelper version to 6. + * debian/rules: Fix wrong PPD path in cupswrapper scripts. + + -- Saïvann Carignan Fri, 21 Mar 2008 02:45:21 -0400 + +brother-cups-wrapper-ac (1.0.0-7-0ubuntu2) hardy; urgency=low + + * debian/rules: Fix wrong PPD= fields in filter files. + * debian/patches/remove-usr-local: Remove all references to /usr/local. + * debian/control: Add transitional packages. + + -- Saïvann Carignan Thu, 28 Feb 2008 22:00:24 -0500 + +brother-cups-wrapper-ac (1.0.0-7-0ubuntu1) hardy; urgency=low + + * Initial release + + -- Saïvann Carignan Fri, 15 Feb 2008 10:07:22 -0500 --- brother-cups-wrapper-ac-1.0.3-1.orig/debian/copyright +++ brother-cups-wrapper-ac-1.0.3-1/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Saïvann Carignan +Fri, 15 Feb 2008 10:07:22 -0500 + +brother-cups-wrapper-ac was downloaded from: http://solutions.brother.com/linux/en_us/ + +Licence: GPL-2 (see /usr/share/common-licenses/GPL-2) + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along with + this program; if not, write to the Free Software Foundation, Inc., 59 Temple + Place, Suite 330, Boston, MA 02111-1307 USA + +The Debian packaging is © 2008, Saïvann Carignan +and is licensed under the GPL2 (See /usr/share/common-licenses/GPL-2) + +Copyright (C) 2005 Brother. Industries, Ltd.