debian/0000775000000000000000000000000012406612165007173 5ustar debian/splix.ppd-updater0000664000000000000000000000015512264256164012507 0ustar DRIVER_REGEXP='^drv:///splix-[a-zA-Z0-9]*\.drv/' GENNICKNAME_REGEXP='s/,(\s*SpliX|)(\s*V\.?|)\s*[\d\.]*$//i' debian/control0000664000000000000000000000306412406612165010601 0ustar Source: splix Section: text Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Printing Team Uploaders: Luca Niccoli Build-Depends: debhelper (>= 7), libcupsimage2-dev, libjbig-dev Standards-Version: 3.9.5 Homepage: http://splix.ap2c.org/ Vcs-Git: https://alioth.debian.org/anonscm/git/printing/splix.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=printing/splix.git Package: printer-driver-splix Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, cups (>= 1.5.0-3~), cups-client, cups-filters (>= 1.0.36) Replaces: splix (<< 2.0.0+svn299-1) Breaks: splix (<< 2.0.0+svn299-1) Description: Driver for Samsung and Xerox SPL2 and SPLc laser printers Support for printing to SPL2- and SPLc-based printers. These are most of the cheaper Samsung laser printers which do not understand standard languages like PostScript or PCL. Both monochrome (ML-15xx, ML-16xx, ML-17xx, ML-2xxx) and color (CLP-5xx, CLP-6xx) models are supported. Also some rebranded Samsungs like the Xerox Phaser 6100 work with this driver. . Note that older SPL1-based models (ML-12xx, ML-14xx) do not work. Use these printers with the older "gdi" driver which is built into GhostScript. Package: splix Depends: printer-driver-splix, ${misc:Depends} Architecture: all Section: oldlibs Priority: extra Description: transitional dummy package for splix printer driver This is a transitional dummy package to transition to uniformly named printer-driver-splix. debian/local/0000775000000000000000000000000012323673123010264 5ustar debian/local/apport-hook.py0000664000000000000000000000032512323673123013101 0ustar '''apport package hook for splix (c) 2009 Canonical Ltd. Author: Brian Murray ''' from apport.hookutils import * def add_info(report): attach_hardware(report) attach_printing(report) debian/changelog0000664000000000000000000001600012406612165011042 0ustar splix (2.0.0+svn315-4fakesync1) utopic-proposed; urgency=medium * Fake sync due to mismatching orig tarball. -- Till Kamppeter Thu, 18 Sep 2014 19:20:53 +0200 splix (2.0.0+svn315-4) unstable; urgency=medium * Team upload [ Didier Raboud ] * Depend on cups-filters (>= 1.0.36) instead of ghostscript-cups for the gstoraster filter (Closes: #761316) -- Didier Raboud Thu, 18 Sep 2014 12:19:17 +0200 splix (2.0.0+svn315-3) unstable; urgency=low * Team upload [ Luca Niccoli ] * Separate build of arch-independent packages [ Didier Raboud ] * Move the repository from collab-maint to printing; update the VCS-* fields accordingly -- Didier Raboud Thu, 17 Apr 2014 08:20:55 +0200 splix (2.0.0+svn315-2) unstable; urgency=low * Include missing apport-hook.py in source package -- Luca Niccoli Wed, 15 Jan 2014 19:40:27 +0100 splix (2.0.0+svn315-1) unstable; urgency=low * Imported Upstream SVN snapshot (revision 315) - Add support for Samsung ML-2160 (Closes: #696240). - Add support for Samsung ML-2165. * Drop patches that have been merged upstream * Imported existing quilt patches into gbp-pq and refreshed them for the new upstream version. * Set debian build flags during build. * Fixed splix.ppd-updater (Thanks to Till Kamppeter). * Add apport hook on Ubuntu and derivatives (reduces the package delta). * Add get-orig-source target to fetch recreate the tarball from upstream SVN. * Make build verbose to have more informative buildd logs. * Move package under the Debian Printing Team maintenance. * Bump Standards-Version to 3.9.5 (no changes needed) -- Luca Niccoli Fri, 03 Jan 2014 19:28:31 +0100 splix (2.0.0+svn306-2) unstable; urgency=low * Properly pre-process drv files during build. (Closes: #670823) -- Luca Niccoli Sun, 29 Apr 2012 13:32:22 +0200 splix (2.0.0+svn306-1) unstable; urgency=low * New upstream version: allows installing .drv files instead of PPDs. * The last patent on JBIG has now expired and we have libjbig in Debian, let's use it. (Closes: #457650, #507247) * Bump Standards-Version to 3.9.3 (no changes needed). * Thanks to Didier Raboud for the prevois NMU. -- Luca Niccoli Mon, 23 Apr 2012 00:01:30 +0200 splix (2.0.0+svn300-1.1) unstable; urgency=low * Non-maintainer upload. * printer-driver-splix: Add versioned Replaces/Breaks against splix to ensure smooth upgrades (Closes: #655918). -- Didier Raboud Wed, 01 Feb 2012 19:23:30 +0100 splix (2.0.0+svn300-1) unstable; urgency=low * New upstream version: added support for Samsung SCX-3200, rebuilt PPDs with CUPS 1.5.0 * splix.ppd-updater belongs in /use/share/cups/ppd-updaters/, not in /usr/share/ppd-updaters/ (Closes: #649536) -- Luca Niccoli Sat, 10 Dec 2011 19:23:06 +0100 splix (2.0.0+svn299-2) unstable; urgency=low * install splix.ppd-updater in printer-driver-splix, not in splix. (Closes: #649536) -- Luca Niccoli Fri, 25 Nov 2011 00:06:12 +0100 splix (2.0.0+svn299-1) unstable; urgency=low * Import r299 from SVN. * Rename splix to printer-driver-splix. (Closes: #647534) * Replace postinst with a ppd-updater trigger (Closes: #647536) Thanks to Didier Raboud for the reports and the patches. -- Luca Niccoli Mon, 14 Nov 2011 19:58:32 +0100 splix (2.0.0+svn293-1) unstable; urgency=low * Start tracking SVN trunk. (Closes: #594466) * Drop gcc-4.5_fix.patch (merged upstream). -- Luca Niccoli Sun, 12 Jun 2011 15:35:15 +0200 splix (2.0.0-3) unstable; urgency=low * Adopt package: set myself as maintainer and remove Jeroen van Wolffelaar and Pablo Mazzini. Thanks for your work! (Closes: #617819) * Fix compilation with recent toolchain. (Closes: #565097) * Fix clean target that would sometimes enter an infinite loop. * Switch to dpkg-source 3.0 (quilt) format * Bump Standards-Version to 3.9.2 (no changes needed). -- Luca Niccoli Sun, 17 Apr 2011 19:29:05 +0200 splix (2.0.0-2.2) unstable; urgency=low * Non-maintainer upload. * Fix alignment to allow printing on ARM, thanks to Luca Niccoli. (Closes: #574349) -- Philipp Kern Sun, 03 Oct 2010 10:51:05 +0200 splix (2.0.0-2.1) unstable; urgency=low * Non-maintainer upload. * Add optimized/pstoqpdl optimized/rastertoqpdl to dh_clean as proposed by Luca Niccoli (Closes: #574364) -- Alexander Reichle-Schmehl Thu, 25 Mar 2010 15:05:49 +0100 splix (2.0.0-2) unstable; urgency=low * debian/splix.postinst, debian/control: Added post-install script to automatically update the PPD files of all existing print queues which use this driver to the current version. (Closes: #525822) * debian/control: Added "cups" to Depends: as a running CUPS daemon is needed for the automatic update of existing print queues. * debian/control: Added ghostscript-cups dependency. -- Pablo Mazzini Sat, 20 Jun 2009 11:04:16 -0300 splix (2.0.0-1) unstable; urgency=low * New upstream release * debian/watch added * debian/compat: bump to 7 * Bump Standards-Version to 3.8.1 * droped dpatch together with upstream patches -- Pablo Mazzini Tue, 07 Apr 2009 10:44:14 -0200 splix (1.0.1-1.2) unstable; urgency=low * Non-maintainer upload to fix important usability bug. * Applied patch from upstream that corrects a bug for the ML-2010 printer. Thanks to Pablo De Napoli for the patch. (Closes: #439817) -- Margarita Manterola Sun, 12 Oct 2008 15:46:27 +0000 splix (1.0.1-1.1) unstable; urgency=medium * Non-maintainer upload. * Fix Cups build-dependencies (Closes: #487042) -- Moritz Muehlenhoff Mon, 23 Jun 2008 00:35:11 +0200 splix (1.0.1-1) unstable; urgency=low * Introduce Splix to Debian, based on Ubuntu package (thanks Till!) (Closes: #411167) * Added patch by Joost van Blokland to enable page logging * Fix debian/rules clean to also remove produced binary -- Jeroen van Wolffelaar Sat, 2 Jun 2007 15:31:48 +0200 splix (1.0.1-0ubuntu1) feisty; urgency=low * New upstream release o Duplex support o Support for Xerox Phaser 6100 o Bug fixes * Removed 10-fix-ppds.dpatch: PPDs fixed upstream * debian/rules: Removed PPDs for Samsung CLP-300 and CLP-600, these printers are known to not work with this release of the driver. -- Till Kamppeter Wed, 7 Feb 2007 10:44:10 +0000 splix (1.0.1~beta2-0ubuntu1) feisty; urgency=low * Initial Release. (Closes: LP #59829) * Fixed PPD files o It must be "*LanguageVersion: German", not "*LanguageVersion: Deutsch". o The PPDs for the CLP-600 had "CLP-60" as model name. -- Till Kamppeter Tue, 12 Dec 2006 12:00:00 +0100 debian/rules0000775000000000000000000000521612323673123010256 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 derives_from_ubuntu := $(shell (dpkg-vendor --derives-from Ubuntu && echo "yes") || echo "no") configure: configure-stamp configure-stamp: dh_testdir touch configure-stamp build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: configure-stamp dh_testdir $(MAKE) V=1 drv $(MAKE) V=1 DRV_ONLY=1 rastertoqpdl_LIBS="-lcupsimage -lcups -lpthread -ljbig" pstoqpdl_LIBS="-lcupsimage -lcups -ljbig" touch $@ clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp $(MAKE) V=1 cleanppd $(MAKE) V=1 clean DRV_ONLY=1 dh_clean optimized/pstoqpdl optimized/rastertoqpdl optimized/src/* debug/src/* .defs.mk install: build dh_testdir dh_testroot dh_prep dh_installdirs $(MAKE) V=1 DESTDIR=$(CURDIR)/debian/printer-driver-splix CUPSPPD=/usr/share/ppd/splix DRV_ONLY=1 install install -D --mode=644 debian/splix.ppd-updater $(CURDIR)/debian/printer-driver-splix/usr/share/cups/ppd-updaters/splix.ppd-updater ifeq ($(derives_from_ubuntu),yes) # Install Apport hook on Ubuntu and derivatives install -D -m 644 debian/local/apport-hook.py $(CURDIR)/debian/printer-driver-splix/usr/share/apport/package-hooks/source_splix.py endif binary-indep: dh_testdir -i dh_testroot -i dh_installchangelogs -i ChangeLog dh_installdocs -i dh_installexamples -i dh_installman -i dh_strip -i dh_compress -i dh_fixperms -i dh_installdeb -i dh_shlibdeps -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i # Build architecture-dependent files here. binary-arch: install dh_testdir -a dh_testroot -a dh_installchangelogs -a ChangeLog dh_installdocs -a dh_installexamples -a dh_installman -a dh_strip -a dh_compress -a dh_fixperms -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure get-orig-source # Adapted from http://wiki.debian.org/SandroTosi/Svn_get-orig-source PACKAGE = splix SRC_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p') SVN_REVISION := $(shell echo $(SRC_VERSION) | awk -F"+" '{ print $$2 }' | sed 's/svn//' ) TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.gz get-orig-source: rm -rf get-orig-source $(TARBALL) mkdir get-orig-source svn export -r $(SVN_REVISION) svn://svn.code.sf.net/p/splix/code/splix \ get-orig-source/$(PACKAGE)-$(SRC_VERSION).orig GZIP='--best --no-name' tar czf $(TARBALL) -C get-orig-source $(PACKAGE)-$(SRC_VERSION).orig rm -rf get-orig-source echo " "$(TARBALL)" created; move it to the right destination to build the package" debian/copyright0000664000000000000000000000213212264256164011131 0ustar This package was debianized by Till Kamppeter on Tue, 12 Dec 2006. The current Debian maintainer is Luca Niccoli It was downloaded from http://splix.ap2c.org/ Upstream Authors: Aurélien Croc License: Copyright: (C) 2006, Aurélien Croc (AP²C) This package 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. 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/watch0000664000000000000000000000012012264256164010222 0ustar version=3 opts=uversionmangle=s/-/~/ \ http://sf.net/splix/splix-(.*)\.tar\.bz2 debian/patches/0000775000000000000000000000000012264533721010624 5ustar debian/patches/series0000664000000000000000000000013112264257733012042 0ustar 0001-Fix-alignment-problem-on-armel.patch 0005-Set-debian-build-flags-during-build.patch debian/patches/0001-Fix-alignment-problem-on-armel.patch0000664000000000000000000000124712264256164020102 0ustar From: Luca Niccoli Date: Sun, 12 Jun 2011 15:30:15 +0200 Subject: Fix alignment problem on armel --- src/qpdl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qpdl.cpp b/src/qpdl.cpp index 994e1c8..a95f361 100644 --- a/src/qpdl.cpp +++ b/src/qpdl.cpp @@ -132,7 +132,7 @@ static bool _renderBand(const Request& request, const Band* band, bool mono) { unsigned long version, subVersion, size, dataSize, checkSum; bool color, headerSent=false; - unsigned char header[0x20]; + unsigned char header[0x20] __attribute__((aligned(4))); const BandPlane *plane; version = request.printer()->qpdlVersion(); debian/patches/0005-Set-debian-build-flags-during-build.patch0000664000000000000000000000212212264533721020751 0ustar From: Luca Niccoli Date: Mon, 12 Aug 2013 13:50:08 +0200 Subject: Set debian build flags during build. Signed-off-by: Luca Niccoli --- module.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module.mk b/module.mk index 9b6229c..bc45432 100644 --- a/module.mk +++ b/module.mk @@ -28,12 +28,12 @@ DRV_ONLY ?= 0 # Flags -CXXFLAGS += `cups-config --cflags` -Iinclude -Wall -I/opt/local/include +CXXFLAGS += $(shell dpkg-buildflags --get CXXFLAGS) $(shell dpkg-buildflags --get CPPFLAGS) `cups-config --cflags` -Iinclude -Wall -I/opt/local/include DEBUG_CXXFLAGS += -DDEBUG -DDUMP_CACHE OPTIM_CXXFLAGS += -g -rastertoqpdl_LDFLAGS := `cups-config --ldflags` -L/opt/local/lib +rastertoqpdl_LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) `cups-config --ldflags` -L/opt/local/lib rastertoqpdl_LIBS := `cups-config --libs` -lcupsimage -pstoqpdl_LDFLAGS := `cups-config --ldflags` +pstoqpdl_LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) `cups-config --ldflags` pstoqpdl_LIBS := `cups-config --libs` -lcupsimage debian/compat0000664000000000000000000000000212264260646010376 0ustar 7 debian/source/0000775000000000000000000000000012264256164010500 5ustar debian/source/format0000664000000000000000000000001412264256164011706 0ustar 3.0 (quilt)