(svn r20129) -Add [Debian]: debug symbols package

This commit is contained in:
rubidium 2010-07-11 17:51:02 +00:00
parent 9c97a65b44
commit 283b4c184a
3 changed files with 19 additions and 4 deletions

View File

@ -25,3 +25,13 @@ Description: reimplementation of Transport Tycoon Deluxe with enhancements
package and optional sound files from the openttd-opensfx package (which is in package and optional sound files from the openttd-opensfx package (which is in
non-free). Alternatively, OpenTTD can use the graphics files from the original non-free). Alternatively, OpenTTD can use the graphics files from the original
Transport Tycoon Deluxe game (See README.Debian on how to set this up). Transport Tycoon Deluxe game (See README.Debian on how to set this up).
Package: openttd-dbg
Architecture: any
Section: debug
Priority: extra
Depends: openttd (= ${binary:Version}), ${misc:Depends}
Description: debugging symbols for openttd
This package contains the debugging symbols for OpenTTD, the reimplementation
of the Micropose game "Transport Tycoon Deluxe" with lots of new features and
enhancements.

View File

@ -7,13 +7,14 @@ wrapper instead of the openttd binary directly.
Index: media/openttd.desktop.in Index: media/openttd.desktop.in
=================================================================== ===================================================================
--- a/media/openttd.desktop.in (revision 17228) --- a/media/openttd.desktop.in (revision 20124)
+++ b/media/openttd.desktop.in (working copy) +++ b/media/openttd.desktop.in (working copy)
@@ -6,6 +6,6 @@ @@ -5,7 +5,7 @@
Version=1.1
Name=!!MENU_NAME!! Name=!!MENU_NAME!!
Comment=A clone of Transport Tycoon Deluxe
Icon=openttd Icon=openttd
-Exec=!!TTD!! -Exec=!!TTD!!
+Exec=/usr/share/games/openttd/openttd-wrapper +Exec=/usr/share/games/openttd/openttd-wrapper
Terminal=false Terminal=false
Categories=!!MENU_GROUP!! Categories=!!MENU_GROUP!!
Comment=A clone of Transport Tycoon Deluxe

View File

@ -17,7 +17,7 @@ endif
# to be explicit about the dependencies, in case we're not running in a # to be explicit about the dependencies, in case we're not running in a
# clean build root. # clean build root.
override_dh_auto_configure: override_dh_auto_configure:
./configure $(CROSS) --prefix-dir=/usr --install-dir=debian/openttd --without-allegro --with-zlib --with-sdl --with-png --with-freetype --with-fontconfig --with-icu --with-liblzo2 --without-iconv ./configure $(CROSS) --prefix-dir=/usr --install-dir=debian/openttd --without-allegro --with-zlib --with-sdl --with-png --with-freetype --with-fontconfig --with-icu --with-liblzo2 --without-iconv --disable-strip CFLAGS="$(CFLAGS) -g"
# Do some extra installation # Do some extra installation
override_dh_auto_install: override_dh_auto_install:
@ -41,3 +41,7 @@ override_dh_auto_test:
# target, while there isn't. # target, while there isn't.
override_dh_auto_clean: override_dh_auto_clean:
[ ! -f Makefile ] || $(MAKE) mrproper [ ! -f Makefile ] || $(MAKE) mrproper
# We want to strip the debug informatiton into the -dbg package.
override_dh_strip:
dh_strip --dbg-package=openttd-dbg