--- libspectre-0.2.0.ds.orig/debian/rules +++ libspectre-0.2.0.ds/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_DH_INSTALL_SOURCEDIR = debian/tmp + +DEB_MAKE_CHECK_TARGET = check --- libspectre-0.2.0.ds.orig/debian/changelog +++ libspectre-0.2.0.ds/debian/changelog @@ -0,0 +1,26 @@ +libspectre (0.2.0.ds-1build1) hardy; urgency=low + + * Rebuild to fix unmetdep on libgs8 (LP: #195543). + + -- Andrea Colangelo Mon, 25 Feb 2008 20:14:16 +0100 + +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.0.ds.orig/debian/control +++ libspectre-0.2.0.ds/debian/control @@ -0,0 +1,38 @@ +Source: libspectre +Section: libs +Priority: optional +Maintainer: Matthew Rosewarne +Uploaders: Debian Krap Maintainers +Build-Depends: cdbs, debhelper (>= 5), autotools-dev, libcairo2-dev, libgs-dev, patchutils +Standards-Version: 3.7.3 +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 the debugging symbols for 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 is the development package which contains headers and static libraries + for libspectre. --- libspectre-0.2.0.ds.orig/debian/compat +++ libspectre-0.2.0.ds/debian/compat @@ -0,0 +1 @@ +5 --- libspectre-0.2.0.ds.orig/debian/copyright +++ libspectre-0.2.0.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.0.ds.orig/debian/libspectre-dev.install +++ libspectre-0.2.0.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.0.ds.orig/debian/watch +++ libspectre-0.2.0.ds/debian/watch @@ -0,0 +1,4 @@ +# Compulsory line, this is a version 3 file +version=3 + +http://libspectre.freedesktop.org/releases/libspectre-(.*)\.tar\.gz --- libspectre-0.2.0.ds.orig/debian/prune-ghostscript +++ libspectre-0.2.0.ds/debian/prune-ghostscript @@ -0,0 +1,15 @@ +#!/bin/sh -e + +# Removes non-free files 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 -f $TOPLEVEL/libspectre/ghostscript/ +fi + +exit 0 --- libspectre-0.2.0.ds.orig/debian/libspectre1.install +++ libspectre-0.2.0.ds/debian/libspectre1.install @@ -0,0 +1,2 @@ +usr/lib/libspectre.so.1 +usr/lib/libspectre.so.1.1.0 --- libspectre-0.2.0.ds.orig/debian/docs +++ libspectre-0.2.0.ds/debian/docs @@ -0,0 +1,3 @@ +NEWS +README +TODO --- libspectre-0.2.0.ds.orig/debian/patches/strip_ghostscript.patch +++ libspectre-0.2.0.ds/debian/patches/strip_ghostscript.patch @@ -0,0 +1,50 @@ +diff -Nur libspectre-0.2.0/configure libspectre-0.2.0.new/configure +--- libspectre-0.2.0/configure 2008-01-03 11:18:06.000000000 -0500 ++++ libspectre-0.2.0.new/configure 2008-01-03 16:05:55.753081110 -0500 +@@ -21886,7 +21886,7 @@ + + + +-ac_config_files="$ac_config_files Makefile Doxyfile libspectre/Makefile libspectre/spectre-version.h libspectre/ghostscript/Makefile test/Makefile libspectre.pc" ++ac_config_files="$ac_config_files Makefile Doxyfile libspectre/Makefile libspectre/spectre-version.h test/Makefile libspectre.pc" + + cat >confcache <<\_ACEOF + # This file is a shell script that caches the results of configure +@@ -22485,7 +22485,6 @@ + "Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;; + "libspectre/Makefile") CONFIG_FILES="$CONFIG_FILES libspectre/Makefile" ;; + "libspectre/spectre-version.h") CONFIG_FILES="$CONFIG_FILES libspectre/spectre-version.h" ;; +- "libspectre/ghostscript/Makefile") CONFIG_FILES="$CONFIG_FILES libspectre/ghostscript/Makefile" ;; + "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; + "libspectre.pc") CONFIG_FILES="$CONFIG_FILES libspectre.pc" ;; + +diff -Nur libspectre-0.2.0/configure.ac libspectre-0.2.0.new/configure.ac +--- libspectre-0.2.0/configure.ac 2008-01-03 11:12:50.000000000 -0500 ++++ libspectre-0.2.0.new/configure.ac 2008-01-03 16:05:55.753081110 -0500 +@@ -199,7 +199,6 @@ + Doxyfile + libspectre/Makefile + libspectre/spectre-version.h +-libspectre/ghostscript/Makefile + test/Makefile + libspectre.pc + ]) +diff -Nur libspectre-0.2.0/libspectre/Makefile.am libspectre-0.2.0.new/libspectre/Makefile.am +--- libspectre-0.2.0/libspectre/Makefile.am 2007-12-09 12:18:09.000000000 -0500 ++++ libspectre-0.2.0.new/libspectre/Makefile.am 2008-01-03 16:06:20.542081871 -0500 +@@ -1,4 +1,3 @@ +-SUBDIRS = ghostscript + + INCLUDES = \ + -I$(top_builddir) \ +diff -Nur libspectre-0.2.0/libspectre/Makefile.in libspectre-0.2.0.new/libspectre/Makefile.in +--- libspectre-0.2.0/libspectre/Makefile.in 2008-01-03 11:18:05.000000000 -0500 ++++ libspectre-0.2.0.new/libspectre/Makefile.in 2008-01-03 16:06:40.182081456 -0500 +@@ -210,7 +210,6 @@ + sharedstatedir = @sharedstatedir@ + sysconfdir = @sysconfdir@ + target_alias = @target_alias@ +-SUBDIRS = ghostscript + INCLUDES = \ + -I$(top_builddir) \ + -I$(srcdir) \