--- libspectre-0.2.2.ds.orig/debian/rules +++ libspectre-0.2.2.ds/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f +# -*- mode: makefile; coding: utf-8 -*- + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include /usr/share/cdbs/1/rules/utils.mk + +# Regenerate autotools files from patched files +DEB_AUTO_UPDATE_AUTOCONF=2.61 +DEB_AUTO_UPDATE_AUTOMAKE=1.10 +DEB_AUTO_UPDATE_LIBTOOL=pre + +DEB_DH_INSTALL_SOURCEDIR = debian/tmp + +DEB_MAKE_CHECK_TARGET = check --- libspectre-0.2.2.ds.orig/debian/changelog +++ libspectre-0.2.2.ds/debian/changelog @@ -0,0 +1,36 @@ +libspectre (0.2.2.ds-1) unstable; urgency=low + + * New upstream release. + + Fixes rendering of Mozilla-generated files. (Closes: #484645) + + Correctly loads EPS files with TIFF previews. (Closes: #490309) + * Make prune-ghostscript script actually work. + * Update Autotools instead of direct patching. + + Add Build-Depends on autoconf, automake, and libtool. + + Switch to from CDBS simple patch system to quilt. + + Rewrite strip_ghostscript.patch as use-system-ghostscript.patch. + * Bump Standards-Version to 3.8.0, no changes required. + * Fix watch file. + * Adjust descriptions. + + -- Matthew Rosewarne Sun, 30 Nov 2008 17:33:29 -0500 + +libspectre (0.2.0.ds-1) unstable; urgency=low + + * New upstream release. + * Removed ghostscript headers. + - Patched build system to omit libspectre/ghostscript. + + +++ Changes by Ana Beatriz Guerrero Lopez: + + * Add prune-ghostscript script to remove ghostscript stuff. + * Slight tweaking of debian/copyright. + * Add Homepage field. + + -- Matthew Rosewarne Sun, 06 Jan 2008 21:58:55 +0100 + +libspectre (0.1.0-1) unstable; urgency=low + + * Initial release (Closes: #456609). + + -- Matthew Rosewarne Sun, 16 Dec 2007 17:07:19 -0500 + --- libspectre-0.2.2.ds.orig/debian/docs +++ libspectre-0.2.2.ds/debian/docs @@ -0,0 +1,3 @@ +NEWS +README +TODO --- libspectre-0.2.2.ds.orig/debian/compat +++ libspectre-0.2.2.ds/debian/compat @@ -0,0 +1 @@ +5 --- libspectre-0.2.2.ds.orig/debian/copyright +++ libspectre-0.2.2.ds/debian/copyright @@ -0,0 +1,38 @@ +This package was debianized by Matthew Rosewarne on +Sun, 16 Dec 2007 17:07:19 -0500. + +It was downloaded from http://libspectre.freedesktop.org + +Upstream Authors: + + Albert Astals Cid + Carlos García Campos + +Copyright: + + Copyright (C) 2007-2008 Albert Astals Cid + Copyright (C) 2007-2008 Carlos García Campos + Copyright (C) 1992 Timothy O. Theisen + Copyright (C) 2004 José E. Marchesi + +License: + + 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 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'. + +The Debian packaging is (C) 2007-2008, Matthew Rosewarne +and is licensed under the GPL, see above. --- libspectre-0.2.2.ds.orig/debian/libspectre-dev.install +++ libspectre-0.2.2.ds/debian/libspectre-dev.install @@ -0,0 +1,12 @@ +usr/include/libspectre/spectre-document.h +usr/include/libspectre/spectre-exporter.h +usr/include/libspectre/spectre.h +usr/include/libspectre/spectre-macros.h +usr/include/libspectre/spectre-page.h +usr/include/libspectre/spectre-render-context.h +usr/include/libspectre/spectre-status.h +usr/include/libspectre/spectre-version.h +usr/lib/libspectre.a +usr/lib/libspectre.la +usr/lib/libspectre.so +usr/lib/pkgconfig/libspectre.pc --- libspectre-0.2.2.ds.orig/debian/prune-ghostscript +++ libspectre-0.2.2.ds/debian/prune-ghostscript @@ -0,0 +1,15 @@ +#!/bin/sh -e + +# Removes unnecessary ghostscript headers from the source tree. +# Must be done before creating the orig.tar.gz. + +TOPLEVEL="$1" + +if [ "$TOPLEVEL" = "" ]; then + echo "Please provide the toplevel directory as the argument." + exit 1 +else + rm -rf $TOPLEVEL/libspectre/ghostscript/ +fi + +exit 0 --- libspectre-0.2.2.ds.orig/debian/control +++ libspectre-0.2.2.ds/debian/control @@ -0,0 +1,39 @@ +Source: libspectre +Section: libs +Priority: optional +Maintainer: Matthew Rosewarne +Uploaders: Debian Krap Maintainers +Build-Depends: cdbs, debhelper (>= 5), autoconf, automake, autotools-dev, libcairo2-dev, libgs-dev, libtool, quilt +Standards-Version: 3.8.0 +Homepage: http://libspectre.freedesktop.org + +Package: libspectre1 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: libspectre1-dbg (= ${binary:Version}) +Description: Library for rendering Postscript documents + libspectre is a small library for rendering Postscript documents. It provides + a convenient easy to use API for handling and rendering Postscript documents. + +Package: libspectre1-dbg +Section: libdevel +Priority: extra +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libspectre1 (= ${binary:Version}) +Description: Debugging symbols for libspectre + libspectre is a small library for rendering PostScript documents. It provides + a convenient easy to use API for handling and rendering Postscript documents. + . + This package contains debugging files used to investigate problems with + libspectre. + +Package: libspectre-dev +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libspectre1 (= ${binary:Version}) +Description: Library for rendering Postscript documents - development files + libspectre is a small library for rendering Postscript documents. It provides + a convenient easy to use API for handling and rendering Postscript documents. + . + This package contains development files for building software that uses + libspectre. \ No newline at end of file --- libspectre-0.2.2.ds.orig/debian/libspectre1.install +++ libspectre-0.2.2.ds/debian/libspectre1.install @@ -0,0 +1,2 @@ +usr/lib/libspectre.so.1 +usr/lib/libspectre.so.1.* --- libspectre-0.2.2.ds.orig/debian/watch +++ libspectre-0.2.2.ds/debian/watch @@ -0,0 +1,4 @@ +version=3 + +opts=dversionmangle=s/\.ds$// \ +http://libspectre.freedesktop.org/releases/libspectre-(.*)\.tar\.gz --- libspectre-0.2.2.ds.orig/debian/patches/use-system-ghostscript.patch +++ libspectre-0.2.2.ds/debian/patches/use-system-ghostscript.patch @@ -0,0 +1,18 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -287,7 +287,6 @@ + Doxyfile + libspectre/Makefile + libspectre/spectre-version.h +-libspectre/ghostscript/Makefile + test/Makefile + libspectre.pc + ]) +--- a/libspectre/Makefile.am ++++ b/libspectre/Makefile.am +@@ -1,5 +1,3 @@ +-SUBDIRS = ghostscript +- + INCLUDES = \ + -I$(top_builddir) \ + -I$(srcdir) \ --- libspectre-0.2.2.ds.orig/debian/patches/series +++ libspectre-0.2.2.ds/debian/patches/series @@ -0,0 +1 @@ +use-system-ghostscript.patch \ No newline at end of file