diff options
author | wiz <wiz> | 2005-10-13 18:01:27 +0000 |
---|---|---|
committer | wiz <wiz> | 2005-10-13 18:01:27 +0000 |
commit | be0be2bd32eb272db68b7f65b7197a14f634b659 (patch) | |
tree | 5a202b8dfce599af5228dd70fd748d2c4f2e03c7 /games | |
parent | 29e6c5df7d83e21f00b2f6aa0f802d7f1ca5e82e (diff) | |
download | pkgsrc-be0be2bd32eb272db68b7f65b7197a14f634b659.tar.gz |
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 (limited to 'games')
-rw-r--r-- | games/qnetwalk/Makefile | 4 | ||||
-rw-r--r-- | games/qnetwalk/PLIST | 6 | ||||
-rw-r--r-- | games/qnetwalk/distinfo | 14 | ||||
-rw-r--r-- | games/qnetwalk/patches/patch-aa | 41 | ||||
-rw-r--r-- | games/qnetwalk/patches/patch-ab | 7 | ||||
-rw-r--r-- | games/qnetwalk/patches/patch-ac | 12 |
6 files changed, 47 insertions, 37 deletions
diff --git a/games/qnetwalk/Makefile b/games/qnetwalk/Makefile index f9cc193b389..e1520ea84b1 100644 --- a/games/qnetwalk/Makefile +++ b/games/qnetwalk/Makefile @@ -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 --git a/games/qnetwalk/PLIST b/games/qnetwalk/PLIST index 056b63a540c..f5d3a139514 100644 --- a/games/qnetwalk/PLIST +++ b/games/qnetwalk/PLIST @@ -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 --git a/games/qnetwalk/distinfo b/games/qnetwalk/distinfo index 03cf87e5ab8..8fe879a51b0 100644 --- a/games/qnetwalk/distinfo +++ b/games/qnetwalk/distinfo @@ -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 --git a/games/qnetwalk/patches/patch-aa b/games/qnetwalk/patches/patch-aa index 75a3e42ba60..990b4ba0561 100644 --- a/games/qnetwalk/patches/patch-aa +++ b/games/qnetwalk/patches/patch-aa @@ -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 - --sounds.path = /usr/local/share/qnetwalk/sounds -+sounds.path = @QNETWALK_DATA@ - sounds.files = sounds/*.wav - INSTALLS += sounds +-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 diff --git a/games/qnetwalk/patches/patch-ab b/games/qnetwalk/patches/patch-ab index 1aff3ba6a9a..cf1208bf714 100644 --- a/games/qnetwalk/patches/patch-ab +++ b/games/qnetwalk/patches/patch-ab @@ -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 --git a/games/qnetwalk/patches/patch-ac b/games/qnetwalk/patches/patch-ac index f3dcb3eb29f..9846d083034 100644 --- a/games/qnetwalk/patches/patch-ac +++ b/games/qnetwalk/patches/patch-ac @@ -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 @@ $NetBSD: patch-ac,v 1.1.1.1 2005/01/07 11:14:10 wiz Exp $ - 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"); |