r527 - in non-free/packages/cube-data/trunk/debian: . patches

Gonéri Le Bouder goneri-guest at costa.debian.org
Mon Apr 17 16:06:27 UTC 2006


Author: goneri-guest
Date: 2006-04-17 16:06:19 +0000 (Mon, 17 Apr 2006)
New Revision: 527

Added:
   non-free/packages/cube-data/trunk/debian/patches/
   non-free/packages/cube-data/trunk/debian/patches/00list
   non-free/packages/cube-data/trunk/debian/patches/01_nonfree_warning_box.patch
Modified:
   non-free/packages/cube-data/trunk/debian/rules
Log:
add a warning if people failed to connect to a
server to warn the use about the problem of the
nonfree release 


Added: non-free/packages/cube-data/trunk/debian/patches/00list
===================================================================
--- non-free/packages/cube-data/trunk/debian/patches/00list	2006-04-17 12:54:32 UTC (rev 526)
+++ non-free/packages/cube-data/trunk/debian/patches/00list	2006-04-17 16:06:19 UTC (rev 527)
@@ -0,0 +1 @@
+01_nonfree_warning_box.patch

Added: non-free/packages/cube-data/trunk/debian/patches/01_nonfree_warning_box.patch
===================================================================
--- non-free/packages/cube-data/trunk/debian/patches/01_nonfree_warning_box.patch	2006-04-17 12:54:32 UTC (rev 526)
+++ non-free/packages/cube-data/trunk/debian/patches/01_nonfree_warning_box.patch	2006-04-17 16:06:19 UTC (rev 527)
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+# DP: Patch to add a menu
+
+diff -ru cube-data-2005.08.29.orig/data/menus.cfg cube-data-2005.08.29/data/menus.cfg
+--- cube-data-2005.08.29.orig/data/menus.cfg	2006-04-17 17:01:40.000000000 +0200
++++ cube-data-2005.08.29/data/menus.cfg	2006-04-17 17:08:19.000000000 +0200
+@@ -20,6 +20,13 @@
+ menuitem "by Wouter van Oortmerssen" " "
+ menuitem "http://www.cubeengine.com/" "echo sorry no built-in web browser yet :)"
+ 
++newmenu  nonfreeclient
++
++menuitem "Connection failed" " "
++menuitem "Some public servers use a specific release of Cube" " "
++menuitem "In Debian, this release if packaged in cube-client-nonfree" " "
++menuitem "Read: /usr/share/doc/cube/README.Debian" " "
++menuitme "Please do NOT contact cube author with this problem!" " "
+ 
+ 
+ alias genmapitems [


Property changes on: non-free/packages/cube-data/trunk/debian/patches/01_nonfree_warning_box.patch
___________________________________________________________________
Name: svn:executable
   + *

Modified: non-free/packages/cube-data/trunk/debian/rules
===================================================================
--- non-free/packages/cube-data/trunk/debian/rules	2006-04-17 12:54:32 UTC (rev 526)
+++ non-free/packages/cube-data/trunk/debian/rules	2006-04-17 16:06:19 UTC (rev 527)
@@ -33,7 +33,7 @@
 
 build: build-stamp
 
-build-stamp: configure-stamp 
+build-stamp: patch configure-stamp 
 	dh_testdir
 	
 	# Add here commands to compile the package.
@@ -43,7 +43,7 @@
 
 	touch build-stamp
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp configure-stamp
@@ -120,6 +120,13 @@
 	dh_md5sums
 	dh_builddeb
 
+patch: patch-stamp
+patch-stamp:
+	dpatch apply-all
 
+unpatch:
+	dpatch deapply-all
+	rm -Rf patch-stamp debian/patched
+
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install configure patch unpatch




More information about the Pkg-games-devel mailing list