r2384 - packages/trunk/wormux/debian
Eddy Petrisor
eddyp-guest at alioth.debian.org
Fri Feb 9 14:14:52 CET 2007
Author: eddyp-guest
Date: 2007-02-09 14:14:51 +0100 (Fri, 09 Feb 2007)
New Revision: 2384
Modified:
packages/trunk/wormux/debian/changelog
packages/trunk/wormux/debian/rules
Log:
don't let wormux's build system detect the provided font file
Modified: packages/trunk/wormux/debian/changelog
===================================================================
--- packages/trunk/wormux/debian/changelog 2007-02-09 10:22:32 UTC (rev 2383)
+++ packages/trunk/wormux/debian/changelog 2007-02-09 13:14:51 UTC (rev 2384)
@@ -1,3 +1,14 @@
+wormux (0.7.9-2) unstable; urgency=high
+
+ * urgency high since it fixes a serious bug (even if it doesn't matter since
+ we're in freeze)
+ * move the DejaVu-Sans.ttf file out of the data source directory before
+ configure so is not accounted as a file in the target and place it back
+ before clean; this way /usr/share/games/wormux/font/DejaVuSans.ttf is
+ no longer searched for and wormux doesn't fail to start (Closes: #410272)
+
+ -- Eddy Petrișor <eddy.petrisor at gmail.com> Fri, 9 Feb 2007 13:48:51 +0200
+
wormux (0.7.9-1) unstable; urgency=low
[ Eddy Petrișor ]
Modified: packages/trunk/wormux/debian/rules
===================================================================
--- packages/trunk/wormux/debian/rules 2007-02-09 10:22:32 UTC (rev 2383)
+++ packages/trunk/wormux/debian/rules 2007-02-09 13:14:51 UTC (rev 2384)
@@ -11,6 +11,14 @@
DEB_CONFIGURE_EXTRA_FLAGS += --bindir=\$${prefix}/games --with-datadir-name=\$${prefix}/share/games/wormux --with-localedir-name=\$${prefix}/share/locale --with-font-path=$(FONT_PATH)
DEB_DH_INSTALL_SOURCEDIR = debian/tmp
+makebuilddir::
+ # move the font out of the way not to account it
+ [ -f DejaVuSans.ttf ] || mv data/font/DejaVuSans.ttf .
+
+cleanbuilddir::
+ # move the font back
+ [ -f DejaVuSans.ttf ] && mv DejaVuSans.ttf data/font || true
+
build/wormux-data::
mkdir -p debian/tmp/usr/share/pixmaps
cp debian/wormux_*.xpm debian/tmp/usr/share/pixmaps
More information about the Pkg-games-commits
mailing list