summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-06-15 07:02:18 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-06-15 07:02:18 +0000
commit2da67ce7dc4ec24165b2972b72a82fd252a6da9a (patch)
treec7cdbf4b217c050623a4136a6bd9cc65694f6e0a /games-puzzle
parentversion bump (diff)
downloadhistorical-2da67ce7dc4ec24165b2972b72a82fd252a6da9a.tar.gz
historical-2da67ce7dc4ec24165b2972b72a82fd252a6da9a.tar.bz2
historical-2da67ce7dc4ec24165b2972b72a82fd252a6da9a.zip
version bump
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/fish-fillets/ChangeLog9
-rw-r--r--games-puzzle/fish-fillets/Manifest7
-rw-r--r--games-puzzle/fish-fillets/files/fish-fillets-0.9.0-fribidi.patch21
-rw-r--r--games-puzzle/fish-fillets/files/fish-fillets-0.9.0-gcc43.patch38
-rw-r--r--games-puzzle/fish-fillets/fish-fillets-0.9.0.ebuild61
5 files changed, 134 insertions, 2 deletions
diff --git a/games-puzzle/fish-fillets/ChangeLog b/games-puzzle/fish-fillets/ChangeLog
index f0a689c0998b..c29e084c6555 100644
--- a/games-puzzle/fish-fillets/ChangeLog
+++ b/games-puzzle/fish-fillets/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-puzzle/fish-fillets
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/fish-fillets/ChangeLog,v 1.38 2009/04/06 20:47:01 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/fish-fillets/ChangeLog,v 1.39 2009/06/15 07:02:18 mr_bones_ Exp $
+
+*fish-fillets-0.9.0 (15 Jun 2009)
+
+ 15 Jun 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/fish-fillets-0.9.0-fribidi.patch,
+ +files/fish-fillets-0.9.0-gcc43.patch, +fish-fillets-0.9.0.ebuild:
+ version bump
06 Apr 2009; Markus Meier <maekke@gentoo.org> fish-fillets-0.8.1.ebuild:
amd64/x86 stable, bug #264696
diff --git a/games-puzzle/fish-fillets/Manifest b/games-puzzle/fish-fillets/Manifest
index 9e3ea48df12d..67a6769fa46e 100644
--- a/games-puzzle/fish-fillets/Manifest
+++ b/games-puzzle/fish-fillets/Manifest
@@ -1,7 +1,12 @@
AUX fish-fillets-0.8.1-fribidi.patch 1112 RMD160 cd3b519e801e77c70486711a1ca8887cb1922ac8 SHA1 edd16a8d95c06dbe8c3048c8b899220d62084f4c SHA256 a4e05b2f1b33dcea221f49443b8589adf8952dfe5a5363cc9ea07d98794e1039
AUX fish-fillets-0.8.1-gcc43.patch 1464 RMD160 a30172fcb6443559d62f2317e80c3580b1245299 SHA1 f28540d18dfd65eb2ae09b4de6e9925c8322239f SHA256 9f984f92d5bcbd57a3847c09e08959739d4eb0a2ed3b64c868ee49ef9af7b71e
+AUX fish-fillets-0.9.0-fribidi.patch 1112 RMD160 cd3b519e801e77c70486711a1ca8887cb1922ac8 SHA1 edd16a8d95c06dbe8c3048c8b899220d62084f4c SHA256 a4e05b2f1b33dcea221f49443b8589adf8952dfe5a5363cc9ea07d98794e1039
+AUX fish-fillets-0.9.0-gcc43.patch 1464 RMD160 a30172fcb6443559d62f2317e80c3580b1245299 SHA1 f28540d18dfd65eb2ae09b4de6e9925c8322239f SHA256 9f984f92d5bcbd57a3847c09e08959739d4eb0a2ed3b64c868ee49ef9af7b71e
DIST fillets-ng-0.8.1.tar.gz 359212 RMD160 67152cc8b135c7742df65207ec58d26d78eb79f7 SHA1 79e6bf7ddb6f2a4f1cda12705c2415fecccbe4a0 SHA256 de07d9388fcde9eaaef16f92181b9c79793b2bfacbd62a7e4755a0b5e5cd664c
+DIST fillets-ng-0.9.0.tar.gz 365599 RMD160 e0cf2c28f93020f76c8e7c3ec346fff77ec31ac3 SHA1 45d1317543df1cb452091df1c8e612df657eaddc SHA256 0eedb66c5a2b265b6f7406130c12ff86df728ba42816bdae0acd3c1ac525ea07
DIST fillets-ng-data-0.8.1.tar.gz 95953619 RMD160 da980117d5a41d9f6daf0215d37c9bf6a931d124 SHA1 6bbe438097cbd4ecfbcffcbad47e1791b4865a54 SHA256 b19d2f1aff628ceb79456a37c760dff992adedab8f3f1bd8ae5d441bc0e18309
+DIST fillets-ng-data-0.9.0.tar.gz 113063946 RMD160 cf782ad624d374f19748946ee32f4fe0b48aab16 SHA1 317d4c7cea98adefca9f640ac469f9e2c35fbe64 SHA256 c40a907e1ac1db09fc120f8373adbfe363f6e5c7c91bc9d669f218c70ae4a42b
EBUILD fish-fillets-0.8.1.ebuild 1597 RMD160 df571082c76f169d0b2294dd5cec3800c17dac57 SHA1 f119ed66fc42ce906b6d453482c626ca97c40dca SHA256 df65604a62f4a5cd7174c262e2a1cafc7c43528b7f4c3958a29782cead766464
-MISC ChangeLog 5483 RMD160 8fc171efbe0197209889ac0478999897d0e82ba8 SHA1 6e22ebe78839283236b9f5daf5e037fb03e3449c SHA256 c070ff37b82369755bd29510955cf06755cef66374d01ef728cc211ff85a3612
+EBUILD fish-fillets-0.9.0.ebuild 1610 RMD160 0403b600e7c0e57bece6255f201d0d13bbbf2663 SHA1 2388c5e50a2f02e88ed57c84c6a3cbf5fd6c0c6e SHA256 dc7988e3f516b23d946bdb13c7827708160233acaf0b18c7ad7ea66f447ebfb7
+MISC ChangeLog 5704 RMD160 db643d2dae9c1f417e5ff61160ef7ba790172208 SHA1 2722b5f22e27cb2d4a35509cfa8187b598687957 SHA256 22351d45bfebb6734d9c9e40fc7e31e580423f0dd1f11c39bf18181e93972adb
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-puzzle/fish-fillets/files/fish-fillets-0.9.0-fribidi.patch b/games-puzzle/fish-fillets/files/fish-fillets-0.9.0-fribidi.patch
new file mode 100644
index 000000000000..2e490ebe0014
--- /dev/null
+++ b/games-puzzle/fish-fillets/files/fish-fillets-0.9.0-fribidi.patch
@@ -0,0 +1,21 @@
+diff -ru fillets-ng-0.8.1.orig/src/effect/Font.cpp fillets-ng-0.8.1/src/effect/Font.cpp
+--- fillets-ng-0.8.1.orig/src/effect/Font.cpp 2006-01-05 23:31:18.000000000 +0100
++++ fillets-ng-0.8.1/src/effect/Font.cpp 2009-03-02 21:20:23.000000000 +0100
+@@ -26,7 +26,7 @@
+ FriBidiChar *logicalString = new FriBidiChar[text.length() + 1];
+ FriBidiChar *visualString = new FriBidiChar[text.length() + 1];
+
+- int ucsLength = fribidi_utf8_to_unicode(const_cast<char*>(text.c_str()),
++ int ucsLength = fribidi_charset_to_unicode(FRIBIDI_CHAR_SET_UTF8, const_cast<char*>(text.c_str()),
+ text.length(), logicalString);
+ fribidi_boolean ok = fribidi_log2vis(logicalString, ucsLength, &base,
+ visualString, NULL, NULL, NULL);
+@@ -37,7 +37,7 @@
+ }
+
+ char *buffer = new char[text.length() + 1];
+- int length = fribidi_unicode_to_utf8(visualString, ucsLength, buffer);
++ int length = fribidi_unicode_to_charset(FRIBIDI_CHAR_SET_UTF8, visualString, ucsLength, buffer);
+ std::string result = std::string(buffer, length);
+ delete[] buffer;
+ delete[] visualString;
diff --git a/games-puzzle/fish-fillets/files/fish-fillets-0.9.0-gcc43.patch b/games-puzzle/fish-fillets/files/fish-fillets-0.9.0-gcc43.patch
new file mode 100644
index 000000000000..19b7ab86c895
--- /dev/null
+++ b/games-puzzle/fish-fillets/files/fish-fillets-0.9.0-gcc43.patch
@@ -0,0 +1,38 @@
+diff -ru fillets-ng-0.8.1.orig/src/gengine/OptionAgent.cpp fillets-ng-0.8.1/src/gengine/OptionAgent.cpp
+--- fillets-ng-0.8.1.orig/src/gengine/OptionAgent.cpp 2008-12-29 05:43:40.000000000 -0500
++++ fillets-ng-0.8.1/src/gengine/OptionAgent.cpp 2009-02-13 13:35:13.000000000 -0500
+@@ -23,8 +23,8 @@
+ #include "UnknownMsgException.h"
+ #include "minmax.h"
+
+-#include <stdlib.h> //getenv
+-#include <string.h> //strlen
++#include <cstdlib> //getenv
++#include <cstring> //strlen
+ #include <locale.h> //setlocale
+
+ #ifndef LC_MESSAGES
+diff -ru fillets-ng-0.8.1.orig/src/gengine/StringTool.cpp fillets-ng-0.8.1/src/gengine/StringTool.cpp
+--- fillets-ng-0.8.1.orig/src/gengine/StringTool.cpp 2008-08-10 06:00:15.000000000 -0400
++++ fillets-ng-0.8.1/src/gengine/StringTool.cpp 2009-02-13 13:35:29.000000000 -0500
+@@ -8,7 +8,7 @@
+ */
+ #include "StringTool.h"
+
+-#include <stdlib.h>
++#include <cstdlib>
+ #include <sstream>
+
+ //-----------------------------------------------------------------
+diff -ru fillets-ng-0.8.1.orig/src/level/Landslip.cpp fillets-ng-0.8.1/src/level/Landslip.cpp
+--- fillets-ng-0.8.1.orig/src/level/Landslip.cpp 2008-08-10 06:00:29.000000000 -0400
++++ fillets-ng-0.8.1/src/level/Landslip.cpp 2009-02-13 13:36:06.000000000 -0500
+@@ -11,7 +11,7 @@
+ #include "Rules.h"
+ #include "minmax.h"
+
+-#include <string.h>
++#include <cstring>
+
+ //-----------------------------------------------------------------
+ Landslip::Landslip(const ModelList &models)
diff --git a/games-puzzle/fish-fillets/fish-fillets-0.9.0.ebuild b/games-puzzle/fish-fillets/fish-fillets-0.9.0.ebuild
new file mode 100644
index 000000000000..5cb1f3327bc8
--- /dev/null
+++ b/games-puzzle/fish-fillets/fish-fillets-0.9.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2009 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.9.0.ebuild,v 1.1 2009/06/15 07:02:18 mr_bones_ Exp $
+
+EAPI=2
+inherit autotools eutils games
+
+DATA_PV="0.9.0"
+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=""
+
+RDEPEND=">=media-libs/libsdl-1.2[video]
+ >=media-libs/sdl-mixer-1.2.5[vorbis]
+ >=media-libs/sdl-image-1.2.2[png]
+ x11-libs/libX11
+ media-libs/sdl-ttf
+ dev-libs/fribidi
+ >=dev-lang/lua-5"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+S=${WORKDIR}/fillets-ng-${PV}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}/${P}-gcc43.patch" \
+ "${FILESDIR}/${P}-fribidi.patch"
+
+ #.mod was renamed to .fmod in lua 5.1.3 - bug #223271
+ sed -i \
+ -e 's/\.mod(/.fmod(/' \
+ $(grep -rl "\.mod\>" "${WORKDIR}"/fillets-ng-data-${DATA_PV}) \
+ || die "sed failed"
+ rm -f missing
+ eautoreconf
+}
+
+src_configure() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --datadir="${GAMES_DATADIR}/${PN}"
+}
+
+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
+ prepgamesdirs
+}