--- brother-cups-wrapper-mfc9420cn-1.0.0-1.orig/debian/brother-cups-wrapper-mfc9420cn.install +++ brother-cups-wrapper-mfc9420cn-1.0.0-1/debian/brother-cups-wrapper-mfc9420cn.install @@ -0,0 +1,4 @@ + brcupsconfigcl1/brcupsconfcl1 usr/Brother/cupswrapper/ + debian/tmp/usr/Brother/* usr/Brother/ + debian/tmp/usr/share/cups/model/* usr/share/ppd/Brother/ + debian/tmp/usr/lib/cups/filter/* usr/lib/cups/filter/ --- brother-cups-wrapper-mfc9420cn-1.0.0-1.orig/debian/changelog +++ brother-cups-wrapper-mfc9420cn-1.0.0-1/debian/changelog @@ -0,0 +1,48 @@ +brother-cups-wrapper-mfc9420cn (1.0.0-1-0ubuntu7) bionic; urgency=high + + * No change rebuild to pick up -fPIE compiler default + + -- Balint Reczey Tue, 03 Apr 2018 12:15:48 +0000 + +brother-cups-wrapper-mfc9420cn (1.0.0-1-0ubuntu6) quantal; urgency=low + + * debian/control: added ${misc:Depends} to dependencies line. + + -- Chris Schmidt Tue, 18 Sep 2012 19:24:54 +0200 + +brother-cups-wrapper-mfc9420cn (1.0.0-1-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-mfc9420cn (1.0.0-1-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-mfc9420cn (1.0.0-1-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-mfc9420cn (1.0.0-1-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 the sources files. + * debian/control: Add transitional packages. + + -- Saïvann Carignan Thu, 28 Feb 2008 22:00:24 -0500 + +brother-cups-wrapper-mfc9420cn (1.0.0-1-0ubuntu1) hardy; urgency=low + + * Initial release + + -- Saïvann Carignan Fri, 15 Feb 2008 10:07:22 -0500 --- brother-cups-wrapper-mfc9420cn-1.0.0-1.orig/debian/compat +++ brother-cups-wrapper-mfc9420cn-1.0.0-1/debian/compat @@ -0,0 +1 @@ +6 --- brother-cups-wrapper-mfc9420cn-1.0.0-1.orig/debian/control +++ brother-cups-wrapper-mfc9420cn-1.0.0-1/debian/control @@ -0,0 +1,16 @@ +Source: brother-cups-wrapper-mfc9420cn +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-mfc9420cn +Architecture: i386 amd64 +Depends: ${shlibs:Depends}, brother-lpr-drivers-mfc9420cn, ${misc:Depends} +Conflicts: mfc9420cncups +Replaces: mfc9420cncups +Description: Cups Wrapper drivers for mfc9420cn brother printers + This package provides all cups wrapper drivers for models --- brother-cups-wrapper-mfc9420cn-1.0.0-1.orig/debian/copyright +++ brother-cups-wrapper-mfc9420cn-1.0.0-1/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-mfc9420cn 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-mfc9420cn-1.0.0-1.orig/debian/patches/fix-missing-string-header +++ brother-cups-wrapper-mfc9420cn-1.0.0-1/debian/patches/fix-missing-string-header @@ -0,0 +1,11 @@ +diff -ruN mfc9420cncups_src.orig/brcupsconfigcl1/brcupsconfig.c mfc9420cncups_src/brcupsconfigcl1/brcupsconfig.c +--- mfc9420cncups_src.orig/brcupsconfigcl1/brcupsconfig.c 2005-08-25 22:24:43.000000000 -0400 ++++ mfc9420cncups_src/brcupsconfigcl1/brcupsconfig.c 2008-02-14 03:56:53.000000000 -0500 +@@ -20,6 +20,7 @@ + + #include + #include ++#include + #include "brcups_commands.h" + + --- brother-cups-wrapper-mfc9420cn-1.0.0-1.orig/debian/patches/remove-usr-local +++ brother-cups-wrapper-mfc9420cn-1.0.0-1/debian/patches/remove-usr-local @@ -0,0 +1,12 @@ +diff -ruN mfc9420cncups_src.orig/brcupsconfigcl1/brcupsconfig.c mfc9420cncups_src/brcupsconfigcl1/brcupsconfig.c +--- mfc9420cncups_src.orig/brcupsconfigcl1/brcupsconfig.c 2008-02-29 11:26:11.000000000 -0500 ++++ mfc9420cncups_src/brcupsconfigcl1/brcupsconfig.c 2008-02-29 11:26:23.000000000 -0500 +@@ -47,7 +47,7 @@ + + + +-#define SETTINGFILE "/usr/local/Brother/cupswrapper/cupswrapperc" ++#define SETTINGFILE "/usr/Brother/cupswrapper/cupswrapperc" + int log_level = 0; + + --- brother-cups-wrapper-mfc9420cn-1.0.0-1.orig/debian/patches/series +++ brother-cups-wrapper-mfc9420cn-1.0.0-1/debian/patches/series @@ -0,0 +1,2 @@ +fix-missing-string-header +remove-usr-local --- brother-cups-wrapper-mfc9420cn-1.0.0-1.orig/debian/rules +++ brother-cups-wrapper-mfc9420cn-1.0.0-1/debian/rules @@ -0,0 +1,65 @@ +#!/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/Brother/cupswrapper/ + mkdir -p debian/tmp/usr/share/cups/model + mkdir -p debian/tmp/usr/lib/cups/filter/ + mkdir -p debian/tmp/scripts + + # Remove stuff that cause problems or outputs when brother scripts are used to create ppd files. + cp SCRIPT/* debian/tmp/scripts/ + sed -i s_'/usr/local'_'/usr'_g debian/tmp/scripts/* + sed -i s/'ppd_file_name=\/usr'/'ppd_file_name=debian\/tmp\/usr'/g debian/tmp/scripts/* + sed -i s/'brotherlpdwrapper=\/usr'/'brotherlpdwrapper=debian\/tmp\/usr'/g debian/tmp/scripts/* + sed -i s/'mkdir -p \/usr\/Brother\/filter'// debian/tmp/scripts/* + sed -i s/'mkdir -p \/usr\/lib\/cups\/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/* + ./debian/tmp/scripts/cupswrapperMFC9420CN + + dh_install + +build: patch + gcc brcupsconfigcl1/brcupsconfig.c -o brcupsconfigcl1/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-mfc9420cn/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