--- libgd-graph-perl-1.44.orig/debian/control.in
+++ libgd-graph-perl-1.44/debian/control.in
@@ -0,0 +1,31 @@
+Source: libgd-graph-perl
+Section: perl
+Priority: extra
+Maintainer: GD team <pkg-gd-devel@lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr@jones.dk>, Sean Finney <seanius@debian.org>
+Build-Depends: @cdbs@
+XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-gd/libgd-graph-perl/trunk
+XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-gd/libgd-graph-perl/trunk
+Standards-Version: 3.7.2
+Homepage: http://search.cpan.org/dist/GDGraph/
+
+Package: libgd-graph-perl
+Architecture: all
+Depends: libgd-text-perl (>= 0.80)
+Suggests: ttf-dustin
+Description:  Graph Plotting Module for Perl 5
+ GD::Graph is a perl5 module to create charts using the GD module.
+ The following classes for graphs with axes are defined:
+ .
+ GD::Graph::lines - Create a line chart.
+ GD::Graph::bars - Create a bar chart.
+ GD::Graph::points - Create an chart, displaying the data as points.
+ GD::Graph::linespoints - Combination of lines and points.
+ GD::Graph::area - Create a graph, representing the data as areas under a
+     line.
+ GD::Graph::mixed - Create a mixed type graph, any combination of the
+     above. At the moment this is fairly limited. Some of
+     the options that can be used with some of the
+     individual graph types won't work very well. Multiple
+     bar graphs in a mixed graph won't display very nicely.
+ GD::Graph::pie - Create a pie chart.
--- libgd-graph-perl-1.44.orig/debian/rules
+++ libgd-graph-perl-1.44/debian/rules
@@ -0,0 +1,30 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003-2008 Jonas Smedegaard <dr@jones.dk>
+
+# NB! Local CDBS tweaks in use. More info in README.cdbs-tweaks
+include debian/cdbs/1/rules/upstream-tarball.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+# Put perlmodule.mk last to dh_clean temporary files not in MANIFEST
+include /usr/share/cdbs/1/class/perlmodule.mk
+include debian/cdbs/1/rules/buildinfo.mk
+include debian/cdbs/1/rules/copyright-check.mk
+
+DEB_UPSTREAM_PACKAGE = GDGraph
+DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/GD
+DEB_UPSTREAM_TARBALL_MD5 = a8a4ab62741258803b5744cb8882e68c
+
+DEB_INSTALL_EXAMPLES_libgd-graph-perl := samples
+
+# Upstream says creating samples is a better test so do both
+DEB_MAKE_CHECK_TARGET := test samples
+
+# Clean explicitly, as upstream make target "clean" in samples is broken
+clean::
+	rm -f $(CURDIR)/samples/sample*.png $(CURDIR)/samples/sample*.gif $(CURDIR)/samples/logo.gif
+
+# Needed for by upstream build process
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), libgd-text-perl (>= 0.80), imagemagick
+
+# Fix double cdbs build-dependencies
+CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bcdbs (>= 0.4.39)/ s/ *,* *\bcdbs (>= \(0.4.23-1.1\)) *,* */, /g' -e 's/^ *, *//' -e 's/ *, *$$//')
--- libgd-graph-perl-1.44.orig/debian/copyright
+++ libgd-graph-perl-1.44/debian/copyright
@@ -0,0 +1,54 @@
+This is GD::Graph packaged for Debian GNU systems.
+
+Source:
+
+    http://www.cpan.org/modules/by-module/GD/
+
+Authors:
+
+    Martien Verbruggen
+    mgjv@tradingpost.com.au
+
+    FIRST PNG PORT as Chart::PNGgraph
+
+    Steve Bonds
+    sbonds@agora.rdrop.com
+
+Copyright and licensing terms, main code:
+
+    GD::Graph
+    Copyright (c) 1999-2002 Martien Verbruggen. All rights reserved.
+    Chart::PNGgraph
+    Copyright (c) 1999 Steve Bonds.  All rights reserved.
+    GIFgraph
+    Copyright (c) 1995-1999 Martien Verbruggen. All rights reserved.
+
+    This package is free software; you can redistribute it and/or
+    modify it under the same terms as Perl itself.
+
+I really felt like adding a clause to the copyright that excluded Unisys
+and its employees from the use of any of my code, at least without a
+license bought from me. I decided against it for several reasons, the
+main one being that I would just feel too dirty doing that.
+
+Copyright and licensing terms, Dustismo Sans:
+
+Dustismo is Copyright (C) 2002 Dustin Norlander
+Homepage: http://www.cheapskatefonts.com
+email: nutso@cheapskatefonts.com
+
+
+    This program 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 program 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.
+
+
+Both the Artistic Licence (the original Perl licensing terms) and the
+GNU General Public License (allowed as alternative Perl license) is on
+Debian GNU systems located below /usr/share/common-licenses/ .
--- libgd-graph-perl-1.44.orig/debian/copyright_hints
+++ libgd-graph-perl-1.44/debian/copyright_hints
@@ -0,0 +1,82 @@
+*No copyright* UNKNOWN []: CHANGES
+	Graph/FAQ.pod
+	MANIFEST
+	META.yml
+	Makefile.PL
+	README
+	samples/Makefile
+	samples/logo.png
+	samples/rgb.txt
+	samples/sample11.pl
+	samples/sample12.pl
+	samples/sample13.pl
+	samples/sample14.pl
+	samples/sample15.pl
+	samples/sample16.pl
+	samples/sample17.pl
+	samples/sample18.pl
+	samples/sample19.pl
+	samples/sample1A.pl
+	samples/sample1B.pl
+	samples/sample21.pl
+	samples/sample22.pl
+	samples/sample23.pl
+	samples/sample31.pl
+	samples/sample41.pl
+	samples/sample42.dat
+	samples/sample42.pl
+	samples/sample51.pl
+	samples/sample52.pl
+	samples/sample53.pl
+	samples/sample54.dat
+	samples/sample54.pl
+	samples/sample55.pl
+	samples/sample56.pl
+	samples/sample57.pl
+	samples/sample61.pl
+	samples/sample62.pl
+	samples/sample63.pl
+	samples/sample64.pl
+	samples/sample71.pl
+	samples/sample91.pl
+	samples/sample92.pl
+	samples/sample93.pl
+	samples/sample94.pl
+	samples/sample95.pl
+	samples/save.pl
+	t/axestype.t
+	t/bugfixes.t
+	t/colour.t
+	t/data.csv
+	t/data.t
+	t/data.tab
+	t/error.t
+	t/images/logo.gif
+	t/images/logo.jpeg
+	t/images/logo.jpg
+	t/images/logo.png
+	t/images/logo.xbm
+	t/images/logo.xpm
+	t/images/logo_alt.PNG
+	t/images/logo_gif_noext
+	t/images/logo_jpeg_noext
+	t/images/logo_ping_noext
+	t/images/logo_xbm_noext
+	t/images/logo_xpm_noext
+	t/use.t
+UNKNOWN [1995-1998 Martien Verbruggen]: Graph/axestype.pm
+	Graph/bars.pm
+	Graph/colour.pm
+	Graph/lines.pm
+	Graph/linespoints.pm
+	Graph/mixed.pm
+	Graph/pie.pm
+	Graph/points.pm
+UNKNOWN [1995-2000 Martien Verbruggen]: Graph.pm
+	Graph/Data.pm
+	Graph/Error.pm
+	Graph/area.pm
+GPL [Dustin Norlander, 2002. This program 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 any later DustismoRegularDustinNorlander: Dustismo: 2002DustismoVersion 1.06 2003DustismoDustismo is a trademark of Dustin Norlander.Dustin Norlander, . This program 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 of the License, or any laterDustin Norlanderhttp://www.dustismo.com 2002 Dustin Norlander]: Dustismo_Sans.ttf
+GPL-2+ [1989, 1991 Free Software Foundation, Inc / 2002 Dustin Norlander]: Dustismo.LICENSE
+UNKNOWN [1995-1998 Martien Verbruggen / Martien Verbruggen]: Graph/hbars.pm
+UNKNOWN [1995-1999 Martien Verbruggen]: Graph/utils.pm
--- libgd-graph-perl-1.44.orig/debian/compat
+++ libgd-graph-perl-1.44/debian/compat
@@ -0,0 +1 @@
+6
--- libgd-graph-perl-1.44.orig/debian/control
+++ libgd-graph-perl-1.44/debian/control
@@ -0,0 +1,31 @@
+Source: libgd-graph-perl
+Section: perl
+Priority: extra
+Maintainer: GD team <pkg-gd-devel@lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr@jones.dk>, Sean Finney <seanius@debian.org>
+Build-Depends: cdbs (>= 0.4.39), debhelper (>= 5.0.44), perl (>= 5.6.0-16), dh-buildinfo, devscripts (>= 2.10.7), libgd-text-perl (>= 0.80), imagemagick
+XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-gd/libgd-graph-perl/trunk
+XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-gd/libgd-graph-perl/trunk
+Standards-Version: 3.7.2
+Homepage: http://search.cpan.org/dist/GDGraph/
+
+Package: libgd-graph-perl
+Architecture: all
+Depends: libgd-text-perl (>= 0.80)
+Suggests: ttf-dustin
+Description:  Graph Plotting Module for Perl 5
+ GD::Graph is a perl5 module to create charts using the GD module.
+ The following classes for graphs with axes are defined:
+ .
+ GD::Graph::lines - Create a line chart.
+ GD::Graph::bars - Create a bar chart.
+ GD::Graph::points - Create an chart, displaying the data as points.
+ GD::Graph::linespoints - Combination of lines and points.
+ GD::Graph::area - Create a graph, representing the data as areas under a
+     line.
+ GD::Graph::mixed - Create a mixed type graph, any combination of the
+     above. At the moment this is fairly limited. Some of
+     the options that can be used with some of the
+     individual graph types won't work very well. Multiple
+     bar graphs in a mixed graph won't display very nicely.
+ GD::Graph::pie - Create a pie chart.
--- libgd-graph-perl-1.44.orig/debian/README.cdbs-tweaks
+++ libgd-graph-perl-1.44/debian/README.cdbs-tweaks
@@ -0,0 +1,111 @@
+CDBS tweak
+==========
+
+CDBS is great. In some corner cases, however, some parts of CDBS
+sometimes needs a few tweaks to work optimally.
+
+This is a collection of such tweaks. The goal is for these tweaks to be
+absorbed into upstream CDBS. We just haven't found time yet to discuss
+them at the CDBS developers' mailinglist. And possible we do not all
+agree that the tweaks are so great - therefore this "staging area".
+
+If you found this file below debian/ subdir in a source package, most
+probably only a subset of the below mentioned tweaks are relevant and
+have been shipped with the package. The repository of all these tweaks
+is here: svn://svn.debian.org/build-common/people/js/overlay/
+
+Web access: http://svn.debian.org/wsvn/build-common/people/js/overlay/
+
+
+
+New buildinfo rule
+------------------
+
+See package description for "buildinfo" for more info.
+
+
+
+Improved support for multiple compilations
+------------------------------------------
+
+Create and clean builddir _after_ resolving per-package DEB_BUILDDIR.
+
+Honour per-package DEB_BUILDDIR in makefile and autotools classes.
+
+Support multiple build flavors in makefile and autotools classes.
+
+
+
+Various improvements to python-distutils class
+----------------------------------------------
+
+Use full path to Python interpreter (Python Policy section 1.3.2).
+
+Add CDBS_BUILD_DEPENDS to old policy method.
+
+Fix CDBS_BUILD_DEPENDS in new policy methods to only depend on debhelper
+when actually used.
+
+Fix DEB_PYTHON_SIMPLE_PACKAGES sometimes installed twice (and only one
+of them honouring DEB_PYTHON_COMPILE_VERSION).
+
+Unify install path using new DEB_PYTHON_DESTDIR.
+
+Quote install path.
+
+
+
+New python-autotools class
+--------------------------
+
+Handle autotools-based Python packaging.
+
+
+
+New python-sugar class
+----------------------
+
+Handle packaging of Sugar activities.
+
+
+
+New copyright-check rule
+------------------------
+
+Refuse to build if the source is found to contain different copyright
+info than earlier builds.
+
+
+
+New kernelpatches rule
+----------------------
+
+Small wrapper around dh-kpatches, taking care of build-dependencies too.
+
+
+
+New routines for handling upstream tarball
+------------------------------------------
+
+Rules and variables to help downloading, validating and repackaging
+upstream tarball.
+
+Implements the rules print-version and get-orig-source commonly used
+for group-maintained packages with Debian-specific patches maintained in
+SVN or some other VCS, and automated fetching virgin upstream tarball
+(possibly massaged after download e.g. to strip non-DFSG material).
+
+
+
+Support for custom BTS info
+---------------------------
+
+Include BTS control info found in debian/*.bts files, or alternatively
+redirect bug reports to the email address defined in DEB_BTS_EMAIL.
+
+
+
+New dict class
+--------------
+
+Rules for packaging ispell, aspell, myspell and wordlist dictionaries.
--- libgd-graph-perl-1.44.orig/debian/changelog
+++ libgd-graph-perl-1.44/debian/changelog
@@ -0,0 +1,273 @@
+libgd-graph-perl (1.44-3) unstable; urgency=medium
+
+  * Invoke svn-upgrade (not uupdate) in debian/watch.
+  * Set urgency=medium as 2.04-1 included a FTBFS bugfix (similar to
+    bug#487066).
+
+ -- Jonas Smedegaard <dr@jones.dk>  Sat, 28 Jun 2008 20:42:46 +0200
+
+libgd-graph-perl (1.44-2) unstable; urgency=low
+
+  * Really advertise README.cdbs-tweaks as promised in -1.
+  * Add Vcs-Svn and Vcs-Browser fields to debian/control.
+  * Move Homepage to own field (from pseudo-field in long description).
+  * Update local cdbs tweaks:
+    + Major updates to copyright-check.mk, most importantly relax to
+      only warn by default.
+    + Various updates to update-tarball.mk, including changed wget
+      options to work with recent versions of wget.
+    + Drop buildcore.mk (set hints manually instead as needed).
+  * Update debian/copyright-hints.
+  * Bump debhelper compatibility level to 6.
+  * Fix double cdbs build-dependencies in debian/rules.
+  * Semi-auto-update debian/control to update build-dependencies:
+      DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean
+
+ -- Jonas Smedegaard <dr@jones.dk>  Fri, 27 Jun 2008 20:53:09 +0200
+
+libgd-graph-perl (1.44-1) unstable; urgency=low
+
+  * New upstream release.
+  * Switch to team maintainance using Alioth project pkg-gd, and myself
+    and Sean Finney as uploaders. If you (yes, you!) want to help
+    packaging GD and related packages for Debian, please get in touch
+    with us at pgk-gd-devel@lists.alioth.debian.org .
+  * Update CDBS tweaks:
+    + Replace auto-update.mk with overloading buildcore.mk.
+    + Fix applying buildinfo only once.
+    + Fix race condition: check copyright strings in pre-build target
+      (not clean target). Closes: bug#385202, thanks to Florent Bayle
+      for reporting and Steinar H. Gunderson for workaround in NMU.
+      Enable copyright.check again.
+    + Add upstream-tarball.mk to implement get-orig-source target.
+    + Add debian/README.cdbs-tweaks and advertise it in debian/rules.
+  * Declare build-dependencies in debian/rules.
+  * Semi-auto-update debian/control:
+      DEB_BUILD_OPTIONS=cdbs-autoupdate fakeroot debian/rules pre-build
+
+ -- Jonas Smedegaard <dr@jones.dk>  Sun, 12 Aug 2007 21:27:42 +0200
+
+libgd-graph-perl (1.43.08-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Comment out copyright-check.mk; it is not robust enough to avoid random
+    false positives on buildds. (Closes: #)
+
+ -- Steinar H. Gunderson <sesse@debian.org>  Thu,  7 Sep 2006 14:10:08 +0200
+
+libgd-graph-perl (1.43.08-2) unstable; urgency=low
+
+  * Fix cdbs snippet copyright-check not cleaning up after itself.
+  * Use build-depends (not build-depends-indep). build-depends-indep has
+    no real use according to note in Debian Policy 7.6, and is badly
+    supported by cdbs.
+  * Suggest ttf-dustin (and drop Dustismo font as example file). Thanks
+    to linda for noticing.
+  * Use search.cpan.org/dist/ (not www.cpan.org/modules/by-modules/) in
+    long description.
+
+ -- Jonas Smedegaard <dr@jones.dk>  Sat, 12 Aug 2006 17:21:04 +0200
+
+libgd-graph-perl (1.43.08-1) unstable; urgency=low
+
+  * New upstream release.
+  * Bump standards-version to 3.7.2 (no changes needed).
+  * Add local cdbs snippets auto-update.mk and copyright-check.mk.
+  * Move buildinfo to local cdbs snippet buildinfo.mk.
+  * Added Homepage to long description.
+  * Update watch file to deal with upstream perlish version string.
+
+ -- Jonas Smedegaard <dr@jones.dk>  Sun, 16 Jul 2006 17:16:03 +0200
+
+libgd-graph-perl (1.43-2) unstable; urgency=medium
+
+  * Buid-depend on imagemagick (needed to make test). Closes: Bug#264830
+    (thanks to Roland Stigge <stigge@antcom.de>).
+  * Standards-version 3.6.1 (no changes needed). This also closes:
+    Bug#210413 (thanks to Peter Palfrader <weasel@debian.org>).
+  * Change debian/copyright slightly:
+    + Mention "Debian GNU systems" in first line, to emphasize the broad
+      range of Debian.
+    + Rephraze last sentence pointing to common-licenses, to please
+      lintian (the note was technically correct before, but written in a
+      way not recognized by lintian).
+  * Update watch file:
+    + Add comment about usage of the file.
+    + Make regexp more generic.
+  * Include (and build-depend on) dh-buildinfo.
+  * Clean GIF files, generated by 'make test' with recent releases of
+    libgd2.
+  * Drop direct dependency on libgd (this library never uses the library
+    directly, only through the dependency on libgd-text-perl).
+  * Set urgency=medium due to the FTBFS of bug#264830 and the fact that no
+    binaries have changed by this upload (except being compiled using a
+    newer compiler).
+
+ -- Jonas Smedegaard <dr@jones.dk>  Fri, 20 Aug 2004 21:51:31 +0200
+
+libgd-graph-perl (1.43-1) unstable; urgency=low
+
+  * New upstream release.
+  * Remove info from debian/copyright about who packaged - this info is
+    in debian/changelog.
+  * Remove info about Cetus font from debian/copyright - it is no longer
+    included upstream.
+  * Use official cdbs package again - earlier hacks are included now.
+  * Standards version 3.6 (no changes needed).
+
+ -- Jonas Smedegaard <dr@jones.dk>  Tue, 22 Jul 2003 11:48:24 +0200
+
+libgd-graph-perl (1.42-1) unstable; urgency=low
+
+  * New upstream release.
+  * Improve and reorder the load of cdbs files (Closes: Bug#198242).
+  * Tighten watch file.
+
+ -- Jonas Smedegaard <dr@jones.dk>  Mon, 23 Jun 2003 04:57:25 +0200
+
+libgd-graph-perl (1.40-2) unstable; urgency=low
+
+  * Hack debian/debhelper.mk to include upstream changelog.
+
+ -- Jonas Smedegaard <dr@jones.dk>  Sat, 31 May 2003 06:15:45 +0200
+
+libgd-graph-perl (1.40-1) unstable; urgency=low
+
+  * New upstream release.
+  * Tighten (build-)dependency on libgd-text-perl to reflect upstream
+    prerequisites in Makefile.pm (similar dependency on libgd-perl is
+    fulfilled with all but the very first Debian package release, so not
+    relevant).
+  * Repackage using cdbs (with local perl additions).
+  * Standards-Version 3.5.10 (no changes needed).
+  * Lower build-dependency on perl a bit to match policy.
+  * Generate sample images (included as examples).
+
+ -- Jonas Smedegaard <dr@jones.dk>  Sat, 31 May 2003 00:00:55 +0200
+
+libgd-graph-perl (1.39-2) unstable; urgency=low
+
+  * Prefer libgd-gd2-* over older ones.
+
+ -- Jonas Smedegaard <dr@jones.dk>  Thu, 15 May 2003 20:01:08 +0200
+
+libgd-graph-perl (1.39-1) unstable; urgency=low
+
+  * New upstream release.
+  * Include new font Dustismo Sans as example only (for now...). Include
+    its copyright (GPLv2) info to debian/copyright.
+  * Change section to perl.
+  * Claim compliance with Policy 3.5.9 (no changes needed).
+
+ -- Jonas Smedegaard <dr@jones.dk>  Wed,  9 Apr 2003 02:29:02 +0200
+
+libgd-graph-perl (1.35+1.36nofont-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Repackage upstream tarball to not include the truetype font: It
+    lacks copyright and license info, and is therefore not allowed
+    within Debian.
+    + Make a note in debian/copyright about it.
+    + Set urgency=medium on this upload.
+  * Change to new default compilation options according to policy 3.5.7.
+  * Run a 'make test' at compile time. Build-depend on libgd-text-perl.
+  * Claim to comply with policy version 3.5.8.
+  * Remove reference to no longer existing 20thcent.ttf and
+    20thcent_Read_Me.txt.
+
+ -- Jonas Smedegaard <dr@jones.dk>  Sun, 16 Feb 2003 13:52:39 +0100
+
+libgd-graph-perl (1.35-4) unstable; urgency=low
+
+  * Depend on all variants of libgd-perl, and favor libgd-gd2-noxpm-perl
+    (GD 2.x is no longer considered beta by upstream).
+  * Add watch file.
+
+ -- Jonas Smedegaard <dr@jones.dk>  Tue, 12 Nov 2002 04:53:41 +0100
+
+libgd-graph-perl (1.35-3) unstable; urgency=low
+
+  * Depend on either libgd-perl or libgd-gd2-perl.
+
+ -- Jonas Smedegaard <dr@jones.dk>  Thu, 29 Aug 2002 06:48:50 +0200
+
+libgd-graph-perl (1.35-2) unstable; urgency=low
+
+  * Depend on unversioned libgd-perl, now that it is only a virtual
+    package (and stable Debian contains libgd-perl way above the
+    critical 1.9).
+  * Build the package using binary-indep build-target (closes: #157481).
+  * Add the non-clause to copyright, just to be on the safe side...
+
+ -- Jonas Smedegaard <dr@jones.dk>  Thu, 22 Aug 2002 09:19:18 +0200
+
+libgd-graph-perl (1.35-1) unstable; urgency=low
+
+  * Newer upstream version.
+  * Update copyright (add -2002, no other changes).
+
+ -- Jonas Smedegaard <dr@jones.dk>  Wed,  3 Jul 2002 21:25:26 +0200
+
+libgd-graph-perl (1.33-4) unstable; urgency=low
+
+  * Friendly takeover (Thanks, Piotr!): Change Maintainer field.
+  * Repackaged using make-dh-perl.
+  * Rewrite copyright.
+
+ -- Jonas Smedegaard <dr@jones.dk>  Mon, 25 Mar 2002 20:24:31 +0100
+
+libgd-graph-perl (1.33-3) unstable; urgency=low
+
+  * Build-Depends-Indep field in debian/control
+
+ -- Piotr Roszatycki <dexter@debian.org>  Wed, 17 Oct 2001 15:47:59 +0200
+
+libgd-graph-perl (1.33-2) unstable; urgency=low
+
+  * Updated debian/watch
+  * woody release
+
+ -- Piotr Roszatycki <dexter@debian.org>  Mon, 30 Jul 2001 11:33:43 +0200
+
+libgd-graph-perl (1.33-1) unstable; urgency=low
+
+  * New upstream release
+  * Moved out from contrib to main.
+
+ -- Piotr Roszatycki <dexter@debian.org>  Wed, 31 Jan 2001 11:20:22 +0000
+
+libgd-graph-perl (1.32-1) unstable; urgency=low
+
+  * New upstream release
+  * New yada compatible with Standards-Version: 3.1.0
+
+ -- Piotr Roszatycki <dexter@debian.org>  Sat, 22 Jul 2000 00:15:21 +0200
+
+libgd-graph-perl (1.31-1) unstable; urgency=low
+
+  * This release closes: #59442
+  * Depends: ${perl:Depends}
+  * debian/watch
+  * New upstream release
+
+ -- Piotr Roszatycki <dexter@debian.org>  Wed,  3 May 2000 16:09:09 +0200
+
+libgd-graph-perl (1.24-1) unstable; urgency=low
+
+  * The new different upstream source taken from CPAN.
+  * yada 0.9
+
+ -- Piotr Roszatycki <dexter@debian.org>  Fri,  7 Apr 2000 12:58:29 +0200
+
+libgd-graph-perl (0.9-2) unstable; urgency=low
+
+  * /usr/doc/... symlink.
+
+ -- Piotr Roszatycki <dexter@debian.org>  Mon, 18 Oct 1999 19:25:31 +0200
+
+libgd-graph-perl (0.9-1) unstable; urgency=low
+
+  * Initial Debian version.
+
+ -- Piotr Roszatycki <dexter@debian.org>  Wed, 25 Aug 1999 21:32:14 +0200
+
--- libgd-graph-perl-1.44.orig/debian/watch
+++ libgd-graph-perl-1.44/debian/watch
@@ -0,0 +1,4 @@
+# Run the "uscan" command to check for upstream updates and more.
+version=3
+opts="uversionmangle=s/(\d)\.(\d{2})(\d{2})/$1.$2.$3/" \
+	http://www.cpan.org/modules/by-module/GD/GDGraph-([\d+\.]+)\.tar\.gz debian svn-upgrade
--- libgd-graph-perl-1.44.orig/debian/cdbs/1/rules/upstream-tarball.mk
+++ libgd-graph-perl-1.44/debian/cdbs/1/rules/upstream-tarball.mk
@@ -0,0 +1,139 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2007-2008 Jonas Smedegaard <dr@jones.dk>
+# Description: Convenience rules for dealing with upstream tarballs
+#
+# This program 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, or (at
+# your option) any later version.
+#
+# This program 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., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_rules_upstream_tarball
+_cdbs_rules_upstream_tarball := 1
+
+include $(_cdbs_rules_path)/buildvars.mk$(_cdbs_makefile_suffix)
+
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), cdbs (>= 0.4.39)
+
+# Prefix for upstream location of all upstream tarballs (mandatory!)
+#DEB_UPSTREAM_URL = 
+
+DEB_UPSTREAM_PACKAGE = $(DEB_SOURCE_PACKAGE)
+DEB_UPSTREAM_TARBALL_VERSION = $(if $(strip $(DEB_UPSTREAM_REPACKAGE_EXCLUDE)),$(DEB_UPSTREAM_VERSION:$(DEB_UPSTREAM_REPACKAGE_DELIMITER)$(DEB_UPSTREAM_REPACKAGE_TAG)=),$(DEB_UPSTREAM_VERSION))
+DEB_UPSTREAM_TARBALL_EXTENSION = tar.gz
+# Checksum to ensure integrity of downloadeds using get-orig-source (optional)
+#DEB_UPSTREAM_TARBALL_MD5 = 
+
+DEB_UPSTREAM_WORKDIR = ../tarballs
+
+# Perl regexp to change locally used string into that in upstream URL and srcdir
+#DEB_UPSTREAM_TARBALL_VERSION_MANGLE
+cdbs_upstream_tarball_version_mangled = $(if $(strip $(DEB_UPSTREAM_TARBALL_VERSION_MANGLE)),$(shell echo '$(DEB_UPSTREAM_TARBALL_VERSION)' | perl -pe '$(DEB_UPSTREAM_TARBALL_VERSION_MANGLE)'),$(DEB_UPSTREAM_TARBALL_VERSION))
+
+# Base filename (without extension) as used in upstream URL
+DEB_UPSTREAM_TARBALL_BASENAME = $(DEB_UPSTREAM_PACKAGE)-$(cdbs_upstream_tarball_version_mangled)
+
+# Base directory within tarball
+DEB_UPSTREAM_TARBALL_SRCDIR = $(DEB_UPSTREAM_PACKAGE)-$(cdbs_upstream_tarball_version_mangled)
+
+# Space-delimited list of directories and files to strip (optional)
+#DEB_UPSTREAM_REPACKAGE_EXCLUDE = CVS .cvsignore doc/rfc*.txt doc/draft*.txt
+DEB_UPSTREAM_REPACKAGE_TAG = dfsg
+DEB_UPSTREAM_REPACKAGE_DELIMITER = ~
+
+cdbs_upstream_tarball = $(DEB_UPSTREAM_TARBALL_BASENAME).$(DEB_UPSTREAM_TARBALL_EXTENSION)
+cdbs_upstream_local_tarball = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_TARBALL_VERSION).orig.$(if $(findstring $(DEB_UPSTREAM_TARBALL_EXTENSION),tgz),tar.gz,$(DEB_UPSTREAM_TARBALL_EXTENSION))
+cdbs_upstream_repackaged_basename = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_TARBALL_VERSION)$(DEB_UPSTREAM_REPACKAGE_DELIMITER)$(DEB_UPSTREAM_REPACKAGE_TAG).orig
+cdbs_upstream_uncompressed_tarball = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_TARBALL_VERSION).orig.tar
+
+# # These variables are deprecated
+_cdbs_deprecated_vars += DEB_UPSTREAM_TARBALL DEB_UPSTREAM_LOCAL_TARBALL DEB_UPSTREAM_REPACKAGE_TARBALL
+_cdbs_deprecated_vars += DEB_UPSTREAM_REPACKAGE_EXCLUDES
+DEB_UPSTREAM_REPACKAGE_EXCLUDE += $(DEB_UPSTREAM_REPACKAGE_EXCLUDES)
+
+print-version:
+	@@echo "Debian version:          $(DEB_VERSION)"
+	@@echo "Upstream version:        $(DEB_UPSTREAM_TARBALL_VERSION)"
+
+get-orig-source:
+	@@dh_testdir
+	@@mkdir -p "$(DEB_UPSTREAM_WORKDIR)"
+
+	@if [ ! -s "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" ] ; then \
+		if [ -f "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" ] ; then \
+			rm "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" ; \
+		fi ; \
+		echo "Downloading $(cdbs_upstream_local_tarball) from $(DEB_UPSTREAM_URL)/$(cdbs_upstream_tarball) ..." ; \
+		wget -nv -T10 -t3 -O "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" "$(DEB_UPSTREAM_URL)/$(cdbs_upstream_tarball)" ; \
+	else \
+		echo "Upstream source tarball have been already downloaded: $(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" ; \
+	fi
+
+	@md5current=`md5sum "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" | sed -e 's/ .*//'`; \
+	if [ -n "$(DEB_UPSTREAM_TARBALL_MD5)" ] ; then \
+		if [ "$$md5current" != "$(DEB_UPSTREAM_TARBALL_MD5)" ] ; then \
+			echo "Expecting upstream tarball md5sum $(DEB_UPSTREAM_TARBALL_MD5), but $$md5current found" ; \
+			echo "Upstream tarball md5sum is NOT trusted! Possible upstream tarball forge!" ; \
+			echo "Purging downloaded file. Try new download." ; \
+			rm -f "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" ; \
+			false ; \
+		else \
+			echo "Upstream tarball is trusted!" ; \
+		fi; \
+	else \
+		echo "Upstream tarball NOT trusted (current md5sum is $$md5current)!" ; \
+	fi
+
+# TODO: Rewrite using make variables like cdbs_upstream_unpack_cmd and
+# DEB_UPSTREAM_SUPPORTED_COMPRESSIONS (recent dpkg supports bz2)
+	@untar="tar -x -C"; \
+	case "$(cdbs_upstream_local_tarball)" in \
+	    *.tar.gz)  unpack="gunzip -c";; \
+	    *.tar.bz2) unpack="bunzip2 -c";    uncompress="bunzip2";; \
+	    *.tar.Z)   unpack="uncompress -c"; uncompress="uncompress";; \
+	    *.zip)     unpack="unzip -q";      uncompress="false";       untar="-d"; nopipe="true";; \
+	    *.tar)     unpack="cat";           uncompress="true";; \
+	    *) echo "Unknown extension for upstream tarball $(cdbs_upstream_local_tarball)"; false;; \
+	esac && \
+	if [ -n "$(strip $(DEB_UPSTREAM_REPACKAGE_EXCLUDE))" ] || [ "$$uncompress" = "false" ]; then \
+		echo "Repackaging tarball ..." && \
+		mkdir -p "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" && \
+		if [ -n "$$nopipe" ]; then \
+			$$unpack "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" \
+				$$untar "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" $(patsubst %,--exclude='%',$(DEB_UPSTREAM_REPACKAGE_EXCLUDE)); \
+		else \
+			$$unpack "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" \
+				| $$untar "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" $(patsubst %,--exclude='%',$(DEB_UPSTREAM_REPACKAGE_EXCLUDE)); \
+		fi && \
+		if [ "$(DEB_UPSTREAM_TARBALL_SRCDIR)" != "$(cdbs_upstream_repackaged_basename)" ]; then \
+			mv -T "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)/$(DEB_UPSTREAM_TARBALL_SRCDIR)" "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)/$(cdbs_upstream_repackaged_basename)"; \
+		fi && \
+		if [ -n "$(strip $(DEB_UPSTREAM_REPACKAGE_EXCLUDE))" ]; then \
+			GZIP=-9 tar -b1 -czf "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_repackaged_basename).tar.gz" -C "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" "$(cdbs_upstream_repackaged_basename)"; \
+		else \
+			GZIP=-9 tar -b1 -czf "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_uncompressed_tarball).gz" -C "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" "$(cdbs_upstream_repackaged_basename)"; \
+		fi && \
+		echo "Cleaning up" && \
+		rm -rf "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)"; \
+	elif [ -n "$$uncompress" ]; then \
+		echo "Recompressing tarball ..." && \
+		$$uncompress "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)"; \
+		gzip -9 "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_uncompressed_tarball)"; \
+	fi
+
+DEB_PHONY_RULES += print-version get-orig-source
+
+endif
--- libgd-graph-perl-1.44.orig/debian/cdbs/1/rules/copyright-check.mk
+++ libgd-graph-perl-1.44/debian/cdbs/1/rules/copyright-check.mk
@@ -0,0 +1,97 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2005-2008 Jonas Smedegaard <dr@jones.dk>
+# Description: Check for changes to copyright notices in source
+#
+# This program 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, or (at
+# your option) any later version.
+#
+# This program 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., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_rules_copyright-check
+_cdbs_rules_copyright-check := 1
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), devscripts (>= 2.10.7)
+
+# Set to yes to fail on changed/new hints are found
+#DEB_COPYRIGHT_CHECK_STRICT := yes
+
+# Single regular expression for files to include or ignore
+DEB_COPYRIGHT_CHECK_REGEX = .*
+DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^(debian/.*|(.*/)?config\.(guess|sub|rpath)(\..*)?)$
+
+pre-build:: debian/stamp-copyright-check
+
+debian/stamp-copyright-check:
+	@echo 'Scanning upstream source for new/changed copyright notices (except debian subdir!)...'
+
+# Perl in shell in make requires extra care:
+#  * Single-quoting ('...') protects against shell expansion
+#  * Double-dollar ($$) expands to plain dollar ($) in make
+	licensecheck -c '$(DEB_COPYRIGHT_CHECK_REGEX)' -r --copyright -i '$(DEB_COPYRIGHT_CHECK_IGNORE_REGEX)' * \
+		| LC_ALL=C perl -e \
+	'$$n=0; while (<>) {'\
+	'	s/[^[:print:]]//g;'\
+	'	if (/^([^:\s][^:]+):[\s]+(\S.*?)\s*$$/) {'\
+	'		$$files[$$n]{name}=$$1;'\
+	'		$$files[$$n]{license}=$$2;'\
+	'	};'\
+	'	if (/^\s*\[Copyright:\s*(\S.*?)\s*\]/) {'\
+	'		$$files[$$n]{copyright}=$$1;'\
+	'	};'\
+	'	/^$$/ and $$n++;'\
+	'};'\
+	'foreach $$file (@files) {'\
+	'	$$file->{license} =~ s/\s*\(with incorrect FSF address\)//;'\
+	'	$$file->{license} =~ s/\s+\(v([^)]+) or later\)/-$$1+/;'\
+	'	$$file->{copyright} =~ s/(?<=(\b\d{4}))(?{$$y=$$^N})\s*[,-]\s*((??{$$y+1}))\b/-$$2/g;'\
+	'	$$file->{copyright} =~ s/(?<=\b\d{4})\s*-\s*\d{4}(?=\s*-\s*(\d{4})\b)//g;'\
+	'	$$pattern = "$$file->{license} [$$file->{copyright}]";'\
+	'	push @{ $$patternfiles{"$$pattern"} }, $$file->{name};'\
+	'};'\
+	'foreach $$pattern ( sort {'\
+	'			@{$$patternfiles{$$b}} <=> @{$$patternfiles{$$a}}'\
+	'			||'\
+	'			$$a cmp $$b'\
+	'		} keys %patternfiles ) {'\
+	'	print "$$pattern: ", join("\n\t", sort @{ $$patternfiles{$$pattern} }), "\n";'\
+	'};'\
+		> debian/copyright_newhints
+	@patterncount="`cat debian/copyright_newhints | sed 's/^[^:]*://' | LANG=C sort -u | grep . -c -`"; \
+		echo "Found $$patterncount different copyright and licensing combinations."
+	@if [ ! -f debian/copyright_hints ]; then touch debian/copyright_hints; fi
+	@newstrings=`diff -u debian/copyright_hints debian/copyright_newhints | sed '1,2d' | egrep '^\+' - | sed 's/^\+//'`; \
+		if [ -n "$$newstrings" ]; then \
+			echo "$(if $(DEB_COPYRIGHT_CHECK_STRICT),ERROR,WARNING): The following new or changed copyright notices discovered:"; \
+			echo; \
+			echo "$$newstrings"; \
+			echo; \
+			echo "To fix the situation please do the following:"; \
+			echo "  1) Investigate the above changes and update debian/copyright as needed"; \
+			echo "  2) Replace debian/copyright_hints with debian/copyright_newhints"; \
+			$(if $(DEB_COPYRIGHT_CHECK_STRICT),exit 1,:); \
+		else \
+			echo 'No new copyright notices found - assuming no news is good news...'; \
+			rm -f debian/copyright_newhints; \
+		fi
+	touch $@
+
+clean::
+	rm -f debian/stamp-copyright-check
+
+endif
--- libgd-graph-perl-1.44.orig/debian/cdbs/1/rules/buildinfo.mk
+++ libgd-graph-perl-1.44/debian/cdbs/1/rules/buildinfo.mk
@@ -0,0 +1,40 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2004-2006 Jonas Smedegaard <dr@jones.dk>
+# Description: Generate and include build information
+#
+# This program 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, or (at
+# your option) any later version.
+#
+# This program 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., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_rules_buildinfo
+_cdbs_rules_buildinfo = 1
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), dh-buildinfo
+
+common-install-arch common-install-indep:: debian/stamp-buildinfo
+
+debian/stamp-buildinfo:
+	dh_buildinfo
+	touch debian/stamp-buildinfo
+
+clean::
+	rm -f debian/stamp-buildinfo
+
+endif
