summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/README.Debian35
-rw-r--r--debian/changelog49
-rw-r--r--debian/compat1
-rw-r--r--debian/control24
-rw-r--r--debian/copyright27
-rw-r--r--debian/docs2
-rw-r--r--debian/gbp.conf4
-rwxr-xr-xdebian/rules11
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch6
10 files changed, 160 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..71b88b3
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,49 @@
+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/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..cecf7aa
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: cups-bjnp
+Section: text
+Priority: optional
+Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
+Uploaders: Didier Raboud <odyx@debian.org>
+Build-Depends: autotools-dev,
+ cups-daemon,
+ cups-filters,
+ debhelper (>= 10.2.5~),
+ libcups2-dev
+Standards-Version: 4.0.0
+Homepage: http://cups-bjnp.sourceforge.net/
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=printing/cups-bjnp.git
+Vcs-Git: https://alioth.debian.org/anonscm/git/printing/cups-bjnp.git
+
+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..8769ea0
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,27 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: cups-bjnp
+Source: http://cups-bjnp.sourceforge.net/
+
+Files: *
+Copyright: 2008-2012 Louis Lagendijk <llagendijk@sourforge.net>
+License: GPL-2.0
+
+Files: debian/*
+Copyright: 2012 Joe Nahmias <jello@debian.org>
+License: GPL-2.0
+
+License: GPL-2.0
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of version 2 of the GNU General Public License as
+ published by the Free Software Foundation.
+ .
+ This package 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, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
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/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..1bb0480
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+override_dh_auto_configure:
+ dh_auto_configure -- --with-cupsbackenddir=/usr/lib/cups/backend
+
+%:
+ dh $@ --with autotools-dev
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/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