summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-01-06 19:42:06 +0000
committerrillig <rillig@pkgsrc.org>2007-01-06 19:42:06 +0000
commitd037715fbc9842bd53b02d996d50534178f24f1b (patch)
tree7b62a7719dbe7813bce68c88037566306974ab94
parentb4dab364f0448bca14bced981311d51ddeb99d32 (diff)
downloadpkgsrc-d037715fbc9842bd53b02d996d50534178f24f1b.tar.gz
Updated gtetrinet to 0.7.11.
GTetrinet 0.7.11 - 2006-11-15 - Fix a long-standing hang/crash when executing GTetrinet for the first time (Loïc Minier, #114425). - Remember game mode setting (Lucas Nussbaum, #344522). - Fix compilation without libesd (Ricardo Setti, #312995). - Fix a crash on NetBSD/Sparc64 (#338712). - New and updated translations: Nepali (Pawan Chitrakar), Catalan (Jordi Mallach), Welsh (Dafydd Harries), Dutch (Wouter Bolsterlee), Swedish (Daniel Nylander). GTetrinet 0.7.10 - 2006-09-02 - SECURITY RELEASE -- Ref. CVE-2006-3125 - Add index undeflow protections in network code. - Require GTK+ 2.6.0. - Fixed manpage typos. - Require new intltool and move ALL_LINGUAS to po/LINGUAS. - New and updated translations: Bulgarian (Alexander Shopov), Basque (Iñaki Larrañaga), Traditional Chinese (Abel Cheung), German (Jens Seidel), Nepali (Pawal Chitrakar), Finnish (Ilkka Tuohela), Vietnamese (Clytie Siddall). GTetrinet 0.7.9 - 2005-04-29 - Revamped encoding of data handling, fixing the output in partyline, etc. when using UTF-8 locales (Vidar Holen). - Ported to use GtkAboutDialog (Pedro Villavicencio Garrido). - Fixed network latency issues (Julien Plissonneau Duquène). - Fixed crashes in the channel list support (Julien Plissonneau Duquène). - New and updated translations: Traditional Chinese (GNOME HK Team), Canadian English (Adam Weinberger), Norwegian bokmål (Vidar Holen), Bulgarian (Yavor Doganov), Kinyarwanda (Steve Murphy). GTetrinet 0.7.8 - 2004-12-26 - Added minimal support for the Blocktrix protocol, now in use at tetrinet.org (Loren Abrams). - New and updated translations: Italian (Riccardo Bozzo), German (Gerfried Fuchs), Korean (Michael Kim), Canadian English (Adam Weinberger), Serbian (Danilo Šegan), Punjabi (Amanpreet Singh Alam), Norwegian bokmål (Kjartan Maraas), Simplified Chinese (Funda Wang).
-rw-r--r--games/gtetrinet/Makefile7
-rw-r--r--games/gtetrinet/PLIST15
-rw-r--r--games/gtetrinet/distinfo11
-rw-r--r--games/gtetrinet/patches/patch-aa13
-rw-r--r--games/gtetrinet/patches/patch-ab13
-rw-r--r--games/gtetrinet/patches/patch-ac120
6 files changed, 21 insertions, 158 deletions
diff --git a/games/gtetrinet/Makefile b/games/gtetrinet/Makefile
index 31ad1cd7786..0d4e8b04e91 100644
--- a/games/gtetrinet/Makefile
+++ b/games/gtetrinet/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.35 2006/09/16 12:20:37 jmmv Exp $
+# $NetBSD: Makefile,v 1.36 2007/01/06 19:42:06 rillig Exp $
#
-DISTNAME= gtetrinet-0.7.7
-PKGREVISION= 9
+DISTNAME= gtetrinet-0.7.11
CATEGORIES= games gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtetrinet/0.7/}
@@ -16,6 +15,8 @@ USE_TOOLS+= gmake intltool msgfmt pkg-config
USE_PKGLOCALEDIR= YES
BUILD_DEFS+= USE_INET6
+MAKE_FLAGS+= gamesdir=${PREFIX}/bin
+MAKE_FLAGS+= schemadir=${PREFIX}/share/gconf/schemas
.include "../../mk/bsd.prefs.mk"
diff --git a/games/gtetrinet/PLIST b/games/gtetrinet/PLIST
index 26f8f598321..e3fec06aeef 100644
--- a/games/gtetrinet/PLIST
+++ b/games/gtetrinet/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2006/04/17 07:07:19 jlam Exp $
+@comment $NetBSD: PLIST,v 1.5 2007/01/06 19:42:06 rillig Exp $
bin/gtetrinet
man/man6/gtetrinet.6
share/applications/gtetrinet.desktop
@@ -9,6 +9,7 @@ share/gtetrinet/themes/small/blocks.png
share/gtetrinet/themes/small/theme.cfg
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
@@ -17,23 +18,33 @@ share/locale/en_CA/LC_MESSAGES/gtetrinet.mo
share/locale/en_GB/LC_MESSAGES/gtetrinet.mo
share/locale/es/LC_MESSAGES/gtetrinet.mo
share/locale/eu/LC_MESSAGES/gtetrinet.mo
+share/locale/fi/LC_MESSAGES/gtetrinet.mo
share/locale/fr/LC_MESSAGES/gtetrinet.mo
share/locale/ga/LC_MESSAGES/gtetrinet.mo
share/locale/hr/LC_MESSAGES/gtetrinet.mo
+share/locale/it/LC_MESSAGES/gtetrinet.mo
share/locale/ja/LC_MESSAGES/gtetrinet.mo
+share/locale/ko/LC_MESSAGES/gtetrinet.mo
share/locale/mk/LC_MESSAGES/gtetrinet.mo
share/locale/ml/LC_MESSAGES/gtetrinet.mo
share/locale/ms/LC_MESSAGES/gtetrinet.mo
+share/locale/nb/LC_MESSAGES/gtetrinet.mo
+share/locale/ne/LC_MESSAGES/gtetrinet.mo
share/locale/nl/LC_MESSAGES/gtetrinet.mo
-share/locale/no/LC_MESSAGES/gtetrinet.mo
+share/locale/pa/LC_MESSAGES/gtetrinet.mo
share/locale/pl/LC_MESSAGES/gtetrinet.mo
share/locale/pt/LC_MESSAGES/gtetrinet.mo
share/locale/pt_BR/LC_MESSAGES/gtetrinet.mo
share/locale/ru/LC_MESSAGES/gtetrinet.mo
+share/locale/rw/LC_MESSAGES/gtetrinet.mo
share/locale/sr/LC_MESSAGES/gtetrinet.mo
share/locale/sr@Latn/LC_MESSAGES/gtetrinet.mo
share/locale/sv/LC_MESSAGES/gtetrinet.mo
+share/locale/tr/LC_MESSAGES/gtetrinet.mo
share/locale/uk/LC_MESSAGES/gtetrinet.mo
+share/locale/vi/LC_MESSAGES/gtetrinet.mo
+share/locale/zh_CN/LC_MESSAGES/gtetrinet.mo
+share/locale/zh_HK/LC_MESSAGES/gtetrinet.mo
share/locale/zh_TW/LC_MESSAGES/gtetrinet.mo
share/pixmaps/gtetrinet.png
share/pixmaps/gtetrinet/alone.png
diff --git a/games/gtetrinet/distinfo b/games/gtetrinet/distinfo
index bca3d2bff22..d6e19f8f8e3 100644
--- a/games/gtetrinet/distinfo
+++ b/games/gtetrinet/distinfo
@@ -1,8 +1,5 @@
-$NetBSD: distinfo,v 1.5 2006/09/02 12:38:23 adrianp Exp $
+$NetBSD: distinfo,v 1.6 2007/01/06 19:42:06 rillig Exp $
-SHA1 (gtetrinet-0.7.7.tar.gz) = 4223617048386b58e2654b2cbe987ea1f7591011
-RMD160 (gtetrinet-0.7.7.tar.gz) = b2e107538e68af9aa403f4d286ad6bf5691a299a
-Size (gtetrinet-0.7.7.tar.gz) = 476896 bytes
-SHA1 (patch-aa) = d6496e30634be397cabe574ce2b0595f354f00e4
-SHA1 (patch-ab) = 3b7fbcaf1989bda98c445b34e278d7a9d76751f4
-SHA1 (patch-ac) = ece45fdb6e91f77b09425eb00ef7f796c8059c89
+SHA1 (gtetrinet-0.7.11.tar.gz) = 44d2dc0b1a1bcd72fd018a478f0741390b33adff
+RMD160 (gtetrinet-0.7.11.tar.gz) = 1d546758b60ad75380011045c1ec746ddcc273a5
+Size (gtetrinet-0.7.11.tar.gz) = 480097 bytes
diff --git a/games/gtetrinet/patches/patch-aa b/games/gtetrinet/patches/patch-aa
deleted file mode 100644
index 62523e6c660..00000000000
--- a/games/gtetrinet/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2004/08/02 02:08:28 minskim Exp $
-
---- src/Makefile.in.orig 2004-04-18 11:08:27.000000000 -0500
-+++ src/Makefile.in
-@@ -120,7 +120,7 @@ INCLUDES = -DLOCALEDIR=\"$(localedir)\"
- LDADD = $(GTET_LIBS)
- AM_CPPFLAGS = -DGTETRINET_DATA=\"$(pkgdatadir)\"
-
--gamesdir = $(prefix)/games
-+gamesdir = $(bindir)
- games_PROGRAMS = gtetrinet
-
- gtetrinet_SOURCES = client.c client.h commands.c commands.h config.c config.h dialogs.c dialogs.h fields.c fields.h gtetrinet.c gtetrinet.h misc.c misc.h partyline.c partyline.h sound.c sound.h tetrinet.c tetrinet.h tetris.c tetris.h winlist.c winlist.h
diff --git a/games/gtetrinet/patches/patch-ab b/games/gtetrinet/patches/patch-ab
deleted file mode 100644
index 5ec95e00768..00000000000
--- a/games/gtetrinet/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2004/08/02 02:08:28 minskim Exp $
-
---- Makefile.in.orig 2004-04-18 11:08:05.000000000 -0500
-+++ Makefile.in
-@@ -116,7 +116,7 @@ SUBDIRS = doc po src themes icons
- icon_DATA = gtetrinet.png
- icondir = $(datadir)/pixmaps
-
--schemadir = $(sysconfdir)/gconf/schemas
-+schemadir = $(datadir)/gconf/schemas
- schema_in_files = gtetrinet.schemas.in
- schema_DATA = $(schema_in_files:.schemas.in=.schemas)
-
diff --git a/games/gtetrinet/patches/patch-ac b/games/gtetrinet/patches/patch-ac
deleted file mode 100644
index 07312a783d9..00000000000
--- a/games/gtetrinet/patches/patch-ac
+++ /dev/null
@@ -1,120 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2006/09/02 12:38:23 adrianp Exp $
-
---- src/tetrinet.c.orig 2003-06-17 00:18:58.000000000 +0100
-+++ src/tetrinet.c
-@@ -238,7 +238,7 @@ void tetrinet_inmessage (enum inmsg_type
- break;
- case IN_PLAYERNUM:
- tmp_pnum = atoi (data);
-- if (tmp_pnum >= MAX_PLAYERS)
-+ if (tmp_pnum >= MAX_PLAYERS || tmp_pnum < 0)
- break;
- bigfieldnum = playernum = tmp_pnum;
- if (!connected)
-@@ -296,7 +296,7 @@ void tetrinet_inmessage (enum inmsg_type
- token = strtok (data, " ");
- if (token == NULL) break;
- pnum = atoi (token);
-- if (pnum >= MAX_PLAYERS)
-+ if (pnum >= MAX_PLAYERS || pnum < 0)
- break;
- token = strtok (NULL, "");
- if (token == NULL) break;
-@@ -324,7 +324,7 @@ void tetrinet_inmessage (enum inmsg_type
- token = strtok (data, " ");
- if (token == NULL) break;
- pnum = atoi (token);
-- if (pnum >= MAX_PLAYERS)
-+ if (pnum >= MAX_PLAYERS || pnum < 0)
- break;
- if (!playercount)
- break;
-@@ -353,7 +353,7 @@ void tetrinet_inmessage (enum inmsg_type
- token = strtok (data, " ");
- if (token == NULL) break;
- pnum = atoi (token);
-- if (pnum >= MAX_PLAYERS)
-+ if (pnum >= MAX_PLAYERS || pnum < 0)
- break;
- if ((pnum == playernum) && !spectating)
- g_snprintf (buf, sizeof(buf),
-@@ -382,7 +382,7 @@ void tetrinet_inmessage (enum inmsg_type
- token = strtok (data, " ");
- if (token == NULL) break;
- pnum = atoi (token);
-- if (pnum >= MAX_PLAYERS)
-+ if (pnum >= MAX_PLAYERS || pnum < 0)
- break;
- token = strtok (NULL, "");
- if (token == NULL) token = "";
-@@ -401,7 +401,7 @@ void tetrinet_inmessage (enum inmsg_type
- token = strtok (data, " ");
- if (token == NULL) break;
- pnum = atoi (token);
-- if (pnum >= MAX_PLAYERS)
-+ if (pnum >= MAX_PLAYERS || pnum < 0)
- break;
- token = strtok (NULL, "");
- if (token == NULL) token = "";
-@@ -510,7 +510,7 @@ void tetrinet_inmessage (enum inmsg_type
- token = strtok (data, " ");
- if (token == NULL) break;
- pnum = atoi (token);
-- if (pnum >= MAX_PLAYERS)
-+ if (pnum >= MAX_PLAYERS || pnum < 0)
- break;
- token = strtok (NULL, "");
- if (token == NULL) token = "";
-@@ -522,7 +522,7 @@ void tetrinet_inmessage (enum inmsg_type
- {
- int pnum;
- pnum = atoi (data);
-- if (pnum >= MAX_PLAYERS)
-+ if (pnum >= MAX_PLAYERS || pnum < 0)
- break;
- /* player is out */
- playerplaying[pnum] = 0;
-@@ -532,7 +532,7 @@ void tetrinet_inmessage (enum inmsg_type
- {
- int pnum;
- pnum = atoi (data);
-- if (pnum >= MAX_PLAYERS)
-+ if (pnum >= MAX_PLAYERS || pnum < 0)
- break;
- if (teamnames[pnum][0])
- g_snprintf (buf, sizeof(buf),
-@@ -671,7 +671,7 @@ void tetrinet_inmessage (enum inmsg_type
- s = strtok (data, " ");
- if (s == NULL) break;
- pnum = atoi (s);
-- if (pnum >= MAX_PLAYERS)
-+ if (pnum >= MAX_PLAYERS || pnum < 0)
- break;
- s = strtok (NULL, "");
- if (s == NULL) break;
-@@ -705,14 +705,14 @@ void tetrinet_inmessage (enum inmsg_type
- token = strtok (data, " ");
- if (token == NULL) break;
- to = atoi (token);
-- if (to >= MAX_PLAYERS)
-+ if (to >= MAX_PLAYERS || to < 0)
- break;
- sbid = strtok (NULL, " ");
- if (sbid == NULL) break;
- token = strtok (NULL, "");
- if (token == NULL) break;
- from = atoi(token);
-- if (from >= MAX_PLAYERS)
-+ if (from >= MAX_PLAYERS || from < 0)
- break;
- for (sbnum = 0; sbinfo[sbnum].id; sbnum ++)
- if (strcmp (sbid, sbinfo[sbnum].id) == 0) break;
-@@ -727,7 +727,7 @@ void tetrinet_inmessage (enum inmsg_type
- token = strtok (data, " ");
- if (token == NULL) break;
- pnum = atoi (token);
-- if (pnum >= MAX_PLAYERS)
-+ if (pnum >= MAX_PLAYERS || pnum <= 0)
- break;
- token = strtok (NULL, "");
- if (token == NULL) break;