debian/0000700000000000000000000000000012245621624007160 5ustar debian/crawl.png0000600000000000000000000000250712140474214010777 0ustar PNG  IHDR00WsRGBIDAThY!o$7)ՅI%>pR *h%CJPJ!*^j1.ر㵽9)Vٱf}hGҼ0{{]hW!f3>!Rxg;s.Cu]CJ BHE`B`UUR&;7c3)0]l~_&⃷C`: +gOtƩw//޺~#k0)ʲf4M Cc5_p)ם[ϑj۩(P\\^ `:Ыtc_}X\^SpN/0]8ƉMQ.Z~n[Bs!Lq;?oqy _KE|Fw&P% *G7qPHԿu|C}ziNmZLCF K\[|oEQu(I\|sT}j :BaV·-_?5ߪ%Bio.u"V8ƮG)흎lCE5(tb|@՚~8&TNV] .RYE||2v}hegQNR(:R C&ܹoiQRGwRi:«Phb/ ig}MuiPTNt?=[kXVN\UR2$RTj/"j0‚g6)%t5&,ˍ{xCkS2I{2Uٱi=uLrC'w04 me6L=`Ilzl[~vcS_ئmn4X1JDF c LK&DXJsg߅Z5'P~‡-9K@7x?œATL(gx)y/'"#c307Hj`VMky˾l׶rXRa0#CbE/(O ug~/4 %qksɠ5\Z eoT!|@6c&p/?>\Z4nLIENDB`debian/changelog0000600000000000000000000005067612245621624011052 0ustar crawl (2:0.13.1-1) unstable; urgency=low * New upstream release -- Adam Borowski Thu, 28 Nov 2013 12:05:56 +0100 crawl (2:0.13.0-2) unstable; urgency=low * Fix the tilesheets being out of sync between builds (including arch:all parts vs arch:any). Closes: #729938 * Disable LTO on arm{el,hf}, due to binutils bug #712189. * Depend on fonts-dejavu-core rather than ttf-dejavu, keeping the latter as an alternative because of backports. -- Adam Borowski Tue, 19 Nov 2013 04:02:18 +0100 crawl (2:0.13.0-1) unstable; urgency=low * New upstream release. * Removed source/contrib from upstream tarball. -- Guus Sliepen Mon, 18 Nov 2013 14:42:24 +0100 crawl (2:0.12.3-1) unstable; urgency=low * New upstream release. -- Guus Sliepen Mon, 30 Sep 2013 00:07:28 +0200 crawl (2:0.12.2-1) unstable; urgency=low * New upstream bugfix release * Give up and drop LTO on rare architectures, ie, anything but *arm*, *amd64*, *x32*, *i386*. There's apparently always an ICE on at least one arch somewhere among gcc-4.6/4.7/4.8/clang on Debian or Ubuntu. * Drop obsolete DM-Upload-Allowed. * Properly query DEB_HOST_ARCH on new dpkg-dev. -- Adam Borowski Sat, 08 Jun 2013 04:34:41 +0200 crawl (2:0.12.1-1) unstable; urgency=low * New upstream bugfix release * Autodetect LTO, to support backports. -- Adam Borowski Sun, 05 May 2013 12:20:44 +0200 crawl (2:0.12.0-1) unstable; urgency=low * New upstream release. * Revert -Os, benchmarks show it greatly reduces speed even on cache starved machines, and Crawl is too CPU hungry for small disk savings to matter. * Autodetect -fno-fat-lto-objects. -- Adam Borowski Thu, 02 May 2013 14:03:18 +0200 crawl (2:0.11.2-2) experimental; urgency=low * Don't use -fno-fat-lto-objects, the buildds do not support that yet. -- Guus Sliepen Wed, 20 Feb 2013 14:27:41 +0100 crawl (2:0.11.2-1) experimental; urgency=low * New upstream release. -- Guus Sliepen Wed, 20 Feb 2013 13:04:51 +0100 crawl (2:0.11.1-2) experimental; urgency=low * Enable link time optimization (LTO). -- Guus Sliepen Wed, 05 Dec 2012 14:03:18 +0100 crawl (2:0.11.1-1) experimental; urgency=low * New upstream release. Closes: #693593 * Update debian/watch file to search for .xz compressed tarballs. * Remove dont-redefine-fdatasync patch, it is no longer necessary. * Move tile graphics to its own package, crawl-tiles-data. -- Guus Sliepen Sun, 02 Dec 2012 00:15:02 +0100 crawl (2:0.10.3-3) unstable; urgency=low * Work around dpkg failing to replace a directory with a symlink. Closes: #692947 -- Adam Borowski Thu, 15 Nov 2012 13:54:14 +0100 crawl (2:0.10.3-2) unstable; urgency=low * Never #define NEED_FAKE_FDATASYNC; all platforms supported by Debian have a working fdatasync(). -- Guus Sliepen Wed, 20 Jun 2012 13:19:32 +0200 crawl (2:0.10.3-1) unstable; urgency=low * New upstream bugfix release. * Includes a workaround for miscompilation (amd64) or FTBFS (certain other architectures) on gcc-4.7, caused by http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53330 * Fix CPPFLAGS set by dpkg-buildflags being ignored (-D_FORTIFY_SOURCE=2). * Spam the hell out of build logs, overridable by DEB_BUILD_OPTIONS=terse. Closes: #668987 -- Adam Borowski Thu, 14 Jun 2012 11:41:30 +0200 crawl (2:0.10.2-2) unstable; urgency=low * Build-Depend on libpng-dev. -- Guus Sliepen Sat, 14 Apr 2012 18:21:54 +0200 crawl (2:0.10.2-1) unstable; urgency=low * New upstream bugfix release. Closes: #668321 * Tell the makefile to not strip instead of patching that out. * Install the SVG icon as .svg rather than .png. -- Adam Borowski Thu, 12 Apr 2012 18:19:04 +0200 crawl (2:0.10.0-2) unstable; urgency=low * Fix link to .txt files in /usr/share/doc/crawl-common/. Closes: #660388 * Fix link to Stone Soup icon. Closes: #647464 -- Guus Sliepen Sun, 19 Feb 2012 19:27:10 +0100 crawl (2:0.10.0-1) unstable; urgency=low [ Adam Borowski ] * New upstream release. * Obey flags set by dpkg-buildflags. * Work around breakage of quiltless workflows in dpkg 1.16.1. * Correct a symlink to the 32x32 icon. Closes: #647464 * Install the SVG icon as well. * Don't request wizmode, it is compiled in by default. [ Guus Sliepen ] * Don't let the upstream Makefile strip binaries. -- Guus Sliepen Fri, 17 Feb 2012 21:17:51 +0100 crawl (2:0.9.1-1) unstable; urgency=low * New upstream bugfix release. -- Adam Borowski Mon, 05 Sep 2011 13:14:17 +0200 crawl (2:0.9.0-1) unstable; urgency=low * New upstream release. * Drop debian/NEWS warning about save compatibility -- not only 0.8 saves can be loaded in 0.9, but incompatible saves produce user-friendly messages as well. * Fix handling of {build,binary}-{arch,indep}. * Support cross-compiling. -- Adam Borowski Fri, 12 Aug 2011 18:47:47 +0200 crawl (2:0.8.1-1) unstable; urgency=low * New upstream bugfix release. * Restore the workaround for g++-4.4 bug on powerpc, backports need it. -- Adam Borowski Tue, 14 Jun 2011 22:50:57 +0200 crawl (2:0.8.0-2) unstable; urgency=low [Guus Sliepen] * Merge Adam Borowski's work. Closes: #627600 [Adam Borowski] * Drop any setgidness (no longer supported). * Build-depend on advancecomp to reduce package size. * Enable wizard mode, no setgid = no trouble. Closes: #598484 * Relicensed to GPL2+. -- Guus Sliepen Sun, 22 May 2011 16:37:05 +0200 crawl (2:0.8.0-1) unstable; urgency=low * New upstream release. Closes: #618850 * Use debian/watch file from Vincent Cheng. * Don't move in-game documentation to /usr/share/doc/crawl-common. Closes: #597724 * Bump Standards-Version. * Use hardlinks to create the build-console and build-tiles directories. -- Guus Sliepen Sat, 21 May 2011 21:04:53 +0200 crawl (2:0.7.1-3) unstable; urgency=low * Work around a g++-4.4 bug on powerpc by building with -O0 there. * Fix uninstallability on fresh installs. * Pick up upstream stable fixes up to 0.7.1-15-g73f6e1f (mostly crashes). -- Adam Borowski Fri, 06 Aug 2010 02:29:30 +0200 crawl (2:0.7.1-2) unstable; urgency=low * Rebuild in a build environment without nvidia packages installed. Closes: #591661, #591663 * Bump Standards-Version. -- Guus Sliepen Thu, 05 Aug 2010 00:08:20 +0200 crawl (2:0.7.1-1) unstable; urgency=low * New upstream bugfix release. Closes: #590317 -- Adam Borowski Sun, 25 Jul 2010 00:30:47 +0200 crawl (2:0.7.0-1) unstable; urgency=low * New upstream release. * Move the SAVEDIR to ~/.crawl, push the remnants of the shared dir one level up. This fixes the security issues while still keeping scores and bones system wide. The database cache is currently wastefully in ~/.crawl/, but until the handling of read-only db is improved, that's better than letting the first player to run Crawl after an upgrade mess everyone up. * Pick a couple of fresh 0.7 fixes. -- Adam Borowski Sat, 24 Jul 2010 10:44:20 +0200 crawl (2:0.6.1-1) unstable; urgency=low * New upstream bugfix release. -- Adam Borowski Wed, 09 Jun 2010 15:07:16 +0200 crawl (2:0.6.0-2) unstable; urgency=low * Fix build failures on hppa, s390, kfreebsd-*. * Properly set permissions on the score file on fresh installations. Closes: #576552, #576618 -- Adam Borowski Tue, 06 Apr 2010 14:04:05 +0200 crawl (2:0.6.0-1) unstable; urgency=low * New upstream release. Closes: #575626 * Better message on incompatible saves. Closes: #498080 * Totally redone packaging. * Use the upstream makefile to make sure all installed files are installed. Closes: #527278 * Added tiles build, the packages are now crawl (console), crawl-tiles and crawl-common. * Make the scores and logfile owned by games:games instead of the first player who plays a game. * Delete all saves and logfiles when Crawl is purged. * Delete 4.0 score files on upgrade. Closes: #451597 * Use fonts from ttf-dejavu instead of shipping a redundant copy. * Add a FreeDesktop menu entry. * Update the homepage, it's now at http://crawl.develz.org * Rebuilding with new ncurses fixes bright colors on xterm-256. Closes: #439597 -- Adam Borowski Sun, 28 Mar 2010 14:35:18 +0200 crawl (2:0.5.2-4) unstable; urgency=low * Import patch from Pino Toscano fixing the check for MacOS/X, which caused crawl to FTBFS on other Mach architectures like the Hurd. Closes: #558388 -- Guus Sliepen Sat, 28 Nov 2009 17:13:13 +0100 crawl (2:0.5.2-3) unstable; urgency=low * Build-Depend on liblua5.1-0-dev and pkg-config. -- Guus Sliepen Fri, 27 Nov 2009 19:19:30 +0100 crawl (2:0.5.2-2) unstable; urgency=low * Quilt refresh patches to ensure the package can be unpacked without quilt. Closes: #558195 * Remove unused patches that have been merged upstream. -- Guus Sliepen Fri, 27 Nov 2009 17:57:50 +0100 crawl (2:0.5.2-1) unstable; urgency=low [ Guus Sliepen ] * New upstream release. Closes: 523694 * Bump Standards-Version. * Do not include docs/libpng-LICENSE.txt. * Define SAVE_PACKAGE_TAR to save games as tar.gz instead of zip. Closes: #497356 [ Trent W. Buck ] * Adopt 3.0 (quilt) format. * Add a watchfile. Closes: #523696 * Bump debhelper compatibility to 7 (from 4). * Replace debian/rules boilerplate with dh(1). * Replace upstream's makefile entirely (with debian/GNUmakefile). * Adhere more strictly to the FHS: * Global default configuration in /etc/crawl. * Documentation in /usr/share/doc/crawl. * Data (e.g. lua scripts) in /usr/share/games/crawl. * Dead characters in /var/games/crawl/morgue. * Living characters in /var/games/crawl/saves. * Purge upstream's convenience copies of libraries, to enure they can't accidentally be used during compilation. Closes: #505692 * Move much manual debian/rules messing about into declarative debian/crawl.foo files. One bad side effect: examples/crawlrc becomes examples/init.txt. Sorry about that. * Appease lintian: * debhelper-but-no-misc-depends; * extra-license-file; * spelling-error-in-binary: persistant. * Add a watch file for uscan(1). * Drop Debian.README; it should be clear to everyone by now that DCSS is the actively developed Crawl codebase. -- Guus Sliepen Thu, 26 Nov 2009 19:09:09 +0000 crawl (2:0.4.4-1) unstable; urgency=low * New upstream release. Closes: #509209 - Fixes speed of skill training. Closes: #508127 * Add missing documentation to /usr/share/doc/crawl/. Closes: #509206 * Apply patch from Martin Michlmayr fixing compilation with GCC 4.4. Closes: #505692 * Do not try to autodetect UTF-8 support based on locale information, just assume it will work on a Debian system. Closes: #467255 -- Guus Sliepen Mon, 29 Dec 2008 17:17:45 +0100 crawl (2:0.4.1-1) unstable; urgency=low * New upstream release. -- Guus Sliepen Mon, 21 Jul 2008 12:27:12 +0200 crawl (2:0.3.4-1) unstable; urgency=low * New upstream release. -- Guus Sliepen Tue, 05 Feb 2008 14:28:44 +0100 crawl (2:0.3.3-2) unstable; urgency=low * Move documentation to /usr/share/games/crawl/ so the in-game help system can find it. Closes: #455480 * Fix build failure with GCC 4.3. Closes: #456088 -- Guus Sliepen Sat, 15 Dec 2007 00:06:00 +0100 crawl (2:0.3.3-1) unstable; urgency=low * New upstream release. -- Guus Sliepen Fri, 07 Dec 2007 17:18:04 +0100 crawl (2:0.3.2-1) unstable; urgency=low * New upstream release. * Enable Unicode support. Closes: #451028 * Use nl_langinfo() to detect Unicode support. -- Guus Sliepen Mon, 19 Nov 2007 12:46:39 +0100 crawl (2:0.3.1-1) unstable; urgency=low * New upstream release. - Enables lua bindings. Closes: #447588 * Don't link with built-in liblua implementation. -- Guus Sliepen Thu, 08 Nov 2007 15:19:34 +0100 crawl (2:0.2.7-1) unstable; urgency=low * New upstream release. -- Guus Sliepen Tue, 12 Jun 2007 15:46:25 +0200 crawl (2:0.2.6-1) unstable; urgency=low * New upstream release. -- Guus Sliepen Fri, 08 Jun 2007 09:24:09 +0200 crawl (2:0.2.5-1) unstable; urgency=low * New upstream release. * Save morgue files in /var/games/crawl by default. -- Guus Sliepen Mon, 14 May 2007 17:30:31 +0200 crawl (2:0.2.4-2) unstable; urgency=low * Remove superfluous semicolon which GCC 4.3 doesn't like. Closes: #421212 -- Guus Sliepen Sat, 28 Apr 2007 10:22:36 +0200 crawl (2:0.2.4-1) unstable; urgency=low * Switch to a new upstream: http://crawl-ref.sourceforge.net/. The old upstream has shown no activity for the last few years, and the Yahoo group crawl-dev only shows spam messages. -- Guus Sliepen Mon, 16 Apr 2007 10:44:42 +0200 crawl (1:4.0.0beta26-9) unstable; urgency=low * Add missing #includes necessary for the stricter header dependencies in GCC 4.3 and onwards. Patch from Martin Michlmayr. Closes: #417134 * Fix two cases of dereferencing type-punned pointer. -- Guus Sliepen Mon, 02 Apr 2007 16:26:03 +0200 crawl (1:4.0.0beta26-8) unstable; urgency=low * Reset terminal attributes after shutting down curses. Closes: #369203 * Correct CVE reference in previous changelog entry. Closes: #350349 -- Guus Sliepen Sun, 28 May 2006 15:22:13 +0200 crawl (1:4.0.0beta26-7) unstable; urgency=high * Fix insecure execution of external commands. See DSA 949-1. [CVE-2006-0045] -- Guus Sliepen Fri, 20 Jan 2006 17:15:01 +0100 crawl (1:4.0.0beta26-6) unstable; urgency=low * Fix possible uninitialised string when casting Blade Hands spell. Thanks to Ilya Kasnacheev for noticing. Closes: #325706 * Apply patch from Kalle Olavi Niemitalo to fix uncursing of Enchant Armor spell. Closes: #321082 -- Guus Sliepen Mon, 17 Oct 2005 13:00:58 +0200 crawl (1:4.0.0beta26-5) unstable; urgency=low * Recompile needed for C++ ABI change. * Remove unnecessary CFLAGS. * Don't build-depend on g++ anymore. * Apply patch from Kalle Olavi Niemitalo to fix a possible infinite loop. Closes: #314754 * Apply patch from Stephen Rueger to fix lines starting with an apostrophe in the manpage. Closes: #301764 * Apply patch from Sami Liedes to prevent segfault when using the -scores option. Closes: #227803 -- Guus Sliepen Fri, 22 Jul 2005 13:09:33 +0200 crawl (1:4.0.0beta26-4) unstable; urgency=low * Fix potential local security hole due to improper use of environmental variable which may allow local GID(games) compromise. See DSA-432. -- Guus Sliepen Sun, 1 Feb 2004 18:08:51 +0100 crawl (1:4.0.0beta26-3) unstable; urgency=low * Fix map viewing bug on large terminals. Closes: #207059 -- Guus Sliepen Mon, 25 Aug 2003 15:23:10 +0200 crawl (1:4.0.0beta26-2) unstable; urgency=low * Remove braces around strings. Closes: #195147 -- Guus Sliepen Thu, 29 May 2003 15:28:47 +0200 crawl (1:4.0.0beta26-1) unstable; urgency=low * New upstream release. -- Guus Sliepen Tue, 25 Mar 2003 21:48:16 +0100 crawl (1:4.0.0beta25-1) unstable; urgency=low * New upstream release. * Spelling fixes from D. Brodale. -- Guus Sliepen Fri, 7 Mar 2003 13:51:39 +0100 crawl (1:4.0.0beta24-6) unstable; urgency=low * Make init.txt available as example crawlrc. Closes: #162707 * Fix monster->monster poisoning. Closes: #162621 * Spelling fixes. Closes: #162620 -- Guus Sliepen Sat, 23 Nov 2002 19:34:14 +0100 crawl (1:4.0.0beta24-5) unstable; urgency=low * Apply fixed patch from Daniel Burrows. Closes: #156698 * All character titles should be nouns. Closes: #160166 -- Guus Sliepen Sun, 22 Sep 2002 17:20:48 +0200 crawl (1:4.0.0beta24-4) unstable; urgency=low * Apply item description patch from Daniel Burrows. Closes: #156698 * Stop possible infinite loop in monster_polymorph(). Closes: #159013 -- Guus Sliepen Wed, 4 Sep 2002 11:20:46 +0200 crawl (1:4.0.0beta24-3) unstable; urgency=low * Add URL and upstream maintainers to debian/copyright. Closes: #154182 * Wait for key after displaying high score list. Closes: #156846 -- Guus Sliepen Sat, 17 Aug 2002 21:06:10 +0200 crawl (1:4.0.0beta24-2) unstable; urgency=low * Compile with -fsigned-char. Closes: #153931 -- Guus Sliepen Wed, 24 Jul 2002 18:46:57 +0200 crawl (1:4.0.0beta24-1) unstable; urgency=low * New upstream release. -- Guus Sliepen Mon, 10 Jun 2002 14:34:43 +0200 crawl (1:4.0.0beta23-2) unstable; urgency=low * Added menu hints. -- Guus Sliepen Tue, 9 Apr 2002 21:42:20 +0200 crawl (1:4.0.0beta23-1) unstable; urgency=low * New upstream release. -- Guus Sliepen Sun, 17 Mar 2002 15:53:08 +0100 crawl (1:4.0.0beta22-1) unstable; urgency=low * New upstream release. * Fixed checks for resistance against poison and electricity. -- Guus Sliepen Fri, 21 Dec 2001 18:32:29 +0100 crawl (1:4.0.0beta20-3) unstable; urgency=low * Added entry for Debian's menu system. -- Guus Sliepen Wed, 12 Dec 2001 23:21:42 +0100 crawl (1:4.0.0beta20-2) unstable; urgency=low * Change group of morgue.txt to that of the user. Closes: #119933 -- Guus Sliepen Sat, 17 Nov 2001 13:58:34 +0100 crawl (1:4.0.0beta20-1) unstable; urgency=low * New upstream release. -- Guus Sliepen Fri, 10 Aug 2001 22:00:12 +0200 crawl (1:4.0.0beta19-1) unstable; urgency=low * New upstream release. -- Guus Sliepen Fri, 10 Aug 2001 22:00:12 +0200 crawl (1:4.0.0beta18-1) unstable; urgency=low * New upstream release. -- Guus Sliepen Sun, 5 Aug 2001 12:43:16 +0200 crawl (1:4.0.0beta17-2) unstable; urgency=low * Correct build dependencies. Closes: #104840 * ISO-14882 compliance. -- Guus Sliepen Sat, 14 Jul 2001 14:19:50 +0200 crawl (1:4.0.0beta17-1) unstable; urgency=low * New upstream release. -- Guus Sliepen Fri, 1 Jun 2001 19:57:38 +0200 crawl (1:4.0.0beta16-1) unstable; urgency=low * New upstream release. Closes: #95685 -- Guus Sliepen Fri, 11 May 2001 12:28:14 +0200 crawl (1:4.0.0beta15-1) unstable; urgency=low * New upstream release. * New version numbering scheme. * Documented running/open prefix commands. Closes: #94925 -- Guus Sliepen Sat, 28 Apr 2001 13:36:31 +0200 crawl (20010419-1) unstable; urgency=low * New upstream release. -- Guus Sliepen Sat, 21 Apr 2001 18:49:42 +0200 crawl (20010409-1) unstable; urgency=low * New upstream release. -- Guus Sliepen Tue, 10 Apr 2001 10:29:51 +0200 crawl (20010402-1) unstable; urgency=low * New upstream release. * Minor spelling fixes. -- Guus Sliepen Mon, 2 Apr 2001 21:35:59 +0200 crawl (20010321-2) unstable; urgency=low * Fixed character dump segfault bug. Closes: #92315 -- Guus Sliepen Sat, 31 Mar 2001 20:20:57 +0200 crawl (20010321-1) unstable; urgency=low * New upstream release. Closes: #91344 * Fixed -plain option. Closes: #90986 * Enabled MULTIUSER option so that savegames/scores are global. -- Guus Sliepen Mon, 26 Mar 2001 23:32:20 +0200 crawl (20010306-1) unstable; urgency=low * Initial Release. Closes: #89154 * Adjusted alternate character set handling to allow crawl to be played in xterms, provided that a VGA font is used. -- Guus Sliepen Sat, 10 Mar 2001 17:40:09 +0100 debian/crawl.postinst0000600000000000000000000000030712140474250012072 0ustar #!/bin/sh set -e # Work around dpkg failing to replace directiories with a symlink. DOC=/usr/share/doc/crawl if rmdir $DOC 2>/dev/null then ln -sf /usr/share/doc/crawl-common $DOC fi #DEBHELPER# debian/crawl-common.docs0000600000000000000000000000005512140474214012425 0ustar CREDITS.txt README.txt README.pdf docs/*.pdf debian/crawl-tiles.menu0000600000000000000000000000023312140474214012267 0ustar ?package(crawl-tiles):command="/usr/games/crawl-tiles" \ needs="X11" section="Games/Adventure" \ title="Dungeon Crawl (tiles)" hints="Roguelike,Dungeon" debian/source/0000700000000000000000000000000012140474215010454 5ustar debian/source/include-binaries0000600000000000000000000000002112140474214013606 0ustar debian/crawl.png debian/source/options0000600000000000000000000000002412140474215012070 0ustar single-debian-patch debian/source/format0000600000000000000000000000001412140474214011663 0ustar 3.0 (quilt) debian/rules0000711000000000000000000001226312242552014010237 0ustar #!/usr/bin/make -f ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) MAKEFLAGS += -j$(NUMJOBS) endif DEB_HOST_ARCH = $(shell dpkg-architecture -qDEB_HOST_ARCH) ifneq (,$(shell gcc --version|grep 'gcc (.*) 4\.4\.')) ifeq ($(DEB_HOST_ARCH),powerpc) # g++-4.4 has an ICE there. DEB_BUILD_OPTIONS := $(DEB_BUILD_OPTIONS) noopt endif endif ifneq (,$(findstring amd64,$(DEB_HOST_ARCH))) LTO=y endif ifneq (,$(findstring x32,$(DEB_HOST_ARCH))) LTO=y endif ifneq (,$(findstring i386,$(DEB_HOST_ARCH))) LTO=y endif CFOPTIMIZE = $(shell dpkg-buildflags --get CXXFLAGS || echo -g -O2) \ $(shell dpkg-buildflags --get LDFLAGS) \ $(shell dpkg-buildflags --get CPPFLAGS) ifneq ($(LTO),) ifeq ($(shell g++ -x c++ /dev/null -flto=jobserver -fwhole-program 2>&1 | grep 'unrecognized command line option'),) CFOPTIMIZE += -flto=jobserver -fwhole-program endif ifeq ($(shell g++ -x c++ /dev/null -fno-fat-lto-objects 2>&1 | grep 'unrecognized command line option'),) CFOPTIMIZE += -fno-fat-lto-objects endif endif ifeq (,$(filter terse%,$(DEB_BUILD_OPTIONS))$(filter quiet%,$(DEB_BUILD_OPTIONS))) VERBOSE=V=y endif tree-stamp: dh_testdir mkdir build-console cp -ldpR docs settings source CREDITS.txt build-console/ mkdir build-tiles cp -ldpR docs settings source CREDITS.txt build-tiles/ touch tree-stamp DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) CROSS=CROSSHOST=$(DEB_HOST_GNU_TYPE) endif # The makefile is unorthodox, requiring all options to be specified on every invocation. ARGS_CONSOLE = prefix=/usr CFOPTIMIZE="$(CFOPTIMIZE)" STRIP=: $(CROSS) $(VERBOSE) ARGS_TILES = $(ARGS_CONSOLE) TILES=y GAME=crawl-tiles \ PROPORTIONAL_FONT=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf \ MONOSPACED_FONT=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf build-arch build-indep: build-stamp build-stamp: tree-stamp dh_testdir cd build-console/source && $(MAKE) $(ARGS_CONSOLE) cd build-tiles/source && $(MAKE) $(ARGS_TILES) touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp tree-stamp rm -rf build-console build-tiles git clean -dfX || true dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs cd build-console/source && $(MAKE) $(ARGS_CONSOLE) install DESTDIR=../../debian/crawl-common #cd debian/crawl-common/usr/share && mkdir -p doc/crawl-common && \ # mv crawl/docs/* doc/crawl-common && \ # mv doc/crawl-common/crawl_manual.txt crawl/docs rm -rf debian/crawl-common/usr/share/crawl/docs/license mkdir -p debian/crawl/usr/ mv debian/crawl-common/usr/games debian/crawl/usr/games cd build-tiles/source && $(MAKE) $(ARGS_TILES) install DESTDIR=../../debian/crawl-tiles rm -rf debian/crawl-tiles/var cd debian/crawl-tiles/usr/share/crawl/ && rm -rf docs settings mkdir -p debian/crawl-tiles-data/usr/share/crawl/dat mv debian/crawl-tiles/usr/share/crawl/dat/tiles debian/crawl-tiles-data/usr/share/crawl/dat/ rm -rf debian/crawl-tiles/usr/share/crawl/dat mkdir -p debian/crawl/usr/share/man/man6 cp docs/crawl.6 debian/crawl/usr/share/man/man6/ mkdir -p debian/crawl-tiles/usr/share/man/man6 cp docs/crawl.6 debian/crawl-tiles/usr/share/man/man6/crawl-tiles.6 mkdir -p debian/crawl-common/usr/share/doc/crawl-common/examples cp settings/init.txt debian/crawl-common/usr/share/doc/crawl-common/examples/crawlrc for i in docs/*.txt; do \ ln -sf /usr/share/crawl/$$i debian/crawl-common/usr/share/doc/crawl-common/; \ done mkdir -p debian/crawl/usr/share/doc ln -sf crawl-common debian/crawl/usr/share/doc/crawl mkdir -p debian/crawl-tiles/usr/share/doc ln -sf crawl-common debian/crawl-tiles/usr/share/doc/crawl-tiles mkdir -p debian/crawl-tiles-data/usr/share/doc ln -sf crawl-common debian/crawl-tiles-data/usr/share/doc/crawl-tiles-data dh_install -pcrawl-tiles debian/crawl-tiles.desktop usr/share/applications dh_install -pcrawl-tiles debian/crawl.png usr/share/icons/hicolor/48x48/apps dh_link -pcrawl-tiles usr/share/crawl/dat/tiles/stone_soup_icon-32x32.png \ usr/share/icons/hicolor/32x32/apps/crawl.png mkdir -p debian/crawl-tiles/usr/share/icons/hicolor/scalable/apps cp -p source/util/dcss.svg \ debian/crawl-tiles/usr/share/icons/hicolor/scalable/apps/crawl.svg # Build architecture-independent files here. binary-indep: install dh_testdir dh_testroot dh_installdocs -pcrawl-common -Xcrawl_manual.txt -Xaptitudes.txt -Xquickstart.txt -Xmacros_guide.txt -Xoptions_guide.txt -Xtiles_help.txt dh_installchangelogs -pcrawl-common docs/changelog.txt dh_link -i dh_compress -i -Xaptitudes.txt dh_fixperms -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i # Build architecture-dependent files here. binary-arch: install dh_testdir dh_testroot dh_installmenu -a dh_link -a dh_compress -a -Xaptitudes.txt dh_strip -a dh_fixperms -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a build: build-indep build-arch binary: binary-indep binary-arch .PHONY: build-indep build-arch build clean binary-indep binary-arch binary install debian/watch0000600000000000000000000000015512140474250010207 0ustar version=3 opts=uversionmangle=s/\-nodeps// \ http://sf.net/crawl-ref/stone_soup-(.+)\.t(?:ar.)?(?:gz|bz2|xz) debian/crawl-common.postrm0000600000000000000000000000031412140474214013017 0ustar #!/bin/sh set -e # Applies only to versions <0.8 if [ "$1" = "purge" ]; then echo -n "Purging high scores and bone files for Crawl... " rm -rf /var/games/crawl/ echo "done." fi #DEBHELPER# debian/compat0000600000000000000000000000000212140474214010353 0ustar 7 debian/crawl-tiles.desktop0000600000000000000000000000017312140474214012777 0ustar [Desktop Entry] Type=Application Name=Dungeon Crawl Exec=/usr/games/crawl-tiles Icon=crawl Categories=Game;AdventureGame; debian/patches/0000700000000000000000000000000012242524366010611 5ustar debian/patches/debian-changes0000644000000000000000000000266212245654054013405 0ustar Description: TODO: Put a short summary on the line above and replace this paragraph with a longer explanation of this change. Complete the meta-information with other relevant fields (see below for details). To make it easier, the information below has been extracted from the changelog. Adjust it or drop it. . crawl (2:0.13.0-2) unstable; urgency=low . * Fix the tilesheets being out of sync between builds (including arch:all parts vs arch:any). Author: Adam Borowski --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- crawl-0.13.1.orig/source/util/art-data.pl +++ crawl-0.13.1/source/util/art-data.pl @@ -775,7 +775,7 @@ sub write_tiles HEADER_END # Output the tile definitions sorted by type (and thus path). - foreach my $type (keys %art_by_type) + foreach my $type (sort keys %art_by_type) { print TILES "%sdir item/$type/artefact\n"; debian/patches/series0000600000000000000000000000001712242524366012026 0ustar debian-changes debian/control0000600000000000000000000000521312242552443010565 0ustar Source: crawl Section: games Priority: optional Maintainer: Guus Sliepen Uploaders: Trent W. Buck , Adam Borowski Standards-Version: 3.9.4 Build-Depends: debhelper (>= 7), libncursesw5-dev, bison, flex, liblua5.1-0-dev, pkg-config, libsdl-image1.2-dev, libsdl1.2-dev, libsqlite3-dev, libfreetype6-dev, advancecomp, libpng-dev Homepage: http://crawl.develz.org/ Package: crawl-common Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: crawl | crawl-tiles Description: Dungeon Crawl, a text-based roguelike game (data files) Crawl is a fun game in the grand tradition of games like Rogue, Hack, and Moria. Your objective is to travel deep into a subterranean cave complex and retrieve the Orb of Zot, which is guarded by many horrible and hideous creatures. . These are the data and support files. . This is the Stone Soup version of Dungeon Crawl. Package: crawl Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, crawl-common (= ${source:Version}) Description: Dungeon Crawl, a text-based roguelike game Crawl is a fun game in the grand tradition of games like Rogue, Hack, and Moria. Your objective is to travel deep into a subterranean cave complex and retrieve the Orb of Zot, which is guarded by many horrible and hideous creatures. . This is the console version, for tiles, use crawl-tiles instead. . This is the Stone Soup version of Dungeon Crawl. Package: crawl-tiles-data Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, crawl-common (= ${source:Version}) Conflicts: crawl-tiles (<< 2:0.11.1-1) Replaces: crawl-tiles (<< 2:0.11.1-1) Recommends: crawl-tiles Description: Dungeon Crawl, a text-based roguelike game (tile data files) Crawl is a fun game in the grand tradition of games like Rogue, Hack, and Moria. Your objective is to travel deep into a subterranean cave complex and retrieve the Orb of Zot, which is guarded by many horrible and hideous creatures. . These are the tile graphics. . This is the Stone Soup version of Dungeon Crawl.Package: crawl-tiles Package: crawl-tiles Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, crawl-common (= ${source:Version}), crawl-tiles-data (= ${source:Version}), fonts-dejavu-core | ttf-dejavu Description: Dungeon Crawl, a roguelike game, tiles version Crawl is a fun game in the grand tradition of games like Rogue, Hack, and Moria. Your objective is to travel deep into a subterranean cave complex and retrieve the Orb of Zot, which is guarded by many horrible and hideous creatures. . This is the graphical (tiles) version. . This is the Stone Soup version of Dungeon Crawl. debian/crawl.menu0000600000000000000000000000021012140474214011144 0ustar ?package(crawl):command="/usr/games/crawl" \ needs="text" section="Games/Adventure" \ title="Dungeon Crawl" hints="Roguelike,Dungeon" debian/crawl-common.postinst0000600000000000000000000000074212140474214013363 0ustar #!/bin/sh set -e # Everything here is clean-up from old versions that used to be setgid. OLDDIR=/var/games/crawl/saves DIR=/var/games/crawl # Drop the old db cache; the new one is in ~/.crawl/ for security reasons. rm -rf $OLDDIR/db rm -rf $OLDDIR/des rm -f $OLDDIR/*.prf # We keep old saves and bones for now, they're incompatible but the user may # decide to downgrade to complete a game in progress. rmdir $OLDDIR $DIR/morgue $DIR >/dev/null 2>/dev/null || true #DEBHELPER# debian/copyright0000600000000000000000000000507712140474215011122 0ustar This package was debianized by Guus Sliepen on Sat, 10 Mar 2001 17:40:09 +0100 It was downloaded from http://crawl-ref.sourceforge.net/ Upstream Author: the Stone Soup team Dungeon Crawl Stone Soup Copyright 1997-2011 Linley Henzell, the dev team, and the contributors 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. On Debian systems, the full text of the GPL is also available at /usr/share/common-licenses/GPL-2 Certain pieces come with different licenses, all compatible with the GPL. These include: * 3-clause BSD: MSVC/stdint.h * 2-clause BSD: all contributions by Steve Noonan and Jesse Luehrs * Public Domain|CC0: most of tiles. Exact list is sketchy, please refer to the rltiles project for a public domain subset that errs on the side of caution where authorship of a certain tile is uncertain. THE "BSD" LICENCE ----------------- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the University of Cambridge nor the name of Google Inc. nor the names of their contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. End