summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-04-27 07:35:05 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-04-27 07:35:05 +0000
commit3917a3bea74043fc31220d16f2a8501f49b11ff3 (patch)
tree0a4a1dad398e4af6ff1192b8a5b5b9b1802a09d3 /games-puzzle
parentold (diff)
downloadgentoo-2-3917a3bea74043fc31220d16f2a8501f49b11ff3.tar.gz
gentoo-2-3917a3bea74043fc31220d16f2a8501f49b11ff3.tar.bz2
gentoo-2-3917a3bea74043fc31220d16f2a8501f49b11ff3.zip
old
(Portage version: 2.1.2.2)
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/fish-fillets/files/digest-fish-fillets-0.7.3-r16
-rw-r--r--games-puzzle/fish-fillets/files/fish-fillets-0.7.3-check-for-X.patch56
-rw-r--r--games-puzzle/fish-fillets/files/fish-fillets-0.7.3-custom-datadir.patch24
-rw-r--r--games-puzzle/fish-fillets/files/fish-fillets-0.7.3-no-local-paths.patch12
-rw-r--r--games-puzzle/fish-fillets/files/fish-fillets-0.7.3-use-lua-pkg-config.patch43
-rw-r--r--games-puzzle/fish-fillets/fish-fillets-0.7.3-r1.ebuild57
6 files changed, 0 insertions, 198 deletions
diff --git a/games-puzzle/fish-fillets/files/digest-fish-fillets-0.7.3-r1 b/games-puzzle/fish-fillets/files/digest-fish-fillets-0.7.3-r1
deleted file mode 100644
index 81d9393abb25..000000000000
--- a/games-puzzle/fish-fillets/files/digest-fish-fillets-0.7.3-r1
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 3cdb20616c8bf4498f2990f4e0d526a1 fillets-ng-0.7.3.tar.gz 311799
-RMD160 6c8f41feab9df2b6dee3942c18848d61ab2f2c7d fillets-ng-0.7.3.tar.gz 311799
-SHA256 cbcc62fa399f96f636f547cd424c0abbbc7860227e837f191e8eded686b6ffc2 fillets-ng-0.7.3.tar.gz 311799
-MD5 dabb8aa5dcce57e782a2a27343c40cc6 fillets-ng-data-0.7.1.tar.gz 95672064
-RMD160 bee5a815bbcb439bb3bf1fdcf925fb3db304a566 fillets-ng-data-0.7.1.tar.gz 95672064
-SHA256 7f9196e81e279ad088dd64a604bc6a8e9e10eedb75f080b6e845536e3ee13659 fillets-ng-data-0.7.1.tar.gz 95672064
diff --git a/games-puzzle/fish-fillets/files/fish-fillets-0.7.3-check-for-X.patch b/games-puzzle/fish-fillets/files/fish-fillets-0.7.3-check-for-X.patch
deleted file mode 100644
index 741c4d8f833e..000000000000
--- a/games-puzzle/fish-fillets/files/fish-fillets-0.7.3-check-for-X.patch
+++ /dev/null
@@ -1,56 +0,0 @@
---- configure.in
-+++ configure.in
-@@ -89,21 +91,31 @@ AC_CHECK_LIB([SDL_ttf], [TTF_OpenFont],
-
- ###################################################
- # Test X11
--OLD_CPPFLAGS="$CPPFLAGS"
--CPPFLAGS="$CPPFLAGS $SDL_CFLAGS"
--AC_TRY_COMPILE([
-- #include "SDL.h"
-- #include "SDL_syswm.h"
-- #include <X11/Xutil.h>
-- ], [
-- SDL_SysWMinfo info;
-- info.subsystem = SDL_SYSWM_X11;
-- ], [have_x11="yes"], [have_x11="no"])
--CPPFLAGS="$OLD_CPPFLAGS"
--if test "x$have_x11" = xyes; then
-- AC_DEFINE(HAVE_X11)
-+X_LIBS=""
-+AC_ARG_WITH(X,
-+ [AC_HELP_STRING([--with-x],[enable X window manager support [default=detect]])],
-+ [with_x11=$withval],[with_x11="maybe"])
-+if test "x$with_x11" != "xno" ; then
-+ AC_CHECK_LIB([X11], [Xutf8TextListToTextProperty], [with_x11="yes"], [with_x11="no"])
-+ if test "x$with_x11" != "xno" ; then
-+ OLD_CPPFLAGS="$CPPFLAGS"
-+ CPPFLAGS="$CPPFLAGS $SDL_CFLAGS"
-+ AC_TRY_COMPILE([
-+ #include "SDL.h"
-+ #include "SDL_syswm.h"
-+ #include <X11/Xutil.h>
-+ ], [
-+ SDL_SysWMinfo info;
-+ info.subsystem = SDL_SYSWM_X11;
-+ ], [have_x11="yes"], [have_x11="no"])
-+ CPPFLAGS="$OLD_CPPFLAGS"
-+ if test "x$have_x11" = xyes; then
-+ AC_DEFINE(HAVE_X11)
-+ X_LIBS="-lX11"
-+ fi
-+ fi
- fi
--
-+AC_SUBST(X_LIBS)
-
- ###################################################
- # Test FriBidi
---- src/game/Makefile.am
-+++ src/game/Makefile.am
-@@ -18,4 +18,4 @@ ICON_LIBS =
- endif
-
-
--fillets_LDADD = $(ICON_LIBS) ../menu/libmenu.a ../level/liblevel.a ../state/libstate.a ../option/liboption.a ../plan/libplan.a ../widget/libwidget.a ../effect/libeffect.a ../gengine/libgengine.a $(SDL_GFX_LIBS) $(SDL_LIBS) $(LUA_LIBS) $(BOOST_LIBS) $(FRIBIDI_LIBS)
-+fillets_LDADD = $(ICON_LIBS) ../menu/libmenu.a ../level/liblevel.a ../state/libstate.a ../option/liboption.a ../plan/libplan.a ../widget/libwidget.a ../effect/libeffect.a ../gengine/libgengine.a $(SDL_GFX_LIBS) $(SDL_LIBS) $(LUA_LIBS) $(BOOST_LIBS) $(FRIBIDI_LIBS) $(X_LIBS)
diff --git a/games-puzzle/fish-fillets/files/fish-fillets-0.7.3-custom-datadir.patch b/games-puzzle/fish-fillets/files/fish-fillets-0.7.3-custom-datadir.patch
deleted file mode 100644
index 3965d9a36c84..000000000000
--- a/games-puzzle/fish-fillets/files/fish-fillets-0.7.3-custom-datadir.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- configure.in
-+++ configure.in
-@@ -151,6 +160,11 @@ case "$target" in
- ;;
- esac
-
-+###################################################
-+# Mung up datadir if need be
-+if test "${datadir}" = '${datarootdir}' ; then
-+ datadir='${datarootdir}/games/${PACKAGE}'
-+fi
-
- ###################################################
- # Debug on/off
---- src/gengine/Makefile.am
-+++ src/gengine/Makefile.am
-@@ -1,6 +1,6 @@
-
- INCLUDES = $(SDL_CFLAGS) $(LUA_CFLAGS) $(BOOST_CFLAGS)
--AM_CPPFLAGS = -DSYSTEM_DATA_DIR=\""$(datadir)/games/@PACKAGE@"\"
-+AM_CPPFLAGS = -DSYSTEM_DATA_DIR=\""@datadir@"\"
-
- if WITH_BOOST
- FSPATH_IMPL = FsPath_boost.cpp
diff --git a/games-puzzle/fish-fillets/files/fish-fillets-0.7.3-no-local-paths.patch b/games-puzzle/fish-fillets/files/fish-fillets-0.7.3-no-local-paths.patch
deleted file mode 100644
index 72b7c1f410b9..000000000000
--- a/games-puzzle/fish-fillets/files/fish-fillets-0.7.3-no-local-paths.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- configure.in
-+++ configure.in
-@@ -13,9 +13,6 @@ AC_PROG_CC
- AC_PROG_INSTALL
- AC_PROG_RANLIB
-
--CPPFLAGS="-I/usr/local/include $CPPFLAGS"
--LIBS="-L/usr/local/lib $LIBS"
--
- ###################################################
- # Check for libm
- AC_CHECK_LIB(m, sin, LIBS="$LIBS -lm")
diff --git a/games-puzzle/fish-fillets/files/fish-fillets-0.7.3-use-lua-pkg-config.patch b/games-puzzle/fish-fillets/files/fish-fillets-0.7.3-use-lua-pkg-config.patch
deleted file mode 100644
index 374045899d91..000000000000
--- a/games-puzzle/fish-fillets/files/fish-fillets-0.7.3-use-lua-pkg-config.patch
+++ /dev/null
@@ -1,43 +0,0 @@
---- configure.in
-+++ configure.in
-@@ -36,22 +36,24 @@ dnl Debian, and possibly other systems,
- LUA_CFLAGS="`[$LUACONFIG --include]`"
- LUA_LIBS="`[$LUACONFIG --static]`"
- else dnl ...otherwise, attempt to guess
-- LUA_CFLAGS=""
-- LUA_LIBS=""
-- AC_CHECK_LIB(lua, lua_setfenv, LUA_LIBS="$LUA_LIBS -llua",
-- [AC_CHECK_LIB(lua50, lua_setfenv, LUA_LIBS="$LUA_LIBS -llua50",
-- [AC_CHECK_LIB(lua5.0, lua_setfenv, LUA_LIBS="$LUA_LIBS -llua5.0",
-- [AC_MSG_ERROR([*** Lua5 is required.
-- Try --with-lua=PREFIX
-- You can download lua from http://www.lua.org])],
-- $LUA_LIBS)], $LUA_LIBS)], $LUA_LIBS)
--
-- AC_CHECK_LIB(lualib, luaopen_base, LUA_LIBS="$LUA_LIBS -llualib",
-- [AC_CHECK_LIB(lualib50, luaopen_base, LUA_LIBS="$LUA_LIBS -llualib50",
-- [AC_CHECK_LIB(lualib5.0, luaopen_base, LUA_LIBS="$LUA_LIBS -llualib5.0",
-- [AC_MSG_ERROR([*** Lualib5 is required.
-- You can download lua from http://www.lua.org])],
-- $LUA_LIBS)], $LUA_LIBS)], $LUA_LIBS)
-+ PKG_CHECK_MODULES(LUA, lua, [], [
-+ LUA_CFLAGS=""
-+ LUA_LIBS=""
-+ AC_CHECK_LIB(lua, lua_setfenv, LUA_LIBS="$LUA_LIBS -llua",
-+ [AC_CHECK_LIB(lua50, lua_setfenv, LUA_LIBS="$LUA_LIBS -llua50",
-+ [AC_CHECK_LIB(lua5.0, lua_setfenv, LUA_LIBS="$LUA_LIBS -llua5.0",
-+ [AC_MSG_ERROR([*** Lua5 is required.
-+ Try --with-lua=PREFIX
-+ You can download lua from http://www.lua.org])],
-+ $LUA_LIBS)], $LUA_LIBS)], $LUA_LIBS)
-+
-+ AC_CHECK_LIB(lualib, luaopen_base, LUA_LIBS="$LUA_LIBS -llualib",
-+ [AC_CHECK_LIB(lualib50, luaopen_base, LUA_LIBS="$LUA_LIBS -llualib50",
-+ [AC_CHECK_LIB(lualib5.0, luaopen_base, LUA_LIBS="$LUA_LIBS -llualib5.0",
-+ [AC_MSG_ERROR([*** Lualib5 is required.
-+ You can download lua from http://www.lua.org])],
-+ $LUA_LIBS)], $LUA_LIBS)], $LUA_LIBS)
-+ ])
- fi
- fi
- AC_SUBST(LUA_CFLAGS)
diff --git a/games-puzzle/fish-fillets/fish-fillets-0.7.3-r1.ebuild b/games-puzzle/fish-fillets/fish-fillets-0.7.3-r1.ebuild
deleted file mode 100644
index 06e7daeb025e..000000000000
--- a/games-puzzle/fish-fillets/fish-fillets-0.7.3-r1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/fish-fillets/fish-fillets-0.7.3-r1.ebuild,v 1.2 2006/09/23 12:45:47 vapier Exp $
-
-WANT_AUTOCONF=latest
-WANT_AUTOMAKE=latest
-inherit autotools eutils games
-
-DATA_PV="0.7.1"
-DESCRIPTION="Underwater puzzle game - find a safe way out"
-HOMEPAGE="http://fillets.sourceforge.net/"
-SRC_URI="mirror://sourceforge/fillets/fillets-ng-${PV}.tar.gz
- mirror://sourceforge/fillets/fillets-ng-data-${DATA_PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="X"
-
-DEPEND=">=media-libs/libsdl-1.2
- >=media-libs/sdl-mixer-1.2.5
- >=media-libs/sdl-image-1.2.2
- X? ( x11-libs/libX11 )
- media-libs/sdl-ttf
- >=dev-lang/lua-5"
-
-S=${WORKDIR}/fillets-ng-${PV}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-check-for-X.patch
- epatch "${FILESDIR}"/${P}-custom-datadir.patch
- epatch "${FILESDIR}"/${P}-no-local-paths.patch
- epatch "${FILESDIR}"/${P}-use-lua-pkg-config.patch
- eautoreconf
-}
-
-src_compile() {
- egamesconf \
- --datadir="${GAMES_DATADIR}/${PN}" \
- $(use_with X) \
- || die
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS ChangeLog NEWS README TODO
- insinto "${GAMES_DATADIR}/${PN}"
- cd "${WORKDIR}"/fillets-ng-data-${DATA_PV} || die
- rm -f COPYING
- doins -r * || die "doins failed"
- newicon images/icon.png fillets.png
- make_desktop_entry fillets FishFillets fillets.png
- prepgamesdirs
-}