r5210 - in packages/trunk/shisen.app/debian: . patches

Barry deFreese bddebian-guest at alioth.debian.org
Fri Jan 4 05:32:09 UTC 2008


Author: bddebian-guest
Date: 2008-01-04 05:32:08 +0000 (Fri, 04 Jan 2008)
New Revision: 5210

Added:
   packages/trunk/shisen.app/debian/patches/
   packages/trunk/shisen.app/debian/patches/01_plist_update.patch
   packages/trunk/shisen.app/debian/patches/02_main_m_menu_name.patch
   packages/trunk/shisen.app/debian/patches/03_GNUmakefile.patch
   packages/trunk/shisen.app/debian/patches/04_gshisen_m_appname.patch
   packages/trunk/shisen.app/debian/patches/series
Modified:
   packages/trunk/shisen.app/debian/
   packages/trunk/shisen.app/debian/changelog
   packages/trunk/shisen.app/debian/control
   packages/trunk/shisen.app/debian/rules
Log:
Add origUrl property
  * Add quilt patching system
  * Move source changes to patches:
    + 01_plist_update.patch - Change appname and version
    + 02_main_m_menu_name.patch - Change appname and version
    + 03_GNUmakefile.patch - Comment out GS_MAKE_DIRS
    + 04_gshisen_m_appname.patch - Change appname and version



Property changes on: packages/trunk/shisen.app/debian
___________________________________________________________________
Name: svn-bp:origUrl
   + http://pkg-games.alioth.debian.org/tarballs/shisen.app_1.2.0.orig.tar.gz

Modified: packages/trunk/shisen.app/debian/changelog
===================================================================
--- packages/trunk/shisen.app/debian/changelog	2008-01-04 04:55:52 UTC (rev 5209)
+++ packages/trunk/shisen.app/debian/changelog	2008-01-04 05:32:08 UTC (rev 5210)
@@ -9,6 +9,12 @@
   * Add watch file
   * Bump debhelper build-dep and compat to 5
   * Bump Standards Version to 3.7.3
+  * Add quilt patching system
+  * Move source changes to patches:
+    + 01_plist_update.patch - Change appname and version
+    + 02_main_m_menu_name.patch - Change appname and version
+    + 03_GNUmakefile.patch - Comment out GS_MAKE_DIRS
+    + 04_gshisen_m_appname.patch - Change appname and version
 
  -- Barry deFreese <bddebian at comcast.net>  Wed, 12 Dec 2007 17:45:40 -0500
 

Modified: packages/trunk/shisen.app/debian/control
===================================================================
--- packages/trunk/shisen.app/debian/control	2008-01-04 04:55:52 UTC (rev 5209)
+++ packages/trunk/shisen.app/debian/control	2008-01-04 05:32:08 UTC (rev 5210)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
 Uploaders: Barry deFreese <bddebian at comcast.net>
-Build-Depends: debhelper (>= 5.0.0), libgnustep-gui-dev (>= 0.12.0), gnustep-make
+Build-Depends: debhelper (>= 5.0.0), quilt, libgnustep-gui-dev (>= 0.12.0), gnustep-make
 Standards-Version: 3.7.3
 Homepage: http://www.gnustep.it/enrico/gshisen/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/shisen.app/

Added: packages/trunk/shisen.app/debian/patches/01_plist_update.patch
===================================================================
--- packages/trunk/shisen.app/debian/patches/01_plist_update.patch	                        (rev 0)
+++ packages/trunk/shisen.app/debian/patches/01_plist_update.patch	2008-01-04 05:32:08 UTC (rev 5210)
@@ -0,0 +1,14 @@
+diff -urN gshisen-1.2.0.orig/GShisenInfo.plist gshisen-1.2.0/GShisenInfo.plist
+--- gshisen-1.2.0.orig/GShisenInfo.plist	2003-08-16 16:40:57.000000000 -0400
++++ gshisen-1.2.0/GShisenInfo.plist	2008-01-03 18:38:59.000000000 -0500
+@@ -1,7 +1,7 @@
+ {
+     NSIcon = "GShisen.tiff";
+-    ApplicationDescription = "GShisen";
++    ApplicationDescription = "Shisen";
+     ApplicationIcon = "GShisen.tiff";
+-    ApplicationName = "GShisen";
+-    ApplicationRelease = "1.2";
++    ApplicationName = "Shisen";
++    ApplicationRelease = "1.2.0";
+ }

Added: packages/trunk/shisen.app/debian/patches/02_main_m_menu_name.patch
===================================================================
--- packages/trunk/shisen.app/debian/patches/02_main_m_menu_name.patch	                        (rev 0)
+++ packages/trunk/shisen.app/debian/patches/02_main_m_menu_name.patch	2008-01-04 05:32:08 UTC (rev 5210)
@@ -0,0 +1,12 @@
+diff -urN gshisen-1.2.0.orig/main.m gshisen-1.2.0/main.m
+--- gshisen-1.2.0.orig/main.m	2003-08-16 16:40:57.000000000 -0400
++++ gshisen-1.2.0/main.m	2008-01-03 18:40:35.000000000 -0500
+@@ -36,7 +36,7 @@
+ 	NSMenu *game;
+ 
+ #ifndef __APPLE__
+-	menu = [[NSMenu alloc] initWithTitle:@"GShisen"];
++	menu = [[NSMenu alloc] initWithTitle:@"Shisen"];
+ 	[[NSApplication sharedApplication] setMainMenu: menu];		
+ #else
+ 	mainMenu = [[NSApplication sharedApplication] mainMenu];

