diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /graphics/sam2p/debian |
Initial commit
Diffstat (limited to 'graphics/sam2p/debian')
-rw-r--r-- | graphics/sam2p/debian/README.debian | 6 | ||||
-rw-r--r-- | graphics/sam2p/debian/changelog | 281 | ||||
-rw-r--r-- | graphics/sam2p/debian/control | 24 | ||||
-rw-r--r-- | graphics/sam2p/debian/copyright | 4 | ||||
-rw-r--r-- | graphics/sam2p/debian/dirs | 3 | ||||
-rwxr-xr-x | graphics/sam2p/debian/rules | 69 |
6 files changed, 387 insertions, 0 deletions
diff --git a/graphics/sam2p/debian/README.debian b/graphics/sam2p/debian/README.debian new file mode 100644 index 0000000000..99058a1507 --- /dev/null +++ b/graphics/sam2p/debian/README.debian @@ -0,0 +1,6 @@ +The Debian Package sam2p +---------------------------- + +Comments regarding the Package + +Szabó Péter <pts@winter>, Fri, 7 Feb 2003 12:16:40 +0100 diff --git a/graphics/sam2p/debian/changelog b/graphics/sam2p/debian/changelog new file mode 100644 index 0000000000..3bee880942 --- /dev/null +++ b/graphics/sam2p/debian/changelog @@ -0,0 +1,281 @@ +sam2p (0.49.4) lucid; urgency=low + + * fixed memory use bugs and vulnerabilities, e.g. these: + https://github.com/pts/sam2p/issues/14 + * improved compatibility with new gcc, clang and perl + * improved Makefile automation + + -- Peter Szabo <pts@fazekas.hu> Wed, 27 Sep 2017 17:39:12 +0200 + +sam2p (0.49.3) lucid; urgency=low + + * Added 36 changes in total. + * Fixed dozens of bugs. + * Improved GCC and Clang compatibility: fixed warnings, extended ccdep.pl . + + -- Peter Szabo <pts@fazekas.hu> Fri, 10 Oct 2016 17:01:57 +0200 + +sam2p (0.49.2) lucid; urgency=low + + * Fixed GCC 4.8 incompatibilities in ccdep.pl (the dependency generator + of the build system) and elsewhere. + * Fixed GCC gcc 4.6 and 4.8 warnings. + * Fixed some harmless memory leaks. + * Fixed integer-pointer sign bug with `gcc -fPIC' (so it works with the + defaults of https://wiki.debian.org/Hardening, see + https://code.google.com/p/sam2p/issues/detail?id=11). + + -- Peter Szabo <pts@fazekas.hu> Fri, 06 Sep 2013 15:06:32 +0200 + +sam2p (0.49.1) lucid; urgency=low + + * Fixed GCC 4.6 incompatibilities in ccdep.pl (the dependency generator + of the build system). + + -- Peter Szabo <pts@fazekas.hu> Wed, 14 Dec 2011 17:44:47 +0100 + +sam2p (0.49-2) karmic; urgency=low + + * Fixed error reporting at cleanup time. + * Fixed file closing for temporary file removal on Windows. + + -- Peter Szabo <pts@fazekas.hu> Thu, 30 Jun 2011 01:24:59 +0200 + +sam2p (0.49-1) karmic; urgency=low + + * Fixed version reporting in `sam2p --version'. + + -- Peter Szabo <pts@fazekas.hu> Wed, 29 Jun 2011 19:17:45 +0200 + +sam2p (0.48-1) karmic; urgency=low + + * Added sam2p_pdf_scale.pl to the files list. + * Added examples/sam2p.spec for Fedora. + + -- Peter Szabo <pts@fazekas.hu> Tue, 22 Mar 2011 19:23:07 +0100 + +sam2p (0.47-1) unstable; urgency=low + + * Fixed some bugs. + * Added some missing example files. + * Clarified the documentation a bit. + + -- Szabó Péter <pts@fazekas.hu> Sun, 8 Aug 2009 01:50:53 +0200 + +sam2p (0.46-2) unstable; urgency=low + + * image.cpp: added sortPal(), so now sam2p converts source images to + canonical form. + * encoder.cpp, sam2p_main.cpp: Fixed predictor autodetection ultimately. + * Small compliation and documentation improvements. + + -- Szabó Péter <pts@fazekas.hu> Sun, 5 Apr 2009 01:50:53 +0200 + +sam2p (0.46-1) unstable; urgency=low + + * Small bugfixes. + * encoder.cpp: Fixed ``/Predictor 15'' so it produces an efficient + predictor, similar to what libpng does. + * sam2p_main.cpp: Made ``/Predictor 15'' automatic for ZIP or LZW + compression if no `-c' command line flag was specified. + + -- Szabó Péter <pts@fazekas.hu> Sun, 5 Apr 2009 01:50:53 +0200 + +sam2p (0.45-3) unstable; urgency=low + + * in_ps.c: improved PostScript EPS load support, forcing `showpage'. + + -- Szabó Péter <pts@icy.seasons.hu> Thu, 10 Aug 2006 13:07:47 +0200 + +sam2p (0.45-2) unstable; urgency=low + + * cgif.c is indicated to be free software. + + -- Szabó Péter <pts@math.bme.hu> Sun, 2 Jul 2006 23:04:21 +0200 + +sam2p (0.45-1) unstable; urgency=low + + * Small docs changes. + * Little bugfixes. + + -- Szabó Péter <pts@math.bme.hu> Sun, 2 Jul 2006 17:19:29 +0200 + +sam2p (0.44-14) unstable; urgency=low + + * assertion BUGFIX in image.cpp:1480 Image::SampledInfo::setSampleFormat() + + -- Szabo Peter <pts@math.bme.hu> Thu, 6 Apr 2006 15:13:11 +0200 + +sam2p (0.44-13) unstable; urgency=low + + * Added -j:quiet + * No >/dev/null on png22pnm and tif22pnm + + -- Szabó Péter <pts@math.bme.hu> Fri, 26 Aug 2005 08:29:56 +0200 + +sam2p (0.44-12) unstable; urgency=low + + * Fixed non-(0,0)-based EPS loading by putting `translate' after + `setpagedevice' in in_ps.cpp + + -- Szabó Péter <pts@math.bme.hu> Fri, 12 Aug 2005 23:13:38 +0200 + +sam2p (0.44-11) unstable; urgency=low + + * %%BeginData:; hack for GSView, as reported by Zoltán Petres + + -- Szabó Péter <pts@math.bme.hu> Tue, 17 May 2005 14:39:20 +0200 + +sam2p (0.44-10) unstable; urgency=low + + * encoder.cpp slen_t -> int fixes for 64-bit. Thanks to Stefan Fritsch. + + -- Szabó Péter <pts@math.bme.hu> Thu, 14 Apr 2005 09:23:01 +0200 + +sam2p (0.44-9) unstable; urgency=low + + * 64-bit fix (slen_t and slendiff_t), in reply to the + report by Stefan Fritsch. + + -- Szabó Péter <pts@math.bme.hu> Tue, 12 Apr 2005 20:51:40 +0200 + +sam2p (0.44-8) unstable; urgency=low + + * Added /ImageDPI and -m:dpi:, see README. + * Fixed a couple of bugs. + + -- Szabó Péter <pts@winter> Mon, 21 Feb 2005 23:53:51 +0100 + +sam2p (0.44-7) unstable; urgency=low + + * Updated copyright of pts_fax.c + * Updated copyright of cgif.c + * BUGFIX of JPEG -> EPS `delete tp' buf in appliers.cpp + + -- Szabó Péter <pts@math.bme.hu> Thu, 20 Jan 2005 15:11:23 +0100 + +sam2p (0.44-6) unstable; urgency=low + + * Re-ripped pts_defl.c from linux-2.6.8.1 (ZLIB 1.1.3), + formerly it was Info-ZIP 2.2 + * BUGFIX in image.cpp + * Documentation fixes + + -- Szabó Péter <pts@winter> Tue, 18 Jan 2005 17:04:28 +0100 + +sam2p (0.44-5) unstable; urgency=low + + * Added -pdf:x (generate PDF with /XObject{}s). + * Changed PDF output so elements of /Kids are indirect references + (see the PDF Reference 1.5 for details). + * Added option: -transparent "#abcdef" + + -- Szabó Péter <pts@winter> Sat, 8 Jan 2005 12:29:10 +0100 + +sam2p (0.44-4) unstable; urgency=low + + * Some glitches of g++-3.4 avoided. Now sam2p compiles fine. + * -l:gs=-r216 support for PDF. + + -- Szabó Péter <pts@math.bme.hu> Thu, 6 Jan 2005 10:59:50 +0100 + +sam2p (0.44-3) unstable; urgency=low + + * minor fixes, documentation addons + + -- Szabó Péter <pts@math.bme.hu> Tue, 1 Jun 2004 18:50:15 +0200 + +sam2p (0.44-2) unstable; urgency=low + + * Added answers to FAQ in README. + + -- Szabó Péter <pts@math.bme.hu> Fri, 5 Mar 2004 19:54:44 +0100 + +sam2p (0.44-1) unstable; urgency=low + + * bugfixes + * PDF, PS and EPS import + * compressed bts2.ttt, so target sam2p is smaller (ps_tiny --copy) + * printf("%.16g") in configure + + -- Szabó Péter <pts@math.bme.hu> Wed, 1 Oct 2003 19:49:32 +0200 + +sam2p (0.43-4) unstable; urgency=low + + * Allow to read stdin from a pipe + * Recognize SOF2 (progressive) JPEG and other non-baseline types + * Fixed SimBuffer::Flat::copyRange + + -- Szabó Péter <pts@math.bme.hu> Tue, 11 Mar 2003 14:10:37 +0100 + +sam2p (0.43-3) unstable; urgency=low + + * Merged with CVS, created Debian source packages. + + -- Szabó Péter <pts@math.bme.hu> Wed, 12 Feb 2003 20:51:58 +0100 + +sam2p (0.43-2) unstable; urgency=low + + * Added proper Description:, Depends: and Build-Depends: to + debian/changelog, modified the Makefile to respect $(DESTDIR) etc. + + -- Szabó Péter <pts@winter> Fri, 7 Feb 2003 14:16:56 +0100 + +sam2p (0.43-1) unstable; urgency=low + + * Initial Debian release. + * PDF generation bugfixes + * PDF /MediaBox is output into a separate line near the beginning of file + (graphicP compatibility) + +sam2p (0.41) unstable; urgency=low + + * vcsam2p.exe (graphic .exe with Visual Studio 6.0), merged + * added Below feature -m:lower:5 + * png22pnm support + * Debian Slink pdfTeX integration + + -- Szabó Péter <pts@winter> Wed, 5 Feb 2003 18:40:12 +0100 + +sam2p (0.41) unstable; urgency=low + + * All earlier versions listed here: + * 0.29 Apr 4 2002 + sam2p_article.tex preliminary version + * 0.30 Sat Apr 6 09:19:23 CEST 2002 + * 0.31 -- Fri Apr 12 23:54:57 CEST 2002 + not working TCL/TK GUI, sam2p_article corrected + * 0.32 Sat Apr 13 12:55:09 CEST 2002 -- + PCX input, class Encoder, class Decoder + * 0.33 JPEG, TIFF, PNG input. JPEG output. + * 0.34 PDF output, PNG output. + * 0.35 Fri Apr 26 08:28:41 CEST 2002 + transparency, gui, sam2p_talk, EuroBachoTeX 2002 + * 0.36 Sat May 26 14:06:09 CEST 2002 + Blanca bugfixes + * 0.37 Sat Jun 1 14:06:43 CEST 2002 + ccdep.pl, --enable-debug, XPM output, opaque TIFF output, + more PS output, BMP output, transparent PNM output, one-liner mode, + XWD output, PS output with margins, autoconf consts, + built-in CCITTFaxEncode + * 0.38 Tue Sep 3 20:16:59 CEST 2002 + Many portability bugfixes. Now more versions of GNU C++ compilers and + more achitectures are tested and supported. + gcc-3.1 or gcc-3.2 compliance (AC_C_CONST working const; with autoconf + 2.53) + * 0.39 -j:warn, allow /OutputFile(-) (stdout) in one-liner mode, + one-liner mode with src == dst filename `--', EPS margins, PDF margins, + -m, scaling PS output command line, PSL1 Gray ZIP&LZW in all + TransferEncodings + * 0.40 Wed Dec 11 19:24:31 CET 2002 + builds out-of-the box (./configure ...; make -> sam2p.exe) on Win32 with MinGW32 + Perl + * 0.41 GIF and XPM load bugfixes + synchronized to GIMP tif22pnm + transparent(+?) TIFF output, really + better tif22pnm support + + -- Szabó Péter <pts@winter> Wed, 5 Feb 2003 11:40:12 +0100 + +Local variables: +mode: debian-changelog +End: diff --git a/graphics/sam2p/debian/control b/graphics/sam2p/debian/control new file mode 100644 index 0000000000..0eb0ddd129 --- /dev/null +++ b/graphics/sam2p/debian/control @@ -0,0 +1,24 @@ +Source: sam2p +Section: unknown +Priority: optional +Maintainer: Szabó Péter <pts@fazekas.hu> +Standards-Version: 3.2.1 +Build-Depends: g++, perl + +Package: sam2p +Architecture: any +Depends: ${shlibs:Depends} +Recommends: tif22pnm | netpbm, png22pnm | netpbm, libjpeg-progs +Description: convert raster images to EPS and PDF and others + sam2p is a UNIX command line utility written in ANSI C++ that converts many + raster (bitmap) image formats into Adobe PostScript or PDF files. The images + are not vectorized. sam2p gives full control to the user to specify + standards-compliance, compression, and bit depths. In some cases sam2p can + compress an image 100 times smaller than the PostScript output of many other + common image converters. sam2p provides ZIP, RLE and LZW (de)compression + filters even on Level1 devices. + . + Recommendations: package netpbm provides the tifftopnm and pngtopnm utilities. + Please use tif22pnm and png22pnm (by the author of sam2p) instead of these, + because *22* provides a much richer functionality with less bugs. package + libjpeg-prog provides the excellent cjpeg and djpeg utilities. diff --git a/graphics/sam2p/debian/copyright b/graphics/sam2p/debian/copyright new file mode 100644 index 0000000000..28c5b7b6aa --- /dev/null +++ b/graphics/sam2p/debian/copyright @@ -0,0 +1,4 @@ +This package was written by Szabó Péter pts@winter on Fri, 7 Feb 2003 12:16:40 +0100. + +Copyright: GPL (see /usr/share/common-licenses/GPL) + diff --git a/graphics/sam2p/debian/dirs b/graphics/sam2p/debian/dirs new file mode 100644 index 0000000000..3c52b973ea --- /dev/null +++ b/graphics/sam2p/debian/dirs @@ -0,0 +1,3 @@ +usr/bin +usr/sbin +usr/share/man/man1 diff --git a/graphics/sam2p/debian/rules b/graphics/sam2p/debian/rules new file mode 100755 index 0000000000..1a36a82e8f --- /dev/null +++ b/graphics/sam2p/debian/rules @@ -0,0 +1,69 @@ +#!/usr/bin/make -f +# Made with the aid of debmake, by Christoph Lameter, +# based on the sample debian/rules file for GNU hello by Ian Jackson. + +package=sam2p + +build: + $(checkdir) + ./configure --enable-gif --enable-lzw --prefix=/usr + $(MAKE) + touch build + +clean: + $(checkdir) + -rm -f build + -$(MAKE) MAKE_DIST=1 clean + -rm -f `find . -name "*~"` + -rm -rf debian/tmp debian/files* core debian/substvars +# Dat: make distclean would remove the `configure' script + +binary-indep: checkroot build + $(checkdir) +# There are no architecture-independent files to be uploaded +# generated by this package. If there were any they would be +# made here. + +binary-arch: checkroot build + $(checkdir) + -rm -rf debian/tmp + install -d debian/tmp + cd debian/tmp && install -d `cat ../dirs` + $(MAKE) install prefix=`pwd`/debian/tmp/usr DESTDIR=`pwd`/debian/tmp/usr +# Must have debmake installed for this to work. Otherwise please copy +# /usr/bin/debstd into the debian directory and change debstd to debian/debstd + debstd README README.1 README.2 README.3 README.4 README.5 README.6 README~ + dpkg-gencontrol -isp + chown -R root.root debian/tmp + chmod -R go=rX debian/tmp + dpkg --build debian/tmp .. + +define checkdir + test -f debian/rules +endef + +binary: + $(checkdir) + if test root = "`whoami`"; then $(MAKE) -f debian/rules binary-indep binary-arch; \ + else fakeroot $(MAKE) -f debian/rules binary-indep binary-arch; fi + +checkroot: + $(checkdir) + test root = "`whoami`" + +.PHONY: binary binary-arch binary-indep clean checkroot + +.PHONY: source source-here +source-here: + rm -rf debsrc + mkdir -p debsrc/debian + cp -a $(wildcard $(addprefix debian/,README.debian docs changelog control copyright dirs rules prerm postrm postinst preinst)) debsrc/debian + $(MAKEF) install-debsrc + DIR="`<debian/changelog perl -ne 'print if s@^(\S+) [(]([^)]+?)(?:-\d+)?[)].*@$$1-$$2@;last'`" && \ + test ! -d "$$DIR" && \ + mv debsrc "$$DIR" && \ + (dpkg-source -b "$$DIR";true) && \ + rm -rf "$$DIR" + +source: source-here + mv $(package)_*-*.tar.gz $(package)_*-*.dsc .. |