diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2007-05-29 21:19:42 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2007-05-29 21:19:42 +0000 |
commit | 832032fb0050fed92b2583bcf7468b7602d2ffe5 (patch) | |
tree | 492c540845a0d533e83dbe4a90c31786d62172ee /games-rpg/daimonin-client | |
parent | Removed obsolete patch, fixes bug 179653. (diff) | |
download | gentoo-2-832032fb0050fed92b2583bcf7468b7602d2ffe5.tar.gz gentoo-2-832032fb0050fed92b2583bcf7468b7602d2ffe5.tar.bz2 gentoo-2-832032fb0050fed92b2583bcf7468b7602d2ffe5.zip |
Version bump
(Portage version: 2.1.2.7)
Diffstat (limited to 'games-rpg/daimonin-client')
7 files changed, 59 insertions, 195 deletions
diff --git a/games-rpg/daimonin-client/ChangeLog b/games-rpg/daimonin-client/ChangeLog index 857ea165bd48..e0a09a7d5b3e 100644 --- a/games-rpg/daimonin-client/ChangeLog +++ b/games-rpg/daimonin-client/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for games-rpg/daimonin-client # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/daimonin-client/ChangeLog,v 1.17 2007/02/01 13:01:35 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/daimonin-client/ChangeLog,v 1.18 2007/05/29 21:19:42 nyhm Exp $ + +*daimonin-client-0.9.7 (29 May 2007) + + 29 May 2007; Tristan Heaven <nyhm@gentoo.org> + -files/0.96.7_beta3-gentoo-paths.patch, + -files/daimonin-client-0.96.7_beta3-64bits.patch, + +daimonin-client-0.9.7.ebuild, -daimonin-client-0.96.7_beta3.ebuild: + Version bump 01 Feb 2007; Simon Stelling <blubb@gentoo.org> daimonin-client-0.96.7_beta3.ebuild: diff --git a/games-rpg/daimonin-client/daimonin-client-0.9.7.ebuild b/games-rpg/daimonin-client/daimonin-client-0.9.7.ebuild new file mode 100644 index 000000000000..357f6d532221 --- /dev/null +++ b/games-rpg/daimonin-client/daimonin-client-0.9.7.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/daimonin-client/daimonin-client-0.9.7.ebuild,v 1.1 2007/05/29 21:19:42 nyhm Exp $ + +inherit eutils games + +MY_P=${PN/-/_}-${PV} +DESCRIPTION="a graphical 2D tile-based MMORPG" +HOMEPAGE="http://daimonin.sourceforge.net/" +SRC_URI="mirror://sourceforge/daimonin/${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-amd64 ~ppc ~x86" +IUSE="" + +DEPEND="media-libs/libsdl + media-libs/sdl-mixer + media-libs/sdl-image" + +S=${WORKDIR}/${MY_P}/make/linux + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e 's:$(d_datadir):$(DESTDIR)$(d_datadir):' \ + -e '/PROGRAMS/s:updater::' \ + -e '/\/tools/d' \ + Makefile.in \ + || die "sed failed" + chmod +x configure +} + +src_compile() { + egamesconf --disable-simplelayout || die + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + cd ../.. + dodoc README* + newicon bitmaps/pentagram.png ${PN}.png + make_desktop_entry daimonin Daimonin + prepgamesdirs +} diff --git a/games-rpg/daimonin-client/daimonin-client-0.96.7_beta3.ebuild b/games-rpg/daimonin-client/daimonin-client-0.96.7_beta3.ebuild deleted file mode 100644 index ca7d4e178ca1..000000000000 --- a/games-rpg/daimonin-client/daimonin-client-0.96.7_beta3.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/daimonin-client/daimonin-client-0.96.7_beta3.ebuild,v 1.2 2007/02/01 13:01:35 blubb Exp $ - -inherit eutils flag-o-matic games - -MY_PV=${PV/_beta*} -MY_PV=${MY_PV//.} -DESCRIPTION="MMORPG with 2D isometric tiles grafik, true color and alpha blending effects" -HOMEPAGE="http://daimonin.sourceforge.net/" -SRC_URI="mirror://sourceforge/daimonin/daimonin_client-BETA3-${MY_PV}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-amd64 ~ppc ~x86" -IUSE="" - -DEPEND="media-libs/libsdl - media-libs/sdl-mixer - media-libs/sdl-image" - -S=${WORKDIR}/daimonin/client - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${PV}-gentoo-paths.patch" \ - "${FILESDIR}/${P}"-64bits.patch - chmod a+x make/linux/configure -} - -src_compile() { - append-flags \ - -DGENTOO_DATADIR="'\"${GAMES_DATADIR}/${PN}\"'" \ - -DGENTOO_STATEDIR="'\"${GAMES_STATEDIR}/${PN}\"'" - # Bug #91950 - compiler optimization is bad for the game on amd64 - if use amd64; then - append-flags -O0 - fi - - cd make/linux - egamesconf || die - emake || die "emake failed" -} - -src_install() { - dogamesbin src/daimonin || die "dogamesbin failed" - dodir "${GAMES_DATADIR}/${PN}" "${GAMES_STATEDIR}/${PN}" - cp -r bitmaps icons media sfx "${D}/${GAMES_DATADIR}/${PN}/" \ - || die "cp failed" - cp -r cache gfx_user srv_files "${D}/${GAMES_STATEDIR}/${PN}/" \ - || die "cp failed" - insinto "${GAMES_STATEDIR}/${PN}" - doins *.{dat,p0} || die "doins failed" - prepgamesdirs - find "${D}/${GAMES_STATEDIR}/${PN}/" -type d -print0 | xargs -0 \ - chmod g+w -} diff --git a/games-rpg/daimonin-client/files/0.96.7_beta3-gentoo-paths.patch b/games-rpg/daimonin-client/files/0.96.7_beta3-gentoo-paths.patch deleted file mode 100644 index 94022939b3a9..000000000000 --- a/games-rpg/daimonin-client/files/0.96.7_beta3-gentoo-paths.patch +++ /dev/null @@ -1,102 +0,0 @@ -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/daimonin-client-0.96.7_beta3-64bits.patch b/games-rpg/daimonin-client/files/daimonin-client-0.96.7_beta3-64bits.patch deleted file mode 100644 index aa097abbb0a9..000000000000 --- a/games-rpg/daimonin-client/files/daimonin-client-0.96.7_beta3-64bits.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- ../../src/wrapper.c.orig Thu Dec 18 22:43:08 2003 -+++ ../../src/wrapper.c Wed Feb 16 10:09:17 2005 -@@ -44,13 +44,15 @@ - } - if(!logstream) /* secure: we have no open stream*/ - flag = FALSE; -- va_start(ap, format); - if(flag) - { -+ va_start(ap, format); - vfprintf(stdout, format, ap); -+ va_end(ap); -+ va_start(ap, format); - vfprintf(logstream, format, ap); -+ va_end(ap); - } -- va_end(ap); - fflush(logstream); - - #endif ---- ../../src/uncompr.c.orig Sun Nov 30 22:59:30 2003 -+++ ../../src/uncompr.c Wed Feb 16 22:11:32 2005 -@@ -39,7 +39,7 @@ - - stream.next_out = dest; - stream.avail_out = (uInt)*destLen; -- if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR; -+ if ((uLong)stream.avail_out != (uInt)*destLen) return Z_BUF_ERROR; - - stream.zalloc = (alloc_func)0; - stream.zfree = (free_func)0; diff --git a/games-rpg/daimonin-client/files/digest-daimonin-client-0.9.7 b/games-rpg/daimonin-client/files/digest-daimonin-client-0.9.7 new file mode 100644 index 000000000000..86f61735b0ff --- /dev/null +++ b/games-rpg/daimonin-client/files/digest-daimonin-client-0.9.7 @@ -0,0 +1,3 @@ +MD5 0479673dc12eed0764d95b82a68807a4 daimonin_client-0.9.7.tgz 24794225 +RMD160 b71e741adc549adcf435b2837c4e1bae1762be6e daimonin_client-0.9.7.tgz 24794225 +SHA256 54d3f4439c16ea02be8d778bd586101ccab98e0b8e66b5740a14378f24f06b2d daimonin_client-0.9.7.tgz 24794225 diff --git a/games-rpg/daimonin-client/files/digest-daimonin-client-0.96.7_beta3 b/games-rpg/daimonin-client/files/digest-daimonin-client-0.96.7_beta3 deleted file mode 100644 index ec030cc6ba5c..000000000000 --- a/games-rpg/daimonin-client/files/digest-daimonin-client-0.96.7_beta3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 d3998c0bcea05a57a1c937a3349880ec daimonin_client-BETA3-0967.tgz 15276026 -RMD160 628a070c38f0b2c10728d2295a01955d82eba84b daimonin_client-BETA3-0967.tgz 15276026 -SHA256 d02586e7a619ccccb15d1cef467cc46570847f4779815d91817972d36e237e3b daimonin_client-BETA3-0967.tgz 15276026 |