(svn r3801) * Update debian packaging files to the ones used for releasing 0.4.5 (see os/debian/changelog for details).

* Fix a small debconf issue which was in the 0.4.5 release.
This commit is contained in:
matthijs 2006-03-08 23:12:38 +00:00
parent 602e567074
commit ba5172d0f4
10 changed files with 74 additions and 45 deletions

View File

@ -3,12 +3,18 @@ openttd for Debian
To properly play this game, original data files are needed.
You should copy the data files from the original TTD into the data directory
(/usr/share/games/openttd/data). You should copy all .grf files there.
(/usr/share/games/openttd/data). You should copy these files:
* trg1r.grf
* trgcr.grf
* trghr.grf
* trgir.grf
* trgtr.grf
* sample.cat
-Music
For in game music (optional), you should copy all files in the data/gm
folder of your ttd installation to /usr/share/games/openttd/gm. You
should also install timdity and a soundfont (freepats is packaged in
For in game music (optional), you should copy all files in the gm/
subdir of your ttd installation to /usr/share/games/openttd/gm. You
should also install timidity and a soundfont (freepats is packaged in
debian and works out of the box).
Don't forget to use -m extmidi if you want music, and if you have

View File

@ -1,8 +1,46 @@
openttd (0.4.5+custom) unstable; urgency=low
* Custom user build.
-- Matthijs Kooijman <m.kooijman@student.utwente.nl> Thu, 9 Mar 2006 00:04:33 +0100
openttd (0.4.5-1) unstable; urgency=low
* New upstream release
* Bump Standards-Version to 3.6.2
* s/timdity/timidity/ in README.Debian.
* Use debconf for prompting instead of terminal.
* Fix makefile to create icon dir if necessary.
* Fix syntax error in manpage.
-- Matthijs Kooijman <m.kooijman@student.utwente.nl> Wed, 1 Feb 2006 01:56:39 +0100
openttd (0.4.0.1-5) unstable; urgency=low
* Fixed capitalization of menu item.
* Install xpm icon to /usr/share/pixmaps and don't install png icon, since
it is not used.
-- Matthijs Kooijman <m.kooijman@student.utwente.nl> Thu, 22 Sep 2005 10:35:09 +0200
openttd (0.4.0.1-4) unstable; urgency=low
* Changelog was distributed twice.
* Put openttd in contrib.
-- Matthijs Kooijman <m.kooijman@student.utwente.nl> Mon, 19 Sep 2005 23:49:18 +0200
openttd (0.4.0.1-3) unstable; urgency=low
* Clarified installing instructions in README.Debian
-- Matthijs Kooijman <m.kooijman@student.utwente.nl> Thu, 16 Jun 2005 03:51:13 +0200
openttd (0.4.0.1-2) unstable; urgency=low
* Added Suggests: timidity, freepats
-- Matthijs Kooijman <m.kooijman@student.utwente.nl> Fri, 27 May 2005 02:19:24 +0200
-- Matthijs Kooijman <m.kooijman@student.utwente.nl> Thu, 16 Jun 2005 03:34:03 +0200
openttd (0.4.0.1-1) unstable; urgency=low

View File

@ -1,16 +1,19 @@
Source: openttd
Section: games
Section: contrib/games
Priority: optional
Maintainer: Matthijs Kooijman <m.kooijman@student.utwente.nl>
Build-Depends: debhelper (>= 4.0.0), libsdl-dev, zlib1g-dev, libpng-dev
Standards-Version: 3.6.0
Standards-Version: 3.6.2
Package: openttd
Architecture: any
Depends: ${shlibs:Depends}
Depends: ${shlibs:Depends}, debconf
Suggests: timidity, freepats
Description: open source clone of the Microprose game "Transport Tycoon Deluxe"
An enhanced open source clone of the Microprose game "Transport Tycoon Deluxe".
Description: reimplementation of Transport Tycoon Deluxe with enhancements
A reimplementation of the Microprose game "Transport Tycoon Deluxe" with lots
of new features and enhancements.
You require the data files of the original Transport Tycoon Deluxe
for Windows to play the game. You have to MANUALLY copy them to the
game data directory! (see README.Debian for details)
.
Homepage: http://www.openttd.org/

View File

@ -5,21 +5,21 @@ It was downloaded from http://sourceforge.net/projects/openttd
Upstream Author: Ludvig Strigeus (ludde) and many others
Copyright:
License:
This package is free software; you can redistribute it and/or modify
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 dated June, 1991.
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This package is distributed in the hope that it will be useful,
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this package; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.

View File

@ -1,4 +1,3 @@
changelog.txt
readme.txt
docs/Manual.txt
docs/multiplayer.txt

View File

@ -1,2 +1,2 @@
?package(openttd):needs="X11" section="Games/Simulation" title="Openttd"\
command="/usr/games/openttd" icon="/usr/share/games/openttd/openttd.32.xpm"
?package(openttd):needs="X11" section="Games/Simulation" title="OpenTTD"\
command="/usr/games/openttd" icon="/usr/share/pixmaps/openttd.32.xpm"

0
os/debian/patches/00list Normal file
View File

View File

@ -5,6 +5,7 @@
set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
@ -17,12 +18,10 @@ set -e
# the debian-policy package
#
. /usr/share/debconf/confmodule
case "$1" in
configure)
cat <<EOF
Before running the game, you should copy the data files from the
original TTD. See README.Debian for more details.
EOF
;;
abort-upgrade|abort-remove|abort-deconfigure)

View File

@ -20,10 +20,6 @@ set -e
case "$1" in
purge|remove)
cat <<EOF
Don't forget to remove any existing data files from
/usr/share/games/openttd!
EOF
;;
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)

View File

@ -6,20 +6,9 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
include /usr/share/dpatch/dpatch.make
#not supported by openttd makefile
#CFLAGS = -Wall -g
#
#ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
# CFLAGS += -O0
#else
# CFLAGS += -O2
#endif
#ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
# INSTALL_PROGRAM += -s
#endif
configure: configure-stamp
configure: patch configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.
@ -28,20 +17,19 @@ configure-stamp:
build: build-stamp
build-stamp: configure-stamp
build-stamp: configure-stamp
dh_testdir
# Add here commands to compile the package.
rm Makefile.config || true
$(MAKE) PREFIX=/usr MIDI=/usr/bin/timidity INSTALL=1 BINARY_DIR=games DATA_DIR=share/games/openttd PERSONAL_DIR=.openttd USE_HOMEDIR=1
$(MAKE) PREFIX=/usr MIDI=/usr/bin/timidity INSTALL=1 BINARY_DIR=games DATA_DIR=share/games/openttd ICON_DIR=share/pixmaps PERSONAL_DIR=.openttd USE_HOMEDIR=1
#/usr/bin/docbook-to-man debian/openttd.sgml > openttd.1
touch build-stamp
clean:
clean: unpatch
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
@ -74,7 +62,7 @@ binary-arch: build install
dh_installexamples
# dh_install
dh_installmenu
# dh_installdebconf
dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installpam