packages: jag/jag-paths.patch (NEW) - set proper paths
lisu
lisu at pld-linux.org
Thu Feb 4 11:36:06 CET 2010
Author: lisu Date: Thu Feb 4 10:36:06 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- set proper paths
---- Files affected:
packages/jag:
jag-paths.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/jag/jag-paths.patch
diff -u /dev/null packages/jag/jag-paths.patch:1.1
--- /dev/null Thu Feb 4 11:36:06 2010
+++ packages/jag/jag-paths.patch Thu Feb 4 11:36:00 2010
@@ -0,0 +1,36 @@
+--- jag-0.3.1-src/editor/editor.pro~ 2009-12-14 22:20:14.000000000 +0100
++++ jag-0.3.1-src/editor/editor.pro 2010-02-03 10:17:03.087049652 +0100
+@@ -4,7 +4,7 @@
+
+ unix: {
+ TARGET = ./bin/jag-editor
+- target.path = /usr/local/bin/
++ target.path = /usr/bin/
+ INSTALLS += target
+ }
+ win32: {
+--- jag-0.3.1-src/Game.pro~ 2009-12-13 13:21:08.000000000 +0100
++++ jag-0.3.1-src/Game.pro 2010-02-03 10:17:56.383711575 +0100
+@@ -5,9 +5,9 @@
+ opengl
+ unix: {
+ TARGET = ./bin/jag
+- target.path = /usr/local/bin/
++ target.path = /usr/bin/
+ INSTALLS += target
+- datas.path = /usr/local/games/jag
++ datas.path = /usr/share/jag
+ datas.files = data
+ INSTALLS += datas
+ LIBS += -lXrandr
+--- jag-0.3.1-src/main.cpp~ 2009-12-13 22:52:20.000000000 +0100
++++ jag-0.3.1-src/main.cpp 2010-02-03 10:18:32.853706158 +0100
+@@ -34,7 +34,7 @@
+ // on X11, we'll check if data directory exists locally first
+ #ifdef Q_WS_X11
+ if (!QDir(resourcePath).exists())
+- resourcePath = "/usr/local/games/jag/data/";
++ resourcePath = "/usr/share/jag/data/";
+ #endif
+
+ langPath = resourcePath + "lang/";
================================================================
More information about the pld-cvs-commit
mailing list