debian/0000755000000000000000000000000012213626611007166 5ustar debian/watch0000644000000000000000000000016611615234130010216 0ustar version=3 opts=dversionmangle=s/\.dfsg$// \ http://ftp.gnu.org/gnu/freedink/freedink-(\d.*)\.tar\.gz debian uupdate debian/README.source0000644000000000000000000000537211615234130011350 0ustar 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 debian/freedink.postinst0000644000000000000000000000037312030667513012570 0ustar #!/bin/sh set -e # Replace documentation directory with symlink docdir="/usr/share/doc/freedink" if [ -d $docdir ] && [ ! -L $docdir ]; then if rmdir $docdir 2>/dev/null; then ln -sf freedink-engine $docdir fi fi #DEBHELPER# exit 0 debian/update-autotools-config.sh0000755000000000000000000000173011615234130014276 0ustar #!/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 debian/rules0000755000000000000000000000351511615234130010246 0ustar #!/usr/bin/make -f # -*- makefile -*- # # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # # Modified to make a template file for a multi-binary package with separated # build-arch and build-indep targets by Bill Allombert 2001 # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This has to be exported to make some magic below work. export DH_OPTIONS %: dh $@ --parallel --with autotools_dev #Install autotools-dev's config.sub and config.guess, if newer: #chmod 755 debian/update-autotools-config.sh #debian/update-autotools-config.sh autotools/ override_dh_auto_configure: # 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 :/ dh_auto_configure -- --bindir=/usr/games --datadir=/usr/share/games --disable-embedded-resources override_dh_strip: # Create -dbg package with debug symbols for gdb dh_strip --dbg-package=freedink-engine-dbg override_dh_auto_install: # There's only one real package, let's not bother with # debian/tmp + move files in dh_install - install straight in # the appropriate directory dh_auto_install --destdir=debian/freedink-engine # Lintian complains with 'duplicate-font-file', let's have # FreeDink rely on libfontconfig + depend on ttf-liberation rm debian/freedink-engine/usr/share/games/freedink/LiberationSans-Regular.ttf override_dh_installdocs: # --link-doc requires debhelper 7.4.2 dh_installdocs --link-doc=freedink-engine override_dh_installchangelogs: dh_installchangelogs ChangeLog debian/install0000644000000000000000000000004711615234130010554 0ustar debian/freedink.xpm /usr/share/pixmaps debian/freedink-engine-dbg.postinst0000644000000000000000000000040612030667547014571 0ustar #!/bin/sh set -e # Replace documentation directory with symlink docdir="/usr/share/doc/freedink-engine-dbg" if [ -d $docdir ] && [ ! -L $docdir ]; then if rmdir $docdir 2>/dev/null; then ln -sf freedink-engine $docdir fi fi #DEBHELPER# exit 0 debian/menu0000644000000000000000000000051011615234130010045 0ustar ?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" debian/copyright0000644000000000000000000002225311746507354011141 0ustar 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, 2011 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ý eo - Copyright (C) 2011 Felipe Castro sl - Copyright (C) 2011 Klemen Košir sr - Copyright (C) 2011 Мирослав Николић hr - Copyright (C) 2012 Tomislav Krznar 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 . 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 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, 2011, Sylvain Beucler and is licensed under the GPL, either version 3, or (at your option) any later version, see `/usr/share/common-licenses/GPL-3'. debian/docs0000644000000000000000000000005311615234130010033 0ustar AUTHORS NEWS README THANKS TROUBLESHOOTING debian/source/0000755000000000000000000000000011615234130010462 5ustar debian/source/format0000644000000000000000000000001411615234130011670 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011750222070010611 5ustar debian/patches/install-reloc.patch0000644000000000000000000002535411750222070014413 0ustar Description: Update install-reloc so it works with multiple binaries Forwarded: http://lists.gnu.org/archive/html/bug-gnulib/2012-05/msg00000.html Author: Bruno Haible Last-Update: 2012-05-02 Index: freedink-1.08.20120427/autotools/install-reloc =================================================================== --- freedink-1.08.20120427.orig/autotools/install-reloc 2012-04-27 11:48:56.000000000 +0000 +++ freedink-1.08.20120427/autotools/install-reloc 2012-05-02 10:14:44.000000000 +0000 @@ -16,11 +16,11 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# Usage: -# install-reloc library_path_var library_path_value prefix destdir \ -# compile_command srcdir builddir config_h_dir exeext \ -# strip_command \ -# install_command... destprog +# Usage 1: +# install-reloc -- library_path_var library_path_value prefix destdir \ +# compile_command srcdir builddir config_h_dir exeext \ +# strip_command \ +# install_command... destprog # where # - library_path_var is the platform dependent runtime library path variable # - library_path_value is a colon separated list of directories that contain @@ -39,51 +39,67 @@ # stripping is desired # - install_command is the install command line, excluding the final destprog # - destprog is the destination program name +# Usage 2: +# env RELOC_LIBRARY_PATH_VAR=library_path_var \ +# RELOC_LIBRARY_PATH_VALUE=library_path_value \ +# RELOC_PREFIX=prefix \ +# RELOC_DESTDIR=destdir \ +# RELOC_COMPILE_COMMAND=compile_command \ +# RELOC_SRCDIR=srcdir \ +# RELOC_BUILDDIR=builddir \ +# RELOC_CONFIG_H_DIR=config_h_dir \ +# RELOC_EXEEXT=exeext \ +# RELOC_STRIP_PROG=strip_command \ +# RELOC_INSTALL_PROG=install_command... \ +# install-reloc prog1 ... destprog +# where destprog is either the destination program name (when only one program +# is specified) or the destination directory for all programs. # install-reloc renames destprog to destprog.bin and installs a relocating # wrapper in the place of destprog. progname=$0 -if test $# -eq 2; then - # Get arguments from environment variables. - library_path_var=$RELOC_LIBRARY_PATH_VAR - library_path_value=$RELOC_LIBRARY_PATH_VALUE - prefix=$RELOC_PREFIX - destdir=$RELOC_DESTDIR - compile_command=$RELOC_COMPILE_COMMAND - srcdir=$RELOC_SRCDIR - builddir=$RELOC_BUILDDIR - config_h_dir=$RELOC_CONFIG_H_DIR - exeext=$RELOC_EXEEXT - strip_prog=$RELOC_STRIP_PROG - install_prog=$RELOC_INSTALL_PROG # including the "-c" option +if test $# -ge 12 && test "x$1" = "x--"; then + # Get fixed position arguments. + shift + library_path_var=$1 + library_path_value=$2 + prefix=$3 + destdir=$4 + shift + shift + shift + shift + compile_command=$1 + srcdir=$2 + builddir=$3 + config_h_dir=$4 + exeext=$5 + shift + shift + shift + shift + shift + strip_prog=$1 + shift + install_prog=$1 # maybe not including the "-c" option + shift else - if test $# -ge 11; then - # Get fixed position arguments. - library_path_var=$1 - library_path_value=$2 - prefix=$3 - destdir=$4 - shift - shift - shift - shift - compile_command=$1 - srcdir=$2 - builddir=$3 - config_h_dir=$4 - exeext=$5 - shift - shift - shift - shift - shift - strip_prog=$1 - shift - install_prog=$1 # maybe not including the "-c" option - shift + if test $# -ge 2; then + # Get arguments from environment variables. + library_path_var=$RELOC_LIBRARY_PATH_VAR + library_path_value=$RELOC_LIBRARY_PATH_VALUE + prefix=$RELOC_PREFIX + destdir=$RELOC_DESTDIR + compile_command=$RELOC_COMPILE_COMMAND + srcdir=$RELOC_SRCDIR + builddir=$RELOC_BUILDDIR + config_h_dir=$RELOC_CONFIG_H_DIR + exeext=$RELOC_EXEEXT + strip_prog=$RELOC_STRIP_PROG + install_prog=$RELOC_INSTALL_PROG # including the "-c" option else - echo "Usage: $0 library_path_var library_path_value prefix destdir" \ + echo "Usage: $0 -- library_path_var library_path_value prefix destdir" \ "compile_command srcdir builddir config_h_dir exeext" \ "strip_command" \ "install_command... destprog" 1>&2 @@ -97,11 +113,26 @@ do destprog=$arg done -# Remove trailing $exeext, if present. +# Determine whether destprog is a program name or a directory name. +if test -d "$destprog"; then + sed_remove_trailing_slashes='s|//*$||' + destprog_directory=`echo "$destprog" | sed -e "$sed_remove_trailing_slashes"` + if test -z "$destprog_directory"; then + destprog_directory='/' + fi +else + destprog_directory= +fi +# Prepare for remove trailing $exeext, if present. if test -n "$exeext"; then sed_quote='s,\.,\\.,g' sed_remove_exeext='s|'`echo "$exeext" | sed -e "$sed_quote"`'$||' - destprog=`echo "$destprog" | sed -e "$sed_remove_exeext"` +fi +if test -z "$destprog_directory"; then + # Remove trailing $exeext, if present. + if test -n "$exeext"; then + destprog=`echo "$destprog" | sed -e "$sed_remove_exeext"` + fi fi # Outputs a command and runs it. @@ -114,8 +145,39 @@ # Run install_command. func_verbose $install_prog "$@" || exit $? +# Iterate over all destination program names. +# func_iterate f +# applies f to each destination program names, after setting destprog. +sed_basename_of_file='s|^.*/||' +func_iterate () +{ + if test -n "$destprog_directory"; then + prev_arg= + for arg + do + if test -n "prev_arg"; then + destprog="$destprog_directory"/`echo "$prev_arg" | sed -e "$sed_basename_of_file"` + $1 + fi + prev_arg="$arg" + done + else + $1 + fi +} + # Run strip_command. -test "$strip_prog" = ':' || func_verbose "$strip_prog" "$destprog$exeext" || exit $? +func_strip () +{ + # Remove trailing $exeext, if present. + if test -n "$exeext"; then + destprog=`echo "$destprog" | sed -e "$sed_remove_exeext"` + fi + func_verbose "$strip_prog" "$destprog$exeext" || exit $? +} +if test "$strip_prog" != ':'; then + func_iterate func_strip +fi # If the platform doesn't support LD_LIBRARY_PATH or similar, we cannot build # a wrapper. @@ -138,63 +200,77 @@ test -n "$libdirs" || exit 0 # Determine installdir from destprog, removing a leading destdir if present. -installdir=`echo "$destprog" | sed -e 's,/[^/]*$,,'` +if test -n "$destprog_directory"; then + installdir="$destprog_directory" +else + installdir=`echo "$destprog" | sed -e 's,/[^/]*$,,'` +fi if test -n "$destdir"; then sed_quote='s,\([|.\*^$[]\),\\\1,g' sed_remove_destdir='s|^'`echo "$destdir" | sed -e "$sed_quote"`'||' installdir=`echo "$installdir" | sed -e "$sed_remove_destdir"` fi -# Compile wrapper. -func_verbose $compile_command \ - -I"$builddir" -I"$srcdir" -I"$config_h_dir" \ - -DHAVE_CONFIG_H -DIN_RELOCWRAPPER -DNO_XMALLOC \ - -D"INSTALLPREFIX=\"$prefix\"" -D"INSTALLDIR=\"$installdir\"" \ - -D"LIBPATHVAR=\"$library_path_var\"" -D"LIBDIRS=$libdirs" \ - -D"EXEEXT=\"$exeext\"" \ - "$srcdir"/relocwrapper.c \ - "$srcdir"/progname.c \ - "$srcdir"/progreloc.c \ - "$srcdir"/areadlink.c \ - "$srcdir"/careadlinkat.c \ - "$srcdir"/allocator.c \ - "$srcdir"/readlink.c \ - "$srcdir"/canonicalize-lgpl.c \ - "$srcdir"/malloca.c \ - "$srcdir"/relocatable.c \ - "$srcdir"/setenv.c \ - "$srcdir"/strerror.c \ - "$srcdir"/c-ctype.c \ - -o "$destprog.wrapper$exeext" -rc=$? -# Clean up object files left over in the current directory by the native C -# compilers on Solaris, HP-UX, OSF/1, IRIX. -rm -f relocwrapper.o \ - progname.o \ - progreloc.o \ - areadlink.o \ - careadlinkat.o \ - allocator.o \ - readlink.o \ - canonicalize-lgpl.o \ - malloca.o \ - relocatable.o \ - setenv.o \ - strerror.o \ - c-ctype.o -test $rc = 0 || exit $? -# Clean up debugging information left over by the native C compiler on MacOS X. -rm -rf "$destprog.wrapper$exeext.dSYM" -test $rc = 0 || exit $? - -# Strip wrapper. -test "$strip_prog" = ':' || func_verbose "$strip_prog" "$destprog.wrapper$exeext" || exit $? - -# Rename $destprog.wrapper -> $destprog -> $destprog.bin. -ln -f "$destprog$exeext" "$destprog.bin$exeext" \ - || { rm -f "$destprog.bin$exeext" \ - && cp -p "$destprog$exeext" "$destprog.bin$exeext"; } \ - || exit 1 -mv "$destprog.wrapper$exeext" "$destprog$exeext" || exit 1 +# Compile and install wrapper. +func_create_wrapper () +{ + # Remove trailing $exeext, if present. + if test -n "$exeext"; then + destprog=`echo "$destprog" | sed -e "$sed_remove_exeext"` + fi + + # Compile wrapper. + func_verbose $compile_command \ + -I"$builddir" -I"$srcdir" -I"$config_h_dir" \ + -DHAVE_CONFIG_H -DIN_RELOCWRAPPER -DNO_XMALLOC \ + -D"INSTALLPREFIX=\"$prefix\"" -D"INSTALLDIR=\"$installdir\"" \ + -D"LIBPATHVAR=\"$library_path_var\"" -D"LIBDIRS=$libdirs" \ + -D"EXEEXT=\"$exeext\"" \ + "$srcdir"/relocwrapper.c \ + "$srcdir"/progname.c \ + "$srcdir"/progreloc.c \ + "$srcdir"/areadlink.c \ + "$srcdir"/careadlinkat.c \ + "$srcdir"/allocator.c \ + "$srcdir"/readlink.c \ + "$srcdir"/canonicalize-lgpl.c \ + "$srcdir"/malloca.c \ + "$srcdir"/relocatable.c \ + "$srcdir"/setenv.c \ + "$srcdir"/strerror.c \ + "$srcdir"/c-ctype.c \ + -o "$destprog.wrapper$exeext" + rc=$? + # Clean up object files left over in the current directory by the native C + # compilers on Solaris, HP-UX, OSF/1, IRIX. + rm -f relocwrapper.o \ + progname.o \ + progreloc.o \ + areadlink.o \ + careadlinkat.o \ + allocator.o \ + readlink.o \ + canonicalize-lgpl.o \ + malloca.o \ + relocatable.o \ + setenv.o \ + strerror.o \ + c-ctype.o + test $rc = 0 || exit $? + # Clean up debugging information left over by the native C compiler on MacOS X. + rm -rf "$destprog.wrapper$exeext.dSYM" + test $rc = 0 || exit $? + + # Strip wrapper. + test "$strip_prog" = ':' || func_verbose "$strip_prog" "$destprog.wrapper$exeext" || exit $? + + # Rename $destprog.wrapper -> $destprog -> $destprog.bin. + ln -f "$destprog$exeext" "$destprog.bin$exeext" \ + || { rm -f "$destprog.bin$exeext" \ + && cp -p "$destprog$exeext" "$destprog.bin$exeext"; } \ + || exit 1 + mv "$destprog.wrapper$exeext" "$destprog$exeext" || exit 1 +} +func_iterate func_create_wrapper exit 0 debian/patches/series0000644000000000000000000000002411750214457012034 0ustar install-reloc.patch debian/compat0000644000000000000000000000000211615234130010360 0ustar 7 debian/control0000644000000000000000000000507012213626561010577 0ustar Source: freedink Section: games Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Games Team Uploaders: Sylvain Beucler 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.3 Homepage: http://www.gnu.org/software/freedink/ 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, fonts-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. debian/freedink.xpm0000644000000000000000000000245611615234130011506 0ustar /* 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", " . ...+", " .@. .##.", " .@@@. . .####", " .@$@. .#. .##%..", " .@@$@@. .##. .##%. ", " ..@@$&$@@..########.##.##%. ", " .@@@$&&&$@@@.......#.###.%. ", ".@@$$&&&&&$$@@@.%%%..$.###. ", " .@@@$&&&$@@@..%%%%.&&$.###. ", " #..@@$&$@@..%%%%%.&&$$&.###. ", " #.%.@@$@@.%%%%%%.&&$&&$...##. ", " #..%.@$@.%%%%%%.&&$&&$...#.. ", " ##.%.@@@.%.....&&$&$$.%%.## ", " #.%%.@.%%%.#.&&$&$$.%%%..## ", " #.%%.@.%%%..&&$&$..%%%%%.## ", " #.%%%.%%%..&&$&$.##.%%%%.## ", " #...%%%...&.$&$.###.%%%%.## ", " ###..%.#.#.#.$.#####.%%%.## ", " ###.%%.#.#.#.######.%%.#.# ", " ##.%%..#.#.#.#####.%%.#..# ", " ##..%.&....................##", " ###.%.&$.%%%%%#%#%##%####.....", " ##....&$&.#.#.#..............##", "##..%.&$&.#.#.#.#####.%%%.#..# ", "#..%%.$$.#.#.#.#####.%%%..#.# ", "#.%%%..........#####.%%%.### ", "#.%%....%%%%%%%..#..%%%..# ", "#.%%.##..%%%%%%%%.%%%%..## ", "#.%..###..%%%%%%%%%%%..## ", "#...## ##...%%%%%%%...## ", "##### ###.........### ", " ########### "}; debian/gbp.conf0000644000000000000000000000006411615234130010601 0ustar [DEFAULT] builder=debuild -i\.git\(ignore\)? -I.git debian/changelog0000644000000000000000000000726112213626563011054 0ustar freedink (1.08.20120427-2.1ubuntu1) saucy; urgency=low * Depend on fonts-liberation rather than ttf-liberation. -- Colin Watson Tue, 10 Sep 2013 15:32:18 +0100 freedink (1.08.20120427-2.1) unstable; urgency=low * Non-maintainer upload. * debian/freedink{,-engine-dbg}.postinst: Fix directory to symlink upgrade in postinst (Closes: #687860, #687851) -- David Prévot Wed, 26 Sep 2012 17:19:26 -0400 freedink (1.08.20120427-2) unstable; urgency=low * Update install-reloc (Closes: #671044) -- Sylvain Beucler Wed, 2 May 2012 14:00:00 +0200 freedink (1.08.20120427-1) unstable; urgency=low * New Upstream Version * Upgrade packaging to debhelper 7 and source format 3.0 (quilt) * Update copyright file * Bump Standards-Version to 3.9.3 * Update official webpage -- Sylvain Beucler Fri, 27 Apr 2012 19:00:00 +0200 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 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 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 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 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 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 Sat, 20 Sep 2008 20:34:22 +0200