ports/79934: [Maintainer Update] update emulators/gxmame to 0.35beta2
Miguel Mendez
flynn at energyhq.es.eu.org
Thu Apr 14 20:20:27 UTC 2005
>Number: 79934
>Category: ports
>Synopsis: [Maintainer Update] update emulators/gxmame to 0.35beta2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Apr 14 20:20:25 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Miguel Mendez
>Release: FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD 5.4-STABLE #0: Mon Apr 4 18:33:00 CEST 2005
root at scienide.energyhq.es.eu.org:/usr/obj/usr/src/sys/SCIENIDE.SMP
>Description:
Changes:
- Fixed a bug in the listinfo parser (xmame <= 0.81) that switched CPUs
with sound CPUs.
- Use standard GTK+ about dialog if GTK+ version >=2.6.0
- Several Gnome HIG fixes (William Jon McCann)
- Various GTK2 cleanups (William Jon McCann)
- Preferences dialog revamp (William Jon McCann)
- Image handling code overhaul (William Jon McCann)
- Try to use system theme images if possible (William Jon McCann)
- Get rid of deprecated toolbar API (William Jon McCann)
On the FreeBSD side of things:
-Fixed build on RELENG_4 (missing intlhack in USE_GNOME)
-Added a patch to correct a typo that prevents build with gcc 2.95
(this has been reported to authors)
-Add WITHOUT_NLS
-Pet portlint
>How-To-Repeat:
>Fix:
--- gxmame.diff begins here ---
diff -ruN gxmame.old/Makefile gxmame/Makefile
--- gxmame.old/Makefile Sat Mar 12 11:53:26 2005
+++ gxmame/Makefile Thu Apr 14 21:52:50 2005
@@ -7,11 +7,11 @@
PORTNAME= gxmame
PORTVERSION= 0.35
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}-${PORTVERSION}beta1
+DISTNAME= ${PORTNAME}-${PORTVERSION}beta2
MAINTAINER= flynn at energyhq.es.eu.org
COMMENT= GXmame is a GTK frontend for xmame
@@ -23,15 +23,23 @@
USE_GZIP= yes
USE_ICONV= yes
USE_XLIB= yes
-USE_GNOME= gtk20
+USE_GNOME= gtk20 intlhack
USE_GMAKE= yes
USE_REINPLACE= yes
-#ONLY_FOR_ARCHS= i386
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-xmame-dir=${X11BASE}/share/xmame
+
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
+PLIST_SUB+= NLS=""
+.endif
+
+MAN6= gxmame.6
post-configure:
@${REINPLACE_CMD} -e 's|$$(top_builddir)/./mkinstalldirs|./mkinstalldirs|' ${WRKSRC}/intl/Makefile
diff -ruN gxmame.old/distinfo gxmame/distinfo
--- gxmame.old/distinfo Sat Mar 12 10:28:14 2005
+++ gxmame/distinfo Thu Apr 14 20:40:49 2005
@@ -1,2 +1,2 @@
-MD5 (gxmame-0.35beta1.tar.gz) = f5eac2b6e397a9a1996ecaef1c5b8a20
-SIZE (gxmame-0.35beta1.tar.gz) = 760894
+MD5 (gxmame-0.35beta2.tar.gz) = 2ef166272fe2d6b0dfe51dd1616a851c
+SIZE (gxmame-0.35beta2.tar.gz) = 697013
diff -ruN gxmame.old/files/patch-src::common.h gxmame/files/patch-src::common.h
--- gxmame.old/files/patch-src::common.h Thu Jan 1 01:00:00 1970
+++ gxmame/files/patch-src::common.h Thu Apr 14 21:57:03 2005
@@ -0,0 +1,11 @@
+--- src/common.h.orig Thu Apr 14 05:31:59 2005
++++ src/common.h Thu Apr 14 05:32:14 2005
+@@ -66,7 +66,7 @@
+ #endif /* __GNUC__ */
+
+ #else
+-# ifdef __GNUC___
++# ifdef __GNUC__
+ # define GXMAME_DEBUG(msg...) do { } while(0)
+ # else
+ # define GXMAME_DEBUG(...) do { } while(0)
diff -ruN gxmame.old/pkg-plist gxmame/pkg-plist
--- gxmame.old/pkg-plist Sat Mar 12 10:28:14 2005
+++ gxmame/pkg-plist Thu Apr 14 21:05:16 2005
@@ -1,16 +1,19 @@
bin/gxmame
share/applications/gxmame.desktop
-share/locale/de/LC_MESSAGES/gxmame.mo
-share/locale/el/LC_MESSAGES/gxmame.mo
-share/locale/es/LC_MESSAGES/gxmame.mo
-share/locale/fr/LC_MESSAGES/gxmame.mo
-share/locale/it/LC_MESSAGES/gxmame.mo
-share/locale/nl/LC_MESSAGES/gxmame.mo
-share/locale/pl/LC_MESSAGES/gxmame.mo
-share/locale/zh_TW/LC_MESSAGES/gxmame.mo
-share/locale/zh_CN/LC_MESSAGES/gxmame.mo
-share/icons/gxmame.png
-share/icons/mini/gxmame.xpm
+%%NLS%%share/locale/de/LC_MESSAGES/gxmame.mo
+%%NLS%%share/locale/el/LC_MESSAGES/gxmame.mo
+%%NLS%%share/locale/es/LC_MESSAGES/gxmame.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/gxmame.mo
+%%NLS%%share/locale/it/LC_MESSAGES/gxmame.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/gxmame.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/gxmame.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/gxmame.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/gxmame.mo
+%%DATADIR%%/gxmame.png
+%%DATADIR%%/gxmame-general.png
+%%DATADIR%%/gxmame-screen.png
+share/pixmaps/gxmame.png
+share/pixmaps/gxmame.xpm
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/BUGS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
@@ -31,6 +34,7 @@
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/gui
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+ at dirrm %%DATADIR%%
@unexec rmdir %D/share/icons/mini 2>/dev/null || true
@unexec rmdir %D/share/icons 2>/dev/null || true
@unexec rmdir %D/share/applications 2>/dev/null || true
--- gxmame.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list