--- widelands-15~rc1.orig/debian/watch +++ widelands-15~rc1/debian/watch @@ -0,0 +1,6 @@ +# test this watch file using: +# uscan --watchfile debian/watch --upstream-version 0.0.1 --package widelands +# +version=3 +opts="uversionmangle=s/^/build/,uversionmangle=s/rc$/~rc/" \ + http://sf.net/widelands/widelands-build-(.+)-source.tar.bz2 --- widelands-15~rc1.orig/debian/widelands.6 +++ widelands-15~rc1/debian/widelands.6 @@ -0,0 +1,86 @@ +.TH WIDELANDS "6" "February 2005" "widelands build-9" "User Commands" +.SH NAME +widelands \- fantasy real-time strategy game +.SH SYNOPSIS +.B widelands +\fI= \fR... \fI=\fR + +.SH "DESCRIPTION" + +In this game, you start out on a small piece of land with nothing more than +a few of useful resources. Using those, you can build yourself an empire +with many thousands of inhabitants. On your way towards this goal, you will +have to build up an economic infrastructure, explore the lands around you +and face enemies who are trying to rule the world just like you do. + +.SH OPTIONS +.HP +\fB\-\-\fR=value overwrites a config file setting +.TP +\fB\-\-record\fR +Record all events to the given filename for later playback +.TP +\fB\-\-playback\fR +Playback given filename (see \fB\-\-record\fR) +.TP +\fB\-\-coredump\fR +Generates a core dump on segfaults instead of using the SDL +.TP +\fB\-\-ggz\fR +Starts game as GGZ Gaming Zone client (don't use it yet!) +.TP +\fB\-\-help\fR +Show a short help text +.TP +\fB\-\-version\fR +Show version + +.SH "LONG DESCRIPTION" + +In Widelands, you are the regent of a small tribe. You start out with +nothing but your headquarters, a kind of castle in which all your resources +are stored. In the course of the game, you will build an ever growing +settlement. Every member of your tribe will do his or her part to produce +more resources - wood, food, iron, gold and more - to further this growth. +But you are not alone in the world, and you will meet other tribes sooner or +later. Some of them may be friendly and trade with you. However, if you want +to rule the world, you will have to train soldiers and fight. + +Widelands offers a unique style of play. For example, a system of roads +plays the central role of your economy: all the goods that are harvested and +processed by the tribe must be transported from one building to the next. +This is done by carriers, and those carriers always walk along the roads. It +is your job to lay out the roads as efficiently as possible. + +Another refreshing aspect of the game is the way you command your tribe. +There is no need to tell every single one of your subjects what to do - that +would be impossible, because there can be thousands of them! Instead, all +you've got to do is order them to build a building somewhere, and the +builders will come. +Similarly, whenever you want to attack an enemy, just place an order to +attack one of their barracks, and your soldiers will march to fight. +You're really a ruler: You delegate in times of war and in times of peace! + +Widelands offers single-player mode with different campaigns; the campaigns +all tell the story of a tribe and it's struggle in the Widelands universe! +However, settling really starts when you unite with friends over the +Internet or LAN to build up new empires together - or to crush each other in +the dusts of war. +Widelands also offers an Artifical Intelligent to challenge. + +In the end, Widelands will be extensible, so that you can create your own +type of tribe with their own sets of buildings. You can create new worlds to +play in, and you could even create new types of worlds (who says you can't +build a settlement on the moon?). + +.SH "OTHER INFO" +Bug reports? Suggestions? Check out the project website: +.IP +http://www.sourceforge.net/projects/widelands +.PP +Hope you enjoy this game! + +.SH AUTHORS + +A few dozen of people participated to this project. See the AUTHORS file for +more information. --- widelands-15~rc1.orig/debian/copyright +++ widelands-15~rc1/debian/copyright @@ -0,0 +1,121 @@ +This package was debianized by Martin Quinson on Thu, 16 Sep 2004 22:49:50 ++0200. + +Upstream authors (alphabetically sorted): +----------------- + +Albert Jasiowka Project Member, Graphics +Delia Graphics +Florian Bluemel Project Member, Programmer +Florian Falkner Programmer +Florian Neuerburg Graphics +Holger Rapp Project Admin, Programmer, Graphics +Jerome Rosinski Graphics +Martin Quinson Programmer +Marz Project Member, Graphics +Mats Olsson Graphics +Nicolai Haehnle Project Admin, Programmer +Philipp Engelhard Project Member, + Programmer, Graphics +Stefan Boettner Programmer +Tron Project Member, Programmer +Yannick Warnier Project Member, Graphics +Willem Jan Palenstijn Programmer + + +Copyright 2002, 2003, 2004 the Widelands Development Team. + +This game is distributed under the GPL licence (to be found under +/usr/share/common-licenses/GPL on a Debian box). + +The package includes a fond named Widelands.ttf +Copyright (c) 2006-2008, Peter Schwanemann , + +This Font Software is licensed under the SIL Open Font License, Version 1.1. + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +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 THE +COPYRIGHT HOLDER 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. --- widelands-15~rc1.orig/debian/changelog +++ widelands-15~rc1/debian/changelog @@ -0,0 +1,364 @@ +widelands (1:15~rc1-2) unstable; urgency=low + + * fix typo in package description, thanks Erik Esterer (Closes: #566267) + * fixed paths passed to cmake, locale are working (Closes: #472406) + + -- Enrico Tassi Wed, 17 Mar 2010 22:28:04 +0100 + +widelands (1:15~rc1-1) unstable; urgency=low + + * new upstream release candidate, tag:build15-rc1 on lp:widelands/build15 + * new build-dependencies over lua5.1 and cmake + * all debian/patches were obsolete and are thus have been removed + * switched from CDBS to dh + * standard versions to 3.8.4, no changes + * get rid of duplicate fonts in ttf-freefont, install symlinks instead + + -- Enrico Tassi Tue, 16 Mar 2010 20:34:24 +0100 + +widelands (1:14-3) unstable; urgency=low + + * more prcise build-depends to ease backporting, thanks Romain Chantereau + (Closes: #546840) + + -- Enrico Tassi Mon, 12 Oct 2009 22:24:26 +0200 + +widelands (1:14-2) unstable; urgency=low + + * install the global directory (Closes: #550158) + + -- Enrico Tassi Fri, 09 Oct 2009 22:51:43 +0200 + +widelands (1:14-1) unstable; urgency=low + + * New upstream release + * Disable no optimization patch for amd64, the upstream does the same + * Disable no-unroll-loops on arm, was for an old gcc version + * Added README.source pointing to dpatch instructions + * Standards-version to 3.8.3, no changes + + -- Enrico Tassi Sat, 03 Oct 2009 22:13:33 +0200 + +widelands (1:14~rc1-2) unstable; urgency=low + + * build-depend on scons + + -- Enrico Tassi Mon, 14 Sep 2009 10:29:39 +0200 + +widelands (1:14~rc1-1) unstable; urgency=low + + * New upstream pre-release + + -- Enrico Tassi Sun, 15 Feb 2009 14:53:21 +0100 + +widelands (1:13-2) unstable; urgency=low + + * Uploaded to unstable + + -- Enrico Tassi Sun, 15 Feb 2009 14:05:21 +0100 + +widelands (1:13-1) experimental; urgency=low + + * New upstream release (build-13) + + -- Enrico Tassi Sun, 23 Nov 2008 18:05:31 +0100 + +widelands (1:13~3516-1) experimental; urgency=low + + * Second release candidate for version 13 + + -- Enrico Tassi Sun, 16 Nov 2008 11:34:03 +0100 + +widelands (1:13~3472-1) experimental; urgency=low + + * First release candidate for version 13 + + -- Enrico Tassi Sun, 02 Nov 2008 20:46:38 +0100 + +widelands (1:13~3230-1) experimental; urgency=low + + * Svn snapshot with many bugfixes, most notably the game is not using + 100% of CPU time anymore (Closes: #370528) + + -- Enrico Tassi Thu, 31 Jul 2008 09:29:23 +0200 + +widelands (1:12-3) unstable; urgency=low + + * fixed previous patch that was using the incriminated flag only on + arm and armel + + -- Enrico Tassi Wed, 14 May 2008 10:25:05 +0200 + +widelands (1:12-2) unstable; urgency=low + + * added a patch to disable -funroll-loops on arm, thanks Aurelien Jarno + for the hint + + -- Enrico Tassi Thu, 08 May 2008 15:57:15 +0200 + +widelands (1:12-1) unstable; urgency=low + + * New upstream release featuring some improved graphics, multiplayer + (network) support and a first glimpse of a new tribe (Atlantidis). + + -- Enrico Tassi Sat, 05 Apr 2008 16:12:17 +0200 + +widelands (1:12~rc-1) experimental; urgency=low + + * New upstream release featuring some improved graphics and network gameplay + * Ack NMU, g++-4.3 patch applied upstream. + * Fixed rules to use nice CDBS hooks + * Updated copyright file mentioning that Widelands.ttf is distributed under + the SIL open font license version 1.1. + + -- Enrico Tassi Sun, 30 Mar 2008 18:46:24 +0200 + +widelands (1:11-1.1) unstable; urgency=low + + * Non-maintainer upload for the gcc-4.3 release goal, with a patch + provided by Cyril Brulebois. (Closes: #417760) + + -- Philipp Kern Sun, 16 Mar 2008 21:43:17 +0100 + +widelands (1:11-1) unstable; urgency=low + + * New upstream release. Most relevant features are: fog of war, autosave, + replay, better UI, new animations. + * Enrico Tassi added to Uploaders + * moved to cdbs debian/rules + * version number must (according to policy 5.6.12) start with a digit, thus + the version is now 11 + * versions must be strictly increasing, thus use epoch 1 to make + 11 greater than build10 + * Standards-Version bumped to 3.7.3, no modifications needed + * debian/ directory put under vcs on svn.d.o/collab-maint + + -- Enrico Tassi Sat, 19 Jan 2008 17:02:26 +0100 + +widelands (build10-1) unstable; urgency=low + + * New upstream release. + - closes #388406: Core dump during second mission. + Fixed in upstream svn rev 1078. + - closes #345451: Segfault on victory. + Forwarded upstream and solved at some point. + - closes #345217: save dialog box counter-intuitive + Forwarded upstream and solved at some point. + - closes #345386: --coredump option use is not intuitive. + Was marked fixed-upstream in debian since a while + - The building mecanism was completely changed upstream. + Completely redo the packaging. + * Drop the most of the patches since they were integrated upstream. + Only locale is still there, but this is because upstream hardcoded + a path in the game... + + -- Martin Quinson Wed, 21 Mar 2007 10:11:56 +0100 + +widelands (build9half-10) unstable; urgency=low + + * Include a freedesktop complient desktop file, even if I personnaly + think it dupplicates the debian menu system (Closes: #359286). + + -- Martin Quinson Fri, 14 Apr 2006 09:29:36 +0200 + +widelands (build9half-9) unstable; urgency=low + + * Remove source data of localization (po & pot files) + * Rework the README to let it fit better the debian reality + (Closes: #359175) + + -- Martin Quinson Mon, 27 Mar 2006 09:00:07 +0200 + +widelands (build9half-8) unstable; urgency=low + + * New patch: locale_path + Do lookup the locale data in the right directory [Eckhart Wörner] + (Closes: #357801) + + -- Martin Quinson Sun, 26 Mar 2006 20:29:17 +0200 + +widelands (build9half-7) unstable; urgency=low + + * Fix a conflict between widelands and widelands-date, stupid me + (Closes: #358517) + + -- Martin Quinson Fri, 24 Mar 2006 23:06:01 +0100 + +widelands (build9half-6) unstable; urgency=low + + * Do compile the locale data before distributing them (sorry) + + -- Martin Quinson Tue, 21 Mar 2006 22:22:58 +0100 + +widelands (build9half-5) unstable; urgency=low + + * Add locale and music data to the package. (Closes: #357801) + + -- Martin Quinson Sun, 19 Mar 2006 19:41:53 +0100 + +widelands (build9half-4) unstable; urgency=low + + * New patch: default_resolution (backported from upstream CVS) + Set a default screen resolution when the user fails to choose one. + (Closes: #345299) + * New patch: gcc41 (from Martin Michlmayr in BTS) + Allow to compile with gcc 4.1 (Closes: #357614) + + -- Martin Quinson Sat, 18 Mar 2006 21:41:05 +0100 + +widelands (build9half-3) unstable; urgency=low + + * New patch: std::string:npos_is_negative by Sami Liedes + This solves a segfault on some non-x86 arches (Closes: #345384) + * Do add some content to the -dbg package. erm. (Closes: #345867) + * Droped patch: + - mips: portability now sanitized, no need for this anymore + - amd64: commited upstream, so no need to keep it for reference + (it only patched a commented line for the day it went uncommented) + - alpha: commited upstream (wasn't used since a while, kill it) + + -- Martin Quinson Sat, 7 Jan 2006 22:37:41 +0100 + +widelands (build9half-2) unstable; urgency=low + + * Sanitize architecture checks using SDL facilities [Falk Hueffner] + (Closes: #346011) + * Rewrite the usage summary [Florian Weber] (Closes: #345386) + + -- Martin Quinson Thu, 5 Jan 2006 00:18:27 +0100 + +widelands (build9half-1) unstable; urgency=low + + * New upstream release (Closes: #342263). + * Changed patches: + - ppc and Knight applied upstream and thus droped. + - amd64 almost applied upstream and thus only kept the unapplied parts + * New patches: + - mips: portability patch by Thiemo Seufer (Closes: #333465) + - congested_road [Florian Weber] to make sure that overloaded + road are more expensive and thus less taken + - lowering_requested_soldiers [Nanne Wams] (bug fix) + - Fisher_run_mine_bug_1196918 [Ted Carlson] (bug fix) + * Debian packaging: + - let -data depend on ttf-bitstream-vera which provide the Vera.ttf + font, and don't include our own copy (Closes: #302054) + + -- Martin Quinson Sun, 20 Dec 2005 11:17:27 +0200 + +widelands (build9-7) unstable; urgency=low + + * Rebuild for G++ 4.x transition + * debian/patch/gcc4: actually port to this compiler (Closes: #322780) + * Do not let cdbs touch our control file since it's considered RC now, and + we already have enough of them. + + -- Martin Quinson Fri, 12 Aug 2005 21:59:01 +0200 + +widelands (build9-6) unstable; urgency=low + + * Move into the /usr/game gettho (Closes: #295183) + * Argh! Add the AUTHORS file to the usual location for the usual + reason. I'm so stupid! (Closes: #294918) again. + Thanks to Gerfried Fuchs for not laughing while reporting. + * Add a man page (Closes: #295182) + + -- Martin Quinson Mon, 14 Feb 2005 10:41:12 +0100 + +widelands (build9-5) unstable; urgency=low + + * Remove libggzcore-dev, libggzdmod-dev, libggz-dev from build-deps since + we do not use it right now and since they can't be fulfilled in sarge. + + -- Martin Quinson Sun, 13 Feb 2005 22:27:11 +0100 + +widelands (build9-4) unstable; urgency=low + + * Include COPYING in /usr/share/widelands so that the 'Licence' button + works (Closes: #294918). Stupid me, I fixed README in previous release, + and forgot about this one. Thanks to Christopher Zimmermann for reporting. + + -- Martin Quinson Sun, 13 Feb 2005 16:45:03 +0100 + +widelands (build9-3) unstable; urgency=low + + * Port to alpha architecture, fix all warnings there (Closes: #291371). + * Copy the README file into the usr/share path so that it can be + retrieved at run time. + + -- Martin Quinson Sun, 30 Jan 2005 23:05:51 +0100 + +widelands (build9-2) unstable; urgency=low + + * Patch to port to PowerPC (big endian char unsigned-by-default issues). + [Christof Petig] + + -- Martin Quinson Fri, 14 Jan 2005 23:55:23 +0100 + +widelands (build9-1) unstable; urgency=low + + * New upstream release. + * Remove the Knights.ttf font for licencing reasons (Thanks to Josh + Triplett for noticing and sorry for not having checked myself). + Vera.ttf is used instead, as done upstream. + (Closes: #289750) + * Add patch to port to AMD64 from Andreas Jochens (Thanks!). + (Closes: #289678) + + -- Martin Quinson Fri, 14 Jan 2005 12:19:20 +0100 + +widelands (build8.cvs050107-1) unstable; urgency=low + + * The "Let's make CVS builds really usefull to devel" + * Update to the lastest CVS state. + * Add a wrapper to the CVS builds which captures all informations + developpers need to debug the problem the users will run into: + - any core generated + - the prog output + - the record file (mouse movements, key press, etc. during the game) + - package version (as reported by dpkg) + - architecture (uname -a) + Those information are placed in /tmp and when widelands exits with + errcode, the user is prompted to report those information to the right + BTS. They are not sent automatically. + * To help Holger and friends tracking the issues, also generate a + widelands-dbg package for CVS builds. It contains the debugging symbol, + so that gdb can find them when the package is installed. + * Please note that none of those CVS build features are used while building + a release version (difference: "cvs" in version name). + For that, debian/control is now generated by cdbs. + + -- Martin Quinson Fri, 7 Jan 2005 21:54:06 +0100 + +widelands (build8.cvs050101-1) unstable; urgency=low + + * Packaging the content of the CVS to help finding the last bugs before + build9. + + -- Martin Quinson Sat, 1 Jan 2005 21:28:04 +0100 + +widelands (build8-2) unstable; urgency=low + + [Matti Peltomaki] + * Fix a typo in postinst (s/urge/purge) + * Rename {menu,postinst,postrm} to widelands.{menu,postinst,postrm} since + we build more than one package. + + [Martin Quinson] + * Fix the versionning scheme. This is not a native package. + + -- Martin Quinson Mon, 27 Sep 2004 13:04:05 +0200 + +widelands (build8) unstable; urgency=low + + * New upstream release. + * Add a menu entry (thanks Matti Peltomaki) + * New patch: Mask the fps rate (thanks Matti Peltomaki). + + -- Martin Quinson Thu, 23 Sep 2004 17:37:55 +0200 + +widelands (build7.cvs040917-1) unstable; urgency=low + + * Initial release. + + -- Martin Quinson Thu, 16 Sep 2004 22:40:16 +0200 + --- widelands-15~rc1.orig/debian/README.source +++ widelands-15~rc1/debian/README.source @@ -0,0 +1 @@ +Please refer to /usr/share/doc/dpatch/README.source.gz --- widelands-15~rc1.orig/debian/widelands.install +++ widelands-15~rc1/debian/widelands.install @@ -0,0 +1,2 @@ +usr/games +usr/share/applications --- widelands-15~rc1.orig/debian/compat +++ widelands-15~rc1/debian/compat @@ -0,0 +1 @@ +7 --- widelands-15~rc1.orig/debian/widelands.sh +++ widelands-15~rc1/debian/widelands.sh @@ -0,0 +1,34 @@ +#! /bin/bash +mkdir /tmp/widelands-$$ +chmod 700 /tmp/widelands-$$ +cd /tmp/widelands-$$ +ulimit -c 500000 +/var/lib/widelands/widelands.real --record=record --coredump=yes $@ > output +if [ $? -ne 0 ] +then + echo "Uups, widelands seems to have crashed." + echo + echo "Gathering some info about your install..." + uname -a > /tmp/widelands-$$/uname_a + COLUMNS=120 LC_ALL=C dpkg -l widelands\* > /tmp/widelands-$$/version 2>&1 + tar cf /tmp/widelands-$$.tar /tmp/widelands-$$/ 2>/dev/null + bzip2 -9 /tmp/widelands-$$.tar + echo "done" + echo + echo "Please report this bug using the interface on" + echo ' http://sourceforge.net/tracker/?func=add&group_id=40163&atid=427221' + echo + echo "Please make sure to provide as much useful information as possible." + echo " To that extend, you can add the file /tmp/widelands-$$.tar.bz2 to your bug report. It contains :" + echo " - all the actions you've made while playing (the record file)" + echo " - a core file (if any)" + echo " - all messages widelands made during the game (the output file)" + echo " - the architecture you're playing on (`uname -a`)" + echo " - the version of the game used (as repported by dpkg)" + echo + echo "If you have any screenshot (and if they are relevant to the bug), please include them also." + echo + echo "Thanks for your help, and sorry for the inconviniance," + echo "the widelands development team." +fi + --- widelands-15~rc1.orig/debian/widelands.desktop +++ widelands-15~rc1/debian/widelands.desktop @@ -0,0 +1,22 @@ +[Desktop Entry] +Version=1.0 +Encoding=UTF-8 +Type=Application +Name=Widelands +GenericName=Strategy Game +GenericName[af]=Strategie-spel +GenericName[ca]=Joc d'estrategia +GenericName[de]=Strategiespiel +GenericName[dk]=Strategi-spil +GenericName[eu]=Estrategiako jokoa +GenericName[fr]=Jeu de stratégie +GenericName[he]=משחק אסטרטגיה +GenericName[hu]=Stratégia +GenericName[ru]=Стратегическая игра +GenericName[sk]=Strategická hra +Comment=A a real-time build-up strategy game +Comment[de]=Echtzeitbasiertes Aufbau-Strategiespiel +Icon=/usr/share/games/widelands/pics/wl-ico-64.png +TryExec=widelands +Exec=widelands +Categories=Application;Game;StrategyGame; --- widelands-15~rc1.orig/debian/widelands.menu +++ widelands-15~rc1/debian/widelands.menu @@ -0,0 +1,5 @@ +?package(widelands):\ + needs="X11" \ + section="Games/Strategy" \ + title="widelands" \ + command="/usr/games/widelands" --- widelands-15~rc1.orig/debian/control +++ widelands-15~rc1/debian/control @@ -0,0 +1,49 @@ +Source: widelands +Section: games +Priority: extra +Maintainer: Martin Quinson +Uploaders: Enrico Tassi +Standards-Version: 3.8.4 +Build-Depends: debhelper (>= 7.0.50~), libsdl1.2-dev, libsdl-image1.2-dev, libsdl-ttf2.0-dev, libsdl-net1.2-dev, libsdl-mixer1.2-dev, libsdl-gfx1.2-dev, python, libboost-dev | libboost1.35-dev, libboost-program-options-dev | libboost-program-options1.35-dev, libggz-dev, libggzmod-dev, scons (>= 1.0.1), doxygen, cmake, liblua5.1-dev +Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/widelands/ +Vcs-Browser: http://svn.debian.org/viewsvn/collab-maint/deb-maint/widelands/ +Homepage: http://www.widelands.org + +Package: widelands +Architecture: any +Depends: widelands-data (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}, ttf-freefont +Description: fantasy real-time strategy game + Widelands is a strategy game aiming for gameplay similar to Settlers II by + BlueByte. + . + In this game, you start out on a small piece of land with nothing more than + a few of useful resources. Using those, you can build yourself an empire + with many thousands of inhabitants. On your way towards this goal, you will + have to build up an economic infrastructure, explore the lands around you + and face enemies who are trying to rule the world just like you do. + +Package: widelands-data +Architecture: all +Depends: ttf-freefont, ${misc:Depends} +Description: fantasy real-time strategy game (data files) + This package contains the graphics and levels for Widelands. + . + Widelands is a strategy game aiming for gameplay similar to Settlers II by + BlueByte. + . + In this game, you start out on a small piece of land with nothing more than + a few of useful resources. Using those, you can build yourself an empire + with many thousands of inhabitants. On your way towards this goal, you will + have to build up an economic infrastructure, explore the lands around you + and face enemies who are trying to rule the world just like you do. + +Package: widelands-dbg +Architecture: any +Section: debug +Depends: widelands (= ${binary:Version}), ${misc:Depends} +Description: fantasy real-time strategy game (debug cruft) + This package contains the debugging symbols associated to widelands. + . + If you don't want to debug widelands (nor report bugs against it), you + don't need it. + --- widelands-15~rc1.orig/debian/widelands-data.install +++ widelands-15~rc1/debian/widelands-data.install @@ -0,0 +1 @@ +usr/share/games --- widelands-15~rc1.orig/debian/rules +++ widelands-15~rc1/debian/rules @@ -0,0 +1,37 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_configure: + mkdir -p build-debian + cd build-debian; cmake \ + -DWL_INSTALL_PREFIX=/usr \ + -DWL_INSTALL_DATADIR=share/games/widelands \ + -DWL_INSTALL_BINDIR=games \ + -DWL_INSTALL_LOCALEDIR=share/games/widelands/locale \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_DATADIR=share/games/widelands \ + -DCMAKE_INSTALL_BINDIR=games \ + -DCMAKE_INSTALL_LOCALEDIR=share/games/widelands/locale \ + -DCMAKE_BUILD_TYPE=Release \ + -DWL_VERSION_MAJOR=0 \ + -DWL_VERSION_MINOR=15 \ + -DWL_VERSION_ADDITION=RC1 \ + ../; cat src/config.h + +override_dh_auto_build: + cd build-debian; make all + +override_dh_auto_install: + cd build-debian; make install DESTDIR=`pwd`/../debian/tmp + mkdir -p debian/tmp/usr/share/applications/ + cp debian/widelands.desktop debian/tmp/usr/share/applications/ + rm debian/tmp/usr/share/games/widelands/fonts/FreeSans.ttf + rm debian/tmp/usr/share/games/widelands/fonts/FreeSerif.ttf + rm debian/tmp/usr/share/games/widelands/fonts/Widelands/LICENSE + cd debian/tmp/usr/share/games/widelands/fonts/; ln -s /usr/share/fonts/truetype/freefont/FreeSans.ttf + cd debian/tmp/usr/share/games/widelands/fonts/; ln -s /usr/share/fonts/truetype/freefont/FreeSerif.ttf + +override_dh_strip: + dh_strip --dbg-package=widelands-dbg --- widelands-15~rc1.orig/debian/widelands.manpages +++ widelands-15~rc1/debian/widelands.manpages @@ -0,0 +1 @@ +debian/widelands.6