--- flpsed-0.5.2.orig/debian/install
+++ flpsed-0.5.2/debian/install
@@ -0,0 +1 @@
+debian/flpsed.desktop usr/share/applications
--- flpsed-0.5.2.orig/debian/rules
+++ flpsed-0.5.2/debian/rules
@@ -0,0 +1,69 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+CXXFLAGS = -g -Wall
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CXXFLAGS += -O0
+else
+ CXXFLAGS += -O2
+endif
+
+build: build-stamp
+
+build-stamp:
+ dh_testdir
+ ./configure --prefix=/usr --mandir=/usr/share/man
+
+ $(MAKE) "CXXFLAGS=$(CXXFLAGS)"
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ [ ! -f Makefile ] || $(MAKE) distclean
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ $(MAKE) install DESTDIR=`pwd`/debian/flpsed/
+
+ dh_install
+
+binary-indep: build install
+# We have nothing to do by default.
+
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs ChangeLog
+ dh_installdocs
+# dh_installexamples
+# dh_install
+ dh_installmenu
+# dh_installman flpsed.1
+ dh_desktop
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- flpsed-0.5.2.orig/debian/control
+++ flpsed-0.5.2/debian/control
@@ -0,0 +1,20 @@
+Source: flpsed
+Section: graphics
+Priority: extra
+Maintainer: Kapil Hari Paranjape <kapil@debian.org>
+Build-Depends: debhelper (>= 5.0.42), libfltk1.1-dev (>= 1.1.6-6)
+Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/flpsed/
+Homepage: http://www.ecademix.com/JohannesHofmann/flpsed.html
+Standards-Version: 3.8.0
+
+Package: flpsed
+Architecture: any
+Depends: ghostscript-x (>= 8.62.dfsg.1-2.1), ${shlibs:Depends}, ${misc:Depends}
+Recommends: xpdf-utils | poppler-utils
+Description: a WYSIWYG pseudo PostScript editor
+ flpsed is a WYSIWYG pseudo PostScript editor. "Pseudo", because you can't
+ remove or modify existing elements of a document. But flpsed lets you add
+ arbitrary text lines to existing PostScript 1 documents. Added lines can
+ later be reedited with flpsed. Using pdftops, which is part of xpdf one can
+ convert PDF documents to PostScript and also add text to them. flpsed is
+ useful for filling in forms, adding notes etc.
--- flpsed-0.5.2.orig/debian/compat
+++ flpsed-0.5.2/debian/compat
@@ -0,0 +1 @@
+5
--- flpsed-0.5.2.orig/debian/flpsed.desktop
+++ flpsed-0.5.2/debian/flpsed.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Version=1.0
+Name=flpsed PDF Annotator
+Comment=Add text and annotations to PDF and PostScript documents
+Type=Application
+Exec=flpsed
+Categories=Graphics;Viewer;WordProcessor;
--- flpsed-0.5.2.orig/debian/watch
+++ flpsed-0.5.2/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/\.(tar.*|tgz|zip|gz|bz2)$//i,dversionmangle=s/[-.+~]?(cvs|svn|git|snapshot|pre|hg)(.*)$//i,pasv \
+http://www.ecademix.com/JohannesHofmann/flpsed.html (?:.*/)?flpsed-?_?(0.5.[\d+\.]+|\d+)\.(tar.*|tgz|zip|gz|bz2|) debian uupdate
--- flpsed-0.5.2.orig/debian/docs
+++ flpsed-0.5.2/debian/docs
@@ -0,0 +1 @@
+README NEWS
--- flpsed-0.5.2.orig/debian/changelog
+++ flpsed-0.5.2/debian/changelog
@@ -0,0 +1,134 @@
+flpsed (0.5.2-1) unstable; urgency=low
+
+ * New upstream release (0.5.2). Some page navigation features
+ added.
+
+ -- Kapil Hari Paranjape <kapil@debian.org> Mon, 02 Mar 2009 09:51:14 +0530
+
+flpsed (0.5.1-2) stable-proposed-updates; urgency=low
+
+ * debian/control: replaced "ghostscript" dependency with
+ "ghostscript-x" since we use "x11alpha" driver.
+ Closes: #517521.
+
+ -- Kapil Hari Paranjape <kapil@debian.org> Mon, 02 Mar 2009 09:50:14 +0530
+
+flpsed (0.5.1-1) unstable; urgency=low
+
+ * New upstream release (0.5.1)
+ - adds a simple print command dialog. (Closes: #481194)
+ - source cleanup.
+ * debian/flpsed.sgml: removed as it is no longer required.
+
+ -- Kapil Hari Paranjape <kapil@debian.org> Wed, 09 Jul 2008 10:01:10 +0530
+
+flpsed (0.5.0-3) unstable; urgency=low
+
+ * debian/control:
+ - added Vcs-Svn tag.
+ - removed gs-* dependencies
+ - bumped debhelper dependency version to etch version 5.0.42.
+ - Standards-Version 3.8.0. No other changes required.
+ * debian/compat: bumped to 5 since "oldstable" support
+ is no longer required.
+ * debian/watch: added entries to track versions 0.5.x
+ since 0.6.x onwards will use fltk2.x.
+
+ -- Kapil Hari Paranjape <kapil@debian.org> Sun, 06 Jul 2008 09:11:20 +0530
+
+flpsed (0.5.0-2) unstable; urgency=low
+
+ * New maintainer. (Closes: #460045)
+ - Thanks to the previous maintainer Morten Brix Pedersen.
+ - Thanks to the NMU by A. Menucc1.
+ - Thanks to the packaging of version 0.5.0 by Mark Purcell.
+ * Fixed earlier changelog entries by Mark Purcell to mark
+ additional bug fixes due to new upstream release package.
+ * debian/menu: Used new "Applications" section instead of "Apps".
+ * debian/control:
+ - Standards version 3.7.3. No changes required.
+ - Added alternatives "ghostscript" and "gs" in addition to "gs-esp"
+ in "Depends:" for "flpsed".
+ - Removed un-needed "Build-Depends:" on "docbook-to-man" and
+ "dpatch".
+ - Updated debhelper dependency to at least 4.2.21 since we use
+ "dh_desktop".
+ * debian/rules: Modified "clean" target to catch "distclean" errors.
+ * Incorporate upstream man page "flpsed.1".
+ - debian/rules:
+ + "build": add "--mandir=/usr/share/man" to configure.
+ + "build": avoid conversion of "debian/flpsed.sgml".
+ + "install": avoid invocation of "dh_installman flpsed.1" in
+ since upstream Makefile already does this.
+ + "clean": remove removal of manpage.
+ - revert changes made to Makefile.{am,in} in version 0.5.0-1
+ which undid installation of upstream's manpage.
+ * Incorporate desktop files. Thanks to Emmet Hikory and Stefan Potyra.
+ - debian/flpsed.desktop: added.
+ - debian/dirs: added entry "usr/share/applications".
+ - debian/install: added entry for "debian/flpsed.desktop".
+ - debian/rules: added "dh_install" to "install" rules and
+ "dh_desktop" to "binary" rules.
+ * debian/copyright:
+ - added copyright assertion for the files under "debian/".
+ - minor cleanup.
+
+ -- Kapil Hari Paranjape <kapil@debian.org> Sat, 19 Jan 2008 09:01:33 +0530
+
+flpsed (0.5.0-1) unknown; urgency=low
+
+ * New upstream release (0.5.0). (Closes: #401205, #364300)
+ - Uses "gs" instead of "gs-esp". (Closes: #448261)
+
+ -- Mark Purcell <msp@debian.org> Sat, 27 Oct 2007 15:34:02 +0100
+
+flpsed (0.3.7-1.1) unstable; urgency=high
+
+ * NMU, backported some changes from version 0.3.9
+ * debian/rules : use "make distclean" to delete .deps dirs and other cruft
+ * Add "Depends: gs-esp" and use gs-esp (Closes: #402451).
+ The lack of dependency is a RC bug, hence the urgency.
+ * GsWidget::setProps() : call XSync()
+ (this is done in 0.3.9 to use gs-gpl ; it does not solve bug 402451
+ in Debian; but it makes sense nonetheless)
+ * Add Recommends: xpdf-utils | poppler-utils ; this fixes bug
+ "pdftops needed for pdf import", thanks to Stephan Beyer (Closes: #388318).
+ * Bug fix: "flpsed generates postscript with references to an unknown
+ font 'HelveticaNeue-Roman'", thanks to Jochen Eisinger (Closes: #398906)
+ (this change is also part of the newer 0.3.9, so it is a backport)
+
+ -- A Mennucc1 <mennucc1@debian.org> Fri, 12 Jan 2007 09:37:15 +0100
+
+flpsed (0.3.7-1) unstable; urgency=low
+
+ * New upstream release. Closes: #357749.
+ - Fix build failure with g++ 4.1. Closes: #356242.
+ * Update FSF address in debian/copyright
+ * Update standards version to 3.6.2
+
+ -- Morten Brix Pedersen <morten@wtf.dk> Mon, 24 Apr 2006 12:01:12 +0200
+
+flpsed (0.3.5-1) unstable; urgency=low
+
+ * New upstream release. Closes: #313018.
+ * This version supports colors. Closes: #316054.
+ * Compiled against new fltk, which has finished the C++ ABI transition.
+ (Closes: #321430)
+ * Remove previously applied patch. Merged upstream.
+ * Change section from graphics/optional to graphics/extra.
+
+ -- Morten Brix Pedersen <morten@wtf.dk> Mon, 18 Jul 2005 04:14:09 +0200
+
+flpsed (0.3.3-1) unstable; urgency=low
+
+ * New upstream release.
+ * Applied patch to fix FTBFS on amd64. Closes: #303406.
+
+ -- Morten Brix Pedersen <morten@wtf.dk> Wed, 6 Apr 2005 22:09:28 +0100
+
+flpsed (0.3.2-1) unstable; urgency=low
+
+ * Initial release. Closes: #296177.
+
+ -- Morten Brix Pedersen <morten@wtf.dk> Thu, 17 Feb 2005 18:26:10 +0100
+
--- flpsed-0.5.2.orig/debian/menu
+++ flpsed-0.5.2/debian/menu
@@ -0,0 +1,2 @@
+?package(flpsed):needs="X11" section="Applications/Graphics"\
+ title="Flpsed" command="/usr/bin/flpsed"
--- flpsed-0.5.2.orig/debian/copyright
+++ flpsed-0.5.2/debian/copyright
@@ -0,0 +1,53 @@
+Files under debian/:
+--------------------
+This package was debianized by Morten Brix Pedersen <morten@wtf.dk> on
+Thu, 17 Feb 2005 18:26:10 +0100.
+
+The Debian packaging is currently maintained by Kapil Hari Paranjape <kapil@debian.org>
+
+Some modifications were made by Mark Purcell <msp@debian.org>,
+A Mennucc1 <mennucc1@debian.org>, Emmet Hikory <emmet.hikory@gmail.com>
+and Stefan Potyra <sistpoty@ubuntu.com>.
+
+The files under debian/ constitute source for the Debian packaging.
+Each such file should be deemed to carry a notice as follows:
+
+ Copyright (c) 2006 Morten Brix Pedersen
+ Copyright (c) 2007 Mark Purcell, A Mennucc1, Emmet Hikory
+ Copyright (c) 2008 Stefan Potyra, Kapil Hari Paranjape
+
+ 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 3 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.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+Upstream source:
+----------------
+The source for this package was downloaded from
+<http://www.ecademix.com/JohannesHofmann/>.
+
+The upstream author is Johannes Hofmann <Johannes.Hofmann at gmx dot de>.
+
+The upstream source contains copyright assertions of the following
+form (taken from src/PSEditor.cxx):
+
+//
+// Copyright 2007 Johannes Hofmann <Johannes.Hofmann@gmx.de>
+//
+// This software may be used and distributed according to the terms
+// of the GNU General Public License, incorporated herein by reference.
+
+Full texts of licences:
+-----------------------
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+--
+End-of-Copyright-Statement
--- flpsed-0.5.2.orig/debian/dirs
+++ flpsed-0.5.2/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/applications