--- pdfedit-0.4.1.orig/debian/changelog
+++ pdfedit-0.4.1/debian/changelog
@@ -0,0 +1,101 @@
+pdfedit (0.4.1-1~bpo40+1) etch-backports; urgency=low
+
+  * Rebuild for etch-backports.
+
+ -- Philipp Kern <pkern@debian.org>  Mon, 16 Jun 2008 10:49:18 +0200
+
+pdfedit (0.4.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Update copyright file
+  * Remove all patches - merged upstream
+
+ -- Varun Hiremath <varun@debian.org>  Mon, 25 Feb 2008 11:25:28 +0530
+
+pdfedit (0.3.2-5) unstable; urgency=low
+
+  * Add patches/headers.diff to fix FTBFS with GCC 4.3 (Closes: #455294)
+  * Update debian/copyright
+  * Bumped up Standards-Version to 3.7.3; no changes needed.
+
+ -- Varun Hiremath <varun@debian.org>  Tue, 11 Dec 2007 11:55:09 +0530
+
+pdfedit (0.3.2-4) unstable; urgency=low
+
+  * Add upstream patch collect_revision-fix.diff which fixes segfaults
+    while opening pdfs previously edited by pdfedit (Closes: 450627)
+
+ -- Varun Hiremath <varunhiremath@gmail.com>  Wed, 21 Nov 2007 03:31:43 +0530
+
+pdfedit (0.3.2-3) unstable; urgency=low
+
+  * Add some patches and modify debian/rules to enable noopt and debug
+    debian build options (Closes: #450635)
+  * debian/control: Add Homepage header and replace XS-Vcs with Vcs.
+
+ -- Varun Hiremath <varunhiremath@gmail.com>  Mon, 12 Nov 2007 12:11:06 +0530
+
+pdfedit (0.3.2-2) unstable; urgency=low
+
+  * debian/control: add xsltproc, doxygen to Build-Depends (Closes: #441724)
+  * debian/patches: add no_pdf.diff to stop building pdfs.
+
+ -- Varun Hiremath <varunhiremath@gmail.com>  Tue, 11 Sep 2007 18:40:16 +0530
+
+pdfedit (0.3.2-1) unstable; urgency=low
+
+  [ Varun Hiremath ]
+  * New upstream release
+  * debian/control: Add XS-Vcs-{Svn,Browser} headers.
+  * debian/rules: implement get-orig-source
+
+  [ Torsten Werner ]
+  * Change pdfedit.desktop to conform to the Desktop Menu Specification.
+
+ -- Torsten Werner <twerner@debian.org>  Fri, 07 Sep 2007 21:14:15 +0200
+
+pdfedit (0.3.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Remove all patches merged upstream
+  * Add upstream documentation to debian/docs
+
+ -- Varun Hiremath <varunhiremath@gmail.com>  Sat, 05 May 2007 20:58:30 +0530
+
+pdfedit (0.3.0-2) unstable; urgency=low
+
+  [ Torsten Werner ]
+  * Add Build-Depends: libpaper-dev.
+  * Add patch for g++-4.3. (Closes: #417471)
+
+  [ Varun Hiremath ]
+  * Add patch to fix FTBFS with GCC 4.3: error: extra ';' (Closes: #420994). 
+    Thanks to Martin Michlmayr.
+
+ -- Varun Hiremath <varunhiremath@gmail.com>  Thu, 26 Apr 2007 18:15:27 +0530
+
+pdfedit (0.3.0-1) unstable; urgency=low
+
+  * New upstream release
+  * Remove patches/clean_files.diff, merged upstream
+  * debian/control: remove quilt from Build-Depends, no patches being used.
+
+ -- Varun Hiremath <varunhiremath@gmail.com>  Sun, 15 Apr 2007 13:47:28 +0530
+
+pdfedit (0.2.5-2) unstable; urgency=low
+
+  * debian/copyright: Include the correct BSD license text (Closes: #412761)
+
+ -- Varun Hiremath <varunhiremath@gmail.com>  Tue, 20 Feb 2007 22:20:29 +0530
+
+pdfedit (0.2.5-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Varun Hiremath <varunhiremath@gmail.com>  Tue, 20 Feb 2007 15:06:55 +0530
+
+pdfedit (0.2.3-1) unstable; urgency=low
+
+  * Initial release (Closes: #398838)
+
+ -- Varun Hiremath <varunhiremath@gmail.com>  Thu, 11 Jan 2007 10:48:59 +0530
--- pdfedit-0.4.1.orig/debian/control
+++ pdfedit-0.4.1/debian/control
@@ -0,0 +1,23 @@
+Source: pdfedit
+Section: utils
+Priority: optional
+Maintainer: Varun Hiremath <varun@debian.org>
+Uploaders: Torsten Werner <twerner@debian.org>
+Build-Depends: cdbs, debhelper (>= 5), libboost-iostreams-dev,
+ qt3-dev-tools, libqt3-mt-dev, libpaper-dev, xsltproc, doxygen
+Standards-Version: 3.7.3
+Homepage: http://pdfedit.petricek.net/
+Vcs-Svn: https://bollin.googlecode.com/svn/pdfedit/
+Vcs-Browser: http://bollin.googlecode.com/svn/pdfedit/
+
+Package: pdfedit
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Editor for manipulating PDF documents
+ Complete editing of pdf documents is made possible with PDFedit. You
+ can change either raw pdf objects (for advanced users) or use
+ predefined gui functions. Functions can be easily added as everything
+ is based on a scripts.
+ .
+ Scripting is used to a great extent in editor and almost anything can
+ be scripted, it is possible to create own scripts or plugins.
--- pdfedit-0.4.1.orig/debian/compat
+++ pdfedit-0.4.1/debian/compat
@@ -0,0 +1 @@
+5
--- pdfedit-0.4.1.orig/debian/watch
+++ pdfedit-0.4.1/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://sf.net/pdfedit/ pdfedit-(.*)\.tar\.gz debian debian/orig-tar.sh
+
--- pdfedit-0.4.1.orig/debian/pdfedit.desktop
+++ pdfedit-0.4.1/debian/pdfedit.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=PDF Editor
+Comment=PDF Editor
+Exec=pdfedit
+Icon=/usr/share/pdfedit/icon/pdfedit_logo.png
+Type=Application
+StartupNotify=false
+Terminal=false
+Categories=TextTools;Viewer;Graphics;Qt
--- pdfedit-0.4.1.orig/debian/copyright
+++ pdfedit-0.4.1/debian/copyright
@@ -0,0 +1,66 @@
+This package was debianized by Varun Hiremath <varunhiremath@gmail.com> on
+Thu, 11 Jan 2007 10:48:59 +0530.
+
+It was downloaded from http://sourceforge.net/projects/pdfedit
+
+Upstream Authors: 
+    Martin Beran <beran@ms.mff.cuni.cz>
+    Michal Hocko <mstsxfx@gmail.com>	
+    Jozef Misutka <misutkajunior@hotmail.com>
+    Martin Petricek <martin@petricek.net>
+    Miroslav Jahoda <vemem@email.cz>
+    
+Copyright: (C) 2006-2008 PDFedit team
+
+QSA Qt Toolkit Copyright: (C) 1992-2007 Trolltech AS.
+
+kpdf-kde Copyright:
+    (C) 2003-2004 Christophe Devriese <Christophe.Devriese@student.kuleuven.ac.be>
+    (C) 2003 Helio Chissini de Castro <helio@conectiva.com.br>
+    (C) 2003 Dirk Mueller <mueller@kde.org>
+    (C) 2003 Scott Wheeler <wheeler@kde.org>
+    (C) 2003 Ingo Klocker <kloecker@kde.org>
+    (C) 2003 Andy Goossens <andygoossens@telenet.be>
+    (C) 2004 Dominique Devriese <devriese@kde.org>
+    (C) 2004 Albert Astals Cid <tsdgeos@terra.es>
+    (C) 2003 Will Andrews <will@csociety.org>
+    (C) 2004 Waldo Bastian <bastian@kde.org>
+    (C) 2003 Laurent Montel <montel@kde.org>
+    
+Xpdf et. al. software and documentation are copyright: 
+    (C) 1996-2007 Glyph & Cog, LLC
+
+The PDF data structures, operators, and specification are copyright:
+    (C) 1985-2004 Adobe Systems Inc.  
+
+Some files in tools are copyright:
+    (C) 2003-2006 David Caldwell <david@porkrind.org>
+    (C) 2003-2006 Jim Radford <radford@bleackbean.org>
+
+Some files in config are copyright:
+    (C) 1999 Matthew D. Langston <langston@SLAC.Stanford.EDU>
+    (C) 1998 Steve Robbins <stever@cs.mcgill.ca>
+    (C) 2001, 2003, 2007 David Turner, Robert Wilhelm, and Werner Lemberg
+
+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.
+
+    On Debian systems, the complete text of the GNU General
+    Public License can be found in `/usr/share/common-licenses/GPL'.
+----
+
+src/xpdf/goo/vms_unix_time.h is Copyright (c) 1982, 1986 Regents of
+the University of California and is licensed under the BSD license.
+On Debian systems, the complete text of the BSD license can be found
+here: /usr/share/common-licenses/BSD
+
+The Debian packaging is (C) 2007, Varun Hiremath <varunhiremath@gmail.com> and
+is licensed under the GPL, see above.
--- pdfedit-0.4.1.orig/debian/rules
+++ pdfedit-0.4.1/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+export QTDIR=/usr/share/qt3
+
+export CXXFLAGS=-g -Wall
+export CFLAGS=-g -Wall
+
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+DEB_CONFIGURE_EXTRA_FLAGS := --disable-release --with-root-dir=$(DEB_DESTDIR)
+
+install/pdfedit::
+	$(RM) $(DEB_DESTDIR)/usr/share/doc/pdfedit/README.cygwin
+	$(RM) $(DEB_DESTDIR)/usr/share/doc/pdfedit/LICENSE.GPL
+	$(RM) $(DEB_DESTDIR)/usr/share/doc/pdfedit/Changelog
+	chmod 644 $(DEB_DESTDIR)/usr/share/pdfedit/icon/hicolor/*
+	chmod 644 $(DEB_DESTDIR)/usr/share/pdfedit/icon/Tango/*
+	dh_install debian/pdfedit.desktop /usr/share/applications/
+
+get-orig-source:
+	-uscan --upstream-version 0 --rename
--- pdfedit-0.4.1.orig/debian/orig-tar.sh
+++ pdfedit-0.4.1/debian/orig-tar.sh
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+  . .svn/deb-layout
+  mv $3 $origDir
+  echo "moved $3 to $origDir"
+fi
+
+exit 0
+