Added: packages/trunk/shisen.app/debian/patches/03_GNUmakefile.patch
===================================================================
--- packages/trunk/shisen.app/debian/patches/03_GNUmakefile.patch	                        (rev 0)
+++ packages/trunk/shisen.app/debian/patches/03_GNUmakefile.patch	2008-01-04 05:32:08 UTC (rev 5210)
@@ -0,0 +1,22 @@
+diff -urN gshisen-1.2.0.orig/GNUmakefile gshisen-1.2.0/GNUmakefile
+--- gshisen-1.2.0.orig/GNUmakefile	2004-10-03 17:56:46.000000000 -0400
++++ gshisen-1.2.0/GNUmakefile	2008-01-03 18:43:12.000000000 -0500
+@@ -1,7 +1,7 @@
+ 
+-GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)
++#GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)
+ 
+-GNUSTEP_MAKEFILES = $(GNUSTEP_SYSTEM_ROOT)/Makefiles
++#GNUSTEP_MAKEFILES = $(GNUSTEP_SYSTEM_ROOT)/Makefiles
+ 
+ include $(GNUSTEP_MAKEFILES)/common.make
+ 
+@@ -27,7 +27,7 @@
+ 
+ -include GNUmakefile.preamble
+ 
+--include GNUmakefile.local
++#-include GNUmakefile.local
+ 
+ include $(GNUSTEP_MAKEFILES)/application.make
+ 

Added: packages/trunk/shisen.app/debian/patches/04_gshisen_m_appname.patch
===================================================================
--- packages/trunk/shisen.app/debian/patches/04_gshisen_m_appname.patch	                        (rev 0)
+++ packages/trunk/shisen.app/debian/patches/04_gshisen_m_appname.patch	2008-01-04 05:32:08 UTC (rev 5210)
@@ -0,0 +1,34 @@
+diff -urN gshisen-1.2.0.orig/gshisen.m gshisen-1.2.0/gshisen.m
+--- gshisen-1.2.0.orig/gshisen.m	2003-09-18 20:07:44.000000000 -0400
++++ gshisen-1.2.0/gshisen.m	2008-01-03 18:45:23.000000000 -0500
+@@ -37,7 +37,7 @@
+                             defer: NO];
+     [win setMaxSize: NSMakeSize(740, 520)];
+     [win setMinSize: NSMakeSize(740, 490)];
+-    [win setTitle: @"GShisen"];
++    [win setTitle: @"Shisen"];
+     board = [[GSBoard alloc] initWithFrame: NSMakeRect(0, 0, 740, 490)];
+     [win setContentView: board];
+     [win center];
+@@ -80,10 +80,10 @@
+   NSMutableDictionary *d;
+ 
+   d = [NSMutableDictionary new];
+-  [d setObject: @"GShisen" forKey: @"ApplicationName"];
++  [d setObject: @"Shisen" forKey: @"ApplicationName"];
+   [d setObject: @"The first GNUstep Game!" 
+      forKey: @"ApplicationDescription"];
+-  [d setObject: @"GShisen 1.2" forKey: @"ApplicationRelease"];
++  [d setObject: @"Shisen 1.2.0" forKey: @"ApplicationRelease"];
+   [d setObject: @"September 2003" forKey: @"FullVersionID"];
+   [d setObject: [NSArray arrayWithObjects: 
+ 			   @"James Dessart <james at skwirl.ca>",
+@@ -91,7 +91,7 @@
+ 				@"Larry Coleman <larryliberty at yahoo.com>",
+ 				nil]
+      forKey: @"Authors"];
+-  [d setObject: @"See http://www.imago.ro/gshisen" forKey: @"URL"];
++  [d setObject: @"See http://www.gnustep.it/enrico/gshisen/" forKey: @"URL"];
+   [d setObject: @"Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc."
+      forKey: @"Copyright"];
+   [d setObject: @"Released under the GNU General Public License 2.0"

Added: packages/trunk/shisen.app/debian/patches/series
===================================================================
--- packages/trunk/shisen.app/debian/patches/series	                        (rev 0)
+++ packages/trunk/shisen.app/debian/patches/series	2008-01-04 05:32:08 UTC (rev 5210)
@@ -0,0 +1,4 @@
+01_plist_update.patch
+02_main_m_menu_name.patch
+03_GNUmakefile.patch
+04_gshisen_m_appname.patch

Modified: packages/trunk/shisen.app/debian/rules
===================================================================
--- packages/trunk/shisen.app/debian/rules	2008-01-04 04:55:52 UTC (rev 5209)
+++ packages/trunk/shisen.app/debian/rules	2008-01-04 05:32:08 UTC (rev 5210)
@@ -2,16 +2,19 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+include /usr/share/quilt/quilt.make
+
 include /usr/share/GNUstep/debian/config.mk
 GNUSTEP_MAKEFILES=$(GS_MAKE_DIR)
 
-build: build-stamp
+build: patch build-stamp
 build-stamp:
 	dh_testdir
 	gs_make
 	touch build-stamp
 
-clean:
+clean: patch clean-stamp unpatch
+clean-stamp:
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp




More information about the Pkg-games-commits mailing list