freedink (1.08.20101114-1) debian-dir only changes

Summary

 debian/README.source              |   84 ++++++++++++++++
 debian/changelog                  |   75 +++++++++++++++
 debian/compat                     |    1 
 debian/control                    |   58 +++++++++++
 debian/copyright                  |  188 ++++++++++++++++++++++++++++++++++++++
 debian/docs                       |    5 +
 debian/freedink.xpm               |   43 ++++++++
 debian/gbp.conf                   |    2 
 debian/install                    |    1 
 debian/menu                       |    6 +
 debian/rules                      |  108 +++++++++++++++++++++
 debian/source/format              |    1 
 debian/update-autotools-config.sh |   30 ++++++
 debian/watch                      |    4 
 14 files changed, 606 insertions(+)

    
download this patch

Patch contents

--- freedink-1.08.20101114.orig/debian/control
+++ freedink-1.08.20101114/debian/control
@@ -0,0 +1,58 @@
+Source: freedink
+Section: games
+Priority: extra
+Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
+Uploaders: Sylvain Beucler <beuc@debian.org>
+Build-Depends: debhelper (>= 7.4.2), autotools-dev, pkg-config, libsdl1.2-dev, libsdl-gfx1.2-dev, libsdl-ttf2.0-dev, libsdl-image1.2-dev, libsdl-mixer1.2-dev, libfontconfig1-dev
+Standards-Version: 3.9.1
+Homepage: http://www.freedink.org/
+Vcs-Git: git://git.debian.org/git/pkg-games/freedink.git
+Vcs-Browser: http://git.debian.org/?p=pkg-games/freedink.git
+
+Package: freedink-engine
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, freedink-data, ttf-liberation, freepats
+Recommends: freedink-dfarc
+Description: adventure and role-playing game (engine)
+ Dink Smallwood is an adventure/role-playing game, similar to Zelda,
+ made by RTsoft. Besides twisted humour, it includes the actual game
+ editor, allowing players to create hundreds of new adventures called
+ Dink Modules or D-Mods for short.
+ .
+ GNU FreeDink is a new and portable version of the game engine, which
+ runs the original game as well as its D-Mods, with close
+ compatibility, under multiple platforms.
+ .
+ This package contains the game engine alone.
+
+Package: freedink-engine-dbg
+Section: debug
+Architecture: any
+Depends: ${misc:Depends}, freedink-engine (= ${binary:Version})
+Description: debugging symbols for freedink
+ Dink Smallwood is an adventure/role-playing game, similar to Zelda,
+ made by RTsoft. Besides twisted humour, it includes the actual game
+ editor, allowing players to create hundreds of new adventures called
+ Dink Modules or D-Mods for short.
+ .
+ GNU FreeDink is a new and portable version of the game engine, which
+ runs the original game as well as its D-Mods, with close
+ compatibility, under multiple platforms.
+ .
+ This package contains the debugging symbols for freedink.
+
+Package: freedink
+Architecture: all
+Depends: ${misc:Depends}, freedink-engine, freedink-dfarc
+Description: adventure and role-playing game
+ Dink Smallwood is an adventure/role-playing game, similar to Zelda,
+ made by RTsoft. Besides twisted humour, it includes the actual game
+ editor, allowing players to create hundreds of new adventures called
+ Dink Modules or D-Mods for short.
+ .
+ GNU FreeDink is a new and portable version of the game engine, which
+ runs the original game as well as its D-Mods, with close
+ compatibility, under multiple platforms.
+ .
+ This package is a metapackage to install the game, its data and a
+ front-end to manage game options and D-Mods.
--- freedink-1.08.20101114.orig/debian/freedink.xpm
+++ freedink-1.08.20101114/debian/freedink.xpm
@@ -0,0 +1,43 @@
+/* XPM */
+static char * freedink_xpm[] = {
+"32 32 8 1",
+" 	c None",
+".	c #000000",
+"+	c #808080",
+"@	c #0000FF",
+"#	c #808000",
+"$	c #C0C0C0",
+"%	c #800000",
+"&	c #FFFFFF",
+"       .                    ...+",
+"      .@.                   .##.",
+"     .@@@.           .     .####",
+"     .@$@.          .#.   .##%..",
+"    .@@$@@.         .##. .##%.  ",
+"  ..@@$&$@@..########.##.##%.   ",
+" .@@@$&&&$@@@.......#.###.%.    ",
+".@@$$&&&&&$$@@@.%%%..$.###.     ",
+" .@@@$&&&$@@@..%%%%.&&$.###.    ",
+" #..@@$&$@@..%%%%%.&&$$&.###.   ",
+" #.%.@@$@@.%%%%%%.&&$&&$...##.  ",
+" #..%.@$@.%%%%%%.&&$&&$...#..   ",
+" ##.%.@@@.%.....&&$&$$.%%.##    ",
+"  #.%%.@.%%%.#.&&$&$$.%%%..##   ",
+"  #.%%.@.%%%..&&$&$..%%%%%.##   ",
+"  #.%%%.%%%..&&$&$.##.%%%%.##   ",
+"  #...%%%...&.$&$.###.%%%%.##   ",
+"  ###..%.#.#.#.$.#####.%%%.##   ",
+"   ###.%%.#.#.#.######.%%.#.#   ",
+"    ##.%%..#.#.#.#####.%%.#..#  ",
+"   ##..%.&....................##",
+"  ###.%.&$.%%%%%#%#%##%####.....",
+" ##....&$&.#.#.#..............##",
+"##..%.&$&.#.#.#.#####.%%%.#..#  ",
+"#..%%.$$.#.#.#.#####.%%%..#.#   ",
+"#.%%%..........#####.%%%.###    ",
+"#.%%....%%%%%%%..#..%%%..#      ",
+"#.%%.##..%%%%%%%%.%%%%..##      ",
+"#.%..###..%%%%%%%%%%%..##       ",
+"#...## ##...%%%%%%%...##        ",
+"#####   ###.........###         ",
+"          ###########           "};
--- freedink-1.08.20101114.orig/debian/compat
+++ freedink-1.08.20101114/debian/compat
@@ -0,0 +1 @@
+5
--- freedink-1.08.20101114.orig/debian/changelog
+++ freedink-1.08.20101114/debian/changelog
@@ -0,0 +1,75 @@
+freedink (1.08.20101114-1) experimental; urgency=low
+
+  * Precise licenses versions in debian/copyright, fixes
+    copyright-refers-to-symlink-license lintian warning
+  * Update copyright about new translations
+  * Symlink 'freedink' documentation to 'freedink-engine' (requires
+    debhelper >= 7.4.2)
+  * Bump Standards-Version to 3.9.1
+  * Update my email address in Uploaders
+
+ -- Sylvain Beucler <beuc@debian.org>  Sun, 14 Nov 2010 00:59:28 +0100
+
+freedink (1.08.20100420-1) unstable; urgency=low
+
+  * New Upstream Version (Closes: #578444)
+  * Add debian/source/format to document we're using source format 1.0 (to
+    ease backports) and fix missing-debian-source-format lintian warning
+
+ -- Sylvain Beucler <beuc@beuc.net>  Tue, 20 Apr 2010 22:19:58 +0200
+
+freedink (1.08.20100321-1) unstable; urgency=low
+
+  * New Upstream Version
+  * Update years in debian/copyright and add translations information
+  * Bump Standards-Version to 3.8.4
+  * Fix debhelper-but-no-misc-depends by adding ${misc:Depends} in binary
+    packages dependencies
+  * Add missing acsite.m4 which is necessary to autoreconf and was missing
+    for tarball; note that the packaging does not autoreconf, but my
+    sponsor asked for it ;)
+
+ -- Sylvain Beucler <beuc@beuc.net>  Tue, 13 Apr 2010 17:42:59 +0200
+
+freedink (1.08.20090918-1) unstable; urgency=low
+
+  * New Upstream Version
+  * Fix/update packaging copyright notices
+  * Drop libffi dependency: not used upstream anymore
+  * Replace timidity dependency with freepats, thanks to recent fix in
+    sdl-mixer1.2 1.2.8-6
+  * Move -dbg package to the debug section
+  * Don't symlink LiberationSans-Regular.ttf since FreeDink uses
+    FontConfig to locate it
+  * Bump Standards-Version to 3.8.3
+  * Move update of config.sub/config.guess from clean to build target
+  * Add gbp.conf to ignore .gitignore files automatically
+  * Rename BUILD to README.source
+
+ -- Sylvain Beucler <beuc@beuc.net>  Fri, 18 Sep 2009 23:32:06 +0200
+
+freedink (1.08.20090120-1) unstable; urgency=low
+
+  [ Sylvain Beucler ]
+  * New Upstream Version
+  * update debian/BUILD
+  * add a build-dependency on libffi-dev
+
+  [ Gonéri Le Bouder ]
+  * use Debian version of LiberationSans-Regular.ttf
+   - freedink-engine depends on ttf-liberation
+   - update debian/rules to create a symlink
+  * update Sylvain's changelog entry to add some missing points
+  * add the year 2009 in debian/copyright for Sylvain Beucler
+
+ -- Sylvain Beucler <beuc@beuc.net>  Sat, 31 Jan 2009 23:15:04 +0100
+
+freedink (1.08.20080920.dfsg-1) unstable; urgency=low
+
+  * Initial package (Closes: #492760)
+  * Reflect dfarc -> freedink-dfarc rename
+  * Watch official ftp.gnu.org release location
+  * Point Vcs-* to the Debian packaging rather than the development
+    repository
+
+ -- Sylvain Beucler <beuc@beuc.net>  Sat, 20 Sep 2008 20:34:22 +0200
--- freedink-1.08.20101114.orig/debian/copyright
+++ freedink-1.08.20101114/debian/copyright
@@ -0,0 +1,188 @@
+This is GNU FreeDink.
+
+The original source can always be found at:
+	http://ftp.gnu.org/gnu/freedink/
+
+Copyright (C) 1997, 1998, 1999, 2002, 2003  Seth A. Robinson
+Copyright (C) 2003, 2004, 2005, 2007, 2008, 2009, 2010  Sylvain Beucler
+Copyright (C) 2005, 2006  Dan Walma
+Copyright (C) 2003  Shawn Betts
+Copyright (C) 2001  Guido Draheim
+
+Translations:
+fr - public domain
+nb - public domain
+fi - public domain
+es - public domain
+pl - Copyright (C) 2009  Michał Trzebiatowski
+da - public domain
+vi - Copyright (C) 2009  Free Software Foundation.
+id - Copyright (C) 2009  Erwid M Jadied
+de - public domain
+el - Copyright (C) 2010  Michael Kotsarinis
+it - Copyright (C) 2010  Vincenzo Campanella
+cs - Copyright (C) 2010  Marek Černocký
+
+License:
+
+    This file is part of GNU FreeDink
+  
+    GNU FreeDink 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.
+  
+    GNU FreeDink 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/>.
+  
+
+On Debian systems, the complete text of the GNU General Public License
+version 3 can be found in `/usr/share/common-licenses/GPL-3'.
+
+
+FreeDink includes version '1.04.93' of the 'Liberation Sans' font (but
+is not used in the Debian package which depends on ttf-liberation
+instead).
+
+Copyright (C) 2007 Red Hat, Inc.
+
+License:
+
+    LIBERATION is a trademark of Red Hat, Inc.
+   
+    This agreement governs the use of the Software and any updates to the Software,
+    regardless of the delivery mechanism. Subject to the following terms, Red Hat, Inc.
+    ("Red Hat") grants to the user ("Client") a license to this work pursuant to 
+    the GNU General Public License v.2 with the exceptions set forth below and such 
+    other terms as our set forth in this End User License Agreement.
+   
+    1. The Software and License Exception. LIBERATION font software  (the "Software")
+    consists of TrueType-OpenType formatted font software for rendering LIBERATION
+    typefaces in sans serif, serif, and monospaced character styles. You are licensed 
+    to  use, modify, copy, and distribute the Software pursuant to the GNU General
+    Public License v.2 with the following exceptions:  
+   
+    (a) As a special exception, if you create a document which uses this font, and 
+        embed this font or unaltered portions of this font into the document, this
+        font does not by itself cause the resulting document to be covered by the 
+        GNU General Public License.  This exception does not however invalidate any
+        other reasons why the document might be covered by the GNU General Public 
+        License.  If you modify this font, you may extend this exception to your 
+        version of the font, but you are not obligated to do so. If you do not 
+        wish to do so, delete this exception statement from your version.
+   
+    (b) As a further exception, any distribution of the object code of the Software 
+        in a physical product must provide you the right to access and modify the
+        source code for the Software and to reinstall that modified version of the 
+        Software in object code form on the same physical product on which you 
+        received it.
+   
+    2. Intellectual Property Rights. The Software and each of its components, including 
+       the source code, documentation, appearance, structure and organization are owned 
+       by Red Hat and others and are protected under copyright and other laws. Title to 
+       the Software and any component, or to any copy, modification, or merged portion
+       shall remain with the aforementioned, subject to the applicable license. 
+       The "LIBERATION" trademark is a trademark of Red Hat, Inc. in the U.S. and other
+       countries. This agreement does not permit Client to distribute modified versions 
+       of the Software using Red Hat's trademarks. If Client makes a redistribution of 
+       a modified version of the Software, then Client must modify the files names to 
+       remove any reference to the Red Hat trademarks and must not use the Red Hat 
+       trademarks in any way to reference or promote the modified Software. 
+   
+    3. Limited Warranty. To the maximum extent permitted under applicable law, the 
+       Software is provided and licensed "as is" without warranty of any kind, 
+       expressed or implied, including the implied warranties of merchantability, 
+       non-infringement or fitness for a particular purpose. Red Hat does not warrant
+       that the functions contained in the Software will meet Client's requirements or
+       that the operation of the Software will be entirely error free or appear precisely
+       as described in the accompanying documentation. 
+   
+    4. Limitation of Remedies and Liability.  To the maximum extent permitted by applicable
+       law, Red Hat or any Red Hat authorized dealer will not be liable to Client for any
+       incidental or consequential damages, including lost profits or lost savings arising 
+       out of the use or inability to use the Software, even if Red Hat or such dealer has
+       been advised of the possibility of such damages. 
+   
+    5. General. If any provision of this agreement is held to be unenforceable, that shall
+       not affect the enforceability of the remaining provisions. This agreement shall be
+       governed by the laws of the State of North Carolina and of the United States, without
+       regard to any conflict of laws provisions, except that the United Nations Convention 
+       on the International Sale of Goods shall not apply.
+
+On Debian systems, the complete text of the GNU General
+Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
+
+
+FreeDink includes vgasys.fon (from Wine).
+
+Copyright (C) 2004 Huw D M Davies, Dmitry Timoshkov
+
+    This library is free software; you can redistribute it and/or modify
+    it under the terms of the GNU Lesser General Public License as
+    published by the Free Software Foundation; either version 2.1 of the
+    License, or (at your option) any later version.
+    
+    This library 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
+    Lesser General Public License for more details.
+    
+    You should have received a copy of the GNU Lesser General Public
+    License along with this library; 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 version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'.
+
+
+The gnulib directory is an embedded copy of gnulib:
+
+Copyright (C) 1992,1995-1999,2000-2003,2005-2009 Free Software Foundation, Inc.
+License:
+
+        GNULib is a collection of unrelated source files. Each source file is
+        provided under a different license (including GPL, LGPL, GFDL and
+        others) and includes a license headers stating the terms that apply to
+        that particular file.
+
+On Debian systems, the complete text of the GNU General Public License
+version 2 can be found in /usr/share/common-licenses/GPL-2 file, the
+GNU General Public License version 3 in
+/usr/share/common-licenses/GPL-3 file, the GNU Lesser General Public
+License version 3 in /usr/share/common-licenses/LGPL-3, and the GNU
+Free Document License in /usr/share/common-licenses/GFDL-1.3.
+
+
+The SDL_rwops_libzip.c, SDL_rwops_libzip.h, SDL_rwops_zzip.c and SDL_rwops_zzip.h
+in ./src and ./test/sdl are covered by the ZLIB license:
+      Copyright (c) 2001 Guido Draheim <guidod@gmx.de>
+
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+
+
+The Debian packaging is Copyright (C) 2008, 2009, 2010, Sylvain
+Beucler <beuc@beuc.net> and is licensed under the GPL, either version
+3, or (at your option) any later version, see
+`/usr/share/common-licenses/GPL-3'.
--- freedink-1.08.20101114.orig/debian/menu
+++ freedink-1.08.20101114/debian/menu
@@ -0,0 +1,6 @@
+?package(freedink-engine):needs="X11" section="Games/Adventure"\
+  title="GNU FreeDink" command="/usr/games/freedink"\
+  icon="/usr/share/pixmaps/freedink.xpm"
+?package(freedink-engine):needs="X11" section="Games/Adventure"\
+  title="GNU FreeDinkedit" command="/usr/games/freedinkedit"\
+  icon="/usr/share/pixmaps/freedink.xpm"
--- freedink-1.08.20101114.orig/debian/rules
+++ freedink-1.08.20101114/debian/rules
@@ -0,0 +1,108 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# It was built from:
+#   dh_make --single --native --email beuc@beuc.net --copyright gpl \
+#     --packagename freedink
+# then modified.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+SRC     := $(CURDIR)
+BUILD   := $(CURDIR)/debian/build.tmp
+# default dh_make target
+TARGET  := $(CURDIR)/debian/freedink-engine
+
+#CFLAGS = -Wall -g
+CFLAGS = -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+$(BUILD)/config.status: configure
+	dh_testdir
+	[ -d $(BUILD) ] || mkdir $(BUILD)
+
+	#Install autotools-dev's config.sub and config.guess, if newer:
+	chmod 755 debian/update-autotools-config.sh
+	debian/update-autotools-config.sh autotools/
+
+	# Using '--bindir=/usr/games' by Debian policy
+	#   (e.g. not the case for Fedora)
+	# Using '--disable-embedded-resources' because 'dh_strip' will remove
+	#   them anyway, and we need it for the -dbg package -- too bad :/
+	cd $(BUILD) && $(SRC)/configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --bindir=/usr/games --datadir=/usr/share/games --disable-embedded-resources CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+
+build: debian/build-stamp
+
+debian/build-stamp:  $(BUILD)/config.status
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE) -C $(BUILD)
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f debian/build-stamp 
+
+	# Add here commands to clean up after the build process.
+	[ ! -e $(BUILD) ] || $(MAKE) -C $(BUILD) distclean
+
+	rm -rf $(BUILD)
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into $(TARGET).
+	$(MAKE) -C $(BUILD) DESTDIR=$(TARGET) install
+	# Lintian complains with 'duplicate-font-file', let's have
+	# FreeDink rely on libfontconfig + depend on ttf-liberation
+	rm $(TARGET)/usr/share/games/freedink/LiberationSans-Regular.ttf
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	# --link-doc requires debhelper 7.4.2
+	dh_installdocs --link-doc=freedink-engine
+	dh_installchangelogs ChangeLog
+#	dh_installexamples
+	dh_install
+	dh_installmenu
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip --dbg-package=freedink-engine-dbg
+	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 
--- freedink-1.08.20101114.orig/debian/gbp.conf
+++ freedink-1.08.20101114/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+builder=debuild -i\.git\(ignore\)? -I.git
--- freedink-1.08.20101114.orig/debian/README.source
+++ freedink-1.08.20101114/debian/README.source
@@ -0,0 +1,84 @@
+To build the Debian package
+===========================
+
+ tar xzf freedink-*.tar.gz
+ ln -s freedink-x.y.z.tar.gz freedink_x.y.z.orig.tar.gz
+ git clone git://git.sv.gnu.org/freedink freedinkgit
+ cp -a freedinkgit/debian freedink-*/
+ cd freedink-*/
+ debuild -us -uc
+
+
+MIDI support
+============
+
+Before Squeeze (i.e. if you backport), you needed to explicitely
+specify 'timidity' as a dependency, because its absence could cause
+troubles (see TROUBLESHOOTING in the source tarball and
+http://bugs.debian.org/369670).  An alternative would be to 'touch
+/etc/timidity/timidity.cfg' on install but this looks ugly.  Version
+1.2.8-6 of the sdl-mixer1.2 packages introduces a non-official patch
+(05_fallback_to_freepats.diff) that addresses this issue.
+
+You could specify it as a Recommend, but this isn't supported by
+Synaptic yet, so let's keep it as a dependency until then.
+
+Nonetheless, 'freepats' is still a dependency, because it's
+essentially the only way to get MIDI support for FreeDink in Debian
+main.
+
+
+Gnulib
+======
+
+While it may look like FreeDink is embedding a private copy of Gnulib,
+this isn't the case.
+
+This point was raised on the mailing list with a favorable response
+from the ftp-masters:
+http://lists.gnu.org/archive/html/bug-gnulib/2008-11/msg00269.html
+http://lists.gnu.org/archive/html/bug-gnulib/2008-12/msg00018.html
+
+Learn more about Gnulib at
+http://www.gnu.org/software/gnulib/manual/html_node/Introduction.html
+
+Bottom-line: don't attempt to relink FreeDink with Debian's gnulib
+package.
+
+
+Testing with piuparts
+=====================
+
+# Attempts with 'lenny' instead of 'sid'
+sudo pbuilder --create --distribution lenny
+
+sudo piuparts -d lenny -b /var/cache/pbuilder/base.tgz \
+  -t /mnt/h/piuparts/ \
+  -i /tmp/.ICE-unix -i /tmp/.X11-unix \
+  freedink_1.08.20080804-1_i386.deb
+
+
+dpkg-shlibdeps warnings
+=======================
+
+Note: we're not using zziplib anymore, since it was used to access
+resources embedded in the executable, and Debian strips executable
+after the build process. Anyway here's a description of the problem
+for reference:
+
+You may get warnings like this:
+
+ dpkg-shlibdeps: warning: dependency on libz.so.1 could be avoided if "debian/freedink/usr/games/freedink debian/freedink/usr/games/freedinkedit" were not uselessly linked against it (they use none of its symbols).
+
+It's because '-lz', is added by 'zzip-config', is mistakently added at
+link time.
+
+Those *could* be fixed with the '--as-needed' GNU ld flag (or
+'-Wl,--as-needed' from gcc).
+
+However this is pretty much experimental and known to fail in some
+situations or architectures. There is a good summary here:
+http://www.gentoo.org/proj/en/qa/asneeded.xml
+
+It would be better to fix 'zzip-config' (or the pkgconfig .pc files in
+0.13), if their developers agree.  Cf. http://bugs.debian.org/471065
--- freedink-1.08.20101114.orig/debian/install
+++ freedink-1.08.20101114/debian/install
@@ -0,0 +1 @@
+debian/freedink.xpm /usr/share/pixmaps
--- freedink-1.08.20101114.orig/debian/update-autotools-config.sh
+++ freedink-1.08.20101114/debian/update-autotools-config.sh
@@ -0,0 +1,30 @@
+#!/bin/bash
+# Copyright (C) 2006  Sylvain Beucler
+
+# Copying and distribution of this file, with or without modification,
+# are permitted in any medium without royalty provided the copyright
+# notice and this notice are preserved.
+
+# Updates config.guess and config.sub in the target directory only if
+# the autotools-dev version is newer
+
+# http://bugs.debian.org/380481
+
+dest="$1"
+# strip trailing slash for nicer output
+dest=$(echo $dest | sed 's:/$::')
+
+if [ -z $dest ]; then
+    echo "Usage: $0 destination"
+    exit 1;
+fi
+
+for ext in sub guess; do
+    # --version output looks like "GNU config.sub (2006-02-23)"
+    v_autotools=$(/usr/share/misc/config.$ext --version | head -1 | grep -o -E '[0-9]{4}-[0-9]{2}-[0-9]{2}')
+    v_upstream=$($dest/config.$ext --version | head -1 | grep -o -E '[0-9]{4}-[0-9]{2}-[0-9]{2}')
+    if dpkg --compare-versions "$v_autotools" '>>' "$v_upstream"; then
+	echo "Updating $dest/config.$ext"
+	cp -f /usr/share/misc/config.$ext $dest
+    fi
+done
--- freedink-1.08.20101114.orig/debian/docs
+++ freedink-1.08.20101114/debian/docs
@@ -0,0 +1,5 @@
+AUTHORS
+NEWS
+README
+THANKS
+TROUBLESHOOTING
--- freedink-1.08.20101114.orig/debian/watch
+++ freedink-1.08.20101114/debian/watch
@@ -0,0 +1,4 @@
+version=3
+
+opts=dversionmangle=s/\.dfsg$// \
+ http://ftp.gnu.org/gnu/freedink/freedink-(\d.*)\.tar\.gz debian uupdate
--- freedink-1.08.20101114.orig/debian/source/format
+++ freedink-1.08.20101114/debian/source/format
@@ -0,0 +1 @@
+1.0