Package list splix / cf75240
Imported Debian patch 1.0.1-1 Jeroen van Wolffelaar authored 14 years ago Luca Niccoli committed 8 years ago
11 changed file(s) with 194 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 The below is included in Ubuntu's splix package as 'README.Debian', but this
1 is only relevent for developers:
2 --Jeroen, June 2nd 2007
3
4 SpliX for Ubuntu Linux
5 ----------------------
6
7 This is the SpliX printer driver for Samsung's laser printers using the SPL2
8 (monochrome) and SPLc (color) printing languages.
9
10 The PPD files coming with this package (in ppd/) are generated with
11 "ppdc" of the CUPS DDK from http://www.cups.org/ based on the
12 instructions in the ppd/samsung.drv file. So ppd/samsung.drv is the
13 source code of the PPDs. In addition, CUPS DDK is free software, so
14 all requirements for the PPDs being in the main part of Ubuntu Linux
15 are fulfilled.
16
17 The ready-made PPD files are there for convenience, to not require
18 from the user to have CUPS DDK installed. As CUPS DDK does not make
19 part of Debian or Ubuntu yet, we use these PPDs instead of building
20 them.
21
22 -- Till Kamppeter <till.kamppeter@gmail.com>, Fri, 12 Jan 2007 20:47:46 +0000
0 splix (1.0.1-1) unstable; urgency=low
1
2 * Introduce Splix to Debian, based on Ubuntu package (thanks Till!)
3 (Closes: #411167)
4 * Added patch by Joost van Blokland to enable page logging
5 * Fix debian/rules clean to also remove produced binary
6
7 -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Sat, 2 Jun 2007 15:31:48 +0200
8
9 splix (1.0.1-0ubuntu1) feisty; urgency=low
10
11 * New upstream release
12 o Duplex support
13 o Support for Xerox Phaser 6100
14 o Bug fixes
15 * Removed 10-fix-ppds.dpatch: PPDs fixed upstream
16 * debian/rules: Removed PPDs for Samsung CLP-300 and CLP-600, these
17 printers are known to not work with this release of the driver.
18
19 -- Till Kamppeter <till.kamppeter@gmail.com> Wed, 7 Feb 2007 10:44:10 +0000
20
21 splix (1.0.1~beta2-0ubuntu1) feisty; urgency=low
22
23 * Initial Release. (Closes: LP #59829)
24 * Fixed PPD files
25 o It must be "*LanguageVersion: German", not
26 "*LanguageVersion: Deutsch".
27 o The PPDs for the CLP-600 had "CLP-60" as model name.
28
29 -- Till Kamppeter <till.kamppeter@gmail.com> Tue, 12 Dec 2006 12:00:00 +0100
0 Source: splix
1 Section: text
2 Priority: optional
3 Maintainer: Jeroen van Wolffelaar <jeroen@wolffelaar.nl>
4 Build-Depends: debhelper (>= 5.0.0), groff, dpatch, libcupsys-dev, libcupsimage-dev
5 Standards-Version: 3.7.2
6
7 Package: splix
8 Architecture: any
9 Depends: ${shlibs:Depends}
10 Description: Driver for Samsung's SPL2 (bw) and SPLc (color) laser printers
11 Support for printing to SPL2- and SPLc-based printers. These are most
12 of the cheaper Samsung laser printers which do not understand standard
13 languages like PostScript or PCL. Both monochrome (ML-15xx, ML-16xx,
14 ML-17xx, ML-2xxx) and color (CLP-5xx, CLP-6xx) models are supported.
15 Also some rebranded Samsungs like the Xerox Phaser 6100 work with this
16 driver.
17 .
18 Note that older SPL1-based models (ML-12xx, ML-14xx) do not work. Use
19 these printers with the older "gdi" driver which is built into ESP
20 GhostScript.
21 .
22 Home Page: http://splix.ap2c.org/
0 This package was debianized by Till Kamppeter <till.kamppeter@gmail.com> on
1 Tue, 12 Dec 2006.
2
3 It is currently, in Debian, maintained by Jeroen van Wolffelaar
4 <jeroen@wolffelaar.nl>, based on the work by Till.
5
6 It was downloaded from http://splix.ap2c.org/
7
8 Upstream Authors:
9 Aurélien Croc <aurelien@ap2c.org>
10
11 Copyright: (C) 2006, Aurélien Croc (AP²C)
12
13 This package is free software; you can redistribute it and/or modify
14 it under the terms of the GNU General Public License as published by
15 the Free Software Foundation; version 2 dated June, 1991.
16
17 This package is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 GNU General Public License for more details.
21
22 You should have received a copy of the GNU General Public License
23 along with this package; if not, write to the Free Software
24 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
25
26 On Debian systems, the complete text of the GNU General
27 Public License can be found in `/usr/share/common-licenses/GPL'.
0 AUTHORS
1 THANKS
2 TODO
0 #!/usr/bin/make -f
1
2 # Uncomment this to turn on verbose mode.
3 #export DH_VERBOSE=1
4
5 CFLAGS = -Wall -g
6
7 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
8 CFLAGS += -O0
9 else
10 CFLAGS += -O2
11 endif
12 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
13 INSTALL_PROGRAM += -s
14 endif
15
16 patch: patch-stamp
17 patch-stamp:
18 dh_testdir
19 dpatch apply-all
20 touch patch-stamp
21
22 configure: configure-stamp
23 configure-stamp: patch
24 dh_testdir
25 touch configure-stamp
26
27 build: build-stamp
28 build-stamp: configure-stamp
29 dh_testdir
30 # Make the PPDs newer than the ppd/po/* and ppd/samsung.drv files
31 # so that make does not rebuild them (would require cupsddk)
32 touch ppd/*.ppd
33 $(MAKE) CFLAGS="$(CFLAGS)"
34 # Remove PPDs for Samsung CLP-300 and CLP-600, these printers are
35 # known to not work with this release of the driver
36 rm -f ppd/clp[36]00*.ppd*
37 touch build-stamp
38
39 unpatch:
40 dh_testdir
41 dpatch deapply-all
42 rm -rf debian/patched
43
44 clean: unpatch
45 dh_testdir
46 dh_testroot
47 rm -f build-stamp configure-stamp patch-stamp
48 -$(MAKE) clean
49 rm -f src/rastertospl2
50 dh_clean
51
52 install: build
53 dh_testdir
54 dh_testroot
55 dh_clean -k
56 dh_installdirs
57 # "make install" does neither support "PREFIX" nor "DESTDIR". so
58 # we install the files manually
59 # $(MAKE) install
60 dh_install
61
62 # Build architecture-dependent files here.
63 binary-arch: build install
64 dh_testdir
65 dh_testroot
66 dh_installchangelogs ChangeLog
67 dh_installdocs
68 dh_installexamples
69 dh_installman
70 dh_strip
71 dh_compress
72 dh_fixperms
73 dh_installdeb
74 dh_shlibdeps
75 dh_gencontrol
76 dh_md5sums
77 dh_builddeb
78
79 binary: binary-indep binary-arch
80 .PHONY: build clean binary-indep binary-arch binary install configure
0 src/rastertospl2 usr/lib/cups/filter/
1 ppd/*.ppd* usr/share/ppd/splix/
4040 virtual unsigned long height() const = 0;
4141 virtual unsigned long lineSize() const = 0;
4242 virtual unsigned char* lineBuffer() const = 0;
43 virtual unsigned long page() const = 0;
4344
4445 public:
4546 virtual bool isColor() const = 0;
6767 virtual unsigned long height() const {return _height;}
6868 virtual unsigned long lineSize() const {return _lineSize;}
6969 virtual unsigned char* lineBuffer() const {return _lineBuffer;}
70 virtual unsigned long page() const {return _page;}
7071
7172 public:
7273 virtual bool isColor() const {return _color;}
149149 if (!document->height())
150150 return -1;
151151
152 fprintf(stderr, "PAGE: %d %d\n", document->page(), nrCopies);
152153
153154 // Send page header FIXME
154155 header[0x0] = 0; // Signature