--- brother-cups-wrapper-laser-2.0.1-2.orig/debian/brother-cups-wrapper-laser.install +++ brother-cups-wrapper-laser-2.0.1-2/debian/brother-cups-wrapper-laser.install @@ -0,0 +1,3 @@ + brcupsconfig3/brcupsconfig3 usr/Brother/cupswrapper/ + debian/tmp/usr/share/cups/model/* usr/share/ppd/Brother/ + debian/tmp/usr/lib/cups/filter/* usr/lib/cups/filter --- brother-cups-wrapper-laser-2.0.1-2.orig/debian/changelog +++ brother-cups-wrapper-laser-2.0.1-2/debian/changelog @@ -0,0 +1,48 @@ +brother-cups-wrapper-laser (2.0.1-2-0ubuntu7) bionic; urgency=high + + * No change rebuild to pick up -fPIE compiler default + + -- Balint Reczey Tue, 03 Apr 2018 12:15:45 +0000 + +brother-cups-wrapper-laser (2.0.1-2-0ubuntu6) quantal; urgency=low + + * debian/control: added ${misc:Depends} to dependencies line. + + -- Chris Schmidt Tue, 18 Sep 2012 18:22:26 +0200 + +brother-cups-wrapper-laser (2.0.1-2-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-laser (2.0.1-2-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-laser (2.0.1-2-0ubuntu3) hardy; urgency=low + + * debian/control: Drop transitional packages. + * debian/compat: Update debhelper version to 6. + + -- Saïvann Carignan Fri, 21 Mar 2008 02:45:21 -0400 + +brother-cups-wrapper-laser (2.0.1-2-0ubuntu2) hardy; urgency=low + + * debian/rules: Fix wrong PPD= fields in filter files. + * debian/rules: Remove all references to /usr/local. + * debian/patches/remove-usr-local: Remove all references to /usr/local + in source files. + * debian/control: Add transitional packages. + + -- Saïvann Carignan Thu, 28 Feb 2008 22:00:24 -0500 + +brother-cups-wrapper-laser (2.0.1-2-0ubuntu1) hardy; urgency=low + + * Initial release + + -- Saïvann Carignan Fri, 15 Feb 2008 10:07:22 -0500 --- brother-cups-wrapper-laser-2.0.1-2.orig/debian/compat +++ brother-cups-wrapper-laser-2.0.1-2/debian/compat @@ -0,0 +1 @@ +6 --- brother-cups-wrapper-laser-2.0.1-2.orig/debian/control +++ brother-cups-wrapper-laser-2.0.1-2/debian/control @@ -0,0 +1,20 @@ +Source: brother-cups-wrapper-laser +Section: text +Priority: optional +Homepage: http://solutions.brother.com/linux/en_us/ +Maintainer: Ubuntu MOTU Team +XSBC-Original-Maintainer: Saïvann Carignan +Build-Depends: debhelper (>= 5), quilt +Standards-Version: 3.7.3 + +Package: brother-cups-wrapper-laser +Architecture: i386 amd64 +Depends: ${shlibs:Depends}, brother-lpr-drivers-laser, ${misc:Depends} +Conflicts: cupswrapperdcp7010, cupswrapperdcp7020, cupswrapperdcp7025, cupswrapperdcp8060, cupswrapperdcp8065dn, cupswrapperfax2820, cupswrapperfax2920, cupswrapperhl2030, cupswrapperhl2040, cupswrapperhl2070n, cupswrapperhl5240, cupswrapperhl5250dn, cupswrapperhl5270dn, cupswrapperhl5280dw, cupswrappermfc7220, cupswrappermfc7225n, cupswrappermfc7420, cupswrappermfc7820n, cupswrappermfc8460n, cupswrappermfc8660dn, cupswrappermfc8860dn, cupswrappermfc8870dw +Replaces: cupswrapperdcp7010, cupswrapperdcp7020, cupswrapperdcp7025, cupswrapperdcp8060, cupswrapperdcp8065dn, cupswrapperfax2820, cupswrapperfax2920, cupswrapperhl2030, cupswrapperhl2040, cupswrapperhl2070n, cupswrapperhl5240, cupswrapperhl5250dn, cupswrapperhl5270dn, cupswrapperhl5280dw, cupswrappermfc7220, cupswrappermfc7225n, cupswrappermfc7420, cupswrappermfc7820n, cupswrappermfc8460n, cupswrappermfc8660dn, cupswrappermfc8860dn, cupswrappermfc8870dw +Description: Cups Wrapper drivers for laser brother printers + This package provides all cups wrapper drivers for models DCP-7010 + DCP-7020 DCP-7025 DCP-8060 DCP-8065DN FAX-2820 FAX-2920 + HL-2030 HL-2040 HL-2070N HL-5240 HL-5250DN HL-5270DN HL-5280DW + MFC-7220 MFC-7225N MFC-7420 MFC-7820N MFC-8460N MFC-8660DN + MFC-8860DN MFC-8870DW --- brother-cups-wrapper-laser-2.0.1-2.orig/debian/copyright +++ brother-cups-wrapper-laser-2.0.1-2/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Saïvann Carignan +Fri, 15 Feb 2008 10:07:22 -0500 + +brother-cups-wrapper-laser 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. --- brother-cups-wrapper-laser-2.0.1-2.orig/debian/patches/remove-usr-local +++ brother-cups-wrapper-laser-2.0.1-2/debian/patches/remove-usr-local @@ -0,0 +1,12 @@ +diff -ruN brother-laser-cups-driver-2.0.1-1.orig/brcupsconfig3/brcupsconfig.c brother-laser-cups-driver-2.0.1-1/brcupsconfig3/brcupsconfig.c +--- brother-laser-cups-driver-2.0.1-1.orig/brcupsconfig3/brcupsconfig.c 2008-02-29 11:02:17.000000000 -0500 ++++ brother-laser-cups-driver-2.0.1-1/brcupsconfig3/brcupsconfig.c 2008-02-29 11:02:32.000000000 -0500 +@@ -49,7 +49,7 @@ + + + +-#define SETTINGFILE "/usr/local/Brother/cupswrapper/cupswrapperc" ++#define SETTINGFILE "/usr/Brother/cupswrapper/cupswrapperc" + int log_level = 0; + + --- brother-cups-wrapper-laser-2.0.1-2.orig/debian/patches/series +++ brother-cups-wrapper-laser-2.0.1-2/debian/patches/series @@ -0,0 +1 @@ +remove-usr-local --- brother-cups-wrapper-laser-2.0.1-2.orig/debian/rules +++ brother-cups-wrapper-laser-2.0.1-2/debian/rules @@ -0,0 +1,67 @@ +#!/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 + mkdir -p debian/tmp/usr/share/cups/model + mkdir -p debian/tmp/scripts + + # Remove stuff that cause problems or outputs when brother scripts are used to create ppd files. + cp scripts/* debian/tmp/scripts/ + sed -i s_'/usr/local'_'/usr'_g debian/tmp/scripts/* + sed -i s/'mkdir -p \/usr'/'mkdir -p debian\/tmp\/usr'/g debian/tmp/scripts/* + sed -i s/'brotherlpdwrapper=\/usr'/'brotherlpdwrapper=debian\/tmp\/usr'/g debian/tmp/scripts/* + sed -i s/'ppd_file_name=\/usr\/share'/'ppd_file_name=debian\/tmp\/usr\/share'/g debian/tmp/scripts/* + sed -i s/'mkdir -p debian\/tmp\/usr\/Brother\/filter'// debian/tmp/scripts/* + sed -i s/' echo "ERROR : Brother LPD filter is not installed."'/'echo ""'/ debian/tmp/scripts/* + sed -i s/'chmod a+w'/'#chmod a+w'/g debian/tmp/scripts/* + sed -i s/'sleep 2s'// debian/tmp/scripts/* + sed -i s/'lpinfo -v'/'echo ""'/g debian/tmp/scripts/* + sed -i s/' cp $brotherlpdwrapper $brotherlpdwrapper64'// debian/tmp/scripts/* + sed -i '/^lpadmin/d' debian/tmp/scripts/* + sed -i s_'PPD=\"/usr/share/cups/model'_'PPD=\"/usr/share/ppd/Brother'_g debian/tmp/scripts/* + + for i in `ls debian/tmp/scripts/` ; do \ + ./debian/tmp/scripts/$$i ; \ + done + + dh_install + + +build: patch + gcc brcupsconfig3/brcupsconfig.c -o brcupsconfig3/brcupsconfig3 + +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-laser/usr/lib/cups/filter/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: unpatch + dh_testdir + dh_clean + rm -f build