aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-05-10 04:52:27 +0800
committerjylefort <jylefort@FreeBSD.org>2005-05-10 04:52:27 +0800
commitc7bdea25952344b1f900658dff77a130177904c8 (patch)
treeb5322fed9c504b3b06bbaa37b6636c36a44acde6
parentc2bc3d603dd4566ae8bf86d6865d16b7ac8d8002 (diff)
downloadfreebsd-ports-gnome-c7bdea25952344b1f900658dff77a130177904c8.tar.gz
freebsd-ports-gnome-c7bdea25952344b1f900658dff77a130177904c8.tar.zst
freebsd-ports-gnome-c7bdea25952344b1f900658dff77a130177904c8.zip
- Update to 0.7.9 [1]
- Use GCONF_SCHEMAS PR: ports/80781 [1] Submitted by: maintainer [1]
-rw-r--r--games/gtetrinet/Makefile4
-rw-r--r--games/gtetrinet/distinfo4
-rw-r--r--games/gtetrinet/files/patch-src_misc.c18
-rw-r--r--games/gtetrinet/pkg-plist7
4 files changed, 26 insertions, 7 deletions
diff --git a/games/gtetrinet/Makefile b/games/gtetrinet/Makefile
index 86c3655bd3de..1cf68d1cdd3b 100644
--- a/games/gtetrinet/Makefile
+++ b/games/gtetrinet/Makefile
@@ -5,8 +5,7 @@
# $FreeBSD$
PORTNAME= gtetrinet
-PORTVERSION= 0.7.8
-PORTREVISION= 1
+PORTVERSION= 0.7.9
CATEGORIES= games gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}
@@ -26,6 +25,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CONFIGURE_ARGS= --bindir=${PREFIX}/bin --enable-ipv6
MAN6= gtetrinet.6
+GCONF_SCHEMAS= gtetrinet.schemas
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
diff --git a/games/gtetrinet/distinfo b/games/gtetrinet/distinfo
index 3a5b2904c61d..c767891099b8 100644
--- a/games/gtetrinet/distinfo
+++ b/games/gtetrinet/distinfo
@@ -1,2 +1,2 @@
-MD5 (gnome2/gtetrinet-0.7.8.tar.bz2) = 825e95f8665e4ada682c59edb5fcd861
-SIZE (gnome2/gtetrinet-0.7.8.tar.bz2) = 443233
+MD5 (gnome2/gtetrinet-0.7.9.tar.bz2) = e878c76820a9453433bb9bca5618d52b
+SIZE (gnome2/gtetrinet-0.7.9.tar.bz2) = 525526
diff --git a/games/gtetrinet/files/patch-src_misc.c b/games/gtetrinet/files/patch-src_misc.c
new file mode 100644
index 000000000000..4f2680e0e54b
--- /dev/null
+++ b/games/gtetrinet/files/patch-src_misc.c
@@ -0,0 +1,18 @@
+--- src/misc.c.orig Sun May 8 16:05:33 2005
++++ src/misc.c Sun May 8 16:06:48 2005
+@@ -145,6 +145,7 @@
+ GtkTextIter iter;
+ guchar* p;
+ guchar* text=g_strdup(str);
++ gchar out[7]; /* max utf-8 length plus \0 */
+
+
+ /* is the scroll bar at the bottom ?? */
+@@ -201,7 +202,6 @@
+ {
+ tmp=g_utf8_get_char(p); /* It's not a color code, so get the entire char. */
+ /* gchar *out = g_locale_to_utf8 (&text[i], 1, NULL, NULL, NULL); */
+- gchar out[7]; /* max utf-8 length plus \0 */
+ out[g_unichar_to_utf8(tmp,out)]='\0'; /* convert and terminate */
+ g_assert(g_utf8_validate(out,-1,NULL));
+
diff --git a/games/gtetrinet/pkg-plist b/games/gtetrinet/pkg-plist
index 77523652ca8f..42920ed80767 100644
--- a/games/gtetrinet/pkg-plist
+++ b/games/gtetrinet/pkg-plist
@@ -1,7 +1,4 @@
bin/gtetrinet
-@unexec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/gtetrinet.schemas > /dev/null || /usr/bin/true
-etc/gconf/schemas/gtetrinet.schemas
-@exec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/gtetrinet.schemas > /dev/null || /usr/bin/true
share/gnome/applications/gtetrinet.desktop
share/gnome/gtetrinet/themes/default/blocks.png
share/gnome/gtetrinet/themes/default/theme.cfg
@@ -12,6 +9,7 @@ share/gnome/pixmaps/gtetrinet/team.png
share/gnome/pixmaps/gtetrinet.png
share/locale/am/LC_MESSAGES/gtetrinet.mo
share/locale/az/LC_MESSAGES/gtetrinet.mo
+share/locale/bg/LC_MESSAGES/gtetrinet.mo
share/locale/ca/LC_MESSAGES/gtetrinet.mo
share/locale/cs/LC_MESSAGES/gtetrinet.mo
share/locale/cy/LC_MESSAGES/gtetrinet.mo
@@ -34,6 +32,9 @@ share/locale/pt/LC_MESSAGES/gtetrinet.mo
share/locale/it/LC_MESSAGES/gtetrinet.mo
share/locale/ko/LC_MESSAGES/gtetrinet.mo
share/locale/pa/LC_MESSAGES/gtetrinet.mo
+share/locale/tr/LC_MESSAGES/gtetrinet.mo
+share/locale/vi/LC_MESSAGES/gtetrinet.mo
+share/locale/rw/LC_MESSAGES/gtetrinet.mo
share/locale/nb/LC_MESSAGES/gtetrinet.mo
share/locale/zh_CN/LC_MESSAGES/gtetrinet.mo
share/locale/pt_BR/LC_MESSAGES/gtetrinet.mo