--- wesnoth-1.8-1.8.5.orig/debian/changelog
+++ wesnoth-1.8-1.8.5/debian/changelog
@@ -0,0 +1,1415 @@
+wesnoth-1.8 (1:1.8.5-1) unstable; urgency=low
+
+ * New upstream stable release.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Thu, 30 Sep 2010 08:47:42 +0200
+
+wesnoth-1.8 (1:1.8.4-1) unstable; urgency=low
+
+ * New upstream stable release.
+ * Also create metapackages for wesnoth-music and transitional packages for
+ wesnoth-editor and wesnoth-all to ease upgrades (closes: #594317)
+
+ -- Gerfried Fuchs <rhonda@debian.at> Sun, 26 Sep 2010 22:19:05 +0200
+
+wesnoth-1.8 (1:1.8.3-5) unstable; urgency=low
+
+ * Brown paper bag release.
+ * When changing from directory to symlink in wesnoth and wesnoth-core do use
+ wesnoth-1.8-data, not the non-existing wesnoth-data one. Also remove the
+ now potential existing wrong symlink we might have introduced through -4
+ upgrades. Thanks to my proof reader Julien Cristau again.
+ * Also switch the version comparison to lt-nl instead of le-nl so that the
+ check won't trigger on reinstall, also noticed by Julien.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Thu, 19 Aug 2010 21:18:07 +0200
+
+wesnoth-1.8 (1:1.8.3-4) unstable; urgency=low
+
+ * Ship default file for the server init script and adapt the init script to
+ use the script name instead of the binary name for the default file.
+ * Fix debian/branchcheck helper script. Noticed by Julien Cristau, thanks.
+ * Add postinst scripts for wesnoth and wesnoth-core packages that turn the
+ doc directory into symlinks. Also noticed by Julien Cristau, thanks!
+ * Improve a package description by suggestion of Julien Cristau.
+ * Add NEWS entry about the new handling of things.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Wed, 18 Aug 2010 22:57:00 +0200
+
+wesnoth-1.8 (1:1.8.3-3) unstable; urgency=low
+
+ * Make wesnoth and wesnoth-core packages directly depend on
+ wesnoth-1.8-core.
+ * Change debianization licensing to WTFPLv2.
+ * Use same commandline in the menu file like in the application file for the
+ editor.
+ * Bump Standards-Version to 3.9.1.
+ * Fix spelling errors in control file.
+ * Add lintian override for diversion-for-unknown-file.
+ * Move update-alternatives --remove to prerm.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Sun, 15 Aug 2010 22:57:20 +0200
+
+wesnoth-1.8 (1:1.8.3-2) unstable; urgency=low
+
+ * Adjust LSB init.d headers to match runlinks.
+ * Update wesnoth-1.8-core package description, synchronize spacing and
+ ordering in other package descriptions.
+ * Bump to Standards-Version 3.9.0.
+ * Use BRANODOT as placeholder in branchcheck script (for alternative
+ priority)
+ * Use alternative handling and dpkg-divert for wesnoth binaries and
+ manpages.
+ * Add wesnoth and wesnoth-core meta packages depending on the corresponding
+ branch package (closes: #586291)
+ * Call patch and unpatch explicitly instead of having them as dependency.
+ This applies the patches again (closes: #588712, LP: #610056)
+ * New patch wesnothd-name to make the client search for wesnothd-1.8 instead
+ of only wesnothd.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Fri, 13 Aug 2010 21:29:26 +0200
+
+wesnoth-1.8 (1:1.8.3-1) unstable; urgency=low
+
+ * New upstream release
+ * Really enable DEB_BUILD_OPTIONS="parallel=X" in debian/rules.
+ * unpatch after cleaning, not before.
+ * Have its own configure target.
+ * Put make depends on build where it belongs.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Tue, 06 Jul 2010 17:42:53 +0200
+
+wesnoth-1.8 (1:1.8.2-1) unstable; urgency=low
+
+ * New upstream stable release.
+ * Call configure with --disable-strict-compilation
+ --disable-maintainer-mode.
+ * debian/rules: There is only one build and install target, enabling
+ DEB_BUILD_OPTIONS="parallel=X" support.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Tue, 01 Jun 2010 21:16:42 +0200
+
+wesnoth-1.8 (1:1.8.1-1) unstable; urgency=low
+
+ * New upstream stable release.
+ * Obsolete removed patches: missing-wml-child-error, lobby-crash
+ * Fix icon names in desktop files (LP: #566115)
+ * Add branch version to menu file.
+ * Actually add stop links for all runlevels (LP: #109434)
+ * Switch debian/watch to stable releases only again.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Mon, 03 May 2010 00:08:30 +0200
+
+wesnoth-1.8 (1:1.8-3) unstable; urgency=low
+
+ * Remove parallel build support again, it's dysfunctional and proper support
+ would require major debian/rules rewrite.
+ * Only create stop symlinks for the server. Starting a lan games starts the
+ server automatically and having it running all the time is rare.
+ (LP: #109434)
+
+ -- Gerfried Fuchs <rhonda@debian.at> Wed, 21 Apr 2010 23:51:34 +0200
+
+wesnoth-1.8 (1:1.8-2) unstable; urgency=low
+
+ * Support for DEB_BUILD_OPTIONS="parallel=X" added, thanks to prodding by
+ Marc Brockschmidt.
+ * Pulled two upstream bugfixes:
+ - 03missing-wml-child-error: one-line fix, upstream bug #15865
+ - 04lobby-crash: fix refreshing with filtered out games, upstream bug #15716
+
+ -- Gerfried Fuchs <rhonda@debian.at> Wed, 14 Apr 2010 19:15:38 +0200
+
+wesnoth-1.8 (1:1.8-1) experimental; urgency=low
+
+ * New upstream stable release!
+ * Fix menu files with respect to package() dependency.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Thu, 25 Mar 2010 22:31:16 +0100
+
+wesnoth-1.7 (1:1.7.15-1) experimental; urgency=low
+
+ * Upstream RC1 for 1.8 release.
+ * Rename all packages (including source package) to make them contain the
+ 1.7 branch version - no transitional packages for that because we are in
+ experimental only.
+ * Adjusted the -nolog, -smallgui and _editor wrapper scripts to be
+ universally usable.
+ * Script debian/branchcheck written to create all the versioned files
+ automatically, from .in files.
+ * Adjusted README.source with information on what's needed.
+ * Also call the -nolog binary from the wesnoth_editor desktop file.
+ * Wrap long lines in debian/control for better readability.
+ * Drop the old transitional packages wesnoth-editor and wesnoth-all.
+ * Renamed special versions keywords to match more what they mean, and add
+ Branch-Version keyword for inclusion in the package name.
+ * Fix a typo in the changelog file.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Tue, 16 Mar 2010 23:22:54 +0100
+
+wesnoth (1:1.7.14-1) experimental; urgency=low
+
+ * New upstream beta release, fixing:
+ - Host can start game before the client has selected a leader
+ (closes: #555964)
+ - Allow a 1-sides game to be started (closes: #568029)
+ * wmltest got renamed to wmlvalidator, fix wesnoth-data.install file.
+ * Fix typo in former changelog entry.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Mon, 08 Mar 2010 22:33:27 +0100
+
+wesnoth (1:1.7.13-1) experimental; urgency=low
+
+ * New upstream beta release, fixes:
+ - "Can't quit after starting 0-player game" (closes: #563310)
+ * data/tools/help* files got renamed from xhtml to html, adjust
+ wesnoth-tools.install accordingly.
+ * Bump Standards-Version to 3.8.4.
+ * Add missing ${misc:Depends} to packages where it was forgotten.
+ * Explicitly set -e in wesnoth.postinst instead of using #!/bin/sh -e
+ * Corrected Required-{Start,Stop} in wesnoth-server init.d script from
+ $local_fs to $remote_fs because of /usr.
+ * Change Provides of init.d script to wesnoth-server.
+ * Fix copyright information.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Thu, 11 Feb 2010 19:32:20 +0100
+
+wesnoth (1:1.7.12-1) experimental; urgency=low
+
+ * New upstream development release.
+ * Add ${misc:Depends} dependency to all packages.
+ * Remove asterisk from debian/NEWS file.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Wed, 20 Jan 2010 19:40:14 +0100
+
+wesnoth (1:1.7.11-1) experimental; urgency=low
+
+ * New upstream development release.
+ * Removed campaign recommendations from wesnoth-core (LP: #281784)
+
+ -- Gerfried Fuchs <rhonda@debian.at> Mon, 28 Dec 2009 18:16:04 +0100
+
+wesnoth (1:1.7.10-1) experimental; urgency=low
+
+ * New upstream development release.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Sun, 13 Dec 2009 18:48:46 +0100
+
+wesnoth (1:1.7.9-1) experimental; urgency=low
+
+ * New upstream development release.
+ * Switch back to source format 1.0 + quilt because of troubles to use quilt
+ together with 3.0 (quilt) and to not destroy backports path.
+ * Really remove Isaac from Uploaders.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Sat, 28 Nov 2009 16:53:08 +0100
+
+wesnoth (1:1.7.8-2) experimental; urgency=low
+
+ * Removed quilt handling, this is done by dpkg format 3 and results in a
+ FTBFS on the buildd network.
+ * Removed Isaac Clerencia from Uploaders on his own request.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Thu, 19 Nov 2009 18:08:50 +0100
+
+wesnoth (1:1.7.8-1) experimental; urgency=low
+
+ * New upstream development release.
+ * Refreshed patch.
+ * Contains new font Andagii.ttf which doesn't seem to be in the pool yet,
+ install it on itself.
+ * Removed Cyril Bouthors on his own request from Uploaders.
+ * Switch to source format 3.0 (quilt) and don't repack the upstream tarball.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Tue, 17 Nov 2009 08:30:22 +0100
+
+wesnoth (1:1.7.6-1) experimental; urgency=low
+
+ * New upstream development release.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Tue, 29 Sep 2009 21:29:59 +0200
+
+wesnoth (1:1.7.5-1) experimental; urgency=low
+
+ * New upstream development release.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Fri, 04 Sep 2009 21:31:03 +0200
+
+wesnoth (1:1.7.4-1) experimental; urgency=low
+
+ * New upstream development release.
+ * Updated copyright information for upstream.
+ * Changed debianization licensing to BSD style.
+ * Removed outdated and obsolete README.Debian file.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Mon, 31 Aug 2009 19:39:25 +0200
+
+wesnoth (1:1.7.3-1) experimental; urgency=low
+
+ * New upstream release, includes fix for gcc 4.4 compilation
+ (closes: #539546)
+ * Bumped to Standards-Version 3.8.3.
+ * Added Build-Depends libdbus-1-dev for notifications.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Mon, 17 Aug 2009 22:28:16 +0200
+
+wesnoth (1:1.7.2-1) experimental; urgency=low
+
+ * New upstream release, requiring additionally libboost-serialization-dev as
+ Build-Depends.
+ * Make tools hexometer and wmlxgettext executable.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Mon, 20 Jul 2009 03:19:54 +0200
+
+wesnoth (1:1.7.1-1) experimental; urgency=low
+
+ * New upstream development release, containing fixes for:
+ - add-ons directory renamed from campaigns to add-ons (closes: #439950)
+ - switched campaign dialogue to gui2, making the box bigger with only
+ little campaigns installed (closes: #497655)
+ * Bump to Standards-Version 3.8.2.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Thu, 02 Jul 2009 18:54:10 +0200
+
+wesnoth (1:1.7.0-1) experimental; urgency=low
+
+ * New upstream development release:
+ - Switch watchfile to dev tracking again.
+ - Switch rules file to dev dependencies again.
+ - Switch Vcs-* fields to experimental branch.
+ - New campaign wesnoth-dm.
+ - Now requires us to call ./autogen.sh on ourself, Build-Depend on
+ automake.
+ - Remove all autogenerated files in clean target.
+ - Also requires liblua5.1-0-dev for building.
+ - New dirs to install: data/lua and data/test for wesnoth-data.
+ - New tools content: hexometer, wmlxgettext.
+ * Switch back to unversioned boost dependencies.
+ * Switch to debhelper 7 now that we use dh_lintian from debhelper
+ 6something. Also use dh_prep instead of dh_clean -k.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Tue, 19 May 2009 11:20:22 +0200
+
+wesnoth (1:1.6.2-1) unstable; urgency=low
+
+ * New upstream release.
+ * Patch refreshed.
+ * Updated wqy-zenhei overrides entry.
+ * Added wesnoth-sof overrides entry for I in description.
+ * Actually get the overrides file installed through dh_lintian, naming the
+ files accordingly.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Tue, 12 May 2009 13:29:16 +0200
+
+wesnoth (1:1.6.1-1) unstable; urgency=low
+
+ * New upstream release.
+ * Incorporated no-music-endless-loop, patch removed.
+ * Fixed wqy-zenhei to point to proper target and added versioning to
+ Recommends on ttf-wqy-zenhei for that change
+ (closes: #522501, LP: #358590)
+
+ -- Gerfried Fuchs <rhonda@debian.at> Wed, 15 Apr 2009 16:11:52 +0200
+
+wesnoth (1:1.6a-3) unstable; urgency=medium
+
+ * Pull fix for endless loop consuming 100% CPU when no music is installed
+ from upstream r34257.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Thu, 02 Apr 2009 12:06:45 +0200
+
+wesnoth (1:1.6a-2) unstable; urgency=medium
+
+ * Install the menu icons from the icons subdirectory instead of symlinking
+ into the void. Thanks to Ori Avtalion for noticing it!
+
+ -- Gerfried Fuchs <rhonda@debian.at> Tue, 31 Mar 2009 15:30:18 +0200
+
+wesnoth (1:1.6a-1) unstable; urgency=low
+
+ * New upstream hotfix release fixing several AI related problems in
+ multiplayer mode.
+ * Fix NEXT_VERSION magic to work with letters in the minor number.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Fri, 20 Mar 2009 09:24:25 +0100
+
+wesnoth (1:1.6-1) unstable; urgency=low
+
+ * The "new stable version 1.6" release hit the street!
+ * Adjusted VCS-* fields in debian/control for stable.
+ * Adjust STABLE_VERSION + NEXT_VERSION calculation in debian/rules for
+ stable.
+ * Adjust debian/watch for stable.
+ * Copy debian/NEWS entry from 1.4 about save game incompatibility to former
+ stable releases and adjust it slightly.
+ * Adjust wesnoth-data overrides with respect to font changes.
+ * Bump to Standards-Version 3.8.1.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Thu, 19 Mar 2009 10:52:51 +0100
+
+wesnoth (1:1.5.14-1) experimental; urgency=low
+
+ * New upstream RC3 for 1.6 release.
+ * Font ttf-sazanami-gothic got removed, ttf-wqy-zenhei got renamed.
+ * Change Section of wesnoth-dbg to debug.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Mon, 16 Mar 2009 09:45:22 +0100
+
+wesnoth (1:1.5.13-1) experimental; urgency=low
+
+ * New upstream RC2 for 1.6 release (closes: #519195)
+ * Fix VCS entries in control file for experimental branch.
+ * Add overrides for manpage-locale-dir-country-specific in wesnoth-core and
+ wesnoth-server, there actually _are_ en_GB translations of the manpages.
+ * Use wesnoth-nolog for editor menu entry, too.
+ * Make wmlflip executable.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Wed, 11 Mar 2009 10:16:54 +0100
+
+wesnoth (1:1.5.12-1) experimental; urgency=low
+
+ * First RC for upcoming 1.6 release! Contains fix for:
+ - save game cached information didn't update (closes: #483782)
+ - fixed reproducible pathfinder crash (closes: #510403)
+ - removed patch fix-server-dos as it is part of the release.
+ * Install new wmlflip tool into wesnoth-tools package.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Mon, 02 Mar 2009 14:39:20 +0100
+
+wesnoth (1:1.5.11-1) experimental; urgency=high
+
+ * New upstream release, which addresses several severe bugs:
+ - Removed python AI support which allowed to break out of sandbox and
+ allowed execution of abitrary code (CVE-2009-0367, Upstream Bug #13048).
+ Remove python-dev from Build-Dependencies and related compile option
+ from debian/rules.
+ - Limiting map size to 200x200 to avoid hanging of wesnoth/exhausting
+ system memory (Upstream Bug #13031)
+ * Pulled patch fix-server-dos from upstream svn r33069 which fixes a DoS
+ pattern in the server, which came in a bit too late for the release
+ (CVE-2009-0366, Upstream Bug #13037)
+ * Don't chmod +x on wesnoth/wmlgrammar.py tools file anymore.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Tue, 24 Feb 2009 16:10:36 +0100
+
+wesnoth (1:1.5.10-1) experimental; urgency=low
+
+ * Second beta for upcoming 1.6 release.
+ * Removed the --disable-strict-compilation configure switch again.
+ * Switch libboost Build-Depends from unversioned packages to 1.37.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Tue, 17 Feb 2009 16:50:28 +0100
+
+wesnoth (1:1.5.9-1) experimental; urgency=low
+
+ * First beta for upcoming 1.6 release! Wooh. Fixes:
+ - Local Game offers to switch a player into a Network Player
+ (closes: #505402)
+ * configure with --disable-strict-compilation, upstream will work on it.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Mon, 02 Feb 2009 15:53:44 +0100
+
+wesnoth (1:1.5.8-1) experimental; urgency=low
+
+ * New upstream development release.
+ * Fix typo in wesnoth-tools package description noticed by Soliton, thanks.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Sun, 18 Jan 2009 19:10:02 +0100
+
+wesnoth (1:1.5.7-2) experimental; urgency=low
+
+ * Missed the new directory data/core/editor/ for installation, making
+ starting the editor quitting the game through an assertion.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Fri, 02 Jan 2009 13:03:05 +0100
+
+wesnoth (1:1.5.7-1) experimental; urgency=low
+
+ * The "happy new year" devel release, containing:
+ - support for playlist in editor (closes: #458847)
+ * Add Legend of Wesmere campaign to depends of wesnoth.
+ * Add jQuery and tablesorter copyright to debian/copyright.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Thu, 01 Jan 2009 18:08:14 +0100
+
+wesnoth (1:1.5.6-1) experimental; urgency=low
+
+ * New upstream release.
+ * New campaign Legend of Wesmere.
+ * Lower wesnoth-music from Recommends to Suggests in wesnoth-data
+ (LP: #281791)
+ * "official" is not part of the campaign name, don't quote it in the package
+ descriptions.
+ * Add Replaces & Conflicts on versioned wesnoth to wesnoth-core for the
+ switch.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Mon, 24 Nov 2008 10:41:59 +0100
+
+wesnoth (1:1.5.5-1) experimental; urgency=low
+
+ * New upstream release, containing fixes for:
+ - wesnoth-editor: please add Time of Day view posibility (closes: #458305)
+ - Northern Rebirth scenario: AI problem (closes: #499895, #501136)
+ * Install data/tools/wmltest and data/tools/addon_manager into wesnoth-tools
+ package, too. Change executable chmods accordingly.
+ * Rename wesnoth to wesnoth-core and wesnoth-all to wesnoth. Document the
+ switch in the NEWS file (closes: #500935)
+
+ -- Gerfried Fuchs <rhonda@debian.at> Mon, 06 Oct 2008 14:25:32 +0200
+
+wesnoth (1:1.5.4-1) experimental; urgency=low
+
+ * New upstream release, containing fixes for:
+ - quit to desktop did just quit editor (closes: #497659)
+ - terrain images properly referenced (closes: #497795)
+ - unavailable languages are greyed out (closes: #452727)
+ * Don't build smallgui anymore, replace it with a wrapper script for calling
+ wesnoth --smallgui, and echo a message stating so.
+ * Don't build wesnoth_editor anymore, replace it with a wrapper script for
+ calling wesnoth --editor, and echo a message stating so.
+ * Remove wesnoth-editor package completely, incorporate the files installed
+ there into the appropriate packages (mostly wesnoth-data). Adding
+ appropriate Replaces and Provides entries.
+ * Allow to hand over arguments to wesnoth-nolog.
+ * Quote campaign names in package descriptions.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Thu, 11 Sep 2008 19:23:55 +0200
+
+wesnoth (1:1.5.3-1) experimental; urgency=low
+
+ * New upstream release containing fix for:
+ - unit/terrain graphic mistace (closes: #473377)
+ * debian/wesnoth-data.install:
+ - there is no data/*.fai anymore
+ - data/ais is now called data/ai
+
+ -- Gerfried Fuchs <rhonda@debian.at> Fri, 22 Aug 2008 13:19:29 +0200
+
+wesnoth (1:1.5.2-2) experimental; urgency=low
+
+ * Make wesnoth-dbg explicitly depend on wesnoth-data instead of implicitly
+ through the wesnoth dependency so that lintian is able to catch it ...
+
+ -- Gerfried Fuchs <rhonda@debian.at> Thu, 24 Jul 2008 09:44:53 +0200
+
+wesnoth (1:1.5.2-1) experimental; urgency=low
+
+ * New upstream release, new Build-Dependency: libpango1.0-dev
+ * Add following new paths/files to install files:
+ - data/*.fai, data/gui (wesnoth-data)
+ - data/themes/editor2.cfg (wesnoth-editor)
+ * Add -dbg package as suggested by Patrick Matthäi
+
+ -- Gerfried Fuchs <rhonda@debian.at> Mon, 14 Jul 2008 16:11:44 +0200
+
+wesnoth (1:1.5.1-1) experimental; urgency=low
+
+ * New upstream release
+ * Finally switched Maintainer to Games Team.
+ * Updated to Standards-Version 3.8.0:
+ - Added README.source to package.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Sat, 21 Jun 2008 02:28:46 +0200
+
+wesnoth (1:1.5.0a-1) experimental; urgency=low
+
+ * New upstream release (closes: #478793), includes fix for:
+ - 100% evasion on some terrain acts as 50% (closes: #467253)
+ - The Court of Karrag: no TC for Karrag as Dwarf (closes: #473218)
+ - Patches not needed anymore: no-campaign-fix, address-align-for-sparc.
+ * Doesn't use included libsdl-ttf anymore, build-depend on
+ libsdl-ttf2.0-dev (>= 2.0.8) Requires libboost-regex-dev, also.
+ * Switched version information in debian/rules and debian/watch to
+ development release dependencies.
+ * Do postinst hooks only on upgrades from older versions than 1:1.4.1-2,
+ also check wether it might be a symlink already and ignore rmdir error
+ message.
+ * Switch ttf-sazanami-gothic and ttf-wqy-zenhei to recommends instead of
+ only suggests.
+ * Rename debian/NEWS.Debian to debian/NEWS which dh_installchangelogs likes
+ to pick up and install as NEWS.Debian...
+ * New gettext domain wesnoth-anl for a muliplayer scenario, installing it
+ into wesnoth-data mainpackage.
+ * Updated wesnoth-tools install file and chmods in rules.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Sat, 10 May 2008 19:42:55 +0200
+
+wesnoth (1:1.4.1-2) unstable; urgency=low
+
+ * Create postinst hooks to change the (hopefully) empty doc dirs of wesnoth,
+ wesnoth-editor and wesnoth-all to symlinks to wesnoth-data.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Fri, 18 Apr 2008 11:53:02 +0200
+
+wesnoth (1:1.4.1-1) unstable; urgency=low
+
+ * New upstream release:
+ - sample.py-fix made it into the 1.4 branch, removed.
+ - disable-rpath patch not needed anymore, configure fixed upstream.
+ * New patch: address-align-for-sparc which fixes an alignment issue which
+ caused a SIGBUGS on sparc (closes: #426318)
+ * Update debian/copyright with respect to that wesnoth is GPLv2 or later,
+ not GPLv2 only.
+ * Also symlink the english manpage for wesnoth-smallgui properly.
+ * Call dh_pysupport for the python parts in the wesnoth-tools package and
+ make it Depend on ${python:Depends}. Build-Depend on python-support.
+ * Switch wesnoth-tools package to Arch: all what it actually is.
+ * Only do the doc symlink in wesnoth, wesnoth-editor and wesnoth-all
+ packages which directly versioned depend on wesnoth-data, not from the
+ campaign packages.
+ * Fix a typo in wesnoth-tools package description.
+ * Make the included scripts in the tools package executable.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Thu, 17 Apr 2008 13:52:03 +0200
+
+wesnoth (1:1.4-2) experimental; urgency=low
+
+ * Upload to experimental due to new wesnoth-tools package which isn't
+ fully tested yet and may work against python policy.
+ * Add wesnoth-tools package including the most useful tools for campaign
+ developers.
+ * Build a wesnoth-smallgui binary (closes: #469234)
+ * Patch wesnoth-nolog-desktop-file for calling wesnoth-nolog instead of
+ wesnoth from desktop file (triggered by #469800)
+ * Switch from ttf-arphic-gkai00mp (gkai00mp.ttf) to ttf-wqy-zenhei
+ (wqy-zenhei.ttf) package (font) which the game really uses. Thanks to
+ Ying-Chun Liu for noticing it (closes: #470292)
+ * Made it more clear in the wesnoth-all package description where to get the
+ server from.
+ * Update README.Debian with information about the (planned) setup and
+ server support through wesnoth.debian.net (closes: #470224)
+ * Added the short description from the campaigns to the package description
+ of the according package (closes: #469467).
+ Package description translators, pretty please fetch the already translated
+ descriptions from the package instead of redoing them from scratch, thanks.
+ * Remove ttf-dejavu dependency from editor, it's in dependent package
+ wesnoth-data anyway.
+ * Install documentation only into wesnoth-data package and make the
+ depending packages have symlinks to the doc dir.
+ * Make use of the http://sf.net/$project/ hack in debian/watch instead of
+ chosing a mirror on our own.
+ * Recommend the three introduction campaigns from the wesnoth package and
+ add information about it to the package description (closes: #471912)
+ * Improve other package descriptions a little, too.
+ * Pull sample.py-fix patch from upstream svn r25432 (closes: #472416)
+ * Pull no-campaign-fix from upstream svn r25532 (closes: #471851)
+ * Add NEWS.Debian file explaining the save game incompatibility to the
+ former stable release.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Fri, 04 Apr 2008 15:39:47 +0200
+
+wesnoth (1:1.4-1) unstable; urgency=low
+
+ * New stable upstream release:
+ - debian/rules: switch to stable release dependency chain
+ - debian/watch: switch to stable release matching only
+ * Fixed version magic in debian/rules with respect to no patch level digit
+ in it.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Sun, 02 Mar 2008 23:51:27 +0100
+
+wesnoth (1:1.3.19-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Mon, 25 Feb 2008 08:06:02 +0100
+
+wesnoth (1:1.3.18-1) unstable; urgency=low
+
+ * New upstream release (aka 1.4-rc1).
+ * Update watchfile to match everything, not only development releases, for
+ the time being until the next stable release.
+ * Use fixed control file substitute strings and switch in debian/rules
+ appropriately.
+ * Build with --disable-rpath, also add patch disable-rpath because the boost
+ macro doesn't check for the configure switch.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Mon, 18 Feb 2008 23:27:31 +0100
+
+wesnoth (1:1.3.16-1) unstable; urgency=low
+
+ * New upstream release, upload to unstable now. Update Vcs-* fields in
+ debian/control appropriately.
+ * Removed both remaining patches, got applied upstream.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Tue, 12 Feb 2008 17:43:36 +0100
+
+wesnoth (1:1.3.15-1) experimental; urgency=low
+
+ * New upstream release (closes: #463521)
+ * Move -music and -editor in -all package from Depends to Recommends as
+ discussed with Cyril Brulebois.
+ * Add patch gcc-4.3-fix which contains an uncaught missing include in the
+ patch from #462708 which already got applied upstream (closes: #462708)
+ * Add TODO file about wesnoth-tools for now, don't create the package yet.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Fri, 01 Feb 2008 12:07:07 +0100
+
+wesnoth (1:1.3.14-1) experimental; urgency=low
+
+ * New upstream release.
+ * configure with --enable-python-install from now on as upstream suggests.
+ * Add Suggests on ttf-arphic-gkai00mp for Chinese support, and the font
+ symlink in wesnoth-data.
+ * Add images/footsteps to wesnoth-data.install, noticed by Andreas Tille,
+ thanks!
+ * Compile with -g and support DEB_BUILD_OPTIONS=noopt (closes: #459755)
+ * Create the links on our own instead of relying on dh_link which is removed
+ now completely (closes: #445550). dh_link is severily braindead enforcing
+ a should policy entry here on links it doesn't even create itself.
+ * Add lintian overrides for that.
+ * Also create wesnoth-nolog.6.gz -> wesnoth.6.gz symlinks for translated
+ manpages.
+ * Bump Replaces version on wesnoth-data to an epoched version
+ (closes: #456530)
+
+ -- Gerfried Fuchs <rhonda@debian.at> Fri, 18 Jan 2008 16:29:25 +0100
+
+wesnoth (1:1.3.13-1) experimental; urgency=low
+
+ * The "happy new year" new upstream release.
+ * Requires additional Build-Depends on libboost-test-dev and
+ libboost-iostreams-dev.
+ * New campain package wesnoth-thot: The Hammer of Thursagan.
+ * Bumped Standards-Version to 3.7.3, no further changes needed.
+ * Remove fix-manpage from patch series, applied upstream.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Mon, 31 Dec 2007 15:00:17 +0100
+
+wesnoth (1:1.3.12-1) experimental; urgency=medium
+
+ * New upstream release with a fix for a directory traversal problem in the
+ WML engine which could lead to sending arbitrary files [CVE-2007-5742].
+ * Server now supports reloading of config on SIGHUP, adding support for that
+ to the init.d script.
+ * Fixed a grammar issue in the package descriptions, closes: #446545
+ * (Re)work the dependency handling with respect to campaigns and
+ incompatibility in between different wesnoth versions: make the campaigns
+ depend on wesnoth with same Upstream-Version. This change was both
+ inspired by #447151 and Andreas Tille, thanks.
+ * Add wesnoth-all meta package which depends on all but the server packages
+ produced, closes: #449132
+ * Removed cruft package relationship handling from before the etch release.
+ * Removed cdbs dependency for easier maintenanceability of debian/rules, use
+ quilt as patch management.
+ * Removed XS- prefix from Vcs control fields.
+ * Bumped debhelper to compat 5.
+ * Add explicit Build-Depends on libsdl1.2-dev instead of depending on the
+ implicit pullin through the other libsdl Build-Dependencies.
+ * Added patches:
+ - fix-manpage: fix the wesnoth_editor manpage NAME syntax
+ - fix-desktop-files: remove obsoleted entries from .desktop files
+
+ -- Gerfried Fuchs <rhonda@debian.at> Sat, 01 Dec 2007 21:03:22 +0100
+
+wesnoth (1:1.3.9-3) experimental; urgency=low
+
+ * Reupload to experimental with epoch to work around an upload fumble
+ mentioned in #446505.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Sat, 13 Oct 2007 17:45:38 +0200
+
+wesnoth (1.3.9-2) unstable; urgency=high
+
+ * Remove wesnoth-icon.xpm from wesnoth-data package, closes: #446295
+
+ -- Gerfried Fuchs <rhonda@debian.at> Fri, 12 Oct 2007 11:03:00 +0200
+
+wesnoth (1.3.9-1) experimental; urgency=high
+
+ * New upstream release which fixes an insecure truncate of a multibyte chat
+ message that can lead to invalid utf-8 and throw an uncaught exception.
+ Both wesnoth client and server are affected [CVE-2007-3917].
+ * New campaign package: wesnoth-aoi
+ * manual.txt now shipped with upstream tarball directly.
+ * MANUAL* not shipped anymore.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Thu, 11 Oct 2007 11:52:45 +0200
+
+wesnoth (1.3.8-1) experimental; urgency=low
+
+ * New upstream release.
+ * Moved wesnoth-icon.xpm to wesnoth package itself, removed overrides and
+ added versioned Replaces on wesnoth-data for that.
+ * Install doc/manual/ stuff into doc directory, too.
+ * Added debian/wesnoth.doc-base file for registering the manual.
+ * Pulled debian/manual.txt source for manual.en.html file from upstream
+ repository.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Mon, 01 Oct 2007 15:56:26 +0200
+
+wesnoth (1.3.7-1) experimental; urgency=low
+
+ * New upstream release which includes fix for:
+ - crash in last Scepter of Fire scenario, closes: #438173
+ * Fixed the menu xpm files--somehow they were displayed b0rked while the
+ content was proper xpm, closes: #435874
+ * Added XS-Vcs-{Svn,Browser} lines to control file.
+ * Added Homepage: to control file, removed it from Package descriptions,
+ closes: #439574
+ * New campaign package: wesnoth-l
+ * Install the wesnoth_editor desktop file, closes: #423439
+ * Added LSB section to init.d script of wesnothd.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Mon, 27 Aug 2007 11:02:08 +0200
+
+wesnoth (1.3.6-1) experimental; urgency=low
+
+ * New upstream release, closes: #434346
+ * Added myself to Co-Maintainers. :)
+ * Added watch file tracking development releases.
+ * Updated config.{guess,sub}.
+ * wmlxgettext got removed from bin_SCRIPTS with good reasoning so we won't
+ install it anymore.
+ * New campaign packages: wesnoth-did, wesnoth-nr, wesnoth-sof, wesnoth-sotbe.
+ * Added binNMU patch from Lior Kaplan, closes: #432974
+ * Moved wesnoth-editor in the menu to Games/Tools.
+ * Generated wesnoth_editor-icon.xpm for the menu entry and reduced
+ wesnoth-icon.xpm to 32x32 as per menu policy recommended.
+ * Updated copyright information.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Mon, 30 Jul 2007 20:59:58 +0200
+
+wesnoth (1.3.2-1) experimental; urgency=low
+
+ * New upstream release
+
+ -- Isaac Clerencia <isaac@debian.org> Fri, 27 Apr 2007 13:49:26 +0200
+
+wesnoth (1.3.1-1) experimental; urgency=low
+
+ * New upstream release
+
+ -- Isaac Clerencia <isaac@debian.org> Sun, 25 Feb 2007 20:54:24 +0100
+
+wesnoth (1.2.2-1) experimental; urgency=low
+
+ * New upstream release
+
+ -- Isaac Clerencia <isaac@debian.org> Wed, 21 Feb 2007 13:59:26 +0100
+
+wesnoth (1.2.1-1) experimental; urgency=low
+
+ * New upstream release
+
+ -- Isaac Clerencia <isaac@debian.org> Thu, 18 Jan 2007 08:31:34 +0100
+
+wesnoth (1.2-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Isaac Clerencia <isaac@debian.org> Sun, 24 Dec 2006 11:42:08 +0100
+
+wesnoth (1.1.14-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Isaac Clerencia <isaac@debian.org> Sun, 17 Dec 2006 16:12:33 +0100
+
+wesnoth (1.1.13-1) experimental; urgency=low
+
+ * New upstream release
+
+ -- Isaac Clerencia <isaac@debian.org> Mon, 4 Dec 2006 08:11:18 +0100
+
+wesnoth (1.1.12-1) unstable; urgency=high
+
+ * Urgency high as it fixes a grave (crash) bug and a bunch of other
+ bugs reported to upstream (it's mainly a bugfix release)
+ In addition, it will be compatible to play multiplayer with
+ the upcoming 1.2 stable version, while 1.1.11 isn't
+ * New upstream release
+ * Fixes crash when opening contributors page, closes: #393563
+ * Adds a (hidden, as we are in string freeze) option to set the
+ frequency for music, closes: #357786
+
+ -- Isaac Clerencia <isaac@debian.org> Thu, 9 Nov 2006 13:28:37 +0100
+
+wesnoth (1.1.11-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Isaac Clerencia <isaac@debian.org> Wed, 4 Oct 2006 09:38:25 +0200
+
+wesnoth (1.1.10-1) unstable; urgency=low
+
+ * New upstream release,
+ closes: #385564 , segfault in Bay of Pearls when grabbing trident
+ * Move Depends: ttf-dejavu to wesnoth-data, closes: #386461
+ * Add symlink for Japanese font, closes: #385347
+
+ -- Isaac Clerencia <isaac@debian.org> Thu, 21 Sep 2006 08:05:06 +0200
+
+wesnoth (1.1.9-1) unstable; urgency=low
+
+ * New upstream release
+ * Link wesnoth-icon.png from /usr/share/icons/, closes: #327822
+ * Use -f when removing pidfile in init.d script, so wesnothd stop doesn't
+ fail when wesnothd is stopped, closes: #369673, #381601
+
+ -- Isaac Clerencia <isaac@debian.org> Sat, 26 Aug 2006 10:21:12 +0200
+
+wesnoth (1.1.8-1) unstable; urgency=low
+
+ * New upstream release,
+ closes: #374830: wesnoth crash when selecting 'Campaign' and no campaign
+ package is installed
+ * Install all files in images/maps/ into wesnoth-data package,
+ closes: #377290
+
+ -- Isaac Clerencia <isaac@debian.org> Wed, 26 Jul 2006 08:54:02 +0200
+
+wesnoth (1.1.7-1) unstable; urgency=low
+
+ * New upstream release (1.1.6 was skipped upstream)
+ * Bump Standard-Versions to 3.7.2, no changes required
+ * Keep wesnoth-data campaign recommendations up to date
+
+ -- Isaac Clerencia <isaac@debian.org> Wed, 21 Jun 2006 14:45:22 +0200
+
+wesnoth (1.1.5-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Isaac Clerencia <isaac@debian.org> Fri, 9 Jun 2006 18:33:49 +0200
+
+wesnoth (1.1.4-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Isaac Clerencia <isaac@debian.org> Tue, 30 May 2006 11:48:11 +0200
+
+wesnoth (1.1.3-1) unstable; urgency=low
+
+ * New upstream release:
+ * fixes crash when opening Menu -> Help -> Contributors, closes: #366433
+
+ -- Isaac Clerencia <isaac@debian.org> Wed, 24 May 2006 13:28:34 +0200
+
+wesnoth (1.1.2-1) unstable; urgency=low
+
+ * New upstream release, including two new campaigns (and thus, two new
+ packages)
+ * Include a copy of the GPL in a "Wesnoth help" format, to display it
+ correctly in game.
+
+ -- Isaac Clerencia <isaac@debian.org> Wed, 22 Mar 2006 08:02:24 +0100
+
+wesnoth (1.1.1-3) unstable; urgency=low
+
+ * Include factions/ dir and other missing stuff in wesnoth-data, fixes
+ several problems
+
+ -- Isaac Clerencia <isaac@debian.org> Thu, 9 Feb 2006 09:48:33 +0100
+
+wesnoth (1.1.1-2) unstable; urgency=low
+
+ * Revert wesnoth init.d --background change, as it breaks more things
+ than it fixes
+
+ -- Isaac Clerencia <isaac@debian.org> Wed, 8 Feb 2006 09:02:12 +0100
+
+wesnoth (1.1.1-1) unstable; urgency=low
+
+ * New upstream release
+ * new campaigns: "Two Brothers" and recovered "The Dark Hordes"
+ * turn limit clock displayed correctly now, closes: #349143
+ * Use --daemon wesnoth option instead of --background start-stop-daemon
+ option to get wesnothd in the background
+ * Change campaign install files to follow the much nicer directory
+ structure
+ * Removed amd64 patch already applied upstream
+
+ -- Isaac Clerencia <isaac@debian.org> Tue, 7 Feb 2006 09:34:07 +0100
+
+wesnoth (1.1-2) unstable; urgency=low
+
+ * Install missing .cfg files which caused a problem with team colors and
+ also closes: #337834 (missing test scenario file)
+ * Apply patch from upstream to fix build in amd64, according to patch
+ submitter the game might segfault later but it's an improvement anyway,
+ closes: #345960
+ * Enable fribidi support (--with-fribidi flag and libfribidi-dev b-d)
+
+ -- Isaac Clerencia <isaac@debian.org> Fri, 6 Jan 2006 13:52:33 +0100
+
+wesnoth (1.1-1) unstable; urgency=low
+
+ * New upstream release
+ * Add python-dev to Build-Depends to enable Python API
+
+ -- Isaac Clerencia <isaac@debian.org> Mon, 2 Jan 2006 18:38:45 +0100
+
+wesnoth (1.0.2-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Isaac Clerencia <isaac@debian.org> Sun, 20 Nov 2005 14:11:03 +0100
+
+wesnoth (1.0.1-1) unstable; urgency=low
+
+ * New upstream release
+ * Disable libzipios++ support, fixes the "user campaigns appear twice" bug,
+ closes: #329378
+
+ -- Isaac Clerencia <isaac@debian.org> Wed, 19 Oct 2005 22:29:57 +0200
+
+wesnoth (1.0-1) unstable; urgency=low
+
+ * New upstream release (1.0)
+
+ -- Isaac Clerencia <isaac@debian.org> Sun, 2 Oct 2005 14:09:27 +0200
+
+wesnoth (0.99+1.0rc1-1) unstable; urgency=low
+
+ * New upstream release. Please note that:
+ * 1.0 versions have stripped uncomplete translations,
+ they will be restored in the 1.1 series
+ * The Dark Hordes campaign has been removed from the official tarball,
+ but it can still be found on the campaign server
+ * Suggest: ttf-sazanami-gothic, as it's required to play in Japanese
+ * Remove Suggests: ttf-arphic-gkai00mp, as Chinese translation has been
+ dropped upstream temporarily (see above)
+ * Drop the wesnoth-tdh package, as it's no longer supplied upstream
+ (see above)
+
+ -- Isaac Clerencia <isaac@debian.org> Tue, 20 Sep 2005 00:23:24 +0200
+
+wesnoth (0.9.7-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Isaac Clerencia <isaac@debian.org> Thu, 8 Sep 2005 09:42:08 +0200
+
+wesnoth (0.9.6-1) unstable; urgency=low
+
+ * New upstream release
+ * Switched packaging to CDBS
+ * Replace the old link for ttf-bitstream-vera with one to ttf-dejavu in
+ wesnoth-data.links
+ * Fix icon not being included in the package
+
+ -- Isaac Clerencia <isaac@debian.org> Sun, 14 Aug 2005 12:21:07 +0200
+
+wesnoth (0.9.5-1) unstable; urgency=low
+
+ * New upstream release
+ * Update to policy 3.6.2, no changes required
+ * Adapt wesnoth-server init-script to LSB and depend on lsb-base
+ * Depend on ttf-dejavu font instead of ttf-bitstream-vera
+ * Don't force users to have a campaign installed, closes: #312568
+
+ -- Isaac Clerencia <isaac@debian.org> Tue, 9 Aug 2005 10:59:47 +0200
+
+wesnoth (0.9.4-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Isaac Clerencia <isaac@debian.org> Sat, 23 Jul 2005 13:04:46 +0200
+
+wesnoth (0.9.3-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Isaac Clerencia <isaac@debian.org> Wed, 29 Jun 2005 23:01:04 +0200
+
+wesnoth (0.9.2-1) unstable; urgency=low
+
+ * New upstream release,
+ closes: #303799: wesnoth may lock when connecting to server
+ closes: #306932: glitches in the french translation
+ * Added replaces to campaigns packages, closes: #308358
+
+ -- Isaac Clerencia <isaac@debian.org> Mon, 6 Jun 2005 00:14:37 +0200
+
+wesnoth (0.9.1-1) unstable; urgency=low
+
+ * New upstream release,
+ closes: #303796, no help for silver mage
+ closes: #297500, resizing wesnoth doesn't work well
+ * Moved campaign translations to the right package
+ * Make campaigns provide wesnoth-campaign-<version>
+
+ -- Isaac Clerencia <isaac@debian.org> Mon, 25 Apr 2005 10:42:12 +0200
+
+wesnoth (0.9.0-4) unstable; urgency=low
+
+ * Add a patch for an important upstream bug involving the Dark Adept unit
+ and other units
+ * Add dpatch as build-depends
+
+ -- Isaac Clerencia <isaac@debian.org> Tue, 12 Apr 2005 08:17:54 +0200
+
+wesnoth (0.9.0-3) unstable; urgency=low
+
+ * Fix wesnoth-editor, wesnoth-data lacked wesnoth-editor.zip after switching
+ to zipios
+
+ -- Isaac Clerencia <isaac@debian.org> Mon, 11 Apr 2005 22:30:08 +0200
+
+wesnoth (0.9.0-2) unstable; urgency=low
+
+ * Re-add translations to the packages, they were forgotten when moving
+ from dh_movefiles to dh_install
+
+ -- Isaac Clerencia <isaac@debian.org> Mon, 11 Apr 2005 19:53:27 +0200
+
+wesnoth (0.9.0-1) unstable; urgency=low
+
+ * New upstream release:
+ closes: #303801: wesnoth: in-game help GUI isn't very responsive
+
+ * Enable zipios support again
+ * Use dh_install instead of dh_movefiles
+ * Split campaigns in different packages
+
+ -- Isaac Clerencia <isaac@debian.org> Sun, 10 Apr 2005 15:21:57 +0200
+
+wesnoth (0.8.11-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Isaac Clerencia <isaac@debian.org> Sun, 20 Feb 2005 11:30:20 +0100
+
+wesnoth (0.8.10-1) unstable; urgency=low
+
+ * New upstream release
+ * Removed zipios support (it's still buggy)
+
+ -- Isaac Clerencia <isaac@debian.org> Sun, 6 Feb 2005 17:00:30 +0100
+
+wesnoth (0.8.9-1) unstable; urgency=low
+
+ * New upstream release
+ * Add zipios and zip Build-Depends
+ * Add README.Debian about wesnoth.debian.net
+
+ -- Isaac Clerencia <isaac@debian.org> Wed, 26 Jan 2005 10:08:20 +0100
+
+wesnoth (0.8.8-1) unstable; urgency=low
+
+ * New upstream release, closes: #287058
+ * Improved init.d DESCription
+ * Moved /usr/games/wmlxgettext to /usr/bin/wesnothml-xgettext
+ * Added man page for wesnoth-nolog (link to wesnoth man page)
+
+ -- Isaac Clerencia <isaac@sindominio.net> Sun, 5 Dec 2004 13:06:03 +0100
+
+wesnoth (0.8.7-1) unstable; urgency=low
+
+ * New upstream release
+ * Changed Depend: on libsdl-ttf2.0-0 to libfreetype6 as now Wesnoth provides
+ a patched libsdl-ttf2 version in the tarball
+
+ -- Isaac Clerencia <isaac@sindominio.net> Mon, 1 Nov 2004 15:10:23 +0100
+
+wesnoth (0.8.5-1) unstable; urgency=high
+
+ * New upstream release.
+ * Added a wesnoth-nolog commands that just calls wesnoth with
+ output and error redirected to /dev/null, this is now the command called
+ from the menu, closes: #274802.
+ * Changed official server to wesnoth.debian.net. It will become the Sarge
+ server, running the Sarge version. Priority high because this is the
+ version targeted for Sarge (cross your fingers, please).
+
+ -- Isaac Clerencia <isaac@sindominio.net> Tue, 5 Oct 2004 21:51:12 +0200
+
+wesnoth (0.8.4-1) unstable; urgency=low
+
+ * New upstream release
+ * Modified call to configure in debian/rules to follow some new
+ parameters in upstream configure
+ * Added a line in clean target to remove .mo files created during configure
+ * Use DESTDIR to make sure that it doesn't touch anything in the root
+ filesystem when the package is built, closes: #271356
+
+ -- Isaac Clerencia <isaac@sindominio.net> Sat, 11 Sep 2004 21:28:26 +0200
+
+wesnoth (0.8.3-1) unstable; urgency=low
+
+ * New upstream release, closes: #269078
+ * Modified debian/rules to add po files to wesnoth-data, as Wesnoth has
+ switched from ITS (Incompatible Translation System) to gettext
+
+ -- Isaac Clerencia <isaac@sindominio.net> Fri, 27 Aug 2004 20:11:06 +0200
+
+wesnoth (0.8.2-1) unstable; urgency=low
+
+ * New upstream release, including fixes for several DoS vulnerabilities
+ in wesnothd
+
+ -- Isaac Clerencia <isaac@sindominio.net> Sun, 15 Aug 2004 22:36:28 +0200
+
+wesnoth (0.8.1-2) unstable; urgency=low
+
+ * Fix FTBFS bug caused by an autoconf test which relied on
+ SDL_mixer private symbols (stripped in last SDL_mixer upload)
+
+ -- Isaac Clerencia <isaac@sindominio.net> Fri, 6 Aug 2004 13:05:41 +0200
+
+wesnoth (0.8.1-1) unstable; urgency=low
+
+ * New upstream release
+ * Upstream unit selection bug fixed, closes: #234998
+ * Patched with a CVS code snippet to fix a "packet of death" bug in
+ wesnothd
+
+ -- Isaac Clerencia <isaac@sindominio.net> Tue, 3 Aug 2004 12:51:16 +0200
+
+wesnoth (0.8-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Isaac Clerencia <isaac@sindominio.net> Fri, 2 Jul 2004 15:43:29 +0200
+
+wesnoth (0.7.11-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Isaac Clerencia <isaac@sindominio.net> Mon, 28 Jun 2004 20:59:04 +0200
+
+wesnoth (0.7.10-1) unstable; urgency=low
+
+ * New upstream release, closes: #254237
+
+ -- Isaac Clerencia <isaac@sindominio.net> Mon, 21 Jun 2004 02:23:15 +0200
+
+wesnoth (0.7.9-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Isaac Clerencia <isaac@sindominio.net> Sat, 12 Jun 2004 00:51:26 +0200
+
+wesnoth (0.7.8-1) unstable; urgency=low
+
+ * New upstream release
+ * Removed --enable-gnome and copied the .desktop file by hand
+
+ -- Isaac Clerencia <isaac@sindominio.net> Fri, 28 May 2004 01:13:00 +0200
+
+wesnoth (0.7.7-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Isaac Clerencia <isaac@sindominio.net> Thu, 20 May 2004 01:08:16 +0200
+
+wesnoth (0.7.6-2) unstable; urgency=low
+
+ * Fixed FTBFS bug in alpha, ia64 and s390
+
+ -- Isaac Clerencia <isaac@sindominio.net> Tue, 11 May 2004 23:29:51 +0200
+
+wesnoth (0.7.6-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Isaac Clerencia <isaac@sindominio.net> Tue, 4 May 2004 10:32:47 +0200
+
+wesnoth (0.7.5-1) unstable; urgency=low
+
+ * New upstream release
+ * Upstream packed without --posix, closes: #245079
+
+ -- Isaac Clerencia <isaac@sindominio.net> Sat, 24 Apr 2004 22:28:53 +0200
+
+wesnoth (0.7.3-2) unstable; urgency=low
+
+ * Changed some descriptions
+ * wesnoth-data split into wesnoth-data and wesnoth-music
+
+ -- Isaac Clerencia <isaac@sindominio.net> Sat, 24 Apr 2004 20:28:38 +0200
+
+wesnoth (0.7.3-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Isaac Clerencia <isaac@sindominio.net> Sun, 18 Apr 2004 15:45:57 +0200
+
+wesnoth (0.7.2-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Isaac Clerencia <isaac@sindominio.net> Thu, 8 Apr 2004 21:31:52 +0200
+
+wesnoth (0.7.1-2) unstable; urgency=low
+
+ * Changed short and long descriptions
+ * Use dh_install and dh_movefiles instead of directly copying/moving
+ files from rules
+ * Added support for noopt and nostrip for DEB_BUILD_OPTIONS
+ * Removed clean from "make clean distclean" in rules clean target because
+ distclean already calls clean target in Makefile
+ * Added support for cross compilation
+ * Wrapped some lines in debian/rules to 80 chars
+ * Changed several MANUAL entries in wesnoth.docs to MANUAL*
+
+ -- Isaac Clerencia <isaac@sindominio.net> Mon, 5 Apr 2004 20:19:27 +0200
+
+wesnoth (0.7.1-1) unstable; urgency=low
+
+ * New upstream release
+ * Added --enable-gnome in configuration to install .desktop files correctly
+ * Changed Priority from extra to optional, closes: #239155
+ * Now wesnoth-data is built in binary-indep, closes: #241063
+
+ -- Isaac Clerencia <isaac@sindominio.net> Sun, 4 Apr 2004 00:49:52 +0200
+
+wesnoth (0.7-1) unstable; urgency=low
+
+ * New upstream release
+ * Switched Maintainer and Co-maintainer roles
+ * Added .desktop file
+
+ -- Isaac Clerencia <isaac@sindominio.net> Fri, 19 Mar 2004 21:39:52 +0100
+
+wesnoth (0.6.99.5-1) unstable; urgency=low
+
+ * New upstream release
+ Units no longer get healed when saving, closes: #234974
+ * Moved data from /usr/share/games/wesnoth-data to /usr/share/games/wesnoth
+ * Added lintian override for menu icon in wesnoth-data for wesnoth package
+
+ -- Isaac Clerencia <isaac@sindominio.net> Mon, 15 Mar 2004 21:16:24 +0100
+
+wesnoth (0.6.99.4-1) unstable; urgency=low
+
+ * New upstream release
+ * Added menu icon to wesnoth-data, closes: #232913
+ * Updated Standards-Version to 3.6.1
+
+ -- Isaac Clerencia <isaac@sindominio.net> Sat, 21 Feb 2004 21:08:18 +0100
+
+wesnoth (0.6.99.3-3) unstable; urgency=low
+
+ * Added Isaac Clerencia <isaac@sindominio.net> in the Uploaders field in
+ debian/control
+
+ * Added menu entry for wesnoth-editor on Ben Armstrong (SynrG) advice.
+
+ -- Cyril Bouthors <cyril@bouthors.org> Wed, 18 Feb 2004 21:56:37 +0100
+
+wesnoth (0.6.99.3-2) unstable; urgency=low
+
+ * Moved Vera.ttf symlink from wesnoth to wesnoth-data; bug reported from
+ Gerfried Fuchs (Rhonda).
+
+ -- Cyril Bouthors <cyril@bouthors.org> Sat, 14 Feb 2004 12:14:17 +0100
+
+wesnoth (0.6.99.3-1) unstable; urgency=low
+
+ * New upstream release (closes: #232571).
+
+ -- Cyril Bouthors <cyril@bouthors.org> Fri, 13 Feb 2004 21:46:11 +0100
+
+wesnoth (0.6.99.2-3) unstable; urgency=low
+
+ * wesnoth-editor: typo (closes: #226769).
+
+ * wesnoth: fixed lintian error.
+
+ -- Cyril Bouthors <cyril@bouthors.org> Thu, 12 Feb 2004 00:58:55 +0100
+
+wesnoth (0.6.99.2-2) unstable; urgency=low
+
+ * wesnoth-data: replaced Vera.ttf by a symlink. Added dependency to
+ ttf-bitstream-vera (closes: #231757).
+
+ -- Cyril Bouthors <cyril@bouthors.org> Sun, 8 Feb 2004 21:15:17 +0100
+
+wesnoth (0.6.99.2-1) unstable; urgency=low
+
+ * New upstream release (closes: #230547).
+
+ -- Cyril Bouthors <cyril@bouthors.org> Thu, 5 Feb 2004 12:07:21 +0100
+
+wesnoth (0.6.99.1-1) unstable; urgency=low
+
+ * New upstream release (closes: #224460).
+
+ -- Cyril Bouthors <cyril@bouthors.org> Thu, 29 Jan 2004 02:24:00 +0100
+
+wesnoth (0.6.1-3) unstable; urgency=low
+
+ * Added wesnoth_editor (closes: #224810).
+
+ -- Cyril Bouthors <cyril@bouthors.org> Thu, 25 Dec 2003 16:41:16 +0100
+
+wesnoth (0.6.1-2) unstable; urgency=low
+
+ * wesnoth-data: moved files from /usr/share/wesnoth-data to
+ /usr/share/games/wesnoth-data (closes: #224289).
+
+ -- Cyril Bouthors <cyril@bouthors.org> Wed, 17 Dec 2003 18:43:18 +0100
+
+wesnoth (0.6.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Cyril Bouthors <cyril@bouthors.org> Tue, 16 Dec 2003 14:49:13 +0100
+
+wesnoth (0.6-2) unstable; urgency=low
+
+ * The red wine release.
+
+ -- Cyril Bouthors <cyril@bouthors.org> Sat, 13 Dec 2003 00:02:10 +0100
+
+wesnoth (0.6-1) unstable; urgency=low
+
+ * New upstream release
+ * Run wesnothd as nobody
+
+ -- Cyril Bouthors <cyril@bouthors.org> Fri, 12 Dec 2003 14:24:51 +0100
+
+wesnoth (0.5.1-3) unstable; urgency=low
+
+ * Fixed dependency (closes: #220862, #217508, #217526).
+
+ -- Cyril Bouthors <cyril@bouthors.org> Sat, 29 Nov 2003 03:43:42 +0100
+
+wesnoth (0.5.1-2) unstable; urgency=low
+
+ * Added dependency to wesnoth-data with explicit version number.
+ * Better description thanks to Benjamin Drieur, our cosmetic assistant ;-)
+
+ -- Cyril Bouthors <cyril@bouthors.org> Fri, 14 Nov 2003 03:31:48 +0100
+
+wesnoth (0.5.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Cyril Bouthors <cyril@bouthors.org> Mon, 10 Nov 2003 02:20:16 +0100
+
+wesnoth (0.5-2) unstable; urgency=low
+
+ * Fixed init.d for wesnoth-server
+
+ -- Cyril Bouthors <cyril@bouthors.org> Mon, 10 Nov 2003 02:03:37 +0100
+
+wesnoth (0.5-1) unstable; urgency=low
+
+ * New upstream release (closes: #217561).
+
+ -- Cyril Bouthors <cyril@bouthors.org> Mon, 3 Nov 2003 13:25:49 +0100
+
+wesnoth (0.4.8-3) unstable; urgency=low
+
+ * Added Debian menu entry so it appears in everybody's window managers
+ under the Games menu (closes: #217606).
+
+ -- Cyril Bouthors <cyril@bouthors.org> Sun, 26 Oct 2003 11:27:11 +0100
+
+wesnoth (0.4.8-2) unstable; urgency=low
+
+ * Added dependency to wesnoth-data (closes: #217212).
+
+ * Removed README (closes: #217213).
+
+ -- Cyril Bouthors <cyril@bouthors.org> Sat, 25 Oct 2003 16:14:21 +0200
+
+wesnoth (0.4.8-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Cyril Bouthors <cyril@bouthors.org> Tue, 14 Oct 2003 14:10:24 +0200
+
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-all.postinst
+++ wesnoth-1.8-1.8.5/debian/wesnoth-all.postinst
@@ -0,0 +1,18 @@
+#!/bin/sh
+# postinst script for wesnoth-all
+# copyright 2010 by Gerfried Fuchs <rhonda@debian.at>
+# Licenced under WTFPLv2
+
+set -e
+
+case "$1" in
+ configure|reconfigure)
+ if dpkg --compare-versions "$2" lt-nl "1:1.8.3-6"; then
+ if rmdir /usr/share/doc/wesnoth-all 2>/dev/null; then
+ ln -s wesnoth-1.8-data /usr/share/doc/wesnoth-all
+ fi
+ fi
+ ;;
+esac
+
+#DEBHELPER#
--- wesnoth-1.8-1.8.5.orig/debian/NEWS
+++ wesnoth-1.8-1.8.5/debian/NEWS
@@ -0,0 +1,65 @@
+wesnoth-1.8 (1:1.8.3-4) unstable; urgency=low
+
+ This version now finally brings the unversioned wesnoth and wesnoth-core
+ packages to ease upgrades. With the wesnoth package installed one will
+ be upgraded to the next stable branch of wesnoth when that gets released.
+ You can keep the wesnoth-1.8 package around at that time to continue
+ playing your old started campaigns.
+
+ Same with the wesnoth-core package. This will always keeps you up to date
+ with the core binaries and allows you to hand-select the campaigns you
+ want to play or can be used for multiplayer games without further
+ disturbance.
+
+ Please note that the old binaries get renamed for the benefit of setting
+ up an alternative system, so the old wesnoth version (if you still have it
+ installed) is called "wesnoth-old".
+
+ -- Gerfried Fuchs <rhonda@debian.at> Wed, 18 Aug 2010 22:31:11 +0200
+
+wesnoth (1:1.6-1) unstable; urgency=low
+
+ Please be aware what a new stable upstream release of wesnoth means for
+ your save games: You won't be able to continue playing from them. The
+ reasons for those are several, not limited to these two bigger points:
+ - Most of all, balancing changes: Units might have different
+ characteristics and thus fights would end differently, or your units
+ could move to places they have never seen before (and weren't meant to).
+ - Most obvious, changes in the campaigns themself. A unit you kept from a
+ former scenario might not be in the campaign anymore, or a whole
+ scenario might have been added or removed somewhere in between. Map
+ changes also affect multiplayer games.
+
+ Again: You won't be able to continue playing your old save games from
+ older stable releases (e.g. 1.4.x). Further updates to 1.6.x will though
+ be compatible with this version.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Wed, 18 Mar 2009 17:27:36 +0100
+
+wesnoth (1:1.5.5-1) experimental; urgency=low
+
+ The meaning of the wesnoth package has changed: It is now the old
+ wesnoth-all package that pulls in all the campaigns. If you don't want
+ that and didn't use wesnoth-all before please switch to using the
+ wesnoth-core package. The switch was done to reduce the confusion of users
+ who wonder about where the campaigns are.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Mon, 06 Oct 2008 00:17:43 +0200
+
+wesnoth (1:1.4-1) unstable; urgency=low
+
+ Please be aware what a new stable upstream release of wesnoth means for
+ your save games: You won't be able to continue playing from them. The
+ reasons for those are several, not limited to these two bigger points:
+ - Most of all, balancing changes: Units might have different
+ characteristics and thus fights would end differently.
+ - Most obvious, changes in the campaigns themself. A unit you kept from a
+ former scenario might not be in the campaign anymore, or a whole
+ scenario might have been added or removed somewhere in between. Map
+ changes also affect multiplayer games.
+
+ Again: You won't be able to continue from your old save games with a new
+ stable upstream release like it happened with this update from the former
+ stable release 1.2 to this new one 1.4.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Wed, 02 Apr 2008 16:14:20 +0200
--- wesnoth-1.8-1.8.5.orig/debian/rules
+++ wesnoth-1.8-1.8.5/debian/rules
@@ -0,0 +1,210 @@
+#!/usr/bin/make -f
+# debian/rules for wesnoth
+# copyright 2007-2010 by Gerfried Fuchs <rhonda@debian.at>
+# Licenced under WTFPLv2
+
+# 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
+
+# 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)
+
+CFLAGS = -g
+ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ MAKEFLAGS += -j$(NUMJOBS)
+endif
+
+
+# calculate the version strings
+MAJOR_VERSION = $(shell dpkg-parsechangelog | grep "^Version:" | cut -d" " -f2 | cut -d. -f1)
+STRIP_MAJOR = $(shell echo $(MAJOR_VERSION) | rev | cut -d: -f1 | rev)
+MINOR_VERSION = $(shell dpkg-parsechangelog | grep "^Version:" | cut -d" " -f2 | cut -d. -f2 | cut -d- -f1 | sed -e 's/[^0-9]//g')
+ISDEV_VERSION = $(shell echo $$(( $(MINOR_VERSION) % 2 )) )
+UPSTR_VERSION = $(shell dpkg-parsechangelog | grep "^Version:" | cut -d" " -f2 | rev | cut -d- -f2 | rev)
+
+## choose correct MIN_VERSION/MAX_VERSION depending on ISDEV_VERSION
+ifeq ($(ISDEV_VERSION), 1)
+ MIN_VERSION = $(UPSTR_VERSION)
+ MAX_VERSION = $(UPSTR_VERSION).~
+else
+ MIN_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION)
+ MAX_VERSION = $(MAJOR_VERSION).$(shell echo $$(( $(MINOR_VERSION) + 1 )) )
+endif
+
+## used for package name extension
+BRANCH_VERSION = $(STRIP_MAJOR).$(MINOR_VERSION)
+
+CONFIGURE_SWITCHES = --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --disable-strict-compilation --disable-maintainer-mode --disable-rpath --prefix=/usr --mandir=\$${prefix}/share/man --bindir=\$${prefix}/games --with-datadir-name=wesnoth/$(BRANCH_VERSION) --with-localedir=\$${prefix}/share/games/wesnoth/$(BRANCH_VERSION)/locale --with-fifodir=/var/run/wesnothd --datadir=\$${prefix}/share/games --enable-server --with-fribidi --enable-python-install
+
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ # Add here commands to clean up after the build process.
+ [ ! -f Makefile ] || $(MAKE) distclean
+ rm -f aclocal.m4 config.h.in Makefile.in configure m4/Makefile.in \
+ po/Makefile.in doc/Makefile.in doc/man/Makefile.in \
+ doc/manual/Makefile.in src/Makefile.in icons/Makefile.in \
+ config/compile config/config.guess config/config.sub \
+ config/install-sh config/missing config/depcomp \
+ config/py-compile config.log
+ find po -name "*.gmo" -exec rm -f {} \;
+ find po -name "stamp-po" -exec rm -f {} \;
+ rm -f config.sub config.guess
+ $(MAKE) -f /usr/share/quilt/quilt.make unpatch
+ dh_clean
+
+
+configure: configure-stamp
+configure-stamp:
+ $(MAKE) -f /usr/share/quilt/quilt.make patch
+ CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" ./autogen.sh $(CONFIGURE_SWITCHES)
+ touch $@
+
+
+build: build-stamp
+build-stamp: configure-stamp
+ $(MAKE)
+ touch $@
+
+
+install: install-stamp
+install-stamp: build
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+
+ $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+
+ cd $(CURDIR)/debian/tmp/usr/share/games/wesnoth/$(BRANCH_VERSION)/data/tools \
+ && chmod +x extractbindings unit_tree/TeamColorizer \
+ wesnoth/wescamp.py wesnoth/wmldata.py wesnoth/wmlparser.py \
+ wmlindent wmlflip wmllint wmlscope wesnoth_addon_manager \
+ wmlvalidator hexometer/hexometer wmlxgettext
+
+ dh_install
+
+ touch $@
+
+
+
+# Must not depend on anything. This is to be called by
+# binary-arch/binary-indep
+# in another 'make' thread.
+binary-common:
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs changelog
+ dh_installdocs
+ dh_installexamples
+ dh_installmenu
+ dh_lintian
+ dh_pysupport
+ dh_installinit -u 'stop 20 0 1 2 3 4 5 6 .'
+ dh_installman
+ dh_strip --dbg-package=wesnoth-$(BRANCH_VERSION)-dbg
+ dh_compress
+ dh_fixperms
+ dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol -- \
+ -Vwesnoth:Min-Version=$(MIN_VERSION) \
+ -Vwesnoth:Max-Version=$(MAX_VERSION) \
+ -Vwesnoth:Branch-Version=$(BRANCH_VERSION)
+ dh_md5sums
+ dh_builddeb
+
+
+# Build architecture independant packages using the common target.
+binary-indep: install
+ # workaround for dh_link (mis)behavior, see BTS#445550
+ for i in ttf-dejavu/DejaVuSans.ttf; \
+ do ln -s /usr/share/fonts/truetype/$$i \
+ debian/wesnoth-$(BRANCH_VERSION)-data/usr/share/games/wesnoth/$(BRANCH_VERSION)/fonts/`basename $$i`; \
+ done
+ ln -s /usr/share/fonts/truetype/wqy/wqy-zenhei.ttc \
+ debian/wesnoth-$(BRANCH_VERSION)-data/usr/share/games/wesnoth/$(BRANCH_VERSION)/fonts/wqy-zenhei.ttc
+
+ # rename icons versioned
+ mv debian/wesnoth-$(BRANCH_VERSION)-data/usr/share/icons/wesnoth-icon.png \
+ debian/wesnoth-$(BRANCH_VERSION)-data/usr/share/icons/wesnoth-$(BRANCH_VERSION)-icon.png
+ mv debian/wesnoth-$(BRANCH_VERSION)-data/usr/share/icons/wesnoth_editor-icon.png \
+ debian/wesnoth-$(BRANCH_VERSION)-data/usr/share/icons/wesnoth-$(BRANCH_VERSION)_editor-icon.png
+
+ # /usr/share/doc symlinks
+ for i in wesnoth-$(BRANCH_VERSION) wesnoth wesnoth-core wesnoth-music wesnoth-editor wesnoth-all; do \
+ install -p -d -m755 debian/$$i/usr/share/doc; \
+ ln -s wesnoth-$(BRANCH_VERSION)-data debian/$$i/usr/share/doc/$$i; \
+ done
+
+ $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: install
+ # manpage symlinks for old binaries
+ for i in debian/wesnoth-$(BRANCH_VERSION)-core/usr/share/man/*/man6/wesnoth.6; do \
+ ln -s wesnoth-$(BRANCH_VERSION).6.gz \
+ `dirname $$i`/wesnoth-$(BRANCH_VERSION)-nolog.6.gz; \
+ ln -s wesnoth-$(BRANCH_VERSION).6.gz \
+ `dirname $$i`/wesnoth-$(BRANCH_VERSION)-smallgui.6.gz; \
+ ln -s wesnoth-$(BRANCH_VERSION).6.gz \
+ `dirname $$i`/wesnoth-$(BRANCH_VERSION)_editor.6.gz; \
+ done
+ ln -s wesnoth-$(BRANCH_VERSION).6.gz \
+ debian/wesnoth-$(BRANCH_VERSION)-core/usr/share/man/man6/wesnoth-$(BRANCH_VERSION)-nolog.6.gz
+ ln -s wesnoth-$(BRANCH_VERSION).6.gz \
+ debian/wesnoth-$(BRANCH_VERSION)-core/usr/share/man/man6/wesnoth-$(BRANCH_VERSION)-smallgui.6.gz
+ ln -s wesnoth-$(BRANCH_VERSION).6.gz \
+ debian/wesnoth-$(BRANCH_VERSION)-core/usr/share/man/man6/wesnoth-$(BRANCH_VERSION)_editor.6.gz
+
+ # move the manpages to their proper name
+ for i in debian/wesnoth-$(BRANCH_VERSION)-core/usr/share/man/man6/wesnoth.6 \
+ debian/wesnoth-$(BRANCH_VERSION)-core/usr/share/man/*/man6/wesnoth.6; do \
+ mv $$i $$(echo $$i | sed -e 's/wesnoth\.6/wesnoth-$(BRANCH_VERSION).6/'); \
+ done
+ for i in debian/wesnoth-$(BRANCH_VERSION)-server/usr/share/man/man6/wesnothd.6 \
+ debian/wesnoth-$(BRANCH_VERSION)-server/usr/share/man/*/man6/wesnothd.6; do \
+ mv $$i $$(echo $$i | sed -e 's/wesnothd\.6/wesnothd-$(BRANCH_VERSION).6/'); \
+ done
+
+ # move binaries to their proper name
+ mv debian/wesnoth-$(BRANCH_VERSION)-core/usr/games/wesnoth \
+ debian/wesnoth-$(BRANCH_VERSION)-core/usr/games/wesnoth-$(BRANCH_VERSION)
+ mv debian/wesnoth-$(BRANCH_VERSION)-server/usr/games/wesnothd \
+ debian/wesnoth-$(BRANCH_VERSION)-server/usr/games/wesnothd-$(BRANCH_VERSION)
+
+ # move the desktop files to their proper name
+ mv debian/wesnoth-$(BRANCH_VERSION)-core/usr/share/applications/wesnoth.desktop \
+ debian/wesnoth-$(BRANCH_VERSION)-core/usr/share/applications/wesnoth-$(BRANCH_VERSION).desktop
+ mv debian/wesnoth-$(BRANCH_VERSION)-core/usr/share/applications/wesnoth_editor.desktop \
+ debian/wesnoth-$(BRANCH_VERSION)-core/usr/share/applications/wesnoth-$(BRANCH_VERSION)_editor.desktop
+ # add branch name to desktop entries
+ sed -i -e "/^Name/ s/$$/ ($(BRANCH_VERSION))/" \
+ debian/wesnoth-$(BRANCH_VERSION)-core/usr/share/applications/*.desktop
+
+
+ # /usr/share/doc symlinks
+ for i in wesnoth-$(BRANCH_VERSION)-core wesnoth-$(BRANCH_VERSION)-dbg; do \
+ install -p -d -m755 debian/$$i/usr/share/doc; \
+ ln -s wesnoth-$(BRANCH_VERSION)-data debian/$$i/usr/share/doc/$$i; \
+ done
+
+ $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
+
+
+binary: binary-arch binary-indep
+.PHONY: clean configure build binary-indep binary-arch binary install patch unpatch
--- wesnoth-1.8-1.8.5.orig/debian/control
+++ wesnoth-1.8-1.8.5/debian/control
@@ -0,0 +1,458 @@
+Source: wesnoth-1.8
+Section: games
+Priority: optional
+Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
+Build-Depends: debhelper (>= 7), quilt, libsdl-image1.2-dev, libfreetype6-dev,
+ libsdl-mixer1.2-dev, libsdl-net1.2-dev, libfribidi-dev, libsdl1.2-dev,
+ libsdl-ttf2.0-dev (>= 2.0.8), python-support, libdbus-1-dev,
+ libboost-iostreams-dev, libboost-test-dev, libboost-regex-dev,
+ libboost-serialization-dev, libpango1.0-dev, automake, liblua5.1-0-dev
+Standards-Version: 3.9.1
+Uploaders: Gerfried Fuchs <rhonda@debian.at>
+Homepage: http://wesnoth.org/
+Vcs-Git: git://git.debian.org/git/pkg-games/wesnoth.git
+Vcs-Browser: http://git.debian.org/?p=pkg-games/wesnoth.git;a=summary
+
+Package: wesnoth-1.8-data
+Architecture: all
+Depends: ${misc:Depends}, ttf-dejavu
+Recommends: ttf-wqy-zenhei (>= 0.8.38-1)
+Suggests: wesnoth-1.8-music
+Description: data files for Wesnoth (branch 1.8)
+ This package contains the sound files and graphics for Wesnoth. It is required
+ for being able to play wesnoth or create maps with the editor.
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-1.8-core
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends},
+ wesnoth-1.8-data (= ${source:Version})
+Suggests: wesnoth
+Description: fantasy turn-based strategy game (branch 1.8)
+ This package contains the main program for wesnoth. It can be used to play
+ multiplayer games. If you want to play campaigns you will have to install
+ them individually, but if you prefer to have all the official campaigns
+ installed please be advised to install the wesnoth-1.8 package which depends
+ on all of them.
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-core
+Architecture: all
+Depends: ${misc:Depends}, wesnoth-1.8-core (>= ${binary:Version}),
+ wesnoth-1.8-data (= ${source:Version})
+Suggests: wesnoth
+Description: fantasy turn-based strategy game (metapackage)
+ This metapackage pulls in the core wesnoth package which allows you to play
+ using the latest stable version.
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-editor
+Architecture: all
+Depends: ${misc:Depends}, wesnoth-1.8-core (>= ${binary:Version}),
+ wesnoth-1.8-data (= ${source:Version})
+Description: map editor for Wesnoth (transitional package)
+ This transitional package pulls in the core wesnoth package which now has an
+ included map editor. There is no standalone version anymore. You can safely
+ remove this package after the upgrade.
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-1.8-dbg
+Section: debug
+Architecture: any
+Priority: extra
+Depends: ${misc:Depends}, wesnoth-1.8-core (= ${binary:Version}),
+ wesnoth-1.8-data (= ${source:Version})
+Description: fantasy turn-based strategy game (debugging symbols for branch 1.8)
+ This package contains the debugging symbols for the wesnoth binaries.
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-1.8
+Architecture: all
+Depends: ${misc:Depends}, wesnoth-1.8-core (>= ${binary:Version}),
+ wesnoth-1.8-core (<< ${binary:Version}.~),
+ wesnoth-1.8-data (= ${source:Version}),
+ wesnoth-1.8-httt (= ${source:Version}),
+ wesnoth-1.8-tsg (= ${source:Version}),
+ wesnoth-1.8-trow (= ${source:Version}),
+ wesnoth-1.8-ttb (= ${source:Version}),
+ wesnoth-1.8-ei (= ${source:Version}),
+ wesnoth-1.8-utbs (= ${source:Version}),
+ wesnoth-1.8-did (= ${source:Version}),
+ wesnoth-1.8-nr (= ${source:Version}),
+ wesnoth-1.8-sof (= ${source:Version}),
+ wesnoth-1.8-sotbe (= ${source:Version}),
+ wesnoth-1.8-l (= ${source:Version}),
+ wesnoth-1.8-aoi (= ${source:Version}),
+ wesnoth-1.8-thot (= ${source:Version}),
+ wesnoth-1.8-low (= ${source:Version}),
+ wesnoth-1.8-dm (= ${source:Version})
+Recommends: wesnoth-1.8-music (= ${source:Version})
+Description: fantasy turn-based strategy game - complete suite (branch 1.8)
+ This package depends on the complete set of packages built from the wesnoth
+ source package but the server (which can be found in the
+ wesnoth-1.8-server package), most helpful if you always
+ want to have all the official campaigns installed. If you only want to play
+ over the network with other players or want to play only a few campaigns you
+ just need to install the wesnoth-1.8-core package and
+ the wanted campaign packages.
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-all
+Architecture: all
+Depends: ${misc:Depends}, wesnoth (= ${source:Version}),
+ wesnoth-1.8-data (= ${source:Version})
+Description: fantasy turn-based strategy game - complete suite (transitional package)
+ This transitional package depends on the wesnoth package which pulls in the
+ complete set of the latest stable version. You can safely remove this
+ package after the upgrade.
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth
+Architecture: all
+Depends: ${misc:Depends}, wesnoth-1.8 (>= ${binary:Version}),
+ wesnoth-1.8-data (= ${source:Version})
+Description: fantasy turn-based strategy game - complete suite (metapackage)
+ This metapackage pulls in the complete set of the latest stable version, most
+ helpful if you always want to have all the official campaigns installed. If
+ you only want to play over the network with other players or want to play only
+ a few campaigns you just need to install the wesnoth-core package and the
+ wanted campaign packages.
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-1.8-music
+Architecture: all
+Depends: ${misc:Depends}
+Description: music files for Wesnoth (branch 1.8)
+ This package contains the music files for Wesnoth. It is not required but
+ gives nice background music and encouraged.
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-music
+Architecture: all
+Depends: ${misc:Depends}, wesnoth-1.8-music (= ${source:Version}),
+ wesnoth-1.8-data (= ${source:Version})
+Description: music files for Wesnoth (metapackage)
+ This metapackage pulls in the music package for use with the latest stable
+ version of wesnoth.
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-1.8-server
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, lsb-base
+Description: multiplayer network server for Wesnoth (branch 1.8)
+ This package contains the multiplayer network server for Wesnoth. You need it
+ if you want to host multiplayer games on your computer and don't want to use
+ the official servers.
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-1.8-tools
+Architecture: all
+Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends},
+ wesnoth-1.8-data (= ${source:Version})
+Enhances: wesnoth-1.8-core
+Description: tools for campaign developers for Wesnoth (branch 1.8)
+ This package contains various tools for Wesnoth that are especially useful for
+ campaign developers, including but not limited to scripts supporting the
+ generation and checking of WML (Wesnoth Markup Language). You can find them
+ in the directory /usr/share/games/wesnoth/1.8/data/tools
+ after installation of the package.
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-1.8-httt
+Depends: ${misc:Depends}, wesnoth-1.8-core (>= ${wesnoth:Min-Version}),
+ wesnoth-1.8-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "Heir to the Throne" official campaign for Wesnoth (branch 1.8)
+ This package contains the "Heir to the Throne" campaign for Wesnoth:
+ "Fight to regain the throne of Wesnoth, of which you are the legitimate
+ heir."
+ (Novice level, 25 scenarios.)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-1.8-tsg
+Depends: ${misc:Depends}, wesnoth-1.8-core (>= ${wesnoth:Min-Version}),
+ wesnoth-1.8-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "The South Guard" official campaign for Wesnoth (branch 1.8)
+ This package contains the "The South Guard" campaign for Wesnoth:
+ "A young Knight, Deoran, is dispatched to take command of the South Guard...
+ Note: This campaign is designed as an introduction to Wesnoth. The 'Civilian'
+ difficulty level is aimed at first-time players."
+ (Novice level, 9 or 10 scenarios depending on the branch you take.)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-1.8-trow
+Depends: ${misc:Depends}, wesnoth-1.8-core (>= ${wesnoth:Min-Version}),
+ wesnoth-1.8-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "The Rise of Wesnoth" official campaign for Wesnoth (branch 1.8)
+ This package contains the "The Rise of Wesnoth" campaign for Wesnoth:
+ "Lead Prince Haldric through the destruction of the Green Isle and across the
+ Ocean to establish the very kingdom of Wesnoth itself. The confrontation with
+ Lich-Lord Jevyan awaits..."
+ (Intermediate level, 25 scenarios.)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-1.8-ttb
+Depends: ${misc:Depends}, wesnoth-1.8-core (>= ${wesnoth:Min-Version}),
+ wesnoth-1.8-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "A Tale of Two Brothers" official campaign for Wesnoth (branch 1.8)
+ This package contains the "A Tale of Two Brothers" campaign for Wesnoth:
+ "An evil mage is threatening the local village and its inhabitants. When their
+ leader Bjarn sends for aid from his brother Arne, he is victorious, but Bjarn
+ himself is kidnapped. Can you rescue him?"
+ (Novice level, 4 scenarios; the 'Hard' version may challenge more experienced
+ players.)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-1.8-ei
+Depends: ${misc:Depends}, wesnoth-1.8-core (>= ${wesnoth:Min-Version}),
+ wesnoth-1.8-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "The Eastern Invasion" official campaign for Wesnoth (branch 1.8)
+ This package contains the "The Eastern Invasion" campaign for Wesnoth:
+ "There are rumors of undead attacks on the eastern border of Wesnoth. You, an
+ officer in the Royal Army, have been sent to the eastern front to protect the
+ villagers and find out what is happening."
+ (Intermediate level, 18 scenarios.)"
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-1.8-utbs
+Depends: ${misc:Depends}, wesnoth-1.8-core (>= ${wesnoth:Min-Version}),
+ wesnoth-1.8-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "Under the Burning Suns" official campaign for Wesnoth (branch 1.8)
+ This package contains the "Under the Burning Suns" campaign for Wesnoth:
+ "In the distant future a small band of elves struggles to survive amidst the
+ ruins of fallen empires. Lead your people out of the desert on an epic journey
+ to find a new home."
+ (Expert level, 11 scenarios, some under reconstruction)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-1.8-did
+Depends: ${misc:Depends}, wesnoth-1.8-core (>= ${wesnoth:Min-Version}),
+ wesnoth-1.8-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "Descent Into Darkness" official campaign for Wesnoth (branch 1.8)
+ This package contains the "Descent Into Darkness" campaign for Wesnoth:
+ "Learn the dark arts of necromancy in order to save your people from an orcish
+ incursion."
+ (Expert level, 11 scenarios.)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-1.8-nr
+Depends: ${misc:Depends}, wesnoth-1.8-core (>= ${wesnoth:Min-Version}),
+ wesnoth-1.8-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "Northern Rebirth" official campaign for Wesnoth (branch 1.8)
+ This package contains the "Northern Rebirth" campaign for Wesnoth:
+ "For the people of Dwarven Doors the choice was stark: either drudge as
+ downtrodden slaves for the orcs until the end of their brief and miserable
+ lives, or risk all for freedom and rise up against their cruel overlords.
+ Little did they suspect that their struggle would be the hinge of great events
+ that might restore the Northlands to the glory they had once known."
+ (Expert level, 14 scenarios.)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-1.8-sof
+Depends: ${misc:Depends}, wesnoth-1.8-core (>= ${wesnoth:Min-Version}),
+ wesnoth-1.8-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "The Sceptre of Fire" official campaign for Wesnoth (branch 1.8)
+ This package contains the "The Sceptre of Fire" campaign for Wesnoth:
+ "The land of Wesnoth's banner bold
+ Comes not from its own land;
+ It comes from Dwarfdom, grim and old
+ Made by a runesmith's hand.
+ So now I tell from whence it came -
+ The Fire-sceptre great -
+ And of the makers of the same,
+ Their tale I now relate..."
+ (Expert level, 9 scenarios.)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-1.8-sotbe
+Depends: ${misc:Depends}, wesnoth-1.8-core (>= ${wesnoth:Min-Version}),
+ wesnoth-1.8-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "Son of the Black-Eye" official campaign for Wesnoth (branch 1.8)
+ This package contains the "Son of the Black-Eye" campaign for Wesnoth:
+ "Your father Karun Black-Eye was the greatest orcish leader that ever lived.
+ Now, as his son, it's up to you to thwart the selfish designs of the humans
+ who have broken the old agreements with the orcs and are bent upon taking your
+ lands. Unite the warring orcish tribes, bring together the Orcish Council and
+ call up the Great Horde to send the human-worms and their tree-shagger allies
+ to the land of the dead!"
+ (Expert level, 18 scenarios.)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-1.8-l
+Depends: ${misc:Depends}, wesnoth-1.8-core (>= ${wesnoth:Min-Version}),
+ wesnoth-1.8-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "Liberty" official campaign for Wesnoth (branch 1.8)
+ This package contains the "Liberty" campaign for Wesnoth:
+ "As the shadow of civil war lengthens across Wesnoth, a band of hardy
+ marchlanders revolts against the tyranny of Queen Asheviere. To win their way
+ to freedom, they must defeat not just the trained blades of Wesnothian troops
+ but darker foes including orcs and undead."
+ (Intermediate level, 9 scenarios)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-1.8-aoi
+Depends: ${misc:Depends}, wesnoth-1.8-core (>= ${wesnoth:Min-Version}),
+ wesnoth-1.8-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "An Orcish Incursion" official campaign for Wesnoth (branch 1.8)
+ This package contains the "An Orcish Incursion" campaign for Wesnoth:
+ "Defend the forests of the elves against the first orcs to reach the Great
+ Continent, learning valuable tactics as you do so."
+ (Novice level, 7 scenarios.)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-1.8-thot
+Depends: ${misc:Depends}, wesnoth-1.8-core (>= ${wesnoth:Min-Version}),
+ wesnoth-1.8-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "The Hammer of Thursagan" official campaign for Wesnoth (branch 1.8)
+ This package contains the "The Hammer of Thursagan" campaign for Wesnoth:
+ "In the first years of the Northern Alliance, an expedition from Knalga seeks
+ out their kin at Kal Kartha and to learn the fate of the legendary Hammer of
+ Thursagan. The perils of their journey through the wild Northern Lands, though
+ great, pale beside the evil they will face at its end."
+ (Intermediate level, 13 scenarios.)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-1.8-low
+Depends: ${misc:Depends}, wesnoth-1.8-core (>= ${wesnoth:Min-Version}),
+ wesnoth-1.8-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "Legend of Wesmere" official campaign for Wesnoth (branch 1.8)
+ This package contains the "Legend of Wesmere" campaign for Wesnoth:
+ "The tale of Kalenz, the High Lord who rallied his people after the second
+ orcish invasion of the Great Continent and became the most renowned hero in
+ the recorded history of the Elves."
+ (Intermediate level, 17 playable scenarios.)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-1.8-dm
+Depends: ${misc:Depends}, wesnoth-1.8-core (>= ${wesnoth:Min-Version}),
+ wesnoth-1.8-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "Delfador's Memoirs" official campaign for Wesnoth (branch 1.8)
+ This package contains the "Delfador's Memoirs" campaign for Wesnoth:
+ "Wesnoth seems to be slipping inexorably into chaos, as marauding orcs pour
+ south across the Great River, and mysterious and deadly creatures roam the
+ night. Who is the shadowy Iliah-Malal? Can you defeat him before he destroys
+ all life in Wesnoth?"
+ (Intermediate level, 23 scenarios)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-editor.postinst
+++ wesnoth-1.8-1.8.5/debian/wesnoth-editor.postinst
@@ -0,0 +1,18 @@
+#!/bin/sh
+# postinst script for wesnoth-editor
+# copyright 2010 by Gerfried Fuchs <rhonda@debian.at>
+# Licenced under WTFPLv2
+
+set -e
+
+case "$1" in
+ configure|reconfigure)
+ if dpkg --compare-versions "$2" lt-nl "1:1.8.3-6"; then
+ if rmdir /usr/share/doc/wesnoth-editor 2>/dev/null; then
+ ln -s wesnoth-1.8-data /usr/share/doc/wesnoth-editor
+ fi
+ fi
+ ;;
+esac
+
+#DEBHELPER#
--- wesnoth-1.8-1.8.5.orig/debian/README.source
+++ wesnoth-1.8-1.8.5/debian/README.source
@@ -0,0 +1,29 @@
+ This package uses quilt for its patch management, see
+/usr/share/doc/quilt/README.source if you are unfamiliar with it.
+
+--------------------------------------------------------------------------
+
+ Changes to files in debian/* that have an corresponding debian/*.in
+file also require the same change in the corresponding *.in file.
+
+--------------------------------------------------------------------------
+
+ Upstream ships their tarballs as .tar.bz2 files - which the Debian pool
+unfortunately doesn't like (yet). All I do with them is piping them
+through bzcat and gzip, like this for e.g. the 1.4.3 release:
+
+bzcat wesnoth-1.4.3.tar.bz2 | gzip > wesnoth-1.4_1.4.3.orig.tar.gz
+
+ PLEASE NOTICE that the branch version is part of the source package
+name now, that is, wesnoth-1.4 as package name derived from the upstream
+version 1.4.3.
+
+--------------------------------------------------------------------------
+
+ If one wants to switch and upgrade to a new branch (like, from
+1.X.something 1.Y.something) several things need to be done:
+
+-) Adjust source package name in debian/changelog.
+
+-) Call "sh debian/branchcheck" to generate the rest of the files
+automatically.
--- wesnoth-1.8-1.8.5.orig/debian/control.in
+++ wesnoth-1.8-1.8.5/debian/control.in
@@ -0,0 +1,458 @@
+Source: wesnoth-BRANCH
+Section: games
+Priority: optional
+Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
+Build-Depends: debhelper (>= 7), quilt, libsdl-image1.2-dev, libfreetype6-dev,
+ libsdl-mixer1.2-dev, libsdl-net1.2-dev, libfribidi-dev, libsdl1.2-dev,
+ libsdl-ttf2.0-dev (>= 2.0.8), python-support, libdbus-1-dev,
+ libboost-iostreams-dev, libboost-test-dev, libboost-regex-dev,
+ libboost-serialization-dev, libpango1.0-dev, automake, liblua5.1-0-dev
+Standards-Version: 3.9.1
+Uploaders: Gerfried Fuchs <rhonda@debian.at>
+Homepage: http://wesnoth.org/
+Vcs-Git: git://git.debian.org/git/pkg-games/wesnoth.git
+Vcs-Browser: http://git.debian.org/?p=pkg-games/wesnoth.git;a=summary
+
+Package: wesnoth-BRANCH-data
+Architecture: all
+Depends: ${misc:Depends}, ttf-dejavu
+Recommends: ttf-wqy-zenhei (>= 0.8.38-1)
+Suggests: wesnoth-BRANCH-music
+Description: data files for Wesnoth (branch BRANCH)
+ This package contains the sound files and graphics for Wesnoth. It is required
+ for being able to play wesnoth or create maps with the editor.
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-BRANCH-core
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends},
+ wesnoth-BRANCH-data (= ${source:Version})
+Suggests: wesnoth
+Description: fantasy turn-based strategy game (branch BRANCH)
+ This package contains the main program for wesnoth. It can be used to play
+ multiplayer games. If you want to play campaigns you will have to install
+ them individually, but if you prefer to have all the official campaigns
+ installed please be advised to install the wesnoth-BRANCH package which depends
+ on all of them.
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-core
+Architecture: all
+Depends: ${misc:Depends}, wesnoth-BRANCH-core (>= ${binary:Version}),
+ wesnoth-BRANCH-data (= ${source:Version})
+Suggests: wesnoth
+Description: fantasy turn-based strategy game (metapackage)
+ This metapackage pulls in the core wesnoth package which allows you to play
+ using the latest stable version.
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-editor
+Architecture: all
+Depends: ${misc:Depends}, wesnoth-BRANCH-core (>= ${binary:Version}),
+ wesnoth-BRANCH-data (= ${source:Version})
+Description: map editor for Wesnoth (transitional package)
+ This transitional package pulls in the core wesnoth package which now has an
+ included map editor. There is no standalone version anymore. You can safely
+ remove this package after the upgrade.
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-BRANCH-dbg
+Section: debug
+Architecture: any
+Priority: extra
+Depends: ${misc:Depends}, wesnoth-BRANCH-core (= ${binary:Version}),
+ wesnoth-BRANCH-data (= ${source:Version})
+Description: fantasy turn-based strategy game (debugging symbols for branch BRANCH)
+ This package contains the debugging symbols for the wesnoth binaries.
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-BRANCH
+Architecture: all
+Depends: ${misc:Depends}, wesnoth-BRANCH-core (>= ${binary:Version}),
+ wesnoth-BRANCH-core (<< ${binary:Version}.~),
+ wesnoth-BRANCH-data (= ${source:Version}),
+ wesnoth-BRANCH-httt (= ${source:Version}),
+ wesnoth-BRANCH-tsg (= ${source:Version}),
+ wesnoth-BRANCH-trow (= ${source:Version}),
+ wesnoth-BRANCH-ttb (= ${source:Version}),
+ wesnoth-BRANCH-ei (= ${source:Version}),
+ wesnoth-BRANCH-utbs (= ${source:Version}),
+ wesnoth-BRANCH-did (= ${source:Version}),
+ wesnoth-BRANCH-nr (= ${source:Version}),
+ wesnoth-BRANCH-sof (= ${source:Version}),
+ wesnoth-BRANCH-sotbe (= ${source:Version}),
+ wesnoth-BRANCH-l (= ${source:Version}),
+ wesnoth-BRANCH-aoi (= ${source:Version}),
+ wesnoth-BRANCH-thot (= ${source:Version}),
+ wesnoth-BRANCH-low (= ${source:Version}),
+ wesnoth-BRANCH-dm (= ${source:Version})
+Recommends: wesnoth-BRANCH-music (= ${source:Version})
+Description: fantasy turn-based strategy game - complete suite (branch BRANCH)
+ This package depends on the complete set of packages built from the wesnoth
+ source package but the server (which can be found in the
+ wesnoth-BRANCH-server package), most helpful if you always
+ want to have all the official campaigns installed. If you only want to play
+ over the network with other players or want to play only a few campaigns you
+ just need to install the wesnoth-BRANCH-core package and
+ the wanted campaign packages.
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-all
+Architecture: all
+Depends: ${misc:Depends}, wesnoth (= ${source:Version}),
+ wesnoth-BRANCH-data (= ${source:Version})
+Description: fantasy turn-based strategy game - complete suite (transitional package)
+ This transitional package depends on the wesnoth package which pulls in the
+ complete set of the latest stable version. You can safely remove this
+ package after the upgrade.
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth
+Architecture: all
+Depends: ${misc:Depends}, wesnoth-BRANCH (>= ${binary:Version}),
+ wesnoth-BRANCH-data (= ${source:Version})
+Description: fantasy turn-based strategy game - complete suite (metapackage)
+ This metapackage pulls in the complete set of the latest stable version, most
+ helpful if you always want to have all the official campaigns installed. If
+ you only want to play over the network with other players or want to play only
+ a few campaigns you just need to install the wesnoth-core package and the
+ wanted campaign packages.
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-BRANCH-music
+Architecture: all
+Depends: ${misc:Depends}
+Description: music files for Wesnoth (branch BRANCH)
+ This package contains the music files for Wesnoth. It is not required but
+ gives nice background music and encouraged.
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-music
+Architecture: all
+Depends: ${misc:Depends}, wesnoth-BRANCH-music (= ${source:Version}),
+ wesnoth-BRANCH-data (= ${source:Version})
+Description: music files for Wesnoth (metapackage)
+ This metapackage pulls in the music package for use with the latest stable
+ version of wesnoth.
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-BRANCH-server
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, lsb-base
+Description: multiplayer network server for Wesnoth (branch BRANCH)
+ This package contains the multiplayer network server for Wesnoth. You need it
+ if you want to host multiplayer games on your computer and don't want to use
+ the official servers.
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-BRANCH-tools
+Architecture: all
+Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends},
+ wesnoth-BRANCH-data (= ${source:Version})
+Enhances: wesnoth-BRANCH-core
+Description: tools for campaign developers for Wesnoth (branch BRANCH)
+ This package contains various tools for Wesnoth that are especially useful for
+ campaign developers, including but not limited to scripts supporting the
+ generation and checking of WML (Wesnoth Markup Language). You can find them
+ in the directory /usr/share/games/wesnoth/BRANCH/data/tools
+ after installation of the package.
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-BRANCH-httt
+Depends: ${misc:Depends}, wesnoth-BRANCH-core (>= ${wesnoth:Min-Version}),
+ wesnoth-BRANCH-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "Heir to the Throne" official campaign for Wesnoth (branch BRANCH)
+ This package contains the "Heir to the Throne" campaign for Wesnoth:
+ "Fight to regain the throne of Wesnoth, of which you are the legitimate
+ heir."
+ (Novice level, 25 scenarios.)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-BRANCH-tsg
+Depends: ${misc:Depends}, wesnoth-BRANCH-core (>= ${wesnoth:Min-Version}),
+ wesnoth-BRANCH-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "The South Guard" official campaign for Wesnoth (branch BRANCH)
+ This package contains the "The South Guard" campaign for Wesnoth:
+ "A young Knight, Deoran, is dispatched to take command of the South Guard...
+ Note: This campaign is designed as an introduction to Wesnoth. The 'Civilian'
+ difficulty level is aimed at first-time players."
+ (Novice level, 9 or 10 scenarios depending on the branch you take.)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-BRANCH-trow
+Depends: ${misc:Depends}, wesnoth-BRANCH-core (>= ${wesnoth:Min-Version}),
+ wesnoth-BRANCH-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "The Rise of Wesnoth" official campaign for Wesnoth (branch BRANCH)
+ This package contains the "The Rise of Wesnoth" campaign for Wesnoth:
+ "Lead Prince Haldric through the destruction of the Green Isle and across the
+ Ocean to establish the very kingdom of Wesnoth itself. The confrontation with
+ Lich-Lord Jevyan awaits..."
+ (Intermediate level, 25 scenarios.)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-BRANCH-ttb
+Depends: ${misc:Depends}, wesnoth-BRANCH-core (>= ${wesnoth:Min-Version}),
+ wesnoth-BRANCH-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "A Tale of Two Brothers" official campaign for Wesnoth (branch BRANCH)
+ This package contains the "A Tale of Two Brothers" campaign for Wesnoth:
+ "An evil mage is threatening the local village and its inhabitants. When their
+ leader Bjarn sends for aid from his brother Arne, he is victorious, but Bjarn
+ himself is kidnapped. Can you rescue him?"
+ (Novice level, 4 scenarios; the 'Hard' version may challenge more experienced
+ players.)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-BRANCH-ei
+Depends: ${misc:Depends}, wesnoth-BRANCH-core (>= ${wesnoth:Min-Version}),
+ wesnoth-BRANCH-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "The Eastern Invasion" official campaign for Wesnoth (branch BRANCH)
+ This package contains the "The Eastern Invasion" campaign for Wesnoth:
+ "There are rumors of undead attacks on the eastern border of Wesnoth. You, an
+ officer in the Royal Army, have been sent to the eastern front to protect the
+ villagers and find out what is happening."
+ (Intermediate level, 18 scenarios.)"
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-BRANCH-utbs
+Depends: ${misc:Depends}, wesnoth-BRANCH-core (>= ${wesnoth:Min-Version}),
+ wesnoth-BRANCH-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "Under the Burning Suns" official campaign for Wesnoth (branch BRANCH)
+ This package contains the "Under the Burning Suns" campaign for Wesnoth:
+ "In the distant future a small band of elves struggles to survive amidst the
+ ruins of fallen empires. Lead your people out of the desert on an epic journey
+ to find a new home."
+ (Expert level, 11 scenarios, some under reconstruction)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-BRANCH-did
+Depends: ${misc:Depends}, wesnoth-BRANCH-core (>= ${wesnoth:Min-Version}),
+ wesnoth-BRANCH-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "Descent Into Darkness" official campaign for Wesnoth (branch BRANCH)
+ This package contains the "Descent Into Darkness" campaign for Wesnoth:
+ "Learn the dark arts of necromancy in order to save your people from an orcish
+ incursion."
+ (Expert level, 11 scenarios.)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-BRANCH-nr
+Depends: ${misc:Depends}, wesnoth-BRANCH-core (>= ${wesnoth:Min-Version}),
+ wesnoth-BRANCH-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "Northern Rebirth" official campaign for Wesnoth (branch BRANCH)
+ This package contains the "Northern Rebirth" campaign for Wesnoth:
+ "For the people of Dwarven Doors the choice was stark: either drudge as
+ downtrodden slaves for the orcs until the end of their brief and miserable
+ lives, or risk all for freedom and rise up against their cruel overlords.
+ Little did they suspect that their struggle would be the hinge of great events
+ that might restore the Northlands to the glory they had once known."
+ (Expert level, 14 scenarios.)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-BRANCH-sof
+Depends: ${misc:Depends}, wesnoth-BRANCH-core (>= ${wesnoth:Min-Version}),
+ wesnoth-BRANCH-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "The Sceptre of Fire" official campaign for Wesnoth (branch BRANCH)
+ This package contains the "The Sceptre of Fire" campaign for Wesnoth:
+ "The land of Wesnoth's banner bold
+ Comes not from its own land;
+ It comes from Dwarfdom, grim and old
+ Made by a runesmith's hand.
+ So now I tell from whence it came -
+ The Fire-sceptre great -
+ And of the makers of the same,
+ Their tale I now relate..."
+ (Expert level, 9 scenarios.)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-BRANCH-sotbe
+Depends: ${misc:Depends}, wesnoth-BRANCH-core (>= ${wesnoth:Min-Version}),
+ wesnoth-BRANCH-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "Son of the Black-Eye" official campaign for Wesnoth (branch BRANCH)
+ This package contains the "Son of the Black-Eye" campaign for Wesnoth:
+ "Your father Karun Black-Eye was the greatest orcish leader that ever lived.
+ Now, as his son, it's up to you to thwart the selfish designs of the humans
+ who have broken the old agreements with the orcs and are bent upon taking your
+ lands. Unite the warring orcish tribes, bring together the Orcish Council and
+ call up the Great Horde to send the human-worms and their tree-shagger allies
+ to the land of the dead!"
+ (Expert level, 18 scenarios.)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-BRANCH-l
+Depends: ${misc:Depends}, wesnoth-BRANCH-core (>= ${wesnoth:Min-Version}),
+ wesnoth-BRANCH-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "Liberty" official campaign for Wesnoth (branch BRANCH)
+ This package contains the "Liberty" campaign for Wesnoth:
+ "As the shadow of civil war lengthens across Wesnoth, a band of hardy
+ marchlanders revolts against the tyranny of Queen Asheviere. To win their way
+ to freedom, they must defeat not just the trained blades of Wesnothian troops
+ but darker foes including orcs and undead."
+ (Intermediate level, 9 scenarios)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-BRANCH-aoi
+Depends: ${misc:Depends}, wesnoth-BRANCH-core (>= ${wesnoth:Min-Version}),
+ wesnoth-BRANCH-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "An Orcish Incursion" official campaign for Wesnoth (branch BRANCH)
+ This package contains the "An Orcish Incursion" campaign for Wesnoth:
+ "Defend the forests of the elves against the first orcs to reach the Great
+ Continent, learning valuable tactics as you do so."
+ (Novice level, 7 scenarios.)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-BRANCH-thot
+Depends: ${misc:Depends}, wesnoth-BRANCH-core (>= ${wesnoth:Min-Version}),
+ wesnoth-BRANCH-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "The Hammer of Thursagan" official campaign for Wesnoth (branch BRANCH)
+ This package contains the "The Hammer of Thursagan" campaign for Wesnoth:
+ "In the first years of the Northern Alliance, an expedition from Knalga seeks
+ out their kin at Kal Kartha and to learn the fate of the legendary Hammer of
+ Thursagan. The perils of their journey through the wild Northern Lands, though
+ great, pale beside the evil they will face at its end."
+ (Intermediate level, 13 scenarios.)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-BRANCH-low
+Depends: ${misc:Depends}, wesnoth-BRANCH-core (>= ${wesnoth:Min-Version}),
+ wesnoth-BRANCH-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "Legend of Wesmere" official campaign for Wesnoth (branch BRANCH)
+ This package contains the "Legend of Wesmere" campaign for Wesnoth:
+ "The tale of Kalenz, the High Lord who rallied his people after the second
+ orcish invasion of the Great Continent and became the most renowned hero in
+ the recorded history of the Elves."
+ (Intermediate level, 17 playable scenarios.)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
+
+Package: wesnoth-BRANCH-dm
+Depends: ${misc:Depends}, wesnoth-BRANCH-core (>= ${wesnoth:Min-Version}),
+ wesnoth-BRANCH-core (<< ${wesnoth:Max-Version})
+Architecture: all
+Description: "Delfador's Memoirs" official campaign for Wesnoth (branch BRANCH)
+ This package contains the "Delfador's Memoirs" campaign for Wesnoth:
+ "Wesnoth seems to be slipping inexorably into chaos, as marauding orcs pour
+ south across the Great River, and mysterious and deadly creatures roam the
+ night. Who is the shadowy Iliah-Malal? Can you defeat him before he destroys
+ all life in Wesnoth?"
+ (Intermediate level, 23 scenarios)
+ .
+ Battle for control of villages, using variety of units which have advantages
+ and disadvantages in different types of terrains and against different types
+ of attacks. Units gain experience and advance levels, and are carried over
+ from one scenario to the next in a campaign.
--- wesnoth-1.8-1.8.5.orig/debian/TODO
+++ wesnoth-1.8-1.8.5/debian/TODO
@@ -0,0 +1,4 @@
+add alternative handling
+
+create wesnoth-tools package containing:
+ - byte-compile .py modules?
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-editor.postinst.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-editor.postinst.in
@@ -0,0 +1,18 @@
+#!/bin/sh
+# postinst script for wesnoth-editor
+# copyright 2010 by Gerfried Fuchs <rhonda@debian.at>
+# Licenced under WTFPLv2
+
+set -e
+
+case "$1" in
+ configure|reconfigure)
+ if dpkg --compare-versions "$2" lt-nl "1:1.8.3-6"; then
+ if rmdir /usr/share/doc/wesnoth-editor 2>/dev/null; then
+ ln -s wesnoth-BRANCH-data /usr/share/doc/wesnoth-editor
+ fi
+ fi
+ ;;
+esac
+
+#DEBHELPER#
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-music.postinst
+++ wesnoth-1.8-1.8.5/debian/wesnoth-music.postinst
@@ -0,0 +1,18 @@
+#!/bin/sh
+# postinst script for wesnoth-music
+# copyright 2010 by Gerfried Fuchs <rhonda@debian.at>
+# Licenced under WTFPLv2
+
+set -e
+
+case "$1" in
+ configure|reconfigure)
+ if dpkg --compare-versions "$2" lt-nl "1:1.8.3-6"; then
+ if rmdir /usr/share/doc/wesnoth-music 2>/dev/null; then
+ ln -s wesnoth-1.8-data /usr/share/doc/wesnoth-music
+ fi
+ fi
+ ;;
+esac
+
+#DEBHELPER#
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-music.postinst.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-music.postinst.in
@@ -0,0 +1,18 @@
+#!/bin/sh
+# postinst script for wesnoth-music
+# copyright 2010 by Gerfried Fuchs <rhonda@debian.at>
+# Licenced under WTFPLv2
+
+set -e
+
+case "$1" in
+ configure|reconfigure)
+ if dpkg --compare-versions "$2" lt-nl "1:1.8.3-6"; then
+ if rmdir /usr/share/doc/wesnoth-music 2>/dev/null; then
+ ln -s wesnoth-BRANCH-data /usr/share/doc/wesnoth-music
+ fi
+ fi
+ ;;
+esac
+
+#DEBHELPER#
--- wesnoth-1.8-1.8.5.orig/debian/branchcheck
+++ wesnoth-1.8-1.8.5/debian/branchcheck
@@ -0,0 +1,18 @@
+#!/bin/sh
+# Copyright (C) 2009-2010 Gerfried Fuchs <rhonda@debian.at>
+# Licenced under WTFPLv2
+
+set -ex
+
+BRANCH=$(dpkg-parsechangelog | grep "^Version:" | cut -d" " -f2 | cut -d. -f1,2 | cut -d: -f2 | cut -d- -f1 | sed -e 's/[a-z].*//')
+BRANODOT=$(echo $BRANCH | tr -d .)
+
+if head -1 debian/control | grep -v "^Source: wesnoth-$BRANCH" >/dev/null ; then \
+ for i in debian/*.in debian/patches/*.in; do
+ new=$(basename $i .in | sed -e s/BRANCH/$BRANCH/)
+ dir=$(dirname $i)
+ cp $i $dir/$new
+ sed -i -e "s/BRANCH/$BRANCH/g" $dir/$new
+ sed -i -e "s/BRANODOT/$BRANODOT/g" $dir/$new
+ done
+fi
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-all.postinst.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-all.postinst.in
@@ -0,0 +1,18 @@
+#!/bin/sh
+# postinst script for wesnoth-all
+# copyright 2010 by Gerfried Fuchs <rhonda@debian.at>
+# Licenced under WTFPLv2
+
+set -e
+
+case "$1" in
+ configure|reconfigure)
+ if dpkg --compare-versions "$2" lt-nl "1:1.8.3-6"; then
+ if rmdir /usr/share/doc/wesnoth-all 2>/dev/null; then
+ ln -s wesnoth-BRANCH-data /usr/share/doc/wesnoth-all
+ fi
+ fi
+ ;;
+esac
+
+#DEBHELPER#
--- wesnoth-1.8-1.8.5.orig/debian/compat
+++ wesnoth-1.8-1.8.5/debian/compat
@@ -0,0 +1 @@
+7
--- wesnoth-1.8-1.8.5.orig/debian/copyright
+++ wesnoth-1.8-1.8.5/debian/copyright
@@ -0,0 +1,197 @@
+This package was originally debianized by Cyril Bouthors <cyril@bouthors.org>
+on Tue, 14 Oct 2003 14:10:24 +0200. It got maintained in the meantime also by
+Isaac Clerencia <isaac@sindominio.net> and is now looked after by
+Gerfried Fuchs <rhonda@debian.at>.
+
+
+It was downloaded from http://www.wesnoth.org/
+
+Upstream Author: David White <davidnwhite@comcast.net>
+
+Note that there are far more contributors in Wesnoth that the ones listed here:
+
+Copyright (C) 2003 - 2009 by David White <dave@whitevine.net>
+Copyright (C) 2004 - 2009 by Guillaume Melquiond <guillaume.melquiond@gmail.com>
+Copyright (C) 2004 - 2009 by Philippe Plantier <ayin@anathas.org>
+Copyright (C) 2005 - 2009 by Yann Dirson <ydirson@altern.org>
+Copyright (C) 2005 - 2007 by Isaac Clerencia <isaac@sindominio.net>
+Copyright (C) 2005 - 2009 by Joerg Hinrichs <joerg.hinrichs@alice-dsl.de>
+Copyright (C) 2005 - 2009 by Joeri Melis <joeri_melis@hotmail.com>
+Copyright (C) 2005 - 2009 by Rusty Russell <rusty@rustcorp.com.au>
+Copyright (C) 2006 - 2009 by Dominic Bolin <dominic.bolin@exong.net>
+Copyright (C) 2006 - 2009 by Jeremy Rosen <jeremy.rosen@enst-bretagne.fr>
+Copyright (C) 2006 - 2009 by Karol Nowak <grzywacz@sul.uni.lodz.pl>
+Copyright (C) 2006 - 2009 by Mark de Wever <koraq@xs4all.nl>
+Copyright (C) 2006 - 2009 by Patrick Parker <patrick_x99@hotmail.com>
+Copyright (C) 2007 - 2009 by Benoit Timbert <benoit.timbert@free.fr>
+Copyright (C) 2008 - 2009 by Ignacio R. Morelle <shadowm2006@gmail.com>
+Copyright (C) 2008 - 2009 by Pauli Nieminen <paniemin@cc.hut.fi>
+Copyright (C) 2008 - 2009 by Thomas Baumhauer <thomas.baumhauer@NOSPAMgmail.com>
+Copyright (C) 2008 - 2009 by Tomasz Sniatowski <kailoran@gmail.com>
+Copyright (C) 2009 by Bartosz Waresiak <dragonking@o2.pl>
+Copyright (C) 2009 by Chris Hopman <cjhopman@gmail.com>
+Copyright (C) 2009 by Daniel Franke.
+Copyright (C) 2009 by Eugen Jiresch
+Copyright (C) 2009 by Greg Shikhman <cornmander@cornmander.com>
+Copyright (C) 2009 by Yurii Chernyi <terraninfo@terraninfo.net>
+
+
+License:
+ Copyright (C) 2003 - 2007 by David White <dave@whitevine.net>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License version 2
+ or at your option any later version.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY.
+
+On Debian systems, the complete text of the GNU General Public
+License can be found in /usr/share/common-licenses/GPL-2 file,
+later versions can be found in the same directory.
+
+ -----
+
+ src/sdl_ttf/ is Copyright (C) 1997-2004 by Sam Lantinga
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 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
+ Library General Public License for more details.
+
+On Debian systems, the complete text of the GNU Library General
+Public License can be found in /usr/share/common-licenses/LGPL-2 file,
+later versions can be found in the same directory.
+
+ -----
+
+ fonts/ is Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved.
+ Bitstream Vera is a trademark of Bitstream, Inc.
+
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of the fonts accompanying this license ("Fonts") and associated
+ documentation files (the "Font Software"), to reproduce and distribute
+ the Font Software, including without limitation the rights to use,
+ copy, merge, publish, distribute, and/or sell copies of the Font
+ Software, and to permit persons to whom the Font Software is furnished
+ to do so, subject to the following conditions:
+
+ The above copyright and trademark notices and this permission notice
+ shall be included in all copies of one or more of the Font Software
+ typefaces.
+
+ The Font Software may be modified, altered, or added to, and in
+ particular the designs of glyphs or characters in the Fonts may be
+ modified and additional glyphs or characters may be added to the Fonts,
+ only if the fonts are renamed to names not containing either the words
+ "Bitstream" or the word "Vera".
+
+ This License becomes null and void to the extent applicable to Fonts or
+ Font Software that has been modified and is distributed under the
+ "Bitstream Vera" names.
+
+ The Font Software may be sold as part of a larger software package but
+ no copy of one or more of the Font Software typefaces may be sold by
+ itself.
+
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL
+ BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR
+ OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL,
+ OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+ OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT
+ SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
+
+ Except as contained in this notice, the names of Gnome, the Gnome
+ Foundation, and Bitstream Inc., shall not be used in advertising or
+ otherwise to promote the sale, use or other dealings in this Font
+ Software without prior written authorization from the Gnome Foundation
+ or Bitstream Inc., respectively. For further information, contact:
+ fonts at gnome dot org.
+
+ -----
+
+ data/tools/addon_manager/jquery.js
+
+ * Copyright (c) 2008 John Resig (jquery.com)
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
+ * and GPL (GPL-LICENSE.txt) licenses.
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+On Debian systems, the complete text of the GNU General Public
+License can be found in /usr/share/common-licenses/GPL-2 file,
+later versions can be found in the same directory.
+
+ -----
+
+ data/tools/addon_manager/tablesorter.js
+
+ * Copyright (c) 2007 Christian Bach
+ * Dual licensed under the MIT and GPL licenses:
+ * http://www.opensource.org/licenses/mit-license.php
+ * http://www.gnu.org/licenses/gpl.html
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+On Debian systems, the complete text of the GNU General Public
+License can be found in /usr/share/common-licenses/GPL-2 file,
+later versions can be found in the same directory.
+
+ -----
+
+ The debianization of the package is licensed under the WTFPLv2:
+
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ Version 2, December 2004
+
+ Copyright (C) 2007-2010 Gerfried Fuchs
+
+ Everyone is permitted to copy and distribute verbatim or modified
+ copies of this license document, and changing it is allowed as long
+ as the name is changed.
+
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. You just DO WHAT THE FUCK YOU WANT TO.
--- wesnoth-1.8-1.8.5.orig/debian/watch
+++ wesnoth-1.8-1.8.5/debian/watch
@@ -0,0 +1,8 @@
+version=2
+# Site/Directory Pattern Version Script
+
+## stable branch
+http://sf.net/wesnoth/ wesnoth-([\d]+\.[\d]*[02468](?:\.[\d\.]*)?)\.tar\.(?:bz2|gz) debian uupdate
+
+## everything (like, useful for development branch :))
+#http://sf.net/wesnoth/ wesnoth-([\d.a]+)\.tar\.(?:bz2|gz) debian uupdate
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-aoi.install
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-aoi.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/1.8/data/campaigns/An_Orcish_Incursion
+debian/tmp/usr/share/games/wesnoth/1.8/locale/*/LC_MESSAGES/wesnoth-aoi.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-core.install
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-core.install
@@ -0,0 +1,10 @@
+debian/tmp/usr/games/wesnoth
+debian/wesnoth-1.8-smallgui /usr/games
+debian/wesnoth-1.8-nolog /usr/games
+debian/wesnoth-1.8_editor /usr/games
+debian/tmp/usr/share/man/man6/wesnoth.6
+debian/tmp/usr/share/man/*/man6/wesnoth.6
+icons/wesnoth.desktop /usr/share/applications
+icons/wesnoth_editor.desktop /usr/share/applications
+debian/wesnoth-1.8-icon.xpm /usr/share/pixmaps
+debian/wesnoth-1.8_editor-icon.xpm /usr/share/pixmaps
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-core.lintian-overrides
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-core.lintian-overrides
@@ -0,0 +1,5 @@
+wesnoth-1.8-core: manpage-locale-dir-country-specific usr/share/man/en_GB/man6/wesnoth-1.8-nolog.6.gz
+wesnoth-1.8-core: manpage-locale-dir-country-specific usr/share/man/en_GB/man6/wesnoth-1.8-smallgui.6.gz
+wesnoth-1.8-core: manpage-locale-dir-country-specific usr/share/man/en_GB/man6/wesnoth-1.8.6.gz
+wesnoth-1.8-core: manpage-locale-dir-country-specific usr/share/man/en_GB/man6/wesnoth-1.8_editor.6.gz
+wesnoth-1.8-core: diversion-for-unknown-file usr/share/man/*/man6/wesnoth.6.gz postinst:22
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-core.menu
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-core.menu
@@ -0,0 +1,14 @@
+?package(wesnoth-1.8-core): \
+ needs="X11" \
+ section="Games/Strategy" \
+ title="Battle for Wesnoth (1.8)" \
+ longtitle="Battle for Wesnoth (1.8) is a fantasy turn-based strategy game" \
+ command="/usr/games/wesnoth-1.8-nolog" \
+ icon="/usr/share/pixmaps/wesnoth-1.8-icon.xpm"
+?package(wesnoth-1.8-core): \
+ needs="X11" \
+ section="Games/Tools" \
+ title="Battle for Wesnoth Editor (1.8)" \
+ longtitle="Map editor for Battle for Wesnoth (1.8), a fantasy turn-based strategy game" \
+ command="/usr/games/wesnoth-1.8-nolog -e" \
+ icon="/usr/share/pixmaps/wesnoth-1.8_editor-icon.xpm"
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-core.postinst
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-core.postinst
@@ -0,0 +1,51 @@
+#!/bin/sh
+# postinst script for wesnoth-1.8-core
+# Copyright 2010 by Gerfried Fuchs <rhonda@debian.at>
+# Licensed under WTFPLv2
+
+set -e
+
+divert_oldfiles()
+{
+ # programs
+ for i in wesnoth wesnoth-nolog wesnoth-smallgui wesnoth-editor; do
+ dpkg-divert --package wesnoth-1.8-core \
+ --divert /usr/games/$i-old \
+ --rename /usr/games/$i
+ done
+
+ # manpages
+ for i in ca_ES@valencia cs da de en_GB es et fi fr gl hu it ja \
+ lt nl pl sk sr sr@latin sv tr zh_CN zh_TW; do
+ dpkg-divert --package wesnoth-1.8-core \
+ --divert /usr/share/man/$i/man6/wesnoth-old.6.gz \
+ --rename /usr/share/man/$i/man6/wesnoth.6.gz
+ done
+}
+
+setup_alternatives()
+{
+ # man 6 wesnoth
+ slaves=$(for man in /usr/share/man/*/man6/wesnoth-1.8.6.gz; do \
+ lang=$(echo $man | sed -e 's#.*/man/##;s#/man6.*##;'); \
+ echo -n " --slave /usr/share/man/$lang/man6/wesnoth.6.gz wesnoth.$lang.6.gz $man"; \
+ done)
+ slaves="$slaves --slave /usr/share/man/man6/wesnoth.6.gz wesnoth.6.gz /usr/share/man/man6/wesnoth-1.8.6.gz"
+
+ slaves="$slaves --slave /usr/games/wesnoth-nolog wesnoth-nolog /usr/games/wesnoth-nolog-1.8"
+
+ update-alternatives --install /usr/games/wesnoth wesnoth \
+ /usr/games/wesnoth-1.8 18 \
+ $slaves
+}
+
+case "$1" in
+ configure|reconfigure)
+ divert_oldfiles
+ setup_alternatives
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-core.postrm
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-core.postrm
@@ -0,0 +1,33 @@
+#!/bin/sh
+# postrm script for wesnoth-1.8-core
+# Copyright 2010 by Gerfried Fuchs <rhonda@debian.at>
+# Licensed under WTFPLv2
+
+set -e
+
+divert_oldfiles()
+{
+ # programs
+ for i in wesnoth wesnoth-nolog wesnoth-smallgui wesnoth-editor; do
+ dpkg-divert --remove --package wesnoth-1.8-core \
+ --rename /usr/games/$i
+ done
+
+ # manpages
+ for i in ca_ES@valencia cs da de en_GB es et fi fr gl hu it ja \
+ lt nl pl sk sr sr@latin sv tr zh_CN zh_TW; do
+ dpkg-divert --remove --package wesnoth-1.8-core \
+ --rename /usr/share/man/$i/man6/wesnoth.6.gz
+ done
+}
+
+
+case "$1" in
+ purge|remove)
+ divert_oldfiles
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-core.prerm
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-core.prerm
@@ -0,0 +1,22 @@
+#!/bin/sh
+# prerm script for wesnoth-1.8-core
+# Copyright 2010 by Gerfried Fuchs <rhonda@debian.at>
+# Licensed under WTFPLv2
+
+set -e
+
+setup_alternatives()
+{
+ update-alternatives --remove wesnoth /usr/games/wesnoth-1.8
+}
+
+
+case "$1" in
+ remove)
+ setup_alternatives
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-data.dirs
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-data.dirs
@@ -0,0 +1,2 @@
+/usr/share/games/wesnoth/1.8/fonts
+/usr/share/icons
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-data.doc-base
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-data.doc-base
@@ -0,0 +1,9 @@
+Document: wesnoth-1.8-user-manual
+Title: Battle for Wesnoth User's Manual (1.8)
+Abstract: This document helps you getting started with the Battle for Wesnoth,
+ a turnbased strategy game.
+Section: Games/Strategy
+
+Format: HTML
+Index: /usr/share/doc/wesnoth-1.8-data/manual.en.html
+Files: /usr/share/doc/wesnoth-1.8-data/manual.en.html
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-data.docs
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-data.docs
@@ -0,0 +1,4 @@
+README
+doc/manual/manual*.html
+doc/manual/images
+doc/manual/styles
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-data.install
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-data.install
@@ -0,0 +1,31 @@
+icons/wesnoth-icon.png /usr/share/icons
+icons/wesnoth_editor-icon.png /usr/share/icons
+debian/tmp/usr/share/games/wesnoth/1.8/data/*.cfg
+debian/tmp/usr/share/games/wesnoth/1.8/data/COPYING.txt
+debian/tmp/usr/share/games/wesnoth/1.8/data/ai
+debian/tmp/usr/share/games/wesnoth/1.8/data/campaigns/tutorial
+debian/tmp/usr/share/games/wesnoth/1.8/data/core/*.cfg
+debian/tmp/usr/share/games/wesnoth/1.8/data/core/README
+debian/tmp/usr/share/games/wesnoth/1.8/data/core/editor
+debian/tmp/usr/share/games/wesnoth/1.8/data/core/images
+debian/tmp/usr/share/games/wesnoth/1.8/data/core/macros
+debian/tmp/usr/share/games/wesnoth/1.8/data/core/sounds
+debian/tmp/usr/share/games/wesnoth/1.8/data/core/terrain-graphics
+debian/tmp/usr/share/games/wesnoth/1.8/data/core/units
+debian/tmp/usr/share/games/wesnoth/1.8/data/gui
+debian/tmp/usr/share/games/wesnoth/1.8/data/hardwired
+debian/tmp/usr/share/games/wesnoth/1.8/data/languages
+debian/tmp/usr/share/games/wesnoth/1.8/data/lua
+debian/tmp/usr/share/games/wesnoth/1.8/data/multiplayer
+debian/tmp/usr/share/games/wesnoth/1.8/data/test
+debian/tmp/usr/share/games/wesnoth/1.8/data/themes
+debian/tmp/usr/share/games/wesnoth/1.8/fonts/Andagii.ttf
+debian/tmp/usr/share/games/wesnoth/1.8/images
+debian/tmp/usr/share/games/wesnoth/1.8/sounds
+debian/tmp/usr/share/games/wesnoth/1.8/locale/*/LC_MESSAGES/wesnoth-editor.mo
+debian/tmp/usr/share/games/wesnoth/1.8/locale/*/LC_MESSAGES/wesnoth-lib.mo
+debian/tmp/usr/share/games/wesnoth/1.8/locale/*/LC_MESSAGES/wesnoth-multiplayer.mo
+debian/tmp/usr/share/games/wesnoth/1.8/locale/*/LC_MESSAGES/wesnoth-tutorial.mo
+debian/tmp/usr/share/games/wesnoth/1.8/locale/*/LC_MESSAGES/wesnoth-units.mo
+debian/tmp/usr/share/games/wesnoth/1.8/locale/*/LC_MESSAGES/wesnoth.mo
+debian/tmp/usr/share/games/wesnoth/1.8/locale/*/LC_MESSAGES/wesnoth-anl.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-data.lintian-overrides
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-data.lintian-overrides
@@ -0,0 +1,3 @@
+wesnoth-1.8-data: extra-license-file usr/share/games/wesnoth/1.8/data/COPYING.txt
+wesnoth-1.8-data: symlink-should-be-relative usr/share/games/wesnoth/1.8/fonts/DejaVuSans.ttf /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
+wesnoth-1.8-data: symlink-should-be-relative usr/share/games/wesnoth/1.8/fonts/wqy-zenhei.ttc /usr/share/fonts/truetype/wqy/wqy-zenhei.ttc
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-did.install
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-did.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/1.8/data/campaigns/Descent_Into_Darkness
+debian/tmp/usr/share/games/wesnoth/1.8/locale/*/LC_MESSAGES/wesnoth-did.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-dm.install
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-dm.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/1.8/data/campaigns/Delfadors_Memoirs
+debian/tmp/usr/share/games/wesnoth/1.8/locale/*/LC_MESSAGES/wesnoth-dm.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-ei.install
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-ei.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/1.8/data/campaigns/Eastern_Invasion
+debian/tmp/usr/share/games/wesnoth/1.8/locale/*/LC_MESSAGES/wesnoth-ei.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-httt.install
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-httt.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/1.8/data/campaigns/Heir_To_The_Throne
+debian/tmp/usr/share/games/wesnoth/1.8/locale/*/LC_MESSAGES/wesnoth-httt.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-icon.xpm
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-icon.xpm
@@ -0,0 +1,294 @@
+/* XPM */
+static char *wesnoth-icon[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 256 2",
+" c black",
+". c #060708",
+"X c #070808",
+"o c #080705",
+"O c #0B0807",
+"+ c #0C0B0B",
+"@ c #090E16",
+"# c #061016",
+"$ c #0A1217",
+"% c #0B141B",
+"& c #0E181D",
+"* c #120D06",
+"= c #120E0A",
+"- c #14110C",
+"; c #1B140C",
+": c gray8",
+"> c #13171C",
+", c #15191C",
+"< c #181717",
+"1 c #191817",
+"2 c gray11",
+"3 c #0E1521",
+"4 c #111526",
+"5 c #11142A",
+"6 c #121B24",
+"7 c #151B2B",
+"8 c #191B2D",
+"9 c #1B1D32",
+"0 c #152024",
+"q c #16212A",
+"w c #1C2323",
+"e c #1A242A",
+"r c #1C2031",
+"t c #24180E",
+"y c #201B13",
+"u c #201E1E",
+"i c #25221A",
+"p c #2C2215",
+"a c #2C2519",
+"s c #352A1E",
+"d c #3C2A1A",
+"f c #33261B",
+"g c gray14",
+"h c #20252C",
+"j c #282624",
+"k c #2C2A26",
+"l c #2D2B2A",
+"z c #222435",
+"x c #2A2B33",
+"c c #2B2C3C",
+"v c #242936",
+"b c #2B302E",
+"n c #273037",
+"m c #2D3535",
+"M c #2D353B",
+"N c #2E3A39",
+"B c #2D3B31",
+"V c #302F2F",
+"C c #3C2F20",
+"Z c #302B31",
+"A c #34332E",
+"S c #3B3121",
+"D c #3B362C",
+"F c #343534",
+"G c #33363D",
+"H c #343D36",
+"J c #323A3B",
+"K c #3D3B35",
+"L c #3B3B3C",
+"P c #2E2D42",
+"I c #2D3841",
+"U c #313445",
+"Y c #333B43",
+"T c #363C49",
+"R c #3E3F40",
+"E c #3A423D",
+"W c #354047",
+"Q c #374148",
+"! c #3C4347",
+"~ c #3B444B",
+"^ c #403727",
+"/ c #403728",
+"( c #4E3E26",
+") c #433D2B",
+"_ c #403E3C",
+"` c #483C33",
+"' c #503A21",
+"] c #413E41",
+"[ c #44413D",
+"{ c #484538",
+"} c #434135",
+"| c #5E4C2F",
+" . c #53442C",
+".. c #514834",
+"X. c #504A3F",
+"o. c #624C2E",
+"O. c #634931",
+"+. c #615136",
+"@. c #62573A",
+"#. c #62583B",
+"$. c #6B5435",
+"%. c #705B3A",
+"&. c #7C5E39",
+"*. c #464544",
+"=. c #474748",
+"-. c #434944",
+";. c #434A4D",
+":. c #4D4745",
+">. c gray30",
+",. c #4B4C53",
+"<. c #4F4F58",
+"1. c #434854",
+"2. c #4C5458",
+"3. c #514A43",
+"4. c #53524D",
+"5. c #5A554B",
+"6. c #5B5846",
+"7. c #5D594B",
+"8. c #535354",
+"9. c #53575A",
+"0. c #575957",
+"q. c #545958",
+"w. c #5A5651",
+"e. c #58565C",
+"r. c #5B5A53",
+"t. c #5C5A5A",
+"y. c #5E615A",
+"u. c #615640",
+"i. c #615945",
+"p. c #635D4D",
+"a. c #6A5C41",
+"s. c #625D56",
+"d. c #6D634A",
+"f. c #676553",
+"g. c #65635A",
+"h. c #6A6357",
+"j. c #6A645C",
+"k. c #6A695C",
+"l. c #736343",
+"z. c #73664E",
+"x. c #746C4B",
+"c. c #7E6B46",
+"v. c #736C5C",
+"b. c #786F59",
+"n. c #756555",
+"m. c #636362",
+"M. c #6C6C6C",
+"N. c #716C65",
+"B. c #716F72",
+"V. c #77776F",
+"C. c #797261",
+"Z. c #7E7B6C",
+"A. c #747375",
+"S. c #797771",
+"D. c #78777A",
+"F. c #7B7B7C",
+"G. c #816F4F",
+"H. c #857651",
+"J. c #81745C",
+"K. c #917652",
+"L. c #867E6E",
+"P. c #8E7E60",
+"I. c #817D72",
+"U. c #907C60",
+"Y. c #90855E",
+"T. c #998158",
+"R. c #8A8560",
+"E. c #8C836C",
+"W. c #848072",
+"Q. c #958A64",
+"!. c #938D6E",
+"~. c #928C78",
+"^. c #96906D",
+"/. c #9C9173",
+"(. c #A79567",
+"). c #AD9267",
+"_. c #A49971",
+"`. c #A09978",
+"'. c #AD9D77",
+"]. c #B69C6F",
+"[. c #BA9A65",
+"{. c #ABA57C",
+"}. c #BAA678",
+"|. c #C79E64",
+" X c #CDA45E",
+".X c #D0A55F",
+"XX c #C2A26A",
+"oX c #CCA462",
+"OX c #CEA966",
+"+X c #CEAB6B",
+"@X c #C2AF7F",
+"#X c #CBAD70",
+"$X c #CAAF7A",
+"%X c #D1A766",
+"&X c #D2AA67",
+"*X c #D1AC69",
+"=X c #DCAD6D",
+"-X c #D2AF75",
+";X c #D9AF71",
+":X c #D1B273",
+">X c #D2B179",
+",X c #D6BB7F",
+"<X c #D9B878",
+"1X c #DCB774",
+"2X c #E4B66B",
+"3X c #E1B674",
+"4X c #EFBB71",
+"5X c #E9C479",
+"6X c #F2C478",
+"7X c #F4C175",
+"8X c gray52",
+"9X c #88868A",
+"0X c #8B8984",
+"qX c #8E8D8E",
+"wX c #928D85",
+"eX c #949385",
+"rX c #919092",
+"tX c #969599",
+"yX c #9E9D9E",
+"uX c #A1A19F",
+"iX c #BBA882",
+"pX c #A2A2A2",
+"aX c #ACACAC",
+"sX c #BABAB9",
+"dX c #CCB680",
+"fX c #D1B781",
+"gX c #D5BC83",
+"hX c #D6C086",
+"jX c #D6C08C",
+"kX c #DBC283",
+"lX c #DBC58B",
+"zX c #DEC88C",
+"xX c #D7CC9E",
+"cX c #DDCB94",
+"vX c #DFCF98",
+"bX c #DED1A0",
+"nX c #DAD1AD",
+"mX c #E0C785",
+"MX c #E0C689",
+"NX c #E7CA83",
+"BX c #E5CB8C",
+"VX c #E8CE89",
+"CX c #E2CD93",
+"ZX c #ECD38E",
+"AX c #E3D098",
+"SX c #EDD797",
+"DX c #EBD79A",
+"FX c #E7D8A4",
+"GX c #EBDAA4",
+"HX c #EBDEAE",
+"JX c #E5DDB6",
+"KX c #EBDEB1",
+"LX c #EEE3B8",
+"PX c #CACACA",
+"IX c #DADADA",
+"UX c None",
+/* pixels */
+"UXo < UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUX+ + UXUX",
+"UX*.uX2 UXUXUXUXUXUXUXUXUXUX. X . UXUXUXUXUXUXUXUXUX L 0X< UX",
+"UX=.j.A o UXUXUXUXUXUXUX+ *.t.k 2 F 2 + UXUXUXUXUXUXUXX K j.k UX",
+"UX1 g k 1 UX: g.F : F 0.=.A 6.p.k L >.k 2 m.*.+ UXo g j X UX",
+"UXUXg 1 u < o g.wX3.L A D m.eXZ.N.W.k.K k _ s.0X8X2 2 2 UXUX",
+"UXUXUX o k j.w.1 D 7.L.eXA.1.P v c <.S.I.g.` i j.I.l o UXUXUX",
+"UXUXUX . 4.j.d z.~.S.9.T U U P P 9 5 5 c e.C.a.d j.4.o UXUXUXUX",
+"UXUXUXX _ [ - / H J M G G T U c z 5 5 5 4 7 6 , f t *.:.o UXUXUX",
+"UXUXUX_ N.+ o ^ F H J M J ,.m.I.E.g.G 6 3 6 6 & s ; + j.y UXUXUX",
+"UXUXUXl k + * ..m H L g./.iX$X-X+XXX]./.f.x 6 & f ; X i O UXUXUX",
+"UXUXUXo 1 x.B N 4.,XZXlXcXkX1X&X X*XmXr.6 & f ; o o UXUXUXUX",
+"UXUXUXUX ; @.E E r.,XSXLXJXFXBX,X:XOXoX5.q 6 s t X UXUXUXUX",
+"UXUXUXUX ; +.E E r.hXGXLXnXbXcXhX:X*X|.3.7 6 s t X o UXUXUXUX",
+"UXUXUXUX ; %.E ! q.$XDXHXbXvXkX,X#XOXoX[ q 0 C y X UXUXUXUX",
+"UXUXUXUX - l.E ;.q.@XSXGXvXlXgX,XOX X#XR e 6 .p . UXUXUXUX",
+"UXUXUXUX * %.-.;.2.{.VXGXFXAXjXgX+X XXXx e w +.y UXUXUXUXUX",
+"UXUXUXUX < - $.-.;.1.E.BXDXFXvXfXgX*XoXT.e e w $.; UXUXUXUXUX",
+"UXUXUXUXUXL < O.4.Q ~ g.gXVXVXzXfX>XoX%X6.6 e l $.O X UXUXUXUXUX",
+"UXUXUXUXUX>.2 ( d.~ Q ;.}.5X5XlXfX%XoX|.A 6 q { | UXUXUXUXUX",
+"UXUXUXUXUX< j a c.~ Y Y C.3X5XNX<XoX&XK.> 6 e b.S UXUXUXUXUX",
+"UXUXUXUXUX+ A - ^.y.T I ! ).3X6X2XoX[.D $ 6 m E.: . UXUXUXUXUXUX",
+"UXUXUXUXUXUXH : 6.^.Q W Y r.-X7X4X1Xd.@ $ > 5.i. UXUXUXUXUXUX",
+"UXUXUXUXUXUXg ! l _.0.I Y Y J.:X=XU.8 # $ g c.A + UXUXUXUXUXUX",
+"UXUXUXUXUX+ m.yXA.b./.! Y I G n.U.x % $ $ p.l.M.8Xl UXUXUXUXUXUX",
+"UXUXUXUXUXm.aXPXqX] ^.Z.T Y M n c 8 6 % A Q.[ F.PXyXl UXUXUXUXUX",
+"UXUXUXUXE pXIXtXt., i {.m.I M v z 8 3 w Y.) : 8.9XIXyX@ UXUXUXUX",
+"UXUXUXg pXPXrX,.< < X D {.r.n v z 7 e R.@. : 2 =.8XPXM.o UXUXUX",
+"UXUX+ 8XsX8XL O + u . } (.3.v r l H.x.X + < + F D.aXL UXUXUX",
+"UXUXG rXB.g + UXUXo : o s &.` Z O.' o UXUX+ 1 2 m.D.+ UXUX",
+"UXX 8.L - . UXUXUXo 2 O ; d d y UXUXUX < < < F 2 UXUX",
+"UXX , o UXUXUXUXUXUX+ F @ o X o + UXUXUXUXUXUX+ 2 @ UX",
+"UXUX UXUXUXUXUXUXUXUXUX. - 2 : UXUXUXUXUXUXUXUX o UXUX"
+};
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-l.install
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-l.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/1.8/data/campaigns/Liberty
+debian/tmp/usr/share/games/wesnoth/1.8/locale/*/LC_MESSAGES/wesnoth-l.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-low.install
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-low.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/1.8/data/campaigns/Legend_of_Wesmere
+debian/tmp/usr/share/games/wesnoth/1.8/locale/*/LC_MESSAGES/wesnoth-low.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-music.install
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-music.install
@@ -0,0 +1 @@
+debian/tmp/usr/share/games/wesnoth/1.8/data/core/music
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-nolog
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-nolog
@@ -0,0 +1,6 @@
+#!/bin/sh
+# generic wesnoth-nolog script
+# copyright 2009 by Gerfried Fuchs <rhonda@debian.at>
+# Licenced under WTFPLv2
+
+$(echo $0 | sed -e s/-nolog$//) $* > /dev/null 2> /dev/null
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-nr.install
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-nr.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/1.8/data/campaigns/Northern_Rebirth
+debian/tmp/usr/share/games/wesnoth/1.8/locale/*/LC_MESSAGES/wesnoth-nr.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-server.default
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-server.default
@@ -0,0 +1,13 @@
+# Defaults for wesnoth-1.8-server initscript
+# sourced by /etc/init.d/wesnoth-1.8-server
+# installed at /etc/default/wesnoth-1.8-server
+
+#
+# This is a POSIX shell fragment
+#
+
+# Additional options that are passed to the Daemon.
+# You will have to create the config file if you want to change the
+# default options that the server runs with.
+# See wesnothd-1.8(6) for the syntax of the configuration file.
+#DAEMON_OPTS="-c /etc/wesnothd-1.8.cfg"
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-server.init.d
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-server.init.d
@@ -0,0 +1,90 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides: wesnoth-1.8-server
+# Required-Start: $remote_fs
+# Required-Stop: $remote_fs
+# Default-Start:
+# Default-Stop: 0 1 2 3 4 5 6
+# Short-Description: Starts Wesnoth server (1.8)
+# Description: Starts the Wesnoth server (1.8) used for multiplayer games.
+### END INIT INFO
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/games/wesnothd-1.8
+DAEMON_OPTS=
+NAME=wesnoth-1.8-server
+DESC="Wesnoth server (1.8)"
+PIDFILE=/var/run/$NAME.pid
+
+test -x $DAEMON || exit 5
+
+. /lib/lsb/init-functions
+
+# Include wesnothd defaults if available
+if [ -f /etc/default/$NAME ] ; then
+ . /etc/default/$NAME
+fi
+
+set -e
+
+wesnoth_start() {
+ start-stop-daemon --start --quiet --pidfile $PIDFILE --oknodo \
+ --background --exec $DAEMON --make-pidfile --chuid nobody \
+ -- $DAEMON_OPTS > /dev/null 2> /dev/null || return 1
+ return 0
+}
+
+wesnoth_stop() {
+ start-stop-daemon --stop --quiet --pidfile $PIDFILE \
+ --oknodo --exec $DAEMON || return 1
+ rm -f $PIDFILE
+ return 0
+}
+
+wesnoth_reload() {
+ start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE
+}
+
+case "$1" in
+ start)
+ log_daemon_msg "Starting $DESC" "$NAME"
+ wesnoth_start
+ log_end_msg $?
+ ;;
+ stop)
+ log_daemon_msg "Stopping $DESC" "$NAME"
+ wesnoth_stop
+ log_end_msg $?
+ ;;
+ reload)
+ log_daemon_msg "Reloading $DESC" "$NAME"
+ wesnoth_reload
+ log_end_msg $?
+ ;;
+
+ restart|force-reload)
+ log_daemon_msg "Restarting $DESC" "$NAME"
+ wesnoth_stop && sleep 1 && wesnoth_start
+ log_end_msg $?
+ ;;
+ status)
+ if [ -s "$PIDFILE" ]; then
+ if kill -0 `cat $PIDFILE` 2> /dev/null; then
+ log_success_msg "Wesnoth server is running"
+ exit 0
+ else
+ log_failure_msg "$PIDFILE exists but Wesnoth server is not running"
+ exit 1
+ fi
+ else
+ log_success_msg "Wesnoth server is not running."
+ exit 3
+ fi
+ ;;
+ *)
+ log_success_msg "Usage: $0 {start|stop|status|restart|force-reload}" >&2
+ exit 2
+ ;;
+esac
+
+exit 0
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-server.install
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-server.install
@@ -0,0 +1,3 @@
+debian/tmp/usr/games/wesnothd
+debian/tmp/usr/share/man/man6/wesnothd.6
+debian/tmp/usr/share/man/*/man6/wesnothd.6
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-server.lintian-overrides
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-server.lintian-overrides
@@ -0,0 +1 @@
+wesnoth-1.8-server: manpage-locale-dir-country-specific usr/share/man/en_GB/man6/wesnothd-1.8.6.gz
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-smallgui
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-smallgui
@@ -0,0 +1,10 @@
+#!/bin/sh
+# generic wesnoth-smallgui script
+# copyright 2009 by Gerfried Fuchs <rhonda@debian.at>
+# Licenced under WTFPLv2
+
+cmd=$(basename $0)
+nosmall=$(echo $0 | sed -e s/-smallgui$//)
+
+echo "$cmd is deprecated -- please use $nosmall --smallgui directly!"
+$nosmall --smallgui $*
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-sof.install
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-sof.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/1.8/data/campaigns/Sceptre_of_Fire
+debian/tmp/usr/share/games/wesnoth/1.8/locale/*/LC_MESSAGES/wesnoth-sof.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-sof.lintian-overrides
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-sof.lintian-overrides
@@ -0,0 +1,2 @@
+wesnoth-1.8-sof: using-first-person-in-description line 6: I
+wesnoth-1.8-sof: using-first-person-in-description line 9: I
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-sotbe.install
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-sotbe.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/1.8/data/campaigns/Son_Of_The_Black_Eye
+debian/tmp/usr/share/games/wesnoth/1.8/locale/*/LC_MESSAGES/wesnoth-sotbe.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-thot.install
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-thot.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/1.8/data/campaigns/The_Hammer_of_Thursagan
+debian/tmp/usr/share/games/wesnoth/1.8/locale/*/LC_MESSAGES/wesnoth-thot.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-tools.install
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-tools.install
@@ -0,0 +1,15 @@
+debian/tmp/usr/share/games/wesnoth/1.8/data/tools/addon_manager/
+debian/tmp/usr/share/games/wesnoth/1.8/data/tools/extractbindings
+debian/tmp/usr/share/games/wesnoth/1.8/data/tools/helpheader.html
+debian/tmp/usr/share/games/wesnoth/1.8/data/tools/helptrailer.html
+debian/tmp/usr/share/games/wesnoth/1.8/data/tools/hexometer/
+debian/tmp/usr/share/games/wesnoth/1.8/data/tools/README
+debian/tmp/usr/share/games/wesnoth/1.8/data/tools/unit_tree/
+debian/tmp/usr/share/games/wesnoth/1.8/data/tools/wesnoth/
+debian/tmp/usr/share/games/wesnoth/1.8/data/tools/wesnoth_addon_manager
+debian/tmp/usr/share/games/wesnoth/1.8/data/tools/wmlflip
+debian/tmp/usr/share/games/wesnoth/1.8/data/tools/wmlindent
+debian/tmp/usr/share/games/wesnoth/1.8/data/tools/wmllint
+debian/tmp/usr/share/games/wesnoth/1.8/data/tools/wmlscope
+debian/tmp/usr/share/games/wesnoth/1.8/data/tools/wmlvalidator
+debian/tmp/usr/share/games/wesnoth/1.8/data/tools/wmlxgettext
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-trow.install
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-trow.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/1.8/data/campaigns/The_Rise_Of_Wesnoth
+debian/tmp/usr/share/games/wesnoth/1.8/locale/*/LC_MESSAGES/wesnoth-trow.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-tsg.install
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-tsg.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/1.8/data/campaigns/The_South_Guard
+debian/tmp/usr/share/games/wesnoth/1.8/locale/*/LC_MESSAGES/wesnoth-tsg.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-ttb.install
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-ttb.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/1.8/data/campaigns/Two_Brothers
+debian/tmp/usr/share/games/wesnoth/1.8/locale/*/LC_MESSAGES/wesnoth-tb.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8-utbs.install
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8-utbs.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/1.8/data/campaigns/Under_the_Burning_Suns
+debian/tmp/usr/share/games/wesnoth/1.8/locale/*/LC_MESSAGES/wesnoth-utbs.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8_editor
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8_editor
@@ -0,0 +1,10 @@
+#!/bin/sh
+# generic wesnoth_editor script
+# copyright 2009 by Gerfried Fuchs <rhonda@debian.at>
+# Licenced under WTFPLv2
+
+cmd=$(basename $0)
+noedit=$(echo $0 | sed -e s/_editor$//)
+
+echo "$0 is deprecated -- please use $noedit --editor directly!"
+$noedit --editor $*
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-1.8_editor-icon.xpm
+++ wesnoth-1.8-1.8.5/debian/wesnoth-1.8_editor-icon.xpm
@@ -0,0 +1,225 @@
+/* XPM */
+static char *wesnoth_editor-icon[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 187 2",
+" c black",
+". c #080706",
+"X c #0A0907",
+"o c #0D0C0B",
+"O c #110C06",
+"+ c #110F0C",
+"@ c #13110E",
+"# c #18140D",
+"$ c #141311",
+"% c #181713",
+"& c #1D1A15",
+"* c #1C1C1B",
+"= c #1F201F",
+"- c #251D14",
+"; c #25221C",
+": c #2B2214",
+"> c #29241C",
+", c #342D1E",
+"< c #392F1F",
+"1 c #232221",
+"2 c #292725",
+"3 c #2C2821",
+"4 c #2F2E2B",
+"5 c #312B22",
+"6 c #302F2D",
+"7 c #34302A",
+"8 c #3F3625",
+"9 c #3A342B",
+"0 c #3F392E",
+"q c #333330",
+"w c #3C3A34",
+"e c #47371F",
+"r c #433623",
+"t c #41362A",
+"y c #423924",
+"u c #433B2A",
+"i c #423F36",
+"p c #45423C",
+"a c #4C4435",
+"s c #48443C",
+"d c #4C483D",
+"f c #5B472E",
+"g c #524B39",
+"h c #5D4E33",
+"j c #5F533F",
+"k c #665339",
+"l c #69543B",
+"z c #705D3A",
+"x c #4C4B44",
+"c c #524D43",
+"v c #545047",
+"b c #575349",
+"n c #5E5544",
+"m c #5A564B",
+"M c #615744",
+"N c #655C44",
+"B c #60594C",
+"V c #625E53",
+"C c #775F4A",
+"Z c #6A614E",
+"A c #656155",
+"S c #6B6454",
+"D c #6A655A",
+"F c #6F695D",
+"G c #73654D",
+"H c #7B6643",
+"J c #716750",
+"K c #756C56",
+"L c #716B5D",
+"P c #7A6D5C",
+"I c #7B7254",
+"U c #736D61",
+"Y c #767062",
+"T c #77736C",
+"R c #7B7364",
+"E c #7F7869",
+"W c #8A6C4C",
+"Q c #816750",
+"! c #81755E",
+"~ c #86795F",
+"^ c #887356",
+"/ c #8B7953",
+"( c #967358",
+") c #947B56",
+"_ c #937A5B",
+"` c #9A7F56",
+"' c #9F7D5D",
+"] c #847662",
+"[ c #827B64",
+"{ c #847D6D",
+"} c #8E7F63",
+"| c #897F6C",
+" . c #877F71",
+".. c #927C61",
+"X. c #9B865C",
+"o. c #8F8267",
+"O. c #89816F",
+"+. c #878171",
+"@. c #8C8474",
+"#. c #8F8977",
+"$. c #928264",
+"%. c #908569",
+"&. c #9C8462",
+"*. c #9E8A63",
+"=. c #9C8C6C",
+"-. c #938B7B",
+";. c #9A8D71",
+":. c #988E7D",
+">. c #97907E",
+",. c #9A927D",
+"<. c #A28A5E",
+"1. c #A78E6B",
+"2. c #A79267",
+"3. c #AF9763",
+"4. c #AB956B",
+"5. c #A69677",
+"6. c #A0977E",
+"7. c #AB9773",
+"8. c #AA9975",
+"9. c #B18F6D",
+"0. c #B0916C",
+"q. c #B69B67",
+"w. c #B59C6E",
+"e. c #BA9E6E",
+"r. c #B59573",
+"t. c #B09E73",
+"y. c #B29E79",
+"u. c #B99772",
+"i. c #BB9C74",
+"p. c #BDA26C",
+"a. c #B1A175",
+"s. c #B6A47B",
+"d. c #BFA477",
+"f. c #BCA47C",
+"g. c #C1A66E",
+"h. c #C2A86F",
+"j. c #C0A570",
+"k. c #C0A37B",
+"l. c #C5AC74",
+"z. c #C5AB7C",
+"x. c #C8AD7A",
+"c. c #C7B074",
+"v. c #C8B075",
+"b. c #CCB47D",
+"n. c #CEB87D",
+"m. c #D0B97E",
+"M. c #9C9483",
+"N. c #A09787",
+"B. c #A19884",
+"V. c #A49C8B",
+"C. c #A89F8D",
+"Z. c #A9A18F",
+"A. c #ACA392",
+"S. c #B9A786",
+"D. c #BDAD86",
+"F. c #BCAD8C",
+"G. c #B1A796",
+"H. c #B1A897",
+"J. c #B5AC9B",
+"K. c #C4AB82",
+"L. c #C7B181",
+"P. c #C2B38D",
+"I. c #CCB580",
+"U. c #CBB68B",
+"Y. c #CFB983",
+"T. c #CEBB93",
+"R. c #D0B583",
+"E. c #D2BC85",
+"W. c #D4BD8B",
+"Q. c #D3BD91",
+"!. c #D6C18C",
+"~. c #D9C38E",
+"^. c #DBC692",
+"/. c #DAC599",
+"(. c #DDC996",
+"). c #DFCA99",
+"_. c #DFCCA5",
+"`. c #E0CB97",
+"'. c #E2CD9C",
+"]. c #E5D09D",
+"[. c #E0CCA2",
+"{. c #E6D2A3",
+"}. c #E7D3A8",
+"|. c #E9D5A5",
+" X c #EAD6AA",
+".X c #EEDAAB",
+"XX c None",
+/* pixels */
+"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. O # n i XXXXXXXXXXXXXX",
+"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. + # i ..1.k.^ . XXXXXXXXXXXX",
+"XXXXXXXXXXXXXXXXXXXXXXXX # > @ 3 ] y.7.r.r.K.9.W # XXXXXXXXXXXX",
+"XXXXXXXXXXXXXXXXXX . @ g 8.K.s.T. X XW.u.u.W.K.u.r XXXXXXXXXXXX",
+"XXXXXXXXXX. o 5 g M %.8.!.'.^.~.'..X}.K.i.i.K.u.z.l XXXXXXXXXX",
+"XXXXX o 3 ! 7.U./.^.'.^.!.!.E.W.^.|.'.d.0.K.W.k.Q.` : XXXXXXXXXX",
+"$ p U -.:.K.Y.~.~.~.^.E.E.W.E.W.W.^.^.' ( k.Q.^.'.w.r XX . XXXX",
+"p V.H.A.M.5.x.x.!.!.^.(.~.!.~.W.E.E.E.r.i.K.Q.{.{.f.< XX& i O XX",
+"$ .G.V.-.O.=.x.b.b.b.Y.E.E.^.!.E.E.E.^.).'.].].^.[.X.5 6 - - . ",
+"X U Z.M.-.-.#.=.4.X.*.e.b.E.~.^.!.m.n.W.`.^.~.^.(.}.U.J M # * . ",
+". D M.C.-.M.V.:.{ P R $.d.n.~.E.b.l.v.E.E.W.~.(.'.Q.F.v > - o XX",
+"XXp M.A.M.V.M.M.-.-.M.#.1.g.E.E.m.E.v.v.E.!.~.(.{.L.R 2 X % XX",
+"XX2 -.V.C.C.M.-.-.>.V.M.! <.b.E.E.W.x.v.Y.!.(.'.|.S.i + @ X XX",
+"XXX V -.M.M.>.-.#.>.M.M.@.~ z.2.Q l.b.g.b.!.'.{.{.{ 1 + & XXXX",
+"XXXX7 E R { +.@.#.@.{ @.M.@.$.G _ I.b.l.Y.!.'.|.P.x o ; 8 O XXXX",
+"XXXX% F @.{ U L Y { +.O.-.#.! 4.b.Y.l.l.b.^.^.'.[ * + 0 k : XXXX",
+"XXXXXX4 M.M.-.@.@.-.M.>.#.#.@.o.w.p.j.l.b.~.'.P.s o ; n &.f XX",
+"XXXXXX+ >.A.M.-.-.-.M.M.+.@.>.#.| } 2.x.g.m.^.! ; @ 0 o./.X.o XX",
+"XXXXXX+ #.Z.M.-.#.+.{ Y R >.M.M.M.:.{ *.p.j.a.p + ; Z P. XL.: XX",
+"XXXXXX+ #.V.-.+.U b b d A >.M.V.C.V.B.{ X.q.J * + w ;._.{.a.y ",
+"XXXXXXo E A.M.A d Y M.R v -.M.N.V.M.-.@.R G w o ; N D.{.[.] 5 . ",
+"XXXXXXXXw M.V.E x O.Z.@.v +.O.M.M.:. .R L i * # u $.Q.{.T.P 9 . ",
+"XXXXXXXX$ +.A.M.V A M.#.v { [ M.M.N.M.R B 6 + > M t.U./.f.G t ",
+"XXXXXXXX m H.H.E b U U b L D M.M.V.M.-.V * % u / 3.` ) H r # ",
+"XXXXXXXXXX$ { J.M.F m p D m > m +.C.C.@.w $ > h z e - + . XXXX",
+"XXXXXXXXXXX K Z.M.@.#.D E 9 X 8 o.M.D = $ - , # XXXXXXXXXX",
+"XXXXXXXXXX g ,.M.V.>.:.D o XX u n p * X . XXXXXXXXXXXXXX",
+"XXXXXXXXXXXX% Y M.M.M.O.3 XXXXXXXX w V $ . XXXXXXXXXXXXXXXXXX",
+"XXXXXXXXXXXX. B ,.6.,.S X XXXXXXXXX U c X XXXXXXXXXXXXXXXXXXXX",
+"XXXXXXXXXXXX a [ I g & XXXXXXXXq T 2 XXXXXXXXXXXXXXXXXXXXXX",
+"XXXXXXXXXXXXXXX - o XXXXXXXXXXXXo + . XXXXXXXXXXXXXXXXXXXXXX",
+"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
+};
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-aoi.install.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-aoi.install.in
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/campaigns/An_Orcish_Incursion
+debian/tmp/usr/share/games/wesnoth/BRANCH/locale/*/LC_MESSAGES/wesnoth-aoi.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-core.install.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-core.install.in
@@ -0,0 +1,10 @@
+debian/tmp/usr/games/wesnoth
+debian/wesnoth-BRANCH-smallgui /usr/games
+debian/wesnoth-BRANCH-nolog /usr/games
+debian/wesnoth-BRANCH_editor /usr/games
+debian/tmp/usr/share/man/man6/wesnoth.6
+debian/tmp/usr/share/man/*/man6/wesnoth.6
+icons/wesnoth.desktop /usr/share/applications
+icons/wesnoth_editor.desktop /usr/share/applications
+debian/wesnoth-BRANCH-icon.xpm /usr/share/pixmaps
+debian/wesnoth-BRANCH_editor-icon.xpm /usr/share/pixmaps
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-core.lintian-overrides.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-core.lintian-overrides.in
@@ -0,0 +1,5 @@
+wesnoth-BRANCH-core: manpage-locale-dir-country-specific usr/share/man/en_GB/man6/wesnoth-BRANCH-nolog.6.gz
+wesnoth-BRANCH-core: manpage-locale-dir-country-specific usr/share/man/en_GB/man6/wesnoth-BRANCH-smallgui.6.gz
+wesnoth-BRANCH-core: manpage-locale-dir-country-specific usr/share/man/en_GB/man6/wesnoth-BRANCH.6.gz
+wesnoth-BRANCH-core: manpage-locale-dir-country-specific usr/share/man/en_GB/man6/wesnoth-BRANCH_editor.6.gz
+wesnoth-BRANCH-core: diversion-for-unknown-file usr/share/man/*/man6/wesnoth.6.gz postinst:22
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-core.menu.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-core.menu.in
@@ -0,0 +1,14 @@
+?package(wesnoth-BRANCH-core): \
+ needs="X11" \
+ section="Games/Strategy" \
+ title="Battle for Wesnoth (BRANCH)" \
+ longtitle="Battle for Wesnoth (BRANCH) is a fantasy turn-based strategy game" \
+ command="/usr/games/wesnoth-BRANCH-nolog" \
+ icon="/usr/share/pixmaps/wesnoth-BRANCH-icon.xpm"
+?package(wesnoth-BRANCH-core): \
+ needs="X11" \
+ section="Games/Tools" \
+ title="Battle for Wesnoth Editor (BRANCH)" \
+ longtitle="Map editor for Battle for Wesnoth (BRANCH), a fantasy turn-based strategy game" \
+ command="/usr/games/wesnoth-BRANCH-nolog -e" \
+ icon="/usr/share/pixmaps/wesnoth-BRANCH_editor-icon.xpm"
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-core.postinst.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-core.postinst.in
@@ -0,0 +1,51 @@
+#!/bin/sh
+# postinst script for wesnoth-BRANCH-core
+# Copyright 2010 by Gerfried Fuchs <rhonda@debian.at>
+# Licensed under WTFPLv2
+
+set -e
+
+divert_oldfiles()
+{
+ # programs
+ for i in wesnoth wesnoth-nolog wesnoth-smallgui wesnoth-editor; do
+ dpkg-divert --package wesnoth-BRANCH-core \
+ --divert /usr/games/$i-old \
+ --rename /usr/games/$i
+ done
+
+ # manpages
+ for i in ca_ES@valencia cs da de en_GB es et fi fr gl hu it ja \
+ lt nl pl sk sr sr@latin sv tr zh_CN zh_TW; do
+ dpkg-divert --package wesnoth-BRANCH-core \
+ --divert /usr/share/man/$i/man6/wesnoth-old.6.gz \
+ --rename /usr/share/man/$i/man6/wesnoth.6.gz
+ done
+}
+
+setup_alternatives()
+{
+ # man 6 wesnoth
+ slaves=$(for man in /usr/share/man/*/man6/wesnoth-BRANCH.6.gz; do \
+ lang=$(echo $man | sed -e 's#.*/man/##;s#/man6.*##;'); \
+ echo -n " --slave /usr/share/man/$lang/man6/wesnoth.6.gz wesnoth.$lang.6.gz $man"; \
+ done)
+ slaves="$slaves --slave /usr/share/man/man6/wesnoth.6.gz wesnoth.6.gz /usr/share/man/man6/wesnoth-BRANCH.6.gz"
+
+ slaves="$slaves --slave /usr/games/wesnoth-nolog wesnoth-nolog /usr/games/wesnoth-nolog-BRANCH"
+
+ update-alternatives --install /usr/games/wesnoth wesnoth \
+ /usr/games/wesnoth-BRANCH BRANODOT \
+ $slaves
+}
+
+case "$1" in
+ configure|reconfigure)
+ divert_oldfiles
+ setup_alternatives
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-core.postrm.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-core.postrm.in
@@ -0,0 +1,33 @@
+#!/bin/sh
+# postrm script for wesnoth-BRANCH-core
+# Copyright 2010 by Gerfried Fuchs <rhonda@debian.at>
+# Licensed under WTFPLv2
+
+set -e
+
+divert_oldfiles()
+{
+ # programs
+ for i in wesnoth wesnoth-nolog wesnoth-smallgui wesnoth-editor; do
+ dpkg-divert --remove --package wesnoth-BRANCH-core \
+ --rename /usr/games/$i
+ done
+
+ # manpages
+ for i in ca_ES@valencia cs da de en_GB es et fi fr gl hu it ja \
+ lt nl pl sk sr sr@latin sv tr zh_CN zh_TW; do
+ dpkg-divert --remove --package wesnoth-BRANCH-core \
+ --rename /usr/share/man/$i/man6/wesnoth.6.gz
+ done
+}
+
+
+case "$1" in
+ purge|remove)
+ divert_oldfiles
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-nolog.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-nolog.in
@@ -0,0 +1,6 @@
+#!/bin/sh
+# generic wesnoth-nolog script
+# copyright 2009 by Gerfried Fuchs <rhonda@debian.at>
+# Licenced under WTFPLv2
+
+$(echo $0 | sed -e s/-nolog$//) $* > /dev/null 2> /dev/null
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-core.prerm.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-core.prerm.in
@@ -0,0 +1,22 @@
+#!/bin/sh
+# prerm script for wesnoth-BRANCH-core
+# Copyright 2010 by Gerfried Fuchs <rhonda@debian.at>
+# Licensed under WTFPLv2
+
+set -e
+
+setup_alternatives()
+{
+ update-alternatives --remove wesnoth /usr/games/wesnoth-BRANCH
+}
+
+
+case "$1" in
+ remove)
+ setup_alternatives
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-data.dirs.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-data.dirs.in
@@ -0,0 +1,2 @@
+/usr/share/games/wesnoth/BRANCH/fonts
+/usr/share/icons
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-data.doc-base.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-data.doc-base.in
@@ -0,0 +1,9 @@
+Document: wesnoth-BRANCH-user-manual
+Title: Battle for Wesnoth User's Manual (BRANCH)
+Abstract: This document helps you getting started with the Battle for Wesnoth,
+ a turnbased strategy game.
+Section: Games/Strategy
+
+Format: HTML
+Index: /usr/share/doc/wesnoth-BRANCH-data/manual.en.html
+Files: /usr/share/doc/wesnoth-BRANCH-data/manual.en.html
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-data.docs.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-data.docs.in
@@ -0,0 +1,4 @@
+README
+doc/manual/manual*.html
+doc/manual/images
+doc/manual/styles
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-data.install.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-data.install.in
@@ -0,0 +1,31 @@
+icons/wesnoth-icon.png /usr/share/icons
+icons/wesnoth_editor-icon.png /usr/share/icons
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/*.cfg
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/COPYING.txt
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/ai
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/campaigns/tutorial
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/core/*.cfg
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/core/README
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/core/editor
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/core/images
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/core/macros
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/core/sounds
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/core/terrain-graphics
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/core/units
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/gui
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/hardwired
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/languages
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/lua
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/multiplayer
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/test
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/themes
+debian/tmp/usr/share/games/wesnoth/BRANCH/fonts/Andagii.ttf
+debian/tmp/usr/share/games/wesnoth/BRANCH/images
+debian/tmp/usr/share/games/wesnoth/BRANCH/sounds
+debian/tmp/usr/share/games/wesnoth/BRANCH/locale/*/LC_MESSAGES/wesnoth-editor.mo
+debian/tmp/usr/share/games/wesnoth/BRANCH/locale/*/LC_MESSAGES/wesnoth-lib.mo
+debian/tmp/usr/share/games/wesnoth/BRANCH/locale/*/LC_MESSAGES/wesnoth-multiplayer.mo
+debian/tmp/usr/share/games/wesnoth/BRANCH/locale/*/LC_MESSAGES/wesnoth-tutorial.mo
+debian/tmp/usr/share/games/wesnoth/BRANCH/locale/*/LC_MESSAGES/wesnoth-units.mo
+debian/tmp/usr/share/games/wesnoth/BRANCH/locale/*/LC_MESSAGES/wesnoth.mo
+debian/tmp/usr/share/games/wesnoth/BRANCH/locale/*/LC_MESSAGES/wesnoth-anl.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-data.lintian-overrides.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-data.lintian-overrides.in
@@ -0,0 +1,3 @@
+wesnoth-BRANCH-data: extra-license-file usr/share/games/wesnoth/BRANCH/data/COPYING.txt
+wesnoth-BRANCH-data: symlink-should-be-relative usr/share/games/wesnoth/BRANCH/fonts/DejaVuSans.ttf /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
+wesnoth-BRANCH-data: symlink-should-be-relative usr/share/games/wesnoth/BRANCH/fonts/wqy-zenhei.ttc /usr/share/fonts/truetype/wqy/wqy-zenhei.ttc
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-did.install.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-did.install.in
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/campaigns/Descent_Into_Darkness
+debian/tmp/usr/share/games/wesnoth/BRANCH/locale/*/LC_MESSAGES/wesnoth-did.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-dm.install.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-dm.install.in
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/campaigns/Delfadors_Memoirs
+debian/tmp/usr/share/games/wesnoth/BRANCH/locale/*/LC_MESSAGES/wesnoth-dm.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-ei.install.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-ei.install.in
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/campaigns/Eastern_Invasion
+debian/tmp/usr/share/games/wesnoth/BRANCH/locale/*/LC_MESSAGES/wesnoth-ei.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-httt.install.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-httt.install.in
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/campaigns/Heir_To_The_Throne
+debian/tmp/usr/share/games/wesnoth/BRANCH/locale/*/LC_MESSAGES/wesnoth-httt.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-icon.xpm.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-icon.xpm.in
@@ -0,0 +1,294 @@
+/* XPM */
+static char *wesnoth-icon[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 256 2",
+" c black",
+". c #060708",
+"X c #070808",
+"o c #080705",
+"O c #0B0807",
+"+ c #0C0B0B",
+"@ c #090E16",
+"# c #061016",
+"$ c #0A1217",
+"% c #0B141B",
+"& c #0E181D",
+"* c #120D06",
+"= c #120E0A",
+"- c #14110C",
+"; c #1B140C",
+": c gray8",
+"> c #13171C",
+", c #15191C",
+"< c #181717",
+"1 c #191817",
+"2 c gray11",
+"3 c #0E1521",
+"4 c #111526",
+"5 c #11142A",
+"6 c #121B24",
+"7 c #151B2B",
+"8 c #191B2D",
+"9 c #1B1D32",
+"0 c #152024",
+"q c #16212A",
+"w c #1C2323",
+"e c #1A242A",
+"r c #1C2031",
+"t c #24180E",
+"y c #201B13",
+"u c #201E1E",
+"i c #25221A",
+"p c #2C2215",
+"a c #2C2519",
+"s c #352A1E",
+"d c #3C2A1A",
+"f c #33261B",
+"g c gray14",
+"h c #20252C",
+"j c #282624",
+"k c #2C2A26",
+"l c #2D2B2A",
+"z c #222435",
+"x c #2A2B33",
+"c c #2B2C3C",
+"v c #242936",
+"b c #2B302E",
+"n c #273037",
+"m c #2D3535",
+"M c #2D353B",
+"N c #2E3A39",
+"B c #2D3B31",
+"V c #302F2F",
+"C c #3C2F20",
+"Z c #302B31",
+"A c #34332E",
+"S c #3B3121",
+"D c #3B362C",
+"F c #343534",
+"G c #33363D",
+"H c #343D36",
+"J c #323A3B",
+"K c #3D3B35",
+"L c #3B3B3C",
+"P c #2E2D42",
+"I c #2D3841",
+"U c #313445",
+"Y c #333B43",
+"T c #363C49",
+"R c #3E3F40",
+"E c #3A423D",
+"W c #354047",
+"Q c #374148",
+"! c #3C4347",
+"~ c #3B444B",
+"^ c #403727",
+"/ c #403728",
+"( c #4E3E26",
+") c #433D2B",
+"_ c #403E3C",
+"` c #483C33",
+"' c #503A21",
+"] c #413E41",
+"[ c #44413D",
+"{ c #484538",
+"} c #434135",
+"| c #5E4C2F",
+" . c #53442C",
+".. c #514834",
+"X. c #504A3F",
+"o. c #624C2E",
+"O. c #634931",
+"+. c #615136",
+"@. c #62573A",
+"#. c #62583B",
+"$. c #6B5435",
+"%. c #705B3A",
+"&. c #7C5E39",
+"*. c #464544",
+"=. c #474748",
+"-. c #434944",
+";. c #434A4D",
+":. c #4D4745",
+">. c gray30",
+",. c #4B4C53",
+"<. c #4F4F58",
+"1. c #434854",
+"2. c #4C5458",
+"3. c #514A43",
+"4. c #53524D",
+"5. c #5A554B",
+"6. c #5B5846",
+"7. c #5D594B",
+"8. c #535354",
+"9. c #53575A",
+"0. c #575957",
+"q. c #545958",
+"w. c #5A5651",
+"e. c #58565C",
+"r. c #5B5A53",
+"t. c #5C5A5A",
+"y. c #5E615A",
+"u. c #615640",
+"i. c #615945",
+"p. c #635D4D",
+"a. c #6A5C41",
+"s. c #625D56",
+"d. c #6D634A",
+"f. c #676553",
+"g. c #65635A",
+"h. c #6A6357",
+"j. c #6A645C",
+"k. c #6A695C",
+"l. c #736343",
+"z. c #73664E",
+"x. c #746C4B",
+"c. c #7E6B46",
+"v. c #736C5C",
+"b. c #786F59",
+"n. c #756555",
+"m. c #636362",
+"M. c #6C6C6C",
+"N. c #716C65",
+"B. c #716F72",
+"V. c #77776F",
+"C. c #797261",
+"Z. c #7E7B6C",
+"A. c #747375",
+"S. c #797771",
+"D. c #78777A",
+"F. c #7B7B7C",
+"G. c #816F4F",
+"H. c #857651",
+"J. c #81745C",
+"K. c #917652",
+"L. c #867E6E",
+"P. c #8E7E60",
+"I. c #817D72",
+"U. c #907C60",
+"Y. c #90855E",
+"T. c #998158",
+"R. c #8A8560",
+"E. c #8C836C",
+"W. c #848072",
+"Q. c #958A64",
+"!. c #938D6E",
+"~. c #928C78",
+"^. c #96906D",
+"/. c #9C9173",
+"(. c #A79567",
+"). c #AD9267",
+"_. c #A49971",
+"`. c #A09978",
+"'. c #AD9D77",
+"]. c #B69C6F",
+"[. c #BA9A65",
+"{. c #ABA57C",
+"}. c #BAA678",
+"|. c #C79E64",
+" X c #CDA45E",
+".X c #D0A55F",
+"XX c #C2A26A",
+"oX c #CCA462",
+"OX c #CEA966",
+"+X c #CEAB6B",
+"@X c #C2AF7F",
+"#X c #CBAD70",
+"$X c #CAAF7A",
+"%X c #D1A766",
+"&X c #D2AA67",
+"*X c #D1AC69",
+"=X c #DCAD6D",
+"-X c #D2AF75",
+";X c #D9AF71",
+":X c #D1B273",
+">X c #D2B179",
+",X c #D6BB7F",
+"<X c #D9B878",
+"1X c #DCB774",
+"2X c #E4B66B",
+"3X c #E1B674",
+"4X c #EFBB71",
+"5X c #E9C479",
+"6X c #F2C478",
+"7X c #F4C175",
+"8X c gray52",
+"9X c #88868A",
+"0X c #8B8984",
+"qX c #8E8D8E",
+"wX c #928D85",
+"eX c #949385",
+"rX c #919092",
+"tX c #969599",
+"yX c #9E9D9E",
+"uX c #A1A19F",
+"iX c #BBA882",
+"pX c #A2A2A2",
+"aX c #ACACAC",
+"sX c #BABAB9",
+"dX c #CCB680",
+"fX c #D1B781",
+"gX c #D5BC83",
+"hX c #D6C086",
+"jX c #D6C08C",
+"kX c #DBC283",
+"lX c #DBC58B",
+"zX c #DEC88C",
+"xX c #D7CC9E",
+"cX c #DDCB94",
+"vX c #DFCF98",
+"bX c #DED1A0",
+"nX c #DAD1AD",
+"mX c #E0C785",
+"MX c #E0C689",
+"NX c #E7CA83",
+"BX c #E5CB8C",
+"VX c #E8CE89",
+"CX c #E2CD93",
+"ZX c #ECD38E",
+"AX c #E3D098",
+"SX c #EDD797",
+"DX c #EBD79A",
+"FX c #E7D8A4",
+"GX c #EBDAA4",
+"HX c #EBDEAE",
+"JX c #E5DDB6",
+"KX c #EBDEB1",
+"LX c #EEE3B8",
+"PX c #CACACA",
+"IX c #DADADA",
+"UX c None",
+/* pixels */
+"UXo < UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUX+ + UXUX",
+"UX*.uX2 UXUXUXUXUXUXUXUXUXUX. X . UXUXUXUXUXUXUXUXUX L 0X< UX",
+"UX=.j.A o UXUXUXUXUXUXUX+ *.t.k 2 F 2 + UXUXUXUXUXUXUXX K j.k UX",
+"UX1 g k 1 UX: g.F : F 0.=.A 6.p.k L >.k 2 m.*.+ UXo g j X UX",
+"UXUXg 1 u < o g.wX3.L A D m.eXZ.N.W.k.K k _ s.0X8X2 2 2 UXUX",
+"UXUXUX o k j.w.1 D 7.L.eXA.1.P v c <.S.I.g.` i j.I.l o UXUXUX",
+"UXUXUX . 4.j.d z.~.S.9.T U U P P 9 5 5 c e.C.a.d j.4.o UXUXUXUX",
+"UXUXUXX _ [ - / H J M G G T U c z 5 5 5 4 7 6 , f t *.:.o UXUXUX",
+"UXUXUX_ N.+ o ^ F H J M J ,.m.I.E.g.G 6 3 6 6 & s ; + j.y UXUXUX",
+"UXUXUXl k + * ..m H L g./.iX$X-X+XXX]./.f.x 6 & f ; X i O UXUXUX",
+"UXUXUXo 1 x.B N 4.,XZXlXcXkX1X&X X*XmXr.6 & f ; o o UXUXUXUX",
+"UXUXUXUX ; @.E E r.,XSXLXJXFXBX,X:XOXoX5.q 6 s t X UXUXUXUX",
+"UXUXUXUX ; +.E E r.hXGXLXnXbXcXhX:X*X|.3.7 6 s t X o UXUXUXUX",
+"UXUXUXUX ; %.E ! q.$XDXHXbXvXkX,X#XOXoX[ q 0 C y X UXUXUXUX",
+"UXUXUXUX - l.E ;.q.@XSXGXvXlXgX,XOX X#XR e 6 .p . UXUXUXUX",
+"UXUXUXUX * %.-.;.2.{.VXGXFXAXjXgX+X XXXx e w +.y UXUXUXUXUX",
+"UXUXUXUX < - $.-.;.1.E.BXDXFXvXfXgX*XoXT.e e w $.; UXUXUXUXUX",
+"UXUXUXUXUXL < O.4.Q ~ g.gXVXVXzXfX>XoX%X6.6 e l $.O X UXUXUXUXUX",
+"UXUXUXUXUX>.2 ( d.~ Q ;.}.5X5XlXfX%XoX|.A 6 q { | UXUXUXUXUX",
+"UXUXUXUXUX< j a c.~ Y Y C.3X5XNX<XoX&XK.> 6 e b.S UXUXUXUXUX",
+"UXUXUXUXUX+ A - ^.y.T I ! ).3X6X2XoX[.D $ 6 m E.: . UXUXUXUXUXUX",
+"UXUXUXUXUXUXH : 6.^.Q W Y r.-X7X4X1Xd.@ $ > 5.i. UXUXUXUXUXUX",
+"UXUXUXUXUXUXg ! l _.0.I Y Y J.:X=XU.8 # $ g c.A + UXUXUXUXUXUX",
+"UXUXUXUXUX+ m.yXA.b./.! Y I G n.U.x % $ $ p.l.M.8Xl UXUXUXUXUXUX",
+"UXUXUXUXUXm.aXPXqX] ^.Z.T Y M n c 8 6 % A Q.[ F.PXyXl UXUXUXUXUX",
+"UXUXUXUXE pXIXtXt., i {.m.I M v z 8 3 w Y.) : 8.9XIXyX@ UXUXUXUX",
+"UXUXUXg pXPXrX,.< < X D {.r.n v z 7 e R.@. : 2 =.8XPXM.o UXUXUX",
+"UXUX+ 8XsX8XL O + u . } (.3.v r l H.x.X + < + F D.aXL UXUXUX",
+"UXUXG rXB.g + UXUXo : o s &.` Z O.' o UXUX+ 1 2 m.D.+ UXUX",
+"UXX 8.L - . UXUXUXo 2 O ; d d y UXUXUX < < < F 2 UXUX",
+"UXX , o UXUXUXUXUXUX+ F @ o X o + UXUXUXUXUXUX+ 2 @ UX",
+"UXUX UXUXUXUXUXUXUXUXUX. - 2 : UXUXUXUXUXUXUXUX o UXUX"
+};
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-l.install.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-l.install.in
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/campaigns/Liberty
+debian/tmp/usr/share/games/wesnoth/BRANCH/locale/*/LC_MESSAGES/wesnoth-l.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-low.install.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-low.install.in
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/campaigns/Legend_of_Wesmere
+debian/tmp/usr/share/games/wesnoth/BRANCH/locale/*/LC_MESSAGES/wesnoth-low.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-music.install.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-music.install.in
@@ -0,0 +1 @@
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/core/music
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-nr.install.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-nr.install.in
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/campaigns/Northern_Rebirth
+debian/tmp/usr/share/games/wesnoth/BRANCH/locale/*/LC_MESSAGES/wesnoth-nr.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-server.default.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-server.default.in
@@ -0,0 +1,13 @@
+# Defaults for wesnoth-BRANCH-server initscript
+# sourced by /etc/init.d/wesnoth-BRANCH-server
+# installed at /etc/default/wesnoth-BRANCH-server
+
+#
+# This is a POSIX shell fragment
+#
+
+# Additional options that are passed to the Daemon.
+# You will have to create the config file if you want to change the
+# default options that the server runs with.
+# See wesnothd-BRANCH(6) for the syntax of the configuration file.
+#DAEMON_OPTS="-c /etc/wesnothd-BRANCH.cfg"
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-server.init.d.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-server.init.d.in
@@ -0,0 +1,90 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides: wesnoth-BRANCH-server
+# Required-Start: $remote_fs
+# Required-Stop: $remote_fs
+# Default-Start:
+# Default-Stop: 0 1 2 3 4 5 6
+# Short-Description: Starts Wesnoth server (BRANCH)
+# Description: Starts the Wesnoth server (BRANCH) used for multiplayer games.
+### END INIT INFO
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/games/wesnothd-BRANCH
+DAEMON_OPTS=
+NAME=wesnoth-BRANCH-server
+DESC="Wesnoth server (BRANCH)"
+PIDFILE=/var/run/$NAME.pid
+
+test -x $DAEMON || exit 5
+
+. /lib/lsb/init-functions
+
+# Include wesnothd defaults if available
+if [ -f /etc/default/$NAME ] ; then
+ . /etc/default/$NAME
+fi
+
+set -e
+
+wesnoth_start() {
+ start-stop-daemon --start --quiet --pidfile $PIDFILE --oknodo \
+ --background --exec $DAEMON --make-pidfile --chuid nobody \
+ -- $DAEMON_OPTS > /dev/null 2> /dev/null || return 1
+ return 0
+}
+
+wesnoth_stop() {
+ start-stop-daemon --stop --quiet --pidfile $PIDFILE \
+ --oknodo --exec $DAEMON || return 1
+ rm -f $PIDFILE
+ return 0
+}
+
+wesnoth_reload() {
+ start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE
+}
+
+case "$1" in
+ start)
+ log_daemon_msg "Starting $DESC" "$NAME"
+ wesnoth_start
+ log_end_msg $?
+ ;;
+ stop)
+ log_daemon_msg "Stopping $DESC" "$NAME"
+ wesnoth_stop
+ log_end_msg $?
+ ;;
+ reload)
+ log_daemon_msg "Reloading $DESC" "$NAME"
+ wesnoth_reload
+ log_end_msg $?
+ ;;
+
+ restart|force-reload)
+ log_daemon_msg "Restarting $DESC" "$NAME"
+ wesnoth_stop && sleep 1 && wesnoth_start
+ log_end_msg $?
+ ;;
+ status)
+ if [ -s "$PIDFILE" ]; then
+ if kill -0 `cat $PIDFILE` 2> /dev/null; then
+ log_success_msg "Wesnoth server is running"
+ exit 0
+ else
+ log_failure_msg "$PIDFILE exists but Wesnoth server is not running"
+ exit 1
+ fi
+ else
+ log_success_msg "Wesnoth server is not running."
+ exit 3
+ fi
+ ;;
+ *)
+ log_success_msg "Usage: $0 {start|stop|status|restart|force-reload}" >&2
+ exit 2
+ ;;
+esac
+
+exit 0
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-server.install.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-server.install.in
@@ -0,0 +1,3 @@
+debian/tmp/usr/games/wesnothd
+debian/tmp/usr/share/man/man6/wesnothd.6
+debian/tmp/usr/share/man/*/man6/wesnothd.6
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-server.lintian-overrides.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-server.lintian-overrides.in
@@ -0,0 +1 @@
+wesnoth-BRANCH-server: manpage-locale-dir-country-specific usr/share/man/en_GB/man6/wesnothd-BRANCH.6.gz
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-smallgui.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-smallgui.in
@@ -0,0 +1,10 @@
+#!/bin/sh
+# generic wesnoth-smallgui script
+# copyright 2009 by Gerfried Fuchs <rhonda@debian.at>
+# Licenced under WTFPLv2
+
+cmd=$(basename $0)
+nosmall=$(echo $0 | sed -e s/-smallgui$//)
+
+echo "$cmd is deprecated -- please use $nosmall --smallgui directly!"
+$nosmall --smallgui $*
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-sof.install.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-sof.install.in
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/campaigns/Sceptre_of_Fire
+debian/tmp/usr/share/games/wesnoth/BRANCH/locale/*/LC_MESSAGES/wesnoth-sof.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-sof.lintian-overrides.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-sof.lintian-overrides.in
@@ -0,0 +1,2 @@
+wesnoth-BRANCH-sof: using-first-person-in-description line 6: I
+wesnoth-BRANCH-sof: using-first-person-in-description line 9: I
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-sotbe.install.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-sotbe.install.in
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/campaigns/Son_Of_The_Black_Eye
+debian/tmp/usr/share/games/wesnoth/BRANCH/locale/*/LC_MESSAGES/wesnoth-sotbe.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-thot.install.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-thot.install.in
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/campaigns/The_Hammer_of_Thursagan
+debian/tmp/usr/share/games/wesnoth/BRANCH/locale/*/LC_MESSAGES/wesnoth-thot.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-tools.install.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-tools.install.in
@@ -0,0 +1,15 @@
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/tools/addon_manager/
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/tools/extractbindings
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/tools/helpheader.html
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/tools/helptrailer.html
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/tools/hexometer/
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/tools/README
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/tools/unit_tree/
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/tools/wesnoth/
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/tools/wesnoth_addon_manager
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/tools/wmlflip
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/tools/wmlindent
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/tools/wmllint
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/tools/wmlscope
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/tools/wmlvalidator
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/tools/wmlxgettext
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-trow.install.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-trow.install.in
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/campaigns/The_Rise_Of_Wesnoth
+debian/tmp/usr/share/games/wesnoth/BRANCH/locale/*/LC_MESSAGES/wesnoth-trow.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-tsg.install.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-tsg.install.in
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/campaigns/The_South_Guard
+debian/tmp/usr/share/games/wesnoth/BRANCH/locale/*/LC_MESSAGES/wesnoth-tsg.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-ttb.install.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-ttb.install.in
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/campaigns/Two_Brothers
+debian/tmp/usr/share/games/wesnoth/BRANCH/locale/*/LC_MESSAGES/wesnoth-tb.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH-utbs.install.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH-utbs.install.in
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/games/wesnoth/BRANCH/data/campaigns/Under_the_Burning_Suns
+debian/tmp/usr/share/games/wesnoth/BRANCH/locale/*/LC_MESSAGES/wesnoth-utbs.mo
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH_editor-icon.xpm.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH_editor-icon.xpm.in
@@ -0,0 +1,225 @@
+/* XPM */
+static char *wesnoth_editor-icon[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 187 2",
+" c black",
+". c #080706",
+"X c #0A0907",
+"o c #0D0C0B",
+"O c #110C06",
+"+ c #110F0C",
+"@ c #13110E",
+"# c #18140D",
+"$ c #141311",
+"% c #181713",
+"& c #1D1A15",
+"* c #1C1C1B",
+"= c #1F201F",
+"- c #251D14",
+"; c #25221C",
+": c #2B2214",
+"> c #29241C",
+", c #342D1E",
+"< c #392F1F",
+"1 c #232221",
+"2 c #292725",
+"3 c #2C2821",
+"4 c #2F2E2B",
+"5 c #312B22",
+"6 c #302F2D",
+"7 c #34302A",
+"8 c #3F3625",
+"9 c #3A342B",
+"0 c #3F392E",
+"q c #333330",
+"w c #3C3A34",
+"e c #47371F",
+"r c #433623",
+"t c #41362A",
+"y c #423924",
+"u c #433B2A",
+"i c #423F36",
+"p c #45423C",
+"a c #4C4435",
+"s c #48443C",
+"d c #4C483D",
+"f c #5B472E",
+"g c #524B39",
+"h c #5D4E33",
+"j c #5F533F",
+"k c #665339",
+"l c #69543B",
+"z c #705D3A",
+"x c #4C4B44",
+"c c #524D43",
+"v c #545047",
+"b c #575349",
+"n c #5E5544",
+"m c #5A564B",
+"M c #615744",
+"N c #655C44",
+"B c #60594C",
+"V c #625E53",
+"C c #775F4A",
+"Z c #6A614E",
+"A c #656155",
+"S c #6B6454",
+"D c #6A655A",
+"F c #6F695D",
+"G c #73654D",
+"H c #7B6643",
+"J c #716750",
+"K c #756C56",
+"L c #716B5D",
+"P c #7A6D5C",
+"I c #7B7254",
+"U c #736D61",
+"Y c #767062",
+"T c #77736C",
+"R c #7B7364",
+"E c #7F7869",
+"W c #8A6C4C",
+"Q c #816750",
+"! c #81755E",
+"~ c #86795F",
+"^ c #887356",
+"/ c #8B7953",
+"( c #967358",
+") c #947B56",
+"_ c #937A5B",
+"` c #9A7F56",
+"' c #9F7D5D",
+"] c #847662",
+"[ c #827B64",
+"{ c #847D6D",
+"} c #8E7F63",
+"| c #897F6C",
+" . c #877F71",
+".. c #927C61",
+"X. c #9B865C",
+"o. c #8F8267",
+"O. c #89816F",
+"+. c #878171",
+"@. c #8C8474",
+"#. c #8F8977",
+"$. c #928264",
+"%. c #908569",
+"&. c #9C8462",
+"*. c #9E8A63",
+"=. c #9C8C6C",
+"-. c #938B7B",
+";. c #9A8D71",
+":. c #988E7D",
+">. c #97907E",
+",. c #9A927D",
+"<. c #A28A5E",
+"1. c #A78E6B",
+"2. c #A79267",
+"3. c #AF9763",
+"4. c #AB956B",
+"5. c #A69677",
+"6. c #A0977E",
+"7. c #AB9773",
+"8. c #AA9975",
+"9. c #B18F6D",
+"0. c #B0916C",
+"q. c #B69B67",
+"w. c #B59C6E",
+"e. c #BA9E6E",
+"r. c #B59573",
+"t. c #B09E73",
+"y. c #B29E79",
+"u. c #B99772",
+"i. c #BB9C74",
+"p. c #BDA26C",
+"a. c #B1A175",
+"s. c #B6A47B",
+"d. c #BFA477",
+"f. c #BCA47C",
+"g. c #C1A66E",
+"h. c #C2A86F",
+"j. c #C0A570",
+"k. c #C0A37B",
+"l. c #C5AC74",
+"z. c #C5AB7C",
+"x. c #C8AD7A",
+"c. c #C7B074",
+"v. c #C8B075",
+"b. c #CCB47D",
+"n. c #CEB87D",
+"m. c #D0B97E",
+"M. c #9C9483",
+"N. c #A09787",
+"B. c #A19884",
+"V. c #A49C8B",
+"C. c #A89F8D",
+"Z. c #A9A18F",
+"A. c #ACA392",
+"S. c #B9A786",
+"D. c #BDAD86",
+"F. c #BCAD8C",
+"G. c #B1A796",
+"H. c #B1A897",
+"J. c #B5AC9B",
+"K. c #C4AB82",
+"L. c #C7B181",
+"P. c #C2B38D",
+"I. c #CCB580",
+"U. c #CBB68B",
+"Y. c #CFB983",
+"T. c #CEBB93",
+"R. c #D0B583",
+"E. c #D2BC85",
+"W. c #D4BD8B",
+"Q. c #D3BD91",
+"!. c #D6C18C",
+"~. c #D9C38E",
+"^. c #DBC692",
+"/. c #DAC599",
+"(. c #DDC996",
+"). c #DFCA99",
+"_. c #DFCCA5",
+"`. c #E0CB97",
+"'. c #E2CD9C",
+"]. c #E5D09D",
+"[. c #E0CCA2",
+"{. c #E6D2A3",
+"}. c #E7D3A8",
+"|. c #E9D5A5",
+" X c #EAD6AA",
+".X c #EEDAAB",
+"XX c None",
+/* pixels */
+"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. O # n i XXXXXXXXXXXXXX",
+"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. + # i ..1.k.^ . XXXXXXXXXXXX",
+"XXXXXXXXXXXXXXXXXXXXXXXX # > @ 3 ] y.7.r.r.K.9.W # XXXXXXXXXXXX",
+"XXXXXXXXXXXXXXXXXX . @ g 8.K.s.T. X XW.u.u.W.K.u.r XXXXXXXXXXXX",
+"XXXXXXXXXX. o 5 g M %.8.!.'.^.~.'..X}.K.i.i.K.u.z.l XXXXXXXXXX",
+"XXXXX o 3 ! 7.U./.^.'.^.!.!.E.W.^.|.'.d.0.K.W.k.Q.` : XXXXXXXXXX",
+"$ p U -.:.K.Y.~.~.~.^.E.E.W.E.W.W.^.^.' ( k.Q.^.'.w.r XX . XXXX",
+"p V.H.A.M.5.x.x.!.!.^.(.~.!.~.W.E.E.E.r.i.K.Q.{.{.f.< XX& i O XX",
+"$ .G.V.-.O.=.x.b.b.b.Y.E.E.^.!.E.E.E.^.).'.].].^.[.X.5 6 - - . ",
+"X U Z.M.-.-.#.=.4.X.*.e.b.E.~.^.!.m.n.W.`.^.~.^.(.}.U.J M # * . ",
+". D M.C.-.M.V.:.{ P R $.d.n.~.E.b.l.v.E.E.W.~.(.'.Q.F.v > - o XX",
+"XXp M.A.M.V.M.M.-.-.M.#.1.g.E.E.m.E.v.v.E.!.~.(.{.L.R 2 X % XX",
+"XX2 -.V.C.C.M.-.-.>.V.M.! <.b.E.E.W.x.v.Y.!.(.'.|.S.i + @ X XX",
+"XXX V -.M.M.>.-.#.>.M.M.@.~ z.2.Q l.b.g.b.!.'.{.{.{ 1 + & XXXX",
+"XXXX7 E R { +.@.#.@.{ @.M.@.$.G _ I.b.l.Y.!.'.|.P.x o ; 8 O XXXX",
+"XXXX% F @.{ U L Y { +.O.-.#.! 4.b.Y.l.l.b.^.^.'.[ * + 0 k : XXXX",
+"XXXXXX4 M.M.-.@.@.-.M.>.#.#.@.o.w.p.j.l.b.~.'.P.s o ; n &.f XX",
+"XXXXXX+ >.A.M.-.-.-.M.M.+.@.>.#.| } 2.x.g.m.^.! ; @ 0 o./.X.o XX",
+"XXXXXX+ #.Z.M.-.#.+.{ Y R >.M.M.M.:.{ *.p.j.a.p + ; Z P. XL.: XX",
+"XXXXXX+ #.V.-.+.U b b d A >.M.V.C.V.B.{ X.q.J * + w ;._.{.a.y ",
+"XXXXXXo E A.M.A d Y M.R v -.M.N.V.M.-.@.R G w o ; N D.{.[.] 5 . ",
+"XXXXXXXXw M.V.E x O.Z.@.v +.O.M.M.:. .R L i * # u $.Q.{.T.P 9 . ",
+"XXXXXXXX$ +.A.M.V A M.#.v { [ M.M.N.M.R B 6 + > M t.U./.f.G t ",
+"XXXXXXXX m H.H.E b U U b L D M.M.V.M.-.V * % u / 3.` ) H r # ",
+"XXXXXXXXXX$ { J.M.F m p D m > m +.C.C.@.w $ > h z e - + . XXXX",
+"XXXXXXXXXXX K Z.M.@.#.D E 9 X 8 o.M.D = $ - , # XXXXXXXXXX",
+"XXXXXXXXXX g ,.M.V.>.:.D o XX u n p * X . XXXXXXXXXXXXXX",
+"XXXXXXXXXXXX% Y M.M.M.O.3 XXXXXXXX w V $ . XXXXXXXXXXXXXXXXXX",
+"XXXXXXXXXXXX. B ,.6.,.S X XXXXXXXXX U c X XXXXXXXXXXXXXXXXXXXX",
+"XXXXXXXXXXXX a [ I g & XXXXXXXXq T 2 XXXXXXXXXXXXXXXXXXXXXX",
+"XXXXXXXXXXXXXXX - o XXXXXXXXXXXXo + . XXXXXXXXXXXXXXXXXXXXXX",
+"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
+};
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-BRANCH_editor.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-BRANCH_editor.in
@@ -0,0 +1,10 @@
+#!/bin/sh
+# generic wesnoth_editor script
+# copyright 2009 by Gerfried Fuchs <rhonda@debian.at>
+# Licenced under WTFPLv2
+
+cmd=$(basename $0)
+noedit=$(echo $0 | sed -e s/_editor$//)
+
+echo "$0 is deprecated -- please use $noedit --editor directly!"
+$noedit --editor $*
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-core.postinst
+++ wesnoth-1.8-1.8.5/debian/wesnoth-core.postinst
@@ -0,0 +1,24 @@
+#!/bin/sh
+# postinst script for wesnoth-core
+# copyright 2010 by Gerfried Fuchs <rhonda@debian.at>
+# Licenced under WTFPLv2
+
+set -e
+
+case "$1" in
+ configure|reconfigure)
+ if dpkg --compare-versions "$2" lt-nl "1:1.8.3-4"; then
+ if [ -d /usr/share/doc/wesnoth-core ]; then
+ if rmdir /usr/share/doc/wesnoth-core; then
+ ln -s wesnoth-1.8-data /usr/share/doc/wesnoth-core
+ fi
+ fi
+ elif dpkg --compare-versions "$2" lt-nl "1:1.8.3-5"; then
+ if rm /usr/share/doc/wesnoth-core; then
+ ln -s wesnoth-1.8-data /usr/share/doc/wesnoth-core
+ fi
+ fi
+ ;;
+esac
+
+#DEBHELPER#
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth.postinst
+++ wesnoth-1.8-1.8.5/debian/wesnoth.postinst
@@ -0,0 +1,24 @@
+#!/bin/sh
+# postinst script for wesnoth
+# copyright 2010 by Gerfried Fuchs <rhonda@debian.at>
+# Licenced under WTFPLv2
+
+set -e
+
+case "$1" in
+ configure|reconfigure)
+ if dpkg --compare-versions "$2" lt-nl "1:1.8.3-4"; then
+ if [ -d /usr/share/doc/wesnoth ]; then
+ if rmdir /usr/share/doc/wesnoth; then
+ ln -s wesnoth-1.8-data /usr/share/doc/wesnoth
+ fi
+ fi
+ elif dpkg --compare-versions "$2" lt-nl "1:1.8.3-5"; then
+ if rm /usr/share/doc/wesnoth; then
+ ln -s wesnoth-1.8-data /usr/share/doc/wesnoth
+ fi
+ fi
+ ;;
+esac
+
+#DEBHELPER#
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth-core.postinst.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth-core.postinst.in
@@ -0,0 +1,24 @@
+#!/bin/sh
+# postinst script for wesnoth-core
+# copyright 2010 by Gerfried Fuchs <rhonda@debian.at>
+# Licenced under WTFPLv2
+
+set -e
+
+case "$1" in
+ configure|reconfigure)
+ if dpkg --compare-versions "$2" lt-nl "1:1.8.3-4"; then
+ if [ -d /usr/share/doc/wesnoth-core ]; then
+ if rmdir /usr/share/doc/wesnoth-core; then
+ ln -s wesnoth-BRANCH-data /usr/share/doc/wesnoth-core
+ fi
+ fi
+ elif dpkg --compare-versions "$2" lt-nl "1:1.8.3-5"; then
+ if rm /usr/share/doc/wesnoth-core; then
+ ln -s wesnoth-BRANCH-data /usr/share/doc/wesnoth-core
+ fi
+ fi
+ ;;
+esac
+
+#DEBHELPER#
--- wesnoth-1.8-1.8.5.orig/debian/wesnoth.postinst.in
+++ wesnoth-1.8-1.8.5/debian/wesnoth.postinst.in
@@ -0,0 +1,24 @@
+#!/bin/sh
+# postinst script for wesnoth
+# copyright 2010 by Gerfried Fuchs <rhonda@debian.at>
+# Licenced under WTFPLv2
+
+set -e
+
+case "$1" in
+ configure|reconfigure)
+ if dpkg --compare-versions "$2" lt-nl "1:1.8.3-4"; then
+ if [ -d /usr/share/doc/wesnoth ]; then
+ if rmdir /usr/share/doc/wesnoth; then
+ ln -s wesnoth-BRANCH-data /usr/share/doc/wesnoth
+ fi
+ fi
+ elif dpkg --compare-versions "$2" lt-nl "1:1.8.3-5"; then
+ if rm /usr/share/doc/wesnoth; then
+ ln -s wesnoth-BRANCH-data /usr/share/doc/wesnoth
+ fi
+ fi
+ ;;
+esac
+
+#DEBHELPER#
--- wesnoth-1.8-1.8.5.orig/debian/patches/02wesnoth-nolog-desktop-file
+++ wesnoth-1.8-1.8.5/debian/patches/02wesnoth-nolog-desktop-file
@@ -0,0 +1,27 @@
+Author: Gerfried Fuchs <rhonda@debian.at> vim:ft=diff:
+Description: call wesnoth-nolog from desktop file, too
+
+--- a/icons/wesnoth.desktop
++++ b/icons/wesnoth.desktop
+@@ -55,7 +55,7 @@
+ Comment[sr]=Фантазијска стратешка игра на потезе
+ Comment[sr@latin]=Fantazijska strateška igra na poteze
+ Comment[tr]=Fantastik, sırayla oynanan bir strateji oyunu
+-Icon=wesnoth-icon
+-Exec=wesnoth
++Icon=wesnoth-1.8-icon
++Exec=wesnoth-1.8-nolog
+ Categories=Game;StrategyGame;
+
+--- a/icons/wesnoth_editor.desktop
++++ b/icons/wesnoth_editor.desktop
+@@ -33,7 +33,7 @@
+ Comment[sr]=Уређивач за мапе намењене Боју за Веснот
+ Comment[sr@latin]=Uređivač za mape namenjene Boju za Vesnot
+ Comment[tr]=Wesnoth savaşı haritaları için harita düzenleyici
+-Icon=wesnoth_editor-icon
+-Exec=wesnoth -e
++Icon=wesnoth-1.8_editor-icon
++Exec=wesnoth-1.8-nolog -e
+ Categories=Game;StrategyGame;
+
--- wesnoth-1.8-1.8.5.orig/debian/patches/02wesnoth-nolog-desktop-file.in
+++ wesnoth-1.8-1.8.5/debian/patches/02wesnoth-nolog-desktop-file.in
@@ -0,0 +1,27 @@
+Author: Gerfried Fuchs <rhonda@debian.at> vim:ft=diff:
+Description: call wesnoth-nolog from desktop file, too
+
+--- a/icons/wesnoth.desktop
++++ b/icons/wesnoth.desktop
+@@ -55,7 +55,7 @@
+ Comment[sr]=Фантазијска стратешка игра на потезе
+ Comment[sr@latin]=Fantazijska strateška igra na poteze
+ Comment[tr]=Fantastik, sırayla oynanan bir strateji oyunu
+-Icon=wesnoth-icon
+-Exec=wesnoth
++Icon=wesnoth-BRANCH-icon
++Exec=wesnoth-BRANCH-nolog
+ Categories=Game;StrategyGame;
+
+--- a/icons/wesnoth_editor.desktop
++++ b/icons/wesnoth_editor.desktop
+@@ -33,7 +33,7 @@
+ Comment[sr]=Уређивач за мапе намењене Боју за Веснот
+ Comment[sr@latin]=Uređivač za mape namenjene Boju za Vesnot
+ Comment[tr]=Wesnoth savaşı haritaları için harita düzenleyici
+-Icon=wesnoth_editor-icon
+-Exec=wesnoth -e
++Icon=wesnoth-BRANCH_editor-icon
++Exec=wesnoth-BRANCH-nolog -e
+ Categories=Game;StrategyGame;
+
--- wesnoth-1.8-1.8.5.orig/debian/patches/03wesnothd-name
+++ wesnoth-1.8-1.8.5/debian/patches/03wesnothd-name
@@ -0,0 +1,14 @@
+Author: Gerfried Fuchs <rhonda@debian.at> vim:ft=diff:
+Description: Search for wesnothd-1.8 instead of plain wesnothd
+
+--- a/src/game_preferences_display.cpp
++++ b/src/game_preferences_display.cpp
+@@ -1255,7 +1255,7 @@
+ #ifndef WESNOTH_PREFIX
+ #define WESNOTH_PREFIX "/usr"
+ #endif
+- const std::string filename = "wesnothd";
++ const std::string filename = "wesnothd-1.8";
+ std::string path = WESNOTH_PREFIX + std::string("/bin");
+ if (!is_directory(path))
+ path = get_cwd();
--- wesnoth-1.8-1.8.5.orig/debian/patches/03wesnothd-name.in
+++ wesnoth-1.8-1.8.5/debian/patches/03wesnothd-name.in
@@ -0,0 +1,14 @@
+Author: Gerfried Fuchs <rhonda@debian.at> vim:ft=diff:
+Description: Search for wesnothd-BRANCH instead of plain wesnothd
+
+--- a/src/game_preferences_display.cpp
++++ b/src/game_preferences_display.cpp
+@@ -1255,7 +1255,7 @@
+ #ifndef WESNOTH_PREFIX
+ #define WESNOTH_PREFIX "/usr"
+ #endif
+- const std::string filename = "wesnothd";
++ const std::string filename = "wesnothd-BRANCH";
+ std::string path = WESNOTH_PREFIX + std::string("/bin");
+ if (!is_directory(path))
+ path = get_cwd();
--- wesnoth-1.8-1.8.5.orig/debian/patches/series
+++ wesnoth-1.8-1.8.5/debian/patches/series
@@ -0,0 +1,2 @@
+02wesnoth-nolog-desktop-file
+03wesnothd-name