r2179 - in packages/trunk/wop/debian: . patches

Gonéri Le Bouder goneri-guest at alioth.debian.org
Wed Dec 20 02:23:15 CET 2006


Author: goneri-guest
Date: 2006-12-20 02:23:14 +0100 (Wed, 20 Dec 2006)
New Revision: 2179

Added:
   packages/trunk/wop/debian/patches/
   packages/trunk/wop/debian/patches/fix_data_path.diff
   packages/trunk/wop/debian/patches/series
Modified:
   packages/trunk/wop/debian/control
   packages/trunk/wop/debian/rules
Log:
builds successfully
improve the description
need to add a manpage
builddeps on quilt


Modified: packages/trunk/wop/debian/control
===================================================================
--- packages/trunk/wop/debian/control	2006-12-20 01:10:26 UTC (rev 2178)
+++ packages/trunk/wop/debian/control	2006-12-20 01:23:14 UTC (rev 2179)
@@ -2,15 +2,16 @@
 Section: games
 Priority: optional
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5.0.0), libsdl1.2-dev, 
+Build-Depends: debhelper (>= 5.0.0), libsdl1.2-dev, libsdl-ttf2.0-dev,
+ libsdl-image1.2-dev, libsdl-mixer1.2-dev, libsdl-net1.2-dev, quilt
 Standards-Version: 3.7.2
 Uploaders: Gonéri Le Bouder <goneri at rulezlan.org>
 
 Package: wop
 Architecture: any
-Depends: ${shlibs:Depends}, wop (>= 2005.12.21)
+Depends: ${shlibs:Depends}, wop-data (>= 2005.12.21)
 Description: Worms like multiplayer, realtime game
- This is a multi-player, real-time clone of Worms.
+ Wörms of prey  is a multi-player, real-time clone of Worms.
  .
  You control a little worm and try to score as many frags as possible by
  shooting other worms or scoring goals.

Added: packages/trunk/wop/debian/patches/fix_data_path.diff
===================================================================
--- packages/trunk/wop/debian/patches/fix_data_path.diff	2006-12-20 01:10:26 UTC (rev 2178)
+++ packages/trunk/wop/debian/patches/fix_data_path.diff	2006-12-20 01:23:14 UTC (rev 2179)
@@ -0,0 +1,13 @@
+Index: wop-0.4.3/woprc
+===================================================================
+--- wop-0.4.3.orig/woprc	2006-12-20 02:29:13.000000000 +0100
++++ wop-0.4.3/woprc	2006-12-20 02:29:36.000000000 +0100
+@@ -30,7 +30,7 @@
+ 
+ ## path of the data directory
+ ##  - optional, default "./data"
+-data = ./data
++data = /usr/share/games/wop/ 
+ 
+ ## server name or IP address
+ ##  - optional, default "localhost"

Added: packages/trunk/wop/debian/patches/series
===================================================================
--- packages/trunk/wop/debian/patches/series	2006-12-20 01:10:26 UTC (rev 2178)
+++ packages/trunk/wop/debian/patches/series	2006-12-20 01:23:14 UTC (rev 2179)
@@ -0,0 +1 @@
+fix_data_path.diff

Modified: packages/trunk/wop/debian/rules
===================================================================
--- packages/trunk/wop/debian/rules	2006-12-20 01:10:26 UTC (rev 2178)
+++ packages/trunk/wop/debian/rules	2006-12-20 01:23:14 UTC (rev 2179)
@@ -17,17 +17,24 @@
 
 build-stamp:
 	dh_testdir
+	QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
+	# Let's go!
+	# Work around for the clean target of upstream Makefiles
+	touch sdlwidgets/Makefile.depend
+	touch src/Makefile.depend
 	make
 	touch build-stamp
 
 clean:
 	dh_testdir
 	dh_testroot
-	make clean
-	rm -f build-stamp
+	# make clean doesn't work properly
+#	make clean 
+	find -name 'Makefile.depend' -exec rm {} \;
 	dh_clean 
+	QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
 
-install: build $(MANPAGES)
+install: build
 	dh_testdir
 	dh_testroot
 	dh_clean -k 
@@ -41,10 +48,10 @@
 	dh_testdir
 	dh_testroot
 	dh_installchangelogs 
-	#dh_installdocs
+	dh_installdocs
 	dh_desktop
 	dh_installmenu
-	#dh_installman $(MANPAGES)
+#	dh_installman 
 	dh_link
 	dh_strip
 	dh_compress




More information about the Pkg-games-commits mailing list