--- brother-cups-wrapper-bh7-1.0.0-10.orig/debian/brother-cups-wrapper-bh7.install +++ brother-cups-wrapper-bh7-1.0.0-10/debian/brother-cups-wrapper-bh7.install @@ -0,0 +1,3 @@ + debian/tmp/usr/Brother/Printer/* usr/Brother/Printer/ + debian/tmp/usr/share/cups/model/* usr/share/ppd/Brother/ + debian/tmp/usr/lib/cups/filter/* usr/lib/cups/filter/ --- brother-cups-wrapper-bh7-1.0.0-10.orig/debian/changelog +++ brother-cups-wrapper-bh7-1.0.0-10/debian/changelog @@ -0,0 +1,52 @@ +brother-cups-wrapper-bh7 (1.0.0-10-0ubuntu8) noble; urgency=medium + + * Upgrade to debhelper 7 to fix FTBFS and gain buildinfo. + + -- Dimitri John Ledkov Sat, 17 Feb 2024 17:51:23 +0000 + +brother-cups-wrapper-bh7 (1.0.0-10-0ubuntu7) noble; urgency=medium + + * No change rebuild to gain buildinfo. + + -- Dimitri John Ledkov Fri, 16 Feb 2024 12:36:17 +0000 + +brother-cups-wrapper-bh7 (1.0.0-10-0ubuntu6) quantal; urgency=low + + * debian/control: added ${misc:Depends} to dependencies line. + + -- Chris Schmidt Tue, 18 Sep 2012 11:09:11 +0200 + +brother-cups-wrapper-bh7 (1.0.0-10-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-bh7 (1.0.0-10-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-bh7 (1.0.0-10-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-bh7 (1.0.0-10-0ubuntu2) hardy; urgency=low + + * debian/rules: Fix wrong PPDC= fields in filter files. + * debian/rules: 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-bh7 (1.0.0-10-0ubuntu1) hardy; urgency=low + + * Initial release + + -- Saïvann Carignan Fri, 15 Feb 2008 10:07:22 -0500 --- brother-cups-wrapper-bh7-1.0.0-10.orig/debian/compat +++ brother-cups-wrapper-bh7-1.0.0-10/debian/compat @@ -0,0 +1 @@ +7 --- brother-cups-wrapper-bh7-1.0.0-10.orig/debian/control +++ brother-cups-wrapper-bh7-1.0.0-10/debian/control @@ -0,0 +1,19 @@ +Source: brother-cups-wrapper-bh7 +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 (>= 7) +Standards-Version: 3.7.3 + +Package: brother-cups-wrapper-bh7 +Architecture: i386 amd64 +Depends: ${shlibs:Depends}, brother-cups-wrapper-common, brother-lpr-drivers-bh7, ${misc:Depends} +Conflicts: dcp130ccupswrapper, dcp330ccupswrapper, dcp540cncupswrapper, dcp750cncupswrapper, dcp750cwcupswrapper, fax1860ccupswrapper, fax1960ccupswrapper, fax2480ccupswrapper, fax2580ccupswrapper, mfc240ccupswrapper, mfc3360ccupswrapper, mfc440cncupswrapper, mfc460cncupswrapper, mfc5460cncupswrapper, mfc5860cncupswrapper, mfc630cdcupswrapper, mfc660cncupswrapper, mfc665cwcupswrapper, mfc845cwcupswrapper, mfc850cdncupswrapper, mfc860cdncupswrapper +Replaces: dcp130ccupswrapper, dcp330ccupswrapper, dcp540cncupswrapper, dcp750cncupswrapper, dcp750cwcupswrapper, fax1860ccupswrapper, fax1960ccupswrapper, fax2480ccupswrapper, fax2580ccupswrapper, mfc240ccupswrapper, mfc3360ccupswrapper, mfc440cncupswrapper, mfc460cncupswrapper, mfc5460cncupswrapper, mfc5860cncupswrapper, mfc630cdcupswrapper, mfc660cncupswrapper, mfc665cwcupswrapper, mfc845cwcupswrapper, mfc850cdncupswrapper, mfc860cdncupswrapper +Description: Cups Wrapper drivers for bh7 brother printers + This package provides all cups wrapper drivers for models DCP-130C + DCP-330C DCP-540CN DCP-750CW FAX-1860C FAX-1960C FAX-2480C + FAX-2580C MFC-240C MFC-3360C MFC-440CN MFC-5460CN MFC-5860CN + MFC-660CN MFC-665CW MFC-845CW --- brother-cups-wrapper-bh7-1.0.0-10.orig/debian/copyright +++ brother-cups-wrapper-bh7-1.0.0-10/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-bh7 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-bh7-1.0.0-10.orig/debian/rules +++ brother-cups-wrapper-bh7-1.0.0-10/debian/rules @@ -0,0 +1,67 @@ +#!/usr/bin/make -f + +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/usr/lib/cups/filter + mkdir -p debian/tmp/scripts + + for i in `cat model_list`; do \ + cp cupswrapper$$i debian/tmp/scripts/ ; \ + mkdir -p debian/tmp/usr/Brother/Printer/$$i/cupswrapper ; \ + # Remove stuff that cause problems or outputs when brother scripts are used to create ppd files. ; \ + sed -i s_'/usr/local'_'/usr'_g debian/tmp/scripts/cupswrapper$$i ; \ + sed -i s/'ppd_file_name=\/usr'/'ppd_file_name=debian\/tmp\/usr'/g debian/tmp/scripts/cupswrapper$$i ; \ + sed -i s/'brotherlpdwrapper=\/usr'/'brotherlpdwrapper=debian\/tmp\/usr'/g debian/tmp/scripts/cupswrapper$$i ; \ + sed -i s/' echo "ERROR : Brother LPD filter is not installed."'/' :'/ debian/tmp/scripts/cupswrapper$$i ; \ + sed -i s/'chmod a+w'/'#chmod a+w'/g debian/tmp/scripts/cupswrapper$$i ; \ + sed -i s/'sleep 2s'// debian/tmp/scripts/cupswrapper$$i ; \ + sed -i s/'lpinfo -v'/'echo ""'/g debian/tmp/scripts/cupswrapper$$i ; \ + sed -i s/' cp $brotherlpdwrapper $brotherlpdwrapper64'// debian/tmp/scripts/cupswrapper$$i ; \ + sed -i '/^lpadmin/d' debian/tmp/scripts/cupswrapper$$i ; \ + sed -i s_'PPDC=\"/usr/share/cups/model'_'PPDC=\"/usr/share/ppd/Brother'_g debian/tmp/scripts/cupswrapper$$i ; \ + ./debian/tmp/scripts/cupswrapper$$i ; \ + ln -sf /usr/Brother/Printer/brcupsconfpt1 debian/tmp/usr/Brother/Printer/$$i/cupswrapper/brcupsconfpt1 ; \ + done + + dh_install + +build: + rm -f brcupsconfpt1 + make + chmod +x mk_cupswrapper + ./mk_cupswrapper + +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-bh7/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: + dh_testdir + dh_clean + rm -f build