summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-12-30 00:30:58 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-12-30 00:30:58 +0000
commitba63b02b1667f672ab668a092919e8fa6d53972b (patch)
tree109b4acbe81e9d4235916fc691a0d01f1c8170e3 /games-rpg/daimonin-client/files
parentInitial import. Ebuild submitted by Daniel Holth <dholth@fastmail.fm>. (diff)
downloadhistorical-ba63b02b1667f672ab668a092919e8fa6d53972b.tar.gz
historical-ba63b02b1667f672ab668a092919e8fa6d53972b.tar.bz2
historical-ba63b02b1667f672ab668a092919e8fa6d53972b.zip
version bump (bug #74979); clean old ebuilds
Diffstat (limited to 'games-rpg/daimonin-client/files')
-rw-r--r--games-rpg/daimonin-client/files/0.96.6_beta3-gentoo-paths.patch102
-rw-r--r--games-rpg/daimonin-client/files/digest-daimonin-client-0.96.5_beta31
-rw-r--r--games-rpg/daimonin-client/files/digest-daimonin-client-0.96.5_beta3-r11
-rw-r--r--games-rpg/daimonin-client/files/digest-daimonin-client-0.96.6_beta31
-rw-r--r--games-rpg/daimonin-client/files/digest-daimonin-client-0.96_beta21
5 files changed, 103 insertions, 3 deletions
diff --git a/games-rpg/daimonin-client/files/0.96.6_beta3-gentoo-paths.patch b/games-rpg/daimonin-client/files/0.96.6_beta3-gentoo-paths.patch
new file mode 100644
index 000000000000..94022939b3a9
--- /dev/null
+++ b/games-rpg/daimonin-client/files/0.96.6_beta3-gentoo-paths.patch
@@ -0,0 +1,102 @@
+diff -urN client/src/include/config.h client-new/src/include/config.h
+--- client/src/include/config.h 2004-05-13 19:14:52.000000000 +0100
++++ client-new/src/include/config.h 2004-06-13 13:23:55.408837640 +0100
+@@ -26,11 +26,11 @@
+ #define VERSION_CS 991016
+ #define VERSION_SC 991016
+
+-#define KEYBIND_FILE "./keys.dat"
+-#define OPTION_FILE "./options.dat"
+-#define ARCHDEF_FILE "./archdef.dat"
++#define KEYBIND_FILE GENTOO_STATEDIR "/keys.dat"
++#define OPTION_FILE GENTOO_STATEDIR "/options.dat"
++#define ARCHDEF_FILE GENTOO_STATEDIR "/archdef.dat"
+
+-#define LOG_FILE "./client.log"
++#define LOG_FILE GENTOO_STATEDIR "/client.log"
+
+ #define CLIENT_ICON_NAME "icon.png"
+
+diff -urN client/src/include/main.h client-new/src/include/main.h
+--- client/src/include/main.h 2004-05-13 19:14:52.000000000 +0100
++++ client-new/src/include/main.h 2004-06-13 13:33:36.773456784 +0100
+@@ -103,16 +103,16 @@
+
+ extern int bmaptype_table_size;
+
+-#define FILE_DAIMONIN_P0 "./daimonin.p0"
+-#define FILE_BMAPS_P0 "./bmaps.p0"
+-#define FILE_BMAPS_TMP "./srv_files/bmaps.tmp"
+-#define FILE_ANIMS_TMP "./srv_files/anims.tmp"
+-
+-#define FILE_CLIENT_SPELLS "./srv_files/client_spells"
+-#define FILE_CLIENT_SKILLS "./srv_files/client_skills"
+-#define FILE_CLIENT_SETTINGS "./srv_files/client_settings"
+-#define FILE_CLIENT_BMAPS "./srv_files/client_bmap"
+-#define FILE_CLIENT_ANIMS "./srv_files/client_anims"
++#define FILE_DAIMONIN_P0 GENTOO_STATEDIR "/daimonin.p0"
++#define FILE_BMAPS_P0 GENTOO_STATEDIR "/bmaps.p0"
++#define FILE_BMAPS_TMP GENTOO_STATEDIR "/srv_files/bmaps.tmp"
++#define FILE_ANIMS_TMP GENTOO_STATEDIR "/srv_files/anims.tmp"
++
++#define FILE_CLIENT_SPELLS GENTOO_STATEDIR "/srv_files/client_spells"
++#define FILE_CLIENT_SKILLS GENTOO_STATEDIR "/srv_files/client_skills"
++#define FILE_CLIENT_SETTINGS GENTOO_STATEDIR "/srv_files/client_settings"
++#define FILE_CLIENT_BMAPS GENTOO_STATEDIR "/srv_files/client_bmap"
++#define FILE_CLIENT_ANIMS GENTOO_STATEDIR "/srv_files/client_anims"
+
+ enum {
+ SRV_CLIENT_SKILLS,
+diff -urN client/src/wrapper.c client-new/src/wrapper.c
+--- client/src/wrapper.c 2004-05-13 19:14:52.000000000 +0100
++++ client-new/src/wrapper.c 2004-06-13 13:45:34.944278224 +0100
+@@ -84,35 +84,35 @@
+ char * GetBitmapDirectory(void)
+ {
+ #if defined( __WIN_32) || defined(__LINUX)
+- return("./bitmaps/");
++ return(GENTOO_DATADIR "/bitmaps/");
+ #endif
+ }
+
+ char * GetIconDirectory(void)
+ {
+ #if defined( __WIN_32) || defined(__LINUX)
+- return("./icons/");
++ return(GENTOO_DATADIR "/icons/");
+ #endif
+ }
+
+ char * GetSfxDirectory(void)
+ {
+ #if defined( __WIN_32) || defined(__LINUX)
+- return("./sfx/");
++ return(GENTOO_DATADIR "/sfx/");
+ #endif
+ }
+
+ char * GetCacheDirectory(void)
+ {
+ #if defined( __WIN_32) || defined(__LINUX)
+- return("./cache/");
++ return(GENTOO_STATEDIR "/cache/");
+ #endif
+ }
+
+ char * GetGfxUserDirectory(void)
+ {
+ #if defined( __WIN_32) || defined(__LINUX)
+- return("./gfx_user/");
++ return(GENTOO_STATEDIR "/gfx_user/");
+ #endif
+ }
+
+@@ -120,7 +120,7 @@
+ char * GetMediaDirectory(void)
+ {
+ #if defined( __WIN_32) || defined(__LINUX)
+- return("./media/");
++ return(GENTOO_DATADIR "/media/");
+ #endif
+ }
+
diff --git a/games-rpg/daimonin-client/files/digest-daimonin-client-0.96.5_beta3 b/games-rpg/daimonin-client/files/digest-daimonin-client-0.96.5_beta3
deleted file mode 100644
index 248137725686..000000000000
--- a/games-rpg/daimonin-client/files/digest-daimonin-client-0.96.5_beta3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 c7dea1391ba8771ee182e0faccc8b499 daimonin_client_src-BETA3-0965a.tgz 14444070
diff --git a/games-rpg/daimonin-client/files/digest-daimonin-client-0.96.5_beta3-r1 b/games-rpg/daimonin-client/files/digest-daimonin-client-0.96.5_beta3-r1
deleted file mode 100644
index a7ce4b1b10ab..000000000000
--- a/games-rpg/daimonin-client/files/digest-daimonin-client-0.96.5_beta3-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 5330750ab5c5adffb6c264ff6102599d daimonin_client_src-BETA3-0965b.tgz 14452168
diff --git a/games-rpg/daimonin-client/files/digest-daimonin-client-0.96.6_beta3 b/games-rpg/daimonin-client/files/digest-daimonin-client-0.96.6_beta3
new file mode 100644
index 000000000000..b88d7e43f84c
--- /dev/null
+++ b/games-rpg/daimonin-client/files/digest-daimonin-client-0.96.6_beta3
@@ -0,0 +1 @@
+MD5 f15098816863537ed547b4f70d1413c2 daimonin_client-BETA3-0966.tgz 15101397
diff --git a/games-rpg/daimonin-client/files/digest-daimonin-client-0.96_beta2 b/games-rpg/daimonin-client/files/digest-daimonin-client-0.96_beta2
deleted file mode 100644
index 8ac38d806f94..000000000000
--- a/games-rpg/daimonin-client/files/digest-daimonin-client-0.96_beta2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 ee0f3f4da694a2c2d980acc47c3039ad daimonin_client_src-BETA2-096a.zip 14274863