debian/0000755000000000000000000000000012261267251007172 5ustar debian/watch0000644000000000000000000000007312261267251010223 0ustar version=3 http://sf.net/cupsdriverkodak/c2esp(.+)\.tar\.gz debian/printer-driver-c2esp.docs0000644000000000000000000000000712261267251014027 0ustar README debian/compat0000644000000000000000000000000212261267251010370 0ustar 9 debian/source.lintian-overrides0000644000000000000000000000013112261267251014045 0ustar # This is needed for "auto-buildflags" package-needs-versioned-debhelper-build-depends 9 debian/copyright0000644000000000000000000000253612261267251011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: c2esp Upstream-Contact: http://sourceforge.net/projects/cupsdriverkodak/forums Source: http://sourceforge.net/projects/cupsdriverkodak/files/ Files: c2esp.c c2espC.c c2espcommon.* command2esp.c ppd/* Copyright: 2010-2013 Paul Newall License: GPL-2+ Files: myopldecode.c Copyright: 2003-2006 Rick Richardson 2010 Paul Newall License: GPL-2+ Files: debian/* Copyright: 2011-2013 Didier Raboud 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; 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/ubuntu/0000755000000000000000000000000012261267251010514 5ustar debian/ubuntu/apport-hook.py0000644000000000000000000000032512261267251013331 0ustar '''apport package hook for c2esp (c) 2009 Canonical Ltd. Author: Brian Murray ''' from apport.hookutils import * def add_info(report): attach_hardware(report) attach_printing(report) debian/control0000644000000000000000000000240712261267251010600 0ustar Source: c2esp Section: text Priority: optional Maintainer: Debian Printing Team Uploaders: Didier Raboud Build-Depends: debhelper (>= 8.9.0~), libcupsimage2-dev (>= 1.6), libcupsfilters-dev, libjbig-dev Vcs-Git: git://anonscm.debian.org/collab-maint/c2esp.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/c2esp.git Homepage: http://cupsdriverkodak.sf.net/ Standards-Version: 3.9.5 Package: printer-driver-c2esp Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Recommends: cups-ppdc Suggests: psutils Breaks: cups (<< 1.5.0-2~), c2esp (<< 19-2~) Replaces: c2esp (<< 19-2~) Description: printer driver for Kodak ESP AiO color inkjet Series The c2esp driver is an open source driver for the Kodak ESP AiO and HERO AiO color inkjet printers series. It is likely to work on the 5100 AiO, 5300 AiO, 5500 AiO, ESP 1.2 AiO, ESP 2.2 AiO, ESP 3200 Series AiO, ESP 3.2 AiO, ESP 3 AiO, ESP 4.2 AiO, ESP 5200 Series AiO, ESP 5 AiO, ESP 7200 Series AiO, ESP 7 AiO, ESP 9200 Series AiO, ESP 9 AiO, ESP C100 Series AiO, ESP C110 Series AiO, ESP C310 Series AiO, ESP Office 4100 Series AiO, ESP Office 6100 Series AiO, HERO 3.1 AiO, HERO 5.1 AiO, HERO 6.1 AiO, HERO 7.1 AiO and HERO 9.1 AiO. debian/printer-driver-c2esp.ppd-updater0000644000000000000000000000007212261267251015326 0ustar DRIVER_REGEXP='drv:///c2espC?.drv/' GENNICKNAME_REGEXP='' debian/source/0000755000000000000000000000000012261267251010472 5ustar debian/source/format0000644000000000000000000000001412261267251011700 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012261267251010621 5ustar debian/patches/series0000644000000000000000000000003412261267251012033 0ustar enforce_ldflags_usage.patch debian/patches/enforce_ldflags_usage.patch0000644000000000000000000000216112261267251016143 0ustar Description: Enforce LDFLAGS usage when compiling the filters Author: Didier Raboud Last-Update: 2014-01-02 --- a/Makefile +++ b/Makefile @@ -261,19 +261,19 @@ # $(CC) $(CFLAGS) -o $@ c2esp.o c2espcommon.o $(LIBCUPSDRIVER) $(LIBCUPSIMAGE) $(LIBJBG85) c2esp: c2esp.o c2espcommon.o - $(CC) $(CFLAGS) -o $@ c2esp.o c2espcommon.o $(LIBCUPSDRIVER) $(LIBCUPSIMAGE) $(LIBJBIG85) + $(CC) $(LDFLAGS) $(CFLAGS) -o $@ c2esp.o c2espcommon.o $(LIBCUPSDRIVER) $(LIBCUPSIMAGE) $(LIBJBIG85) c2espC: c2espC.o c2espcommon.o - $(CC) $(CFLAGS) -o $@ c2espC.o c2espcommon.o $(LIBCUPSDRIVER) $(LIBCUPSIMAGE) -lz + $(CC) $(LDFLAGS) $(CFLAGS) -o $@ c2espC.o c2espcommon.o $(LIBCUPSDRIVER) $(LIBCUPSIMAGE) -lz command2esp: command2esp.o c2espcommon.o - $(CC) $(CFLAGS) -o $@ command2esp.o c2espcommon.o $(LIBCUPSDRIVER) + $(CC) $(LDFLAGS) $(CFLAGS) -o $@ command2esp.o c2espcommon.o $(LIBCUPSDRIVER) #myopldecode: myopldecode.o # $(CC) $(CFLAGS) -o $@ $@.o $(LIBJBG) -lz myopldecode: myopldecode.o - $(CC) $(CFLAGS) -o $@ $@.o $(LIBJBIG) -lz + $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $@.o $(LIBJBIG) -lz # # Installation rules debian/rules0000755000000000000000000000130512261267251010251 0ustar #!/usr/bin/make -f derives_from_ubuntu := $(shell (dpkg-vendor --derives-from Ubuntu && echo "yes") || echo "no") export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed %: dh $@ override_dh_auto_install: dh_auto_install --destdir=debian/tmp override_dh_install: dh_install install -D -m 644 KodakESP_16.drv $(CURDIR)/debian/printer-driver-c2esp/usr/share/cups/drv/c2esp.drv install -D -m 644 KodakESP_C_07.drv $(CURDIR)/debian/printer-driver-c2esp/usr/share/cups/drv/c2espC.drv ifeq ($(derives_from_ubuntu),yes) # Install the apport hook on Ubuntu and derivatives install -D -m 644 debian/ubuntu/apport-hook.py $(CURDIR)/debian/printer-driver-c2esp/usr/share/apport/package-hooks/source_c2esp.py endif debian/changelog0000644000000000000000000001317212261267251011050 0ustar c2esp (27~rc1-1) experimental; urgency=low * New 27~rc1 upstream release - "The jbig library is no longer shipped with c2esp", therefore update debian/copyright and drop the patch to use the Debian-provided libjbig - Update the .drv files installation - Update the models list in the package description * Add patch to enforce LDFLAGS usage * Add --as-needed to LDFLAGS -- Didier Raboud Thu, 02 Jan 2014 14:39:42 +0100 c2esp (26-5) unstable; urgency=low * Drop c2esp transitional package which reached stable * Bump Standards-Version to 3.9.5 without changes needed -- Didier Raboud Fri, 29 Nov 2013 11:44:21 +0100 c2esp (26-4) unstable; urgency=low * Upload to unstable to build against newer cups. -- Didier Raboud Tue, 04 Jun 2013 17:24:46 +0200 c2esp (26-3) experimental; urgency=low [ Sebastien Bacher ] * Changed build dependencies from libcupsdriver1-dev to libcupsfilters-dev. -- Didier Raboud Thu, 16 May 2013 15:01:29 +0200 c2esp (26-2) unstable; urgency=low * Upload to unstable. -- Didier Raboud Thu, 16 May 2013 14:42:06 +0200 c2esp (26-1) experimental; urgency=low * New 26 upstream release. - Refresh patches. - Update the .drv files installation. -- Didier Raboud Thu, 27 Sep 2012 09:58:36 +0200 c2esp (25c-1) experimental; urgency=low * New 25c upstream release. -- Didier Raboud Tue, 17 Jul 2012 08:18:22 +0200 c2esp (25a-1) experimental; urgency=low * New 25a upstream release. - The c2esp filter for the ESP series has been significantly rewritten to enable some ppd attributes like cupsInkLimit and cupsBlackGeneration. - The grey ink is now used. This makes grey areas properly grey (less green than they used to be). - Because of the grey ink and cupsInkLimit, ink cartridges should last longer. - The Black&White option is now dithered properly (and also uses the grey ink). -- Didier Raboud Sat, 07 Jul 2012 02:28:48 +0200 c2esp (24-2) unstable; urgency=low * Use the Debian-provided libjbig: - Add libjbig-dev to Build-Depends; - Add 00-system-libjbig.patch. -- Didier Raboud Thu, 26 Apr 2012 10:44:13 +0200 c2esp (24-1) unstable; urgency=low * New 24 upstream release. - Update description to cope with the newly supported printers. - Update install commands to cope with the new source driver names. * Update debian/copyright with copyright-format 1.0; update years. * Bump Standards-Version to 3.9.3 without changes needed. -- Didier Raboud Thu, 22 Mar 2012 10:17:52 +0100 c2esp (23-1) unstable; urgency=low * New 23 upstream release. - Update description to cope with the newly supported printers. - Update install commands to cope with the new source driver names. -- Didier Raboud Tue, 06 Dec 2011 19:13:16 +0100 c2esp (21-1) unstable; urgency=low * New 21 upstream release. - Goes to unstable. -- Didier Raboud Wed, 09 Nov 2011 10:12:51 +0100 c2esp (21~rc3-1) experimental; urgency=low * New 21~rc3 upstream release. - Update debian/copyright with new files. - Also install the new cups .drv file. * Update long description to include the complete list of supported printers. * Update the ppd-updater regexp to match the new driver too. -- Didier Raboud Wed, 02 Nov 2011 17:43:23 +0100 c2esp (19-2) unstable; urgency=low * Refactoring, action 1: - rename c2esp to printer-driver-c2esp, add transitional package. * Use the CUPS PPD generator (.drv) file instead of including ready-made PPD files, hence drop pyppd support. * Bump debhelper compat to 9, for auto- buildflags. * Slightly rewrite description. * Drop superfluous shebang from ppd-updater snippet. * Only recommend cups-ppdc. -- Didier Raboud Fri, 21 Oct 2011 12:01:38 +0200 c2esp (19-1) unstable; urgency=low * New 19 upstream release - Remove no-debug-files.patch: included upstream. -- Didier Raboud Tue, 13 Sep 2011 00:28:50 +0200 c2esp (18-5) unstable; urgency=low [ Till Kamppeter ] * debian/patches/no-debug-files.patch: Also command2esp produced debug log files in /tmp. Expanded the patch to fix this too. -- Didier Raboud Tue, 30 Aug 2011 11:15:38 +0200 c2esp (18-4) unstable; urgency=low * Replace the PPD-updater postinst by CUPS' trigger. - Breaks against too old cups versions. - Add a ppd-updater file, to trigger with parameters. * Use the new dh_pyppd. - Version Build-Depends to pyppd. - Install PPDs to the package before the dh_pyppd call. -- Didier Raboud Wed, 17 Aug 2011 22:42:35 +0200 c2esp (18-3) unstable; urgency=low * Merge from Ubuntu. [ Till Kamppeter ] * Add no-debug-files.patch. Make sure that no debug log file is created in /tmp and also fix a segfault on the marker level check. * debian/c2esp.postinst: Make automatic update of PPD actually work with the package's PPDs being pyppd-compressed. * Do not install myopldecode. It is only a debug helper and has security issues. -- Didier Raboud Sun, 14 Aug 2011 20:22:41 +0200 c2esp (18-2) unstable; urgency=low * Compress PPDs using pyppd. * Add postinst to update cups installed printers' PPDs. -- Didier Raboud Fri, 17 Jun 2011 21:56:22 +0200 c2esp (18-1) unstable; urgency=low * Initial release. (Closes: #629916) -- Didier Raboud Thu, 09 Jun 2011 18:06:00 +0200 debian/printer-driver-c2esp.install0000644000000000000000000000013312261267251014545 0ustar usr/lib/cups/filter/* debian/printer-driver-c2esp.ppd-updater usr/share/cups/ppd-updaters/