Explorar o código

upgrading package: gxmame 0.34b -> 0.35b1

Ralf S. Engelschall %!s(int64=21) %!d(string=hai) anos
pai
achega
3728437481
Modificáronse 2 ficheiros con 9 adicións e 58 borrados
  1. 0 51
      gxmame/gxmame.patch
  2. 9 7
      gxmame/gxmame.spec

+ 0 - 51
gxmame/gxmame.patch

@@ -1,51 +0,0 @@
-Index: src/mameio.c
---- src/mameio.c.orig	2003-11-26 10:38:21 +0100
-+++ src/mameio.c	2004-11-06 15:52:31 +0100
-@@ -217,7 +217,7 @@
- 		
- 	/* Generate the list */
- 	/* without including neither history nor mameinfo to have less to parse after*/
--	opt=g_strdup_printf("%s -listinfo -%s /dev/null -%s /dev/null 2>/dev/null",
-+	opt=g_strdup_printf("%s -listxml -%s /dev/null -%s /dev/null | xmame-xml2info 2>/dev/null",
- 			current_exec->path,
- 			available_options->mameinfo_file_option,
- 			available_options->history_file_option);
-Index: src/options.c
---- src/options.c.orig	2003-12-18 20:03:13 +0100
-+++ src/options.c	2004-11-06 15:52:31 +0100
-@@ -7298,8 +7298,6 @@
- 						"%s "				/* newext */
- 						"-%sxsync "
- 						"-%sprivatecmap "
--						"-%sxil "
--						"-%smtxil "
- 						"%s ",				/* Video mode */
- 						x11mode,
- 						(target->cursor)?"":"no",
-@@ -7308,8 +7306,6 @@
- 						newext?newext:"",
- 						(target->xsync)?"":"no",
- 						(target->privatecmap)?"":"no",
--						(target->xil)?"":"no",
--						(target->mtxil)?"":"no",
- 						Video_Mode_option?Video_Mode_option:""
- 						);
- 		}
-@@ -7323,8 +7319,6 @@
- 						"%s "				/* newext */
- 						"-%sxsync "
- 						"-%sprivatecmap "
--						"-%sxil "
--						"-%smtxil "
- 						"%s ",				/* Video mode */
- 						target->x11_mode,
- 						(target->cursor)?"":"no",
-@@ -7334,8 +7328,6 @@
- 						newext?newext:"",
- 						(target->xsync)?"":"no",
- 						(target->privatecmap)?"":"no",
--						(target->xil)?"":"no",
--						(target->mtxil)?"":"no",
- 						Video_Mode_option?Video_Mode_option:""
- 						);
- 		}

+ 9 - 7
gxmame/gxmame.spec

@@ -23,6 +23,10 @@
 ##  SUCH DAMAGE.
 ##
 
+#   package version
+%define       V_dist  0.35beta1
+%define       V_opkg  0.35b1
+
 #   package information
 Name:         gxmame
 Summary:      Gtk Frontend for X-MAME
@@ -33,12 +37,11 @@ Distribution: OpenPKG
 Class:        EVAL
 Group:        Games
 License:      GPL
-Version:      0.34b
-Release:      20041106
+Version:      %{V_opkg}
+Release:      20050210
 
 #   list of sources
-Source0:      http://osdn.dl.sourceforge.net/gxmame/gxmame-%{version}.tar.gz
-Patch0:       gxmame.patch
+Source0:      http://osdn.dl.sourceforge.net/gxmame/gxmame-%{V_dist}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -57,14 +60,13 @@ AutoReqProv:  no
 
 %track
     prog gxmame = {
-        version   = %{version}
+        version   = %{V_dist}
         url       = http://prdownloads.sourceforge.net/gxmame/
         regex     = gxmame-(__VER__)\.tar\.gz
     }
 
 %prep
-    %setup -q
-    %patch -p0
+    %setup -q -n gxmame-%{V_dist}
 
 %build
     CC="%{l_cc}" \