summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2012-04-23 23:35:33 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2012-04-23 23:35:33 +0000
commit8269b8d46c6b70751085ac22f24bbd341c368e7f (patch)
tree8067960a7d5300c20c61e263704525bf41dbfc56 /games-rpg
parentFix building on systems without utmpx.h. (diff)
downloadhistorical-8269b8d46c6b70751085ac22f24bbd341c368e7f.tar.gz
historical-8269b8d46c6b70751085ac22f24bbd341c368e7f.tar.bz2
historical-8269b8d46c6b70751085ac22f24bbd341c368e7f.zip
old
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/freedroidrpg/ChangeLog7
-rw-r--r--games-rpg/freedroidrpg/Manifest6
-rw-r--r--games-rpg/freedroidrpg/files/freedroidrpg-0.14.1-libpng15.patch11
-rw-r--r--games-rpg/freedroidrpg/files/freedroidrpg-0.14.1-syslibs.patch91
-rw-r--r--games-rpg/freedroidrpg/freedroidrpg-0.14.1.ebuild65
5 files changed, 7 insertions, 173 deletions
diff --git a/games-rpg/freedroidrpg/ChangeLog b/games-rpg/freedroidrpg/ChangeLog
index 5bbd563b6b9b..6b669b5c7bf7 100644
--- a/games-rpg/freedroidrpg/ChangeLog
+++ b/games-rpg/freedroidrpg/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-rpg/freedroidrpg
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/freedroidrpg/ChangeLog,v 1.35 2012/04/16 19:35:44 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/freedroidrpg/ChangeLog,v 1.36 2012/04/23 23:35:32 mr_bones_ Exp $
+
+ 23 Apr 2012; Michael Sterrett <mr_bones_@gentoo.org>
+ -files/freedroidrpg-0.14.1-libpng15.patch,
+ -files/freedroidrpg-0.14.1-syslibs.patch, -freedroidrpg-0.14.1.ebuild:
+ old
16 Apr 2012; Brent Baude <ranger@gentoo.org> freedroidrpg-0.15.ebuild:
Marking freedroidrpg-0.15 ppc for bug 411771
diff --git a/games-rpg/freedroidrpg/Manifest b/games-rpg/freedroidrpg/Manifest
index 7dc9f7f7435e..9310c38e356c 100644
--- a/games-rpg/freedroidrpg/Manifest
+++ b/games-rpg/freedroidrpg/Manifest
@@ -1,8 +1,4 @@
-AUX freedroidrpg-0.14.1-libpng15.patch 243 RMD160 f0bba0d0f8bdce242d57744a671d84e79e6c7a47 SHA1 7bc04960158c21ac3f60be2537b3d8b68cb1849f SHA256 6cd15f659726065beeb3d3883255241394623699ebd40125a159fd7cb25342b5
-AUX freedroidrpg-0.14.1-syslibs.patch 3464 RMD160 2be0d73a254425c5f9294eef07e3ca825437bbe6 SHA1 a8e4ee8330dc293d829531f0ebedb94c87d4b25b SHA256 01c7097f6bb4927261b9c95912aabba9b499d331ced3869852c01d4b3c7ba5c6
-DIST freedroidrpg-0.14.1.tar.gz 161715770 RMD160 fc85e688097d1700014f62f6f16629f0418095f0 SHA1 8e254098584d394d474ed81dd48bf3c028b9c56b SHA256 f5a862dda68147e5d3899a781a144e8adb1bd604f40f0edb8ba2f4602bd77ae0
DIST freedroidrpg-0.15.tar.gz 209412185 RMD160 f21ff6b86360613e6ee0f5ffd8076c6a7a4eae09 SHA1 97f74a6b1f3c7cf447e8cc7fc850aee18c2860ed SHA256 4481a96c9cd6bfbb91ec65dbd260a4c729b82569c977b364a7f5580760af4c2f
-EBUILD freedroidrpg-0.14.1.ebuild 1581 RMD160 de30e4064ec671f668131a0cfeff676d751e417a SHA1 28491b4170060e5286fee4edf4a486d0191455a2 SHA256 b1dcd52c9d01aa50227ea197e6856276cdd5b104b2efc0cee1f7ea0f50340077
EBUILD freedroidrpg-0.15.ebuild 1446 RMD160 cc7ac8ef6d6f60331057df8b880df9c69a2f05ca SHA1 c8162980179094c8b603e410f8cbecb9ac98aa1e SHA256 19983d68bf9d68f52098b08924ecacc69b1b0d01a8f9a15317e4e57219105391
-MISC ChangeLog 4880 RMD160 58c390fac958e4d896b966a46e862ce61e258cd6 SHA1 8bfc5f8a84eb5dbfe5868f15b3594c531b352a0b SHA256 4ad76cf2d6bc8101f3005f940bac7af014b104d8615ae777783dc18f5ad77ac4
+MISC ChangeLog 5063 RMD160 22859b392533ff804377dbfdec6d45c9ef89314d SHA1 553f5ed1f9353cc775c0f884cf820a331f56d439 SHA256 715e821bc5e7574461fc60c02dbd7ddcecdbd528e61100cb477dc8428ff9f151
MISC metadata.xml 2102 RMD160 b4460164b2f9e4bc4cc206fcb7a688afa6f127b7 SHA1 aaa79dbac1d09bda7e33de3cdaaf749ce2c1f0ad SHA256 d06c8ed4ae0f0763859351dfebfad1b41e3d054261fa555ba26e67be0f7b60f1
diff --git a/games-rpg/freedroidrpg/files/freedroidrpg-0.14.1-libpng15.patch b/games-rpg/freedroidrpg/files/freedroidrpg-0.14.1-libpng15.patch
deleted file mode 100644
index 1c61a3a43ab2..000000000000
--- a/games-rpg/freedroidrpg/files/freedroidrpg-0.14.1-libpng15.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- win32/pngtoico.c
-+++ win32/pngtoico.c
-@@ -188,7 +188,7 @@
- goto perrexit;
- }
-
-- if ( setjmp(png_ptr->jmpbuf) ) {
-+ if ( setjmp(png_jmpbuf(png_ptr)) ) {
- fprintf(stderr, "%s: PNG format error\n", file);
- goto errexit;
- }
diff --git a/games-rpg/freedroidrpg/files/freedroidrpg-0.14.1-syslibs.patch b/games-rpg/freedroidrpg/files/freedroidrpg-0.14.1-syslibs.patch
deleted file mode 100644
index c55531fd7b9c..000000000000
--- a/games-rpg/freedroidrpg/files/freedroidrpg-0.14.1-syslibs.patch
+++ /dev/null
@@ -1,91 +0,0 @@
-diff -ru freedroidrpg-0.14.1.orig/configure.ac freedroidrpg-0.14.1/configure.ac
---- freedroidrpg-0.14.1.orig/configure.ac 2010-11-26 17:47:26.000000000 -0500
-+++ freedroidrpg-0.14.1/configure.ac 2010-11-28 04:40:12.524987716 -0500
-@@ -110,6 +110,14 @@
- AC_MSG_ERROR([SDL_image library needed for FreedroidRPG!
- see http://www.libsdl.org/]))
-
-+AC_CHECK_LIB([SDL_gfx], [rotozoomSurface],,
-+ AC_MSG_ERROR([SDL_gfx library needed to run FreedroidRPG
-+see http://www.ferzkopp.net/Software/SDL_gfx-2.0/]))
-+
-+AC_CHECK_LIB([lua], [luaL_openlibs],,
-+ AC_MSG_ERROR([lua library needed to run FreedroidRPG
-+see http://www.lua.org/]))
-+
- AC_MSG_NOTICE([[Checking for optional SDL libraries:]])
- AC_CHECK_LIB([SDL_mixer], [Mix_ChannelFinished],, AC_MSG_WARN([
- --------------------------------------------------
-diff -ru freedroidrpg-0.14.1.orig/src/Makefile.am freedroidrpg-0.14.1/src/Makefile.am
---- freedroidrpg-0.14.1.orig/src/Makefile.am 2010-11-26 17:41:13.000000000 -0500
-+++ freedroidrpg-0.14.1/src/Makefile.am 2010-11-28 04:40:12.524987716 -0500
-@@ -1,9 +1,7 @@
- ## Process this file with automake to produce Makefile.in
-
--freedroidRPG_LDADD = ../lua/liblua.a
--
- if WIN32
--freedroidRPG_LDADD += ../win32/freedroidRPG.coff
-+freedroidRPG_LDADD = ../win32/freedroidRPG.coff
- endif
-
- bin_PROGRAMS = freedroidRPG
-@@ -22,7 +20,7 @@
- enemy.c input.c keyboard.c main.c hud.c view.c automap.c BFont.c \
- defs.h map.h vars.h takeover.h global.h \
- proto.h struct.h system.h BFont.h \
-- SDL_rotozoom.c SDL_rotozoom.h open_gl.c open_gl_atlas.c mission.c chat.c light.c \
-+ open_gl.c open_gl_atlas.c mission.c chat.c light.c \
- getopt.c getopt1.c getopt.h scandir.c scandir.h sound.h sound_effects.c \
- lang.h lists.c lists.h gen_savestruct.py savestruct.c savestruct.h string.c pathfinder.c \
- benchmark.c \
-@@ -56,8 +54,3 @@
- savestruct.c savestruct.h: struct.h gen_savestruct.py
- python gen_savestruct.py struct.h savestruct
-
--clean-local:
-- cd ../lua; make clean
--
--../lua/liblua.a:
-- cd ../lua; make CC=${CC} AR="${AR} rcu" RANLIB="${RANLIB}" liblua.a
-diff -ru freedroidrpg-0.14.1.orig/src/lua.c freedroidrpg-0.14.1/src/lua.c
---- freedroidrpg-0.14.1.orig/src/lua.c 2010-11-26 17:41:13.000000000 -0500
-+++ freedroidrpg-0.14.1/src/lua.c 2010-11-28 04:40:12.525987480 -0500
-@@ -37,9 +37,9 @@
- #include "lvledit/lvledit_actions.h"
- #include "lvledit/lvledit_map.h"
-
--#include "../lua/lua.h"
--#include "../lua/lauxlib.h"
--#include "../lua/lualib.h"
-+#include <lua.h>
-+#include <lauxlib.h>
-+#include <lualib.h>
-
- /* Our Lua state for event execution */
- lua_State *global_lua_state;
-diff -ru freedroidrpg-0.14.1.orig/src/luaconfig.c freedroidrpg-0.14.1/src/luaconfig.c
---- freedroidrpg-0.14.1.orig/src/luaconfig.c 2010-11-26 17:41:13.000000000 -0500
-+++ freedroidrpg-0.14.1/src/luaconfig.c 2010-11-28 04:40:32.263348025 -0500
-@@ -33,8 +33,8 @@
- #include "global.h"
- #include "proto.h"
-
--#include "../lua/lua.h"
--#include "../lua/lauxlib.h"
-+#include <lua.h>
-+#include <lauxlib.h>
-
- /* Our Lua state for event execution (defined in lua.c) */
- extern lua_State *global_lua_state;
-diff -ru freedroidrpg-0.14.1.orig/src/system.h freedroidrpg-0.14.1/src/system.h
---- freedroidrpg-0.14.1.orig/src/system.h 2010-11-26 17:41:13.000000000 -0500
-+++ freedroidrpg-0.14.1/src/system.h 2010-11-28 04:40:12.525987480 -0500
-@@ -111,6 +111,7 @@
-
- #include "SDL.h"
- #include "SDL_image.h"
-+#include "SDL_rotozoom.h"
-
- #ifdef HAVE_LIBSDL_MIXER
- #include "SDL_mixer.h"
diff --git a/games-rpg/freedroidrpg/freedroidrpg-0.14.1.ebuild b/games-rpg/freedroidrpg/freedroidrpg-0.14.1.ebuild
deleted file mode 100644
index 3f9d38a74afe..000000000000
--- a/games-rpg/freedroidrpg/freedroidrpg-0.14.1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/freedroidrpg/freedroidrpg-0.14.1.ebuild,v 1.5 2011/09/15 02:53:41 ssuominen Exp $
-
-EAPI=2
-PYTHON_DEPEND="2"
-inherit autotools eutils python games
-
-DESCRIPTION="A modification of the classical Freedroid engine into an RPG"
-HOMEPAGE="http://freedroid.sourceforge.net/"
-SRC_URI="mirror://sourceforge/freedroid/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ppc x86"
-IUSE="opengl"
-
-RDEPEND="media-libs/libsdl[opengl?,video]
- dev-lang/lua
- virtual/jpeg
- media-libs/libpng
- media-libs/sdl-image[jpeg,png]
- media-libs/sdl-net
- media-libs/sdl-mixer[vorbis]
- >=media-libs/sdl-gfx-2.0.21
- media-libs/libogg
- media-libs/libvorbis
- x11-libs/libX11
- opengl? ( virtual/opengl )"
-DEPEND="${RDEPEND}
- x11-libs/libXt
- dev-lang/python"
-
-pkg_setup() {
- python_set_active_version 2
- games_pkg_setup
-}
-
-src_prepare() {
- rm -rf lua src/SDL_rotozoom*
- epatch \
- "${FILESDIR}"/${P}-syslibs.patch \
- "${FILESDIR}"/${P}-libpng15.patch
-
- python_convert_shebangs -r 2 .
-
- # No need for executable game resources
- find sound graphics -type f -exec chmod -c a-x '{}' +
- eautoreconf
-}
-
-src_configure() {
- egamesconf \
- --disable-dependency-tracking \
- --disable-fastmath \
- $(use_enable opengl)
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- rm -f "${D}/${GAMES_BINDIR}/"{croppy,pngtoico,gluem,ungluem}
- newicon win32/w32icon2_64x64.png ${PN}.png
- make_desktop_entry freedroidRPG "Freedroid RPG"
- prepgamesdirs
-}