debian/0000775000000000000000000000000012301130522007155 5ustar debian/compat0000664000000000000000000000000212264021045010362 0ustar 5 debian/control0000664000000000000000000000144012301126102010556 0ustar Source: min12xxw Section: text Priority: optional Maintainer: Stefan Potyra Build-Depends: debhelper (>= 8.9.10), dh-autoreconf Standards-Version: 3.9.4 Homepage: http://www.hinterbergen.de/mala/min12xxw/ Vcs-Browser: http://svn.debian.org/wsvn/collab-maint/ext-maint/min12xxw/trunk/ Vcs-Svn: svn://svn.debian.org/svn/collab-maint/ext-maint/min12xxw/trunk/ DM-Upload-Allowed: yes Package: printer-driver-min12xxw Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Breaks: min12xxw (<< 0.0.9-6~) Replaces: min12xxw (<< 0.0.9-6~) Recommends: cups, ghostscript, foomatic-db-compressed-ppds | foomatic-db Description: printer driver for KonicaMinolta PagePro 1[234]xxW A cups/foomatic printer driver for the KonicaMinolta PagePro 1200W, 1250W, 1300W, 1350W and 1400W. debian/esc-m.10000664000000000000000000000040712264021045010253 0ustar .TH ESC-M 1 .SH NAME esc-m \- ease viewing output of driver data .SH SYNOPSIS esc-m .SH DESCRIPTION .B esc-m is meant to make the understanding of the printer driver easier. It reads from stdin and prints some info to stdout. .SH SEE ALSO \fImin12xxw\fP(1) debian/patches/0000775000000000000000000000000012264021045010613 5ustar debian/patches/series0000664000000000000000000000003311716705514012037 0ustar upstream-corrections.patch debian/patches/upstream-corrections.patch0000664000000000000000000000212611716705641016041 0ustar Description: Passed upstream corrections done by Debian into a proper patch Author: Till Kamppeter --- a/min12xxw.c +++ b/min12xxw.c @@ -721,11 +721,11 @@ /* this procedure is used by help() below to print available somethings * in a nice and painless way from the maps above * see help() below and everything will become clearer */ -static void printav(char *msg, struct map *m, int defid) +static void printav(const char *msg, struct map *m, int defid) { int i, n; - n = printf(msg); + n = printf("%s", msg); /* print all available somethings from our map */ for (i = 0; m[i].str != NULL; i++) { /* in case we had to start a new line below, we need to --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,6 @@ bin_PROGRAMS = min12xxw esc-m man_MANS = min12xxw.1 -dist_man_MANS = min12xxw.1 -min12xxw_SOURCES = min12xxw.c getopt.c getopt.h getopt1.c getline.c getline.h +min12xxw_SOURCES = min12xxw.c getline.c getline.h esc_m_SOURCES = esc-m.c # make sure a few extra files are included in the distribution tarballs EXTRA_DIST = FAQ README.OSX format.txt usblogs debian/rules0000775000000000000000000000365512301130406010247 0ustar #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) CFLAGS=$(shell dpkg-buildflags --get CFLAGS) LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS) CPPFLAGS=$(shell dpkg-buildflags --get CPPFLAGS) configure: configure.ac dh_autoreconf config.status: configure dh_testdir CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" \ ./configure --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr \ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info build: build-arch build-indep build-arch: build-stamp # no depends (no arch-indep package) build-indep: build-stamp: config.status dh_testdir $(MAKE) touch build-stamp clean: dh_testdir dh_testroot if [ -e Makefile ]; then \ $(MAKE) distclean; \ else \ echo "No Makefile for distclean"; \ touch configure.ac; \ fi dh_autoreconf_clean $(RM) -f Makefile.in aclocal.m4 config.h.in configure compile build-stamp dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs $(MAKE) install DESTDIR=$(CURDIR)/debian/printer-driver-min12xxw # Install Apport hook (only on Ubuntu) if dpkg-vendor --is ubuntu; then \ install -D -m 644 debian/local/apport-hook.py $(CURDIR)/debian/printer-driver-min12xxw/usr/share/apport/package-hooks/source_min12xxw.py; \ fi # no depends (no arch-indep package) binary-indep: binary-arch: build install dh_testdir dh_testroot dh_installchangelogs -p printer-driver-min12xxw ChangeLog dh_installchangelogs -p min12xxw dh_installdocs dh_installman dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean \ binary-indep \ binary-arch \ binary \ install \ build-arch \ build-indep debian/docs0000664000000000000000000000005312264021045010035 0ustar FAQ format.txt NEWS README AUTHORS usblogs debian/local/0000775000000000000000000000000012264021045010256 5ustar debian/local/apport-hook.py0000664000000000000000000000033011662120641013072 0ustar '''apport package hook for min12xxw (c) 2009 Canonical Ltd. Author: Brian Murray ''' from apport.hookutils import * def add_info(report): attach_hardware(report) attach_printing(report) debian/manpages0000664000000000000000000000003212264021045010675 0ustar min12xxw.1 debian/esc-m.1 debian/changelog0000664000000000000000000001547112301130506011041 0ustar min12xxw (0.0.9-8ubuntu1) trusty; urgency=low * Merge from Debian unstable. Remaining changes: - debian/control: Updated versioned requirement of debhelper. - debian/control: Recommend foomatic-db-compressed-ppds to get the PPDs for this printer driver. Recommend foomatic-db only as an alternative. - debian/rules: Use dh-autoreconf, resolving FTBFS on ppc64el. - debian/rules: Install Apport hook (only on Ubuntu) * debian/rules: Put CPPFLAGS and LDFLAGS for the ./configure command line in quotes. -- Till Kamppeter Wed, 19 Feb 2014 14:04:40 +0100 min12xxw (0.0.9-8) unstable; urgency=low * debian/rules: Make build-indep/binary-indep rules not do anything, since there is no arch-independent package any longer. * debian/control: Remove transitional package min12xxw. -- Stefan Potyra Sun, 27 Oct 2013 16:01:36 +0100 min12xxw (0.0.9-7) unstable; urgency=low * debian/rules: + Clean autotools generated files on clean to avoid cluttering the .diff.gz. + Run automake with --add-missing (closes: #725552). + Export further hardening options and pass them to configure. * debian/control: Update standards-version to 3.9.4, no further changes required. -- Stefan Potyra Mon, 07 Oct 2013 19:46:01 +0200 min12xxw (0.0.9-6ubuntu3) trusty; urgency=low * Use dh-autoreconf, resolving FTBFS on ppc64el. -- Daniel T Chen Fri, 10 Jan 2014 10:02:28 -0500 min12xxw (0.0.9-6ubuntu2) quantal; urgency=low * Rebuild for new armel compiler default of ARMv5t. -- Colin Watson Fri, 05 Oct 2012 13:55:53 +0100 min12xxw (0.0.9-6ubuntu1) precise; urgency=low * Merge from Debian testing. Remaining changes: - debian/control: Recommend foomatic-db-compressed-ppds to get the PPDs for this printer driver. Recommend foomatic-db only as an alternative. - debian/rules: Install Apport hook (only on Ubuntu) * debian/patches/upstream-corrections.patch: Moved upstream changes of the Debian package into a proper patch. * debian/source/format: Switched to 3.0 (quilt). * debian/control: Updated versioned requirement of debhelper. -- Till Kamppeter Wed, 15 Feb 2012 11:30:50 +0100 min12xxw (0.0.9-6) unstable; urgency=low * Adjust to adhere to the new printing stack [http://wiki.debian.org/Teams/Printing/RethinkingTheStack?action=recall&rev=26] (Closes: 647538) + debian/control: - change section to text - change package name to printer-driver-min12xxw - add transitional dummy package 'min12xxw' + debian/rules: - install to printer-driver-min12xxw - install upstream changelog only to printer-driver-min12xxw - install debian/changelog to dummy package min12xxw as well. * debian/control: + change synopsis to start with a lower case letter + don't mention the homepage in the long description -- Stefan Potyra Tue, 08 Nov 2011 22:04:56 +0100 min12xxw (0.0.9-5) unstable; urgency=low * debian/rules: + use dpkg-buildflags to obtain CFLAGS and LDFLAGS. + add build-arch target * min12xxw.c: printav() + add const to msg + print msg using "%s" -- Stefan Potyra Tue, 11 Oct 2011 20:56:34 +0200 min12xxw (0.0.9-4) unstable; urgency=low * debian/control: + Update Standards-Version to 3.9.2, no changes needed. + Add DM-Upload-Allowed: yes. + Drop Recommands against foomatic-db-engine and foomatic-filters-ppds (Closes: #626289). * debian/source/format: Select version 1.0 for now. * debian/TODO.Debian: Dropped, since Recommends are changed now. * debian/control -- Stefan Potyra Tue, 10 May 2011 20:27:50 +0200 min12xxw (0.0.9-3ubuntu3) maverick; urgency=low * debian/control: Recommend foomatic-db-compressed-ppds to get the PPDs for this printer driver. Recommend foomatic-db only as an alternative. -- Till Kamppeter Tue, 31 Aug 2010 13:08:50 +0200 min12xxw (0.0.9-3ubuntu2) lucid; urgency=low * rebuild rest of main for armel armv7/thumb2 optimization; UbuntuSpec:mobile-lucid-arm-gcc-v7-thumb2 -- Alexander Sack Sun, 07 Mar 2010 00:57:09 +0100 min12xxw (0.0.9-3ubuntu1) karmic; urgency=low * Merge from unstable, remaining changes: + add apport-hook + mention the apport-hook in copyright + do not recommend foomatic-filters-ppds (cf. TODO.Debian). -- Stefan Potyra Thu, 27 Aug 2009 21:38:26 +0200 min12xxw (0.0.9-3) unstable; urgency=low * Makefile.am: Don't list manpage in both dist_man_MANS and man_MANS, fixing FTBFS (Closes: #543100). * debian/control: Bump standards-version to 3.8.3, no changes needed. -- Stefan Potyra Mon, 24 Aug 2009 19:53:41 +0200 min12xxw (0.0.9-2ubuntu1) karmic; urgency=low * Merge from debian unstable, remaining changes (LP: #384653): - debian/local/apport-hook.py, debian/rules: Added apport hook - debian/control: Don't recommend foomatic-filters-ppds as it is not in Ubuntu * debian/copyright: Add copyright for apport hook -- Nick Ellery Sat, 13 Jun 2009 10:08:07 -0700 min12xxw (0.0.9-2) unstable; urgency=low * debian/control: - update Recommends for renamed cups packages (patch from Ubuntu, thanks Till Kamppeter). - still recommend on foomatic-filters-ppds (the ppds for the supported printers are in there) - add Homepage field - add VCS-fields - bump standards version to 3.8.0 - add automake to build-depends * debian/rules: - reformat a little to not exceed 80 chars for readability - don't ignore errors on make distclean - bootstrap from autotools * debian/esc-m.1: add a space before the intial dash * debian/copyright: - mention getopt.c, getopt1.c getopt.h as well - add information, that the packaging is licensed as GPL-2+ as well * Makefile.am: don't compile getopt.c, getopt1.c (already provided by libc) -- Stefan Potyra Fri, 30 Jan 2009 19:53:25 +0100 min12xxw (0.0.9-1ubuntu2) jaunty; urgency=low * debian/local/apport-hook.py, debian/rules: Added apport hook (LP: #338442). -- Till Kamppeter Thu, 26 Mar 2009 17:20:50 +0100 min12xxw (0.0.9-1ubuntu1) intrepid; urgency=low * debian/control: Updated "Recommends:" for the current packages. -- Till Kamppeter Wed, 13 Aug 2008 18:22:51 +0200 min12xxw (0.0.9-1build1) feisty; urgency=low * Rebuild for changes in the amd64 toolchain. -- Matthias Klose Mon, 5 Mar 2007 01:22:51 +0000 min12xxw (0.0.9-1) unstable; urgency=low * Initial release (closes: #334093). -- Stefan Potyra Fri, 6 Jan 2006 14:39:50 +0100 debian/watch0000664000000000000000000000013412264021045010213 0ustar version=3 http://www.hinterbergen.de/mala/min12xxw/min12xxw-(.*)\.tar\.gz \ debian uupdate debian/source/0000775000000000000000000000000012264021045010464 5ustar debian/source/format0000664000000000000000000000001412264021045011672 0ustar 3.0 (quilt) debian/copyright0000664000000000000000000000260312264021045011120 0ustar This package was debianized by Stefan Potyra on Sat, 23 Apr 2005 01:56:58 +0200. It was downloaded from All files: Copyright (C) 2004-2006 by Manuel Tobias Schiller . Except: getopt.c, getopt1.c, getopt.h: Copyright (C) 1989-99 Free Software Foundation, Inc. debian/local/apport-hook.py: Copyright (C) 2009 Canonical Ltd. / Brian Murray. Packaging: Copyright (C) 2006-2011 by Stefan Potyra . License (for all files, including packaging): 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; either version 2 of the License, or (at your option) any later version. 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, 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 in its latest version can be found in `/usr/share/common-licenses/GPL'.