pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/qnetwalk Update to 1.2, provided by Ian Zagorski...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/454ff089de01
branches:  trunk
changeset: 500867:454ff089de01
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Oct 13 18:01:27 2005 +0000

description:
Update to 1.2, provided by Ian Zagorskih in PR 29941.

2005-04-10  * QNetWalk 1.2 released.
            * Added German translation by Thomas Loeber
            * Added Spanish translation by Ismael Asensio
            * Added Polish translation by Aleksander Wojdyga
            * Added Brazilian Portuguese translation by Paulo Vitor
            * Added the desktop file.

diffstat:

 games/qnetwalk/Makefile         |   4 ++--
 games/qnetwalk/PLIST            |   6 +++++-
 games/qnetwalk/distinfo         |  14 +++++++-------
 games/qnetwalk/patches/patch-aa |  41 ++++++++++++++++++++---------------------
 games/qnetwalk/patches/patch-ab |   7 +++++--
 games/qnetwalk/patches/patch-ac |  12 ++++++++----
 6 files changed, 47 insertions(+), 37 deletions(-)

diffs (155 lines):

diff -r fbc72886f648 -r 454ff089de01 games/qnetwalk/Makefile
--- a/games/qnetwalk/Makefile   Thu Oct 13 17:35:08 2005 +0000
+++ b/games/qnetwalk/Makefile   Thu Oct 13 18:01:27 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2005/05/22 20:08:02 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2005/10/13 18:01:27 wiz Exp $
 #
 
-DISTNAME=      qnetwalk-1.1
+DISTNAME=      qnetwalk-1.2
 CATEGORIES=    x11 games
 MASTER_SITES=  http://qt.osdn.org.ua/
 
diff -r fbc72886f648 -r 454ff089de01 games/qnetwalk/PLIST
--- a/games/qnetwalk/PLIST      Thu Oct 13 17:35:08 2005 +0000
+++ b/games/qnetwalk/PLIST      Thu Oct 13 18:01:27 2005 +0000
@@ -1,10 +1,14 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/07 11:14:10 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2005/10/13 18:01:27 wiz Exp $
 bin/qnetwalk
 man/man6/qnetwalk.6
 share/games/qnetwalk/click.wav
 share/games/qnetwalk/connect.wav
+share/games/qnetwalk/qnetwalk_de.qm
+share/games/qnetwalk/qnetwalk_es.qm
 share/games/qnetwalk/qnetwalk_fr.qm
 share/games/qnetwalk/qnetwalk_nl.qm
+share/games/qnetwalk/qnetwalk_pl.qm
+share/games/qnetwalk/qnetwalk_pt_BR.qm
 share/games/qnetwalk/qnetwalk_ru.qm
 share/games/qnetwalk/start.wav
 share/games/qnetwalk/turn.wav
diff -r fbc72886f648 -r 454ff089de01 games/qnetwalk/distinfo
--- a/games/qnetwalk/distinfo   Thu Oct 13 17:35:08 2005 +0000
+++ b/games/qnetwalk/distinfo   Thu Oct 13 18:01:27 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 23:12:01 agc Exp $
+$NetBSD: distinfo,v 1.3 2005/10/13 18:01:27 wiz Exp $
 
-SHA1 (qnetwalk-1.1.tar.gz) = 7a245fa4243de7425c47d32f7c9a9a8603aabb59
-RMD160 (qnetwalk-1.1.tar.gz) = 49dfed6e96e0c779131c43e4e5203279b1ab2ab6
-Size (qnetwalk-1.1.tar.gz) = 129450 bytes
-SHA1 (patch-aa) = 7b2a3c5c1806405956454769f4beed26f25f2318
-SHA1 (patch-ab) = 4421ffa6d763ca1b26da671524445318de8ea6cd
-SHA1 (patch-ac) = 4f193fc7c7347dc2e470418468b6d5a5a16431fe
+SHA1 (qnetwalk-1.2.tar.gz) = d88cd1de4c8bae5e8884df6c499a389096c162c2
+RMD160 (qnetwalk-1.2.tar.gz) = 0529cb6f4d9cbe6e84b6181c447ae931b4b37eca
+Size (qnetwalk-1.2.tar.gz) = 135517 bytes
+SHA1 (patch-aa) = 00c6a54c430cf4b3f7d3c3738d42e0159cf331d3
+SHA1 (patch-ab) = 8085199e2b187f6676c55f643f84120bcba9c63c
+SHA1 (patch-ac) = 53fa5ba20d405f012c4b505c2271925cbe14064b
diff -r fbc72886f648 -r 454ff089de01 games/qnetwalk/patches/patch-aa
--- a/games/qnetwalk/patches/patch-aa   Thu Oct 13 17:35:08 2005 +0000
+++ b/games/qnetwalk/patches/patch-aa   Thu Oct 13 18:01:27 2005 +0000
@@ -1,27 +1,26 @@
-$NetBSD: patch-aa,v 1.1.1.1 2005/01/07 11:14:10 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2005/10/13 18:01:27 wiz Exp $
 
