diff options
-rw-r--r-- | debian/README.Debian | 35 | ||||
-rw-r--r-- | debian/changelog | 69 | ||||
-rw-r--r-- | debian/control | 24 | ||||
-rw-r--r-- | debian/copyright | 59 | ||||
-rw-r--r-- | debian/copyright-scan-patterns.yml | 10 | ||||
-rw-r--r-- | debian/docs | 2 | ||||
-rw-r--r-- | debian/fix.scanned.copyright | 20 | ||||
-rw-r--r-- | debian/gbp.conf | 4 | ||||
-rwxr-xr-x | debian/rules | 7 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/upstream/metadata | 1 | ||||
-rw-r--r-- | debian/watch | 6 |
12 files changed, 238 insertions, 0 deletions
diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..6ee3f4f --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,35 @@ +# Here's how I configured my Canon PIXMA MP560 printer using bjnp over wifi: +############################################################################ + +# 1) Turn the printer on, enable wifi + +# 2) Run bjnp to list active BJNP-listening printers on the local network +$ /usr/lib/cups/backend/bjnp +network bjnp://CANON-MP560.local:8611 "Canon MP560 series" "Canon MP560 series CANON-MP560.local" "MFG:Canon;CMD:BJL,BJRaster3,BSCCe,NCCe,IVEC,IVECPLI;SOJ:TXT01,BJNP2;MDL:MP560 series;CLS:PRINTER;DES:Canon MP560 series;VER:1.040;STA:10;FSI:00;HRI:PAM;MSI:DAT,E3,HFSF;PDR:3;" + +# 3) Find an appropriate driver/PPD for the printer on the system +$ sudo lpinfo --make-and-model MP560 -m +foomatic:Canon-MULTIPASS-MP560-gutenprint-ijs-simplified.5.2.ppd Canon MULTIPASS-MP560 Foomatic/gutenprint-ijs-simplified.5.2 +foomatic:Canon-MULTIPASS-MP560-gutenprint-ijs.5.2.ppd Canon MULTIPASS-MP560 Foomatic/gutenprint-ijs.5.2 +gutenprint.5.2://bjc-MULTIPASS-MP560/expert Canon PIXMA MP560 - CUPS+Gutenprint v5.2.9 + +# 4) Create the printer in CUPS, enable it, and set it as the default +$ sudo lpadmin -p CanonMP560 -v bjnp://CANON-MP560.local:8611 -D "Canon MP560 series" -m gutenprint.5.2://bjc-MULTIPASS-MP560/expert +$ sudo cupsaccept CanonMP560 +$ sudo cupsenable CanonMP560 +$ sudo lpadmin -d CanonMP560 + +# 5) Looks good +$ lpstat -t +scheduler is running +system default destination: CanonMP560 +device for CanonMP560: bjnp://CANON-MP560.local:8611 +CanonMP560 accepting requests since Sat 08 Dec 2012 12:33:45 PM EST +printer CanonMP560 is idle. enabled since Sat 08 Dec 2012 12:33:45 PM EST + Ready to print. + +# 6) Print a test page +$ lp /usr/share/doc/cups-backend-bjnp/README.Debian +request id is CanonMP560-20 (1 file(s)) + +# 7) Celebrate diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..da04d4d --- /dev/null +++ b/debian/changelog @@ -0,0 +1,69 @@ +cups-bjnp (2.0.1-1) unstable; urgency=medium + + * New 2.0.1 upstream version + - Updated license to GPLv2 OR LATER + + * Cleanup d/rules to drop --with autotools-dev, and drop autotools-dev B-D + * Bump debhelper compat to 11 + * Update debian/copyright to reflect upstream's relicensing to GPL-2+, + thanks to cme + + -- Didier Raboud <odyx@debian.org> Mon, 26 Feb 2018 21:05:50 +0100 + +cups-bjnp (2.0-2) unstable; urgency=medium + + * Bump Standards-Version to 4.1.3 without changes needed + * Update Vcs-* fields for the move to salsa.d.o + * Drop source/local-options + + -- Didier Raboud <odyx@debian.org> Fri, 09 Feb 2018 17:38:01 +0100 + +cups-bjnp (2.0-1) unstable; urgency=medium + + * New 2.0 upstream version + (Closes: #735179) + + [ Didier Raboud ] + * Add debian/gbp.conf to work with the DEP-14 branches + * Bump Standards-Version to 4.0.0 without changes needed + * Replace Joe Nahmias as Uploader, with thanks for his past work + (Closes: #869288) + * Migrate to debhelper compat 10 + + [ Till Kamppeter ] + * Removed patch fix_recieved_typos.patch, applied upstream + * Corrected recommendation for the Gutenprint driver (using native CUPS + flavor) + * Added a basic CUPS environment to the build dependencies, so that the + * ./configure script does not error out + + -- Didier Raboud <odyx@debian.org> Sun, 23 Jul 2017 10:09:07 +0200 + +cups-bjnp (1.2-2) unstable; urgency=medium + + * Team upload + + [ Joe Nahmias ] + * Unapply patches from source + + [ Didier Raboud ] + * Move the repository from collab-maint to printing; update the VCS-* fields + accordingly + * Bump Standards-Version to 3.9.5 without changes needed + + -- Didier Raboud <odyx@debian.org> Sun, 13 Apr 2014 15:10:09 +0200 + +cups-bjnp (1.2-1) unstable; urgency=low + + * Initial release, closes: #695401. + * Move to collab-maint, add VCS-* fields to debian/control + * switch maintainer to Printing Team, add myself as an uploader + * add patch to fix recieved -> received typos + * bump std-ver, no changes needed + * don't install unnecessary TODO, AUTHORS files + * README.Debian: update printer setup instructions with what worked + for me + * rename binary pkg to cups-backend-bjnp + * recommend foomatic-db-gutenprint pkg to pull in printer drivers + + -- Joe Nahmias <jello@debian.org> Sat, 08 Dec 2012 22:14:32 -0500 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..b1849af --- /dev/null +++ b/debian/control @@ -0,0 +1,24 @@ +Source: cups-bjnp +Maintainer: Debian Printing Team <debian-printing@lists.debian.org> +Uploaders: Didier Raboud <odyx@debian.org> +Section: text +Priority: optional +Build-Depends: cups-daemon, + cups-filters, + libcups2-dev, + debhelper-compat (= 12) +Standards-Version: 4.1.3 +Vcs-Browser: https://salsa.debian.org/printing-team/cups-bjnp +Vcs-Git: https://salsa.debian.org/printing-team/cups-bjnp.git +Homepage: http://cups-bjnp.sourceforge.net/ + +Package: cups-backend-bjnp +Architecture: any +Depends: ${misc:Depends}, + ${shlibs:Depends} +Recommends: printer-driver-gutenprint +Description: printer backend for Canon BJNP protocol + This package provides a back-end for CUPS printing system to interface + with Canon printers using the proprietary USB over IP BJNP protocol. This + back-end allows Cups to print over the network to a Canon printer and was + designed by reverse engineering the protocol. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..da78f86 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,59 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: cups-bjnp +Source: http://cups-bjnp.sourceforge.net/ + +Files: * +Copyright: 2008-2014, Louis Lagendijk <llagendijk@sourceforge.net> +License: GPL-2+ + +Files: INSTALL +Copyright: 1994-1996, 1999-2002, 2004-2013, Free Software Foundation +License: FSFAP + Copying and distribution of this file, with or without modification, are + permitted in any medium without royalty provided the copyright notice and + this notice are preserved. This file is offered as-is, without warranty of + any kind. + +Files: Makefile.in + aclocal.m4 +Copyright: 1989, 1991, 1994-2017, Free Software Foundation, Inc. +License: GPL-2+ + +Files: bjnp.c +Copyright: 2008-2014, Louis Lagendijk + 2007, Apple Inc. + 1997-2007, Easy Software Products +License: GPL-2+ + +Files: compile + depcomp + missing +Copyright: 1996-2017, Free Software Foundation, Inc. +License: GPL-2+ + +Files: configure +Copyright: 1992-1996, 1998-2012, Free Software Foundation, Inc. +License: FSFUL + This configure script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it. + +Files: debian/* +Copyright: 2012, Joe Nahmias <jello@debian.org> +License: GPL-2 + +License: 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; version 2 dated June, 1991. + . + On Debian systems, the complete text of version 2 of the GNU General + Public License can be found in '/usr/share/common-licenses/GPL-2'. + +License: 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; version 2 dated June, 1991, or (at + your option) any later version. + . + On Debian systems, the complete text of version 2 of the GNU General + Public License can be found in '/usr/share/common-licenses/GPL-2'. diff --git a/debian/copyright-scan-patterns.yml b/debian/copyright-scan-patterns.yml new file mode 100644 index 0000000..e5dc30f --- /dev/null +++ b/debian/copyright-scan-patterns.yml @@ -0,0 +1,10 @@ +--- +ignore: + pattern: + - AUTHORS + - ChangeLog + - Makefile.am + - NEWS + - TODO + - acinclude.m4 + - config.h.in diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..50bd824 --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +NEWS +README diff --git a/debian/fix.scanned.copyright b/debian/fix.scanned.copyright new file mode 100644 index 0000000..06110dc --- /dev/null +++ b/debian/fix.scanned.copyright @@ -0,0 +1,20 @@ +# Apply general license +! Files:"*" + Copyright=~"s/Lagendijk/Lagendijk \<llagendijk\@sourceforge.net\>/" + License short_name="GPL-2+" + +# Fix wrong detections +! Files:"bjnp.c" License short_name="GPL-2+" + +# Add missing licenses +! Files:"INSTALL" + License short_name=FSFAP + full_license="Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice and +this notice are preserved. This file is offered as-is, without warranty of +any kind." + +! Files:"configure" + License short_name=FSFUL + full_license="This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..47e7402 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,4 @@ +[DEFAULT] +debian-branch = debian/master +upstream-branch = upstream/latest +pristine-tar = True diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..e849921 --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_configure: + dh_auto_configure -- --with-cupsbackenddir=/usr/lib/cups/backend diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..afa39c0 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1 @@ +Name: cups-bjnp diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..a361d9e --- /dev/null +++ b/debian/watch @@ -0,0 +1,6 @@ +# Compulsory line, this is a version 3 file +version=3 +# See uscan(1) for format + +# Uncomment to find new files on sourceforge, for devscripts >= 2.9 +http://sf.net/cups-bjnp/cups-bjnp-(.*)\.tar\.gz |