diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2008-11-13 15:47:30 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2008-11-13 15:47:30 +0000 |
commit | 23e02d35ef8ce32b7268a12867d6124a61fc387f (patch) | |
tree | 37b8e6f99126f0c7eeea0076bca91402e6a60636 /games-simulation | |
parent | Sparc stable --- Bug #246586 --- in use 2 months now. (diff) | |
download | gentoo-2-23e02d35ef8ce32b7268a12867d6124a61fc387f.tar.gz gentoo-2-23e02d35ef8ce32b7268a12867d6124a61fc387f.tar.bz2 gentoo-2-23e02d35ef8ce32b7268a12867d6124a61fc387f.zip |
Remove games-simulation/cultivation from the tree. Unported to Portaudio v19, which is about to enter stable. By treecleaners.
Diffstat (limited to 'games-simulation')
-rw-r--r-- | games-simulation/cultivation/ChangeLog | 20 | ||||
-rw-r--r-- | games-simulation/cultivation/Manifest | 6 | ||||
-rw-r--r-- | games-simulation/cultivation/cultivation-8.ebuild | 52 | ||||
-rw-r--r-- | games-simulation/cultivation/files/cultivation-8-paths.patch | 51 | ||||
-rw-r--r-- | games-simulation/cultivation/files/cultivation-8-portaudio.patch | 42 | ||||
-rw-r--r-- | games-simulation/cultivation/metadata.xml | 20 |
6 files changed, 0 insertions, 191 deletions
diff --git a/games-simulation/cultivation/ChangeLog b/games-simulation/cultivation/ChangeLog deleted file mode 100644 index 3562ae56aec6..000000000000 --- a/games-simulation/cultivation/ChangeLog +++ /dev/null @@ -1,20 +0,0 @@ -# ChangeLog for games-simulation/cultivation -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/cultivation/ChangeLog,v 1.3 2007/08/12 01:21:30 nyhm Exp $ - -*cultivation-8 (12 Aug 2007) - - 12 Aug 2007; Tristan Heaven <nyhm@gentoo.org> - +files/cultivation-8-paths.patch, +files/cultivation-8-portaudio.patch, - +cultivation-8.ebuild: - Version bump - - 19 May 2007; Tupone Alfredo <tupone@gentoo.org> cultivation-7.ebuild: - Added ~x86 keyword. Bug #150406 by Antoine - -*cultivation-7 (17 May 2007) - - 17 May 2007; Tupone Alfredo <tupone@gentoo.org> - +files/cultivation-7-gentoo.patch, +metadata.xml, +cultivation-7.ebuild: - New package. Bug #150406 by Cedric Krier <cedk@gentoo.org> - diff --git a/games-simulation/cultivation/Manifest b/games-simulation/cultivation/Manifest deleted file mode 100644 index 4cb9cab8b668..000000000000 --- a/games-simulation/cultivation/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX cultivation-8-paths.patch 1628 RMD160 a1c78741dcb31ab2f29735b6f79a4be44741d756 SHA1 8ba708cf3e1f6966ed016e43ee0bb2f40a121f22 SHA256 21d12876b196cec575f904fb4421ad69a97af5addeb921445972972d1327f492 -AUX cultivation-8-portaudio.patch 1231 RMD160 ac55b5819f5a5617d8aa7151623d8565e78e0f46 SHA1 e16b535cdf5a9df104db7bea5ad37bfe74d91e8a SHA256 0c2d0e9cc1be4be34f790c302b610e6093999c3930c3e28f6731343cf417fa61 -DIST Cultivation_8_UnixSource.tar.gz 1125886 RMD160 6099e5aafc894cda830add2650d6c9698f34019b SHA1 f2c0aae6b0554dbcc3ee30aaeb7d8d6c471bec82 SHA256 001805c03711f0c32b99ed87cdd65f5ffa47b540bd9266ff5948801019ff7da3 -EBUILD cultivation-8.ebuild 1372 RMD160 4415dafa8de7ec24d5730e18a4ae01e53cda91dc SHA1 926dd0a842f28222c63c8f1149a96a0651a7a536 SHA256 d5c3b4ac4aa3a6dbd37fefce118ea41985a1a68bd1b8a360665ecebe7200ef5b -MISC ChangeLog 755 RMD160 1e6f576defc25e05e97a1a00b9886e2ce7450bb8 SHA1 897e53e6f9f0f72e6f8ca58ab44c663d72ed1727 SHA256 7924ba64299557a4ea27e7e48389a5ad07b3b7c9b37eb7029a8b1c1670c71958 -MISC metadata.xml 982 RMD160 835e540eb7bc0b9e4a16f21ebf3c70ed2c2062ff SHA1 975211e7e000ceccf671f00d5f432f9b031844bf SHA256 fbb4a448f5d958f99372d8fbacd9938da0e477302ada4e048845d1c772577025 diff --git a/games-simulation/cultivation/cultivation-8.ebuild b/games-simulation/cultivation/cultivation-8.ebuild deleted file mode 100644 index 26537802170d..000000000000 --- a/games-simulation/cultivation/cultivation-8.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/cultivation/cultivation-8.ebuild,v 1.1 2007/08/12 01:21:30 nyhm Exp $ - -inherit eutils toolchain-funcs games - -MY_P=Cultivation_${PV}_UnixSource -DESCRIPTION="A game about the interactions within a gardening community" -HOMEPAGE="http://cultivation.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="virtual/opengl - virtual/glu - virtual/glut - media-libs/pablio" - -S=${WORKDIR}/${MY_P}/game2 - -src_unpack() { - unpack ${A} - cd ${MY_P} - rm -rf minorGems/sound/portaudio - epatch \ - "${FILESDIR}"/${P}-portaudio.patch \ - "${FILESDIR}"/${P}-paths.patch - sed -i "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ - game2/gameSource/features.cpp \ - game2/gameSource/game.cpp \ - minorGems/util/TranslationManager.cpp \ - || die "sed failed" -} - -src_compile() { - # not an autoconf script - platformSelection=1 ./configure || die - tc-export CXX - emake -C gameSource || die "emake failed" -} - -src_install() { - cd gameSource - newgamesbin Cultivation ${PN} || die "newgamesbin failed" - insinto "${GAMES_DATADIR}"/${PN} - doins -r features.txt font.tga language.txt languages || die "doins failed" - dodoc ../documentation/*.txt - prepgamesdirs -} diff --git a/games-simulation/cultivation/files/cultivation-8-paths.patch b/games-simulation/cultivation/files/cultivation-8-paths.patch deleted file mode 100644 index eac34c85eca5..000000000000 --- a/games-simulation/cultivation/files/cultivation-8-paths.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- game2/gameSource/features.cpp -+++ game2/gameSource/features.cpp -@@ -57,7 +57,7 @@ - - - void initializeFeatures() { -- FILE *featuresFile = fopen( "features.txt", "r" ); -+ FILE *featuresFile = fopen( "@GENTOO_DATADIR@/features.txt", "r" ); - - char stringBuffer[100]; - int switchValue; ---- game2/gameSource/game.cpp -+++ game2/gameSource/game.cpp -@@ -592,7 +592,7 @@ - mStartTimeSeconds( time( NULL ) ), - mPaused( false ), - mMaxFrameRate( 400 ), // don't limit frame rate -- mPrintFrameRate( true ), -+ mPrintFrameRate( false ), - mNumFrames( 0 ), mFrameBatchSize( 100 ), - mFrameBatchStartTimeSeconds( time( NULL ) ), - mFrameBatchStartTimeMilliseconds( 0 ), -@@ -902,7 +902,7 @@ - // load font image - TGAImageConverter tga; - -- File fontFile( NULL, "font.tga" ); -+ File fontFile( NULL, "@GENTOO_DATADIR@/font.tga" ); - FileInputStream fontInput( &fontFile ); - - Image *fontImage = tga.deformatImage( &fontInput ); -@@ -985,7 +985,7 @@ - mCurrentTipStoredItem = -1; - - // translation language for tool tips -- File languageNameFile( NULL, "language.txt" ); -+ File languageNameFile( NULL, "@GENTOO_DATADIR@/language.txt" ); - - if( languageNameFile.exists() ) { - char *languageNameText = languageNameFile.readFileContents(); ---- minorGems/util/TranslationManager.cpp -+++ minorGems/util/TranslationManager.cpp -@@ -147,7 +147,7 @@ - mNaturalLanguageStrings( NULL ) { - - // default -- setDirectoryAndLanguage( "languages", "English" ); -+ setDirectoryAndLanguage( "@GENTOO_DATADIR@/languages", "English" ); - } - - diff --git a/games-simulation/cultivation/files/cultivation-8-portaudio.patch b/games-simulation/cultivation/files/cultivation-8-portaudio.patch deleted file mode 100644 index 1ce8f8a75c85..000000000000 --- a/games-simulation/cultivation/files/cultivation-8-portaudio.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- game2/gameSource/sound/SoundPlayer.h -+++ game2/gameSource/sound/SoundPlayer.h -@@ -52,8 +52,8 @@ - #include "SoundFilter.h" - #include "PlayableSound.h" - --#include "minorGems/sound/portaudio/pa_common/portaudio.h" --#include "minorGems/sound/portaudio/pablio/pablio.h" -+#include <portaudio/portaudio.h> -+#include <portaudio/pablio.h> - - - #include "minorGems/util/SimpleVector.h" ---- game2/Makefile.common -+++ game2/Makefile.common -@@ -52,7 +52,7 @@ - - - --COMPILE_FLAGS = -Wall ${DEBUG_FLAG} ${PLATFORM_COMPILE_FLAGS} ${PROFILE_FLAG} ${OPTIMIZE_FLAG} -I${ROOT_PATH} -I${PORT_AUDIO_PATH}/pa_common -+COMPILE_FLAGS = -Wall ${PLATFORM_COMPILE_FLAGS} $(CXXFLAGS) -I${ROOT_PATH} - - - COMPILE = ${GXX} ${COMPILE_FLAGS} -c ---- game2/Makefile.GnuLinux -+++ game2/Makefile.GnuLinux -@@ -20,12 +20,12 @@ - - # various GL and X windows librariesneeded for linux - # also need portaudio library (which in turn needs pthreads) --PLATFORM_LINK_FLAGS = -L/usr/X11R6/lib -lGL -lglut -lGLU -lX11 ${PORT_AUDIO_PATH}/lib/libportaudio.a -lpthread -+PLATFORM_LINK_FLAGS = -lGL -lglut -lGLU -lX11 -lportaudio -lpthread - - - # All platforms but OSX support g++ and need no linker hacks --GXX = g++ --LINK_FLAGS = -+GXX = $(CXX) -+LINK_FLAGS = $(LDFLAGS) - - - diff --git a/games-simulation/cultivation/metadata.xml b/games-simulation/cultivation/metadata.xml deleted file mode 100644 index 81c88c1cfa4d..000000000000 --- a/games-simulation/cultivation/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>games</herd> -<longdescription lang="en"> -Cultivation is a game about a community of gardeners growing food for themselves -in a shared space. - -Cultivation is quite different from most other games. It is a social simulation, -and the primary form of conflict is over land and plant resources---there is no -shooting, but there are plenty of angry looks. It is also an evolution -simulation. Within the world of Cultivation, you can explore a virtually -infinite spectrum of different plant and gardener varieties. - -All of the graphics, sounds, melodies,and other content in Cultivation are 100% -procedurally generated at playtime. In other words, there are no hand-painted -texture maps---instead, each object has a uniquely "grown" appearance. Every -time you play, Cultivation generates fresh visuals, music, and behaviors. -</longdescription> -</pkgmetadata> |