---- qnetwalk.pro.orig  2004-12-14 23:32:57.000000000 +0600
+--- qnetwalk.pro.orig  2005-04-11 01:31:16.000000000 +0700
 +++ qnetwalk.pro
-@@ -47,18 +47,18 @@ TRANSLATIONS = translations/qnetwalk_fr.
-              translations/qnetwalk_ru.ts
+@@ -51,18 +51,18 @@ TRANSLATIONS    = translations/qnetwalk_
+                 translations/qnetwalk_ru.ts
  
- TARGET       = qnetwalk
--target.path  = /usr/local/bin
-+target.path  = @QNETWALK_BIN@
- INSTALLS    += target
+ TARGET                = qnetwalk
+-target.path   = /usr/local/bin
++target.path   = @QNETWALK_BIN@
+ INSTALLS       += target
  
--man.path     = /usr/local/man/man6
-+man.path     = @QNETWALK_MAN@
- man.files    = qnetwalk.6
- INSTALLS    += man
+-man.path      = /usr/local/man/man6
++man.path      = @QNETWALK_MAN@
+ man.files     = qnetwalk.6
+ INSTALLS       += man
  
--tr.path      = /usr/local/share/qnetwalk/translations
-+tr.path      = @QNETWALK_TR@
- tr.files     = translations/*.qm
- INSTALLS    += tr
+-tr.path               = /usr/local/share/qnetwalk/translations
++tr.path               = @QNETWALK_TR@
+ tr.files      = translations/*.qm
+ INSTALLS       += tr
  
--sounds.path  = /usr/local/share/qnetwalk/sounds
-+sounds.path  = @QNETWALK_DATA@
- sounds.files = sounds/*.wav
- INSTALLS    += sounds
- 
+-sounds.path   = /usr/local/share/qnetwalk/sounds
++sounds.path   = @QNETWALK_DATA@
+ sounds.files  = sounds/*.wav
+ INSTALLS       += sounds
diff -r fbc72886f648 -r 454ff089de01 games/qnetwalk/patches/patch-ab
--- a/games/qnetwalk/patches/patch-ab   Thu Oct 13 17:35:08 2005 +0000
+++ b/games/qnetwalk/patches/patch-ab   Thu Oct 13 18:01:27 2005 +0000
@@ -1,16 +1,19 @@
-$NetBSD: patch-ab,v 1.1.1.1 2005/01/07 11:14:10 wiz Exp $
+$NetBSD: patch-ab,v 1.2 2005/10/13 18:01:27 wiz Exp $
 
 --- main.cpp.orig      2004-12-10 03:32:00.000000000 +0600
 +++ main.cpp
-@@ -30,11 +30,9 @@ int main(int argc, char ** argv)
+@@ -30,11 +30,12 @@ int main(int argc, char ** argv)
                     qInstallPathTranslations());
      app.installTranslator(&qtranslator);
  
 -    QString appdir   = app.applicationDirPath();
++    //QString appdir   = app.applicationDirPath();
      QString filename = QString("qnetwalk_") + QTextCodec::locale();
      QTranslator translator(&app);
 -    if(!translator.load(filename, appdir + "/translations/"))
 -      translator.load(filename, appdir + "/../share/qnetwalk/translations/");
++    //if(!translator.load(filename, appdir + "/translations/"))
++      //translator.load(filename, appdir + "/../share/qnetwalk/translations/");
 +      translator.load(filename, "@QNETWALK_TR@");
      app.installTranslator(&translator);
  
diff -r fbc72886f648 -r 454ff089de01 games/qnetwalk/patches/patch-ac
--- a/games/qnetwalk/patches/patch-ac   Thu Oct 13 17:35:08 2005 +0000
+++ b/games/qnetwalk/patches/patch-ac   Thu Oct 13 18:01:27 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.1.1.1 2005/01/07 11:14:10 wiz Exp $
+$NetBSD: patch-ac,v 1.2 2005/10/13 18:01:27 wiz Exp $
 
---- mainwindow.cpp.orig        2004-12-15 00:28:42.000000000 +0600
+--- mainwindow.cpp.orig        2005-04-11 01:13:54.000000000 +0700
 +++ mainwindow.cpp
-@@ -36,10 +36,7 @@ MainWindow::MainWindow() : QMainWindow(0
+@@ -36,10 +36,11 @@ MainWindow::MainWindow() : QMainWindow(0
      contrdirs[Cell::D] = Cell::U;
      contrdirs[Cell::L] = Cell::R;
  
@@ -10,7 +10,11 @@
 -    soundpath = appdir + "/sounds/";
 -    if(!QFile::exists(soundpath))
 -      soundpath = appdir + "/../share/qnetwalk/sounds/";
-+    soundpath = "@QNETWALK_DATA@";
++    //QString appdir = qApp->applicationDirPath();
++    //soundpath = appdir + "/sounds/";
++    //if(!QFile::exists(soundpath))
++      //soundpath = appdir + "/../share/qnetwalk/sounds/";
++      soundpath = "@QNETWALK_DATA@";
  
      winsound     = new QSound(soundpath + "win.wav");
      turnsound    = new QSound(soundpath + "turn.wav");



Home | Main Index | Thread Index | Old Index