diff options
author | Olivier Fisette <ribosome@gentoo.org> | 2004-12-24 03:44:58 +0000 |
---|---|---|
committer | Olivier Fisette <ribosome@gentoo.org> | 2004-12-24 03:44:58 +0000 |
commit | 483e650e1cd57aca8d7c00eb7596e548e591b2ba (patch) | |
tree | 4b51ef91628c3aa25465a61425b58a6c8781103a /sci-astronomy/celestia | |
parent | Moving to sci-astronomy/celestia (diff) | |
download | historical-483e650e1cd57aca8d7c00eb7596e548e591b2ba.tar.gz historical-483e650e1cd57aca8d7c00eb7596e548e591b2ba.tar.bz2 historical-483e650e1cd57aca8d7c00eb7596e548e591b2ba.zip |
Moved from app-sci/celestia to sci-astronomy/celestia.
Diffstat (limited to 'sci-astronomy/celestia')
-rw-r--r-- | sci-astronomy/celestia/ChangeLog | 161 | ||||
-rw-r--r-- | sci-astronomy/celestia/Manifest | 16 | ||||
-rw-r--r-- | sci-astronomy/celestia/celestia-1.3.2.ebuild | 111 | ||||
-rw-r--r-- | sci-astronomy/celestia/files/celestia-1.3.2-noarts.patch | 141 | ||||
-rw-r--r-- | sci-astronomy/celestia/files/digest-celestia-1.3.2 | 1 | ||||
-rw-r--r-- | sci-astronomy/celestia/files/resmanager.h.patch | 20 | ||||
-rw-r--r-- | sci-astronomy/celestia/metadata.xml | 13 |
7 files changed, 463 insertions, 0 deletions
diff --git a/sci-astronomy/celestia/ChangeLog b/sci-astronomy/celestia/ChangeLog new file mode 100644 index 000000000000..5a22d7de36b4 --- /dev/null +++ b/sci-astronomy/celestia/ChangeLog @@ -0,0 +1,161 @@ +# ChangeLog for app-sci/celestia +# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/celestia/ChangeLog,v 1.1 2004/12/24 03:44:58 ribosome Exp $ + +*celestia-1.3.2 (23 Dec 2004) + + 23 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml, + +files/celestia-1.3.2-noarts.patch, +files/resmanager.h.patch, + +celestia-1.3.2.ebuild: + Moved from app-sci/celestia to sci-astronomy/celestia. + + 29 Nov 2004; Daniel Goller <morfic@gentoo.org> + -files/celestia-1.3.1-gtkmain.patch, -files/celestia-gcc3.patch, + -celestia-1.3.0-r1.ebuild, -celestia-1.3.0.ebuild, -celestia-1.3.1.ebuild: + Cleaning up all the old/broken ebuilds and their files. + + 28 Nov 2004; Simon Stelling <blubb@gentoo.org> celestia-1.3.2.ebuild: + stable on amd64 + + 16 Nov 2004; Patrick Kursawe <phosphan@gentoo.org> celestia-1.3.0-r1.ebuild, + celestia-1.3.0.ebuild, celestia-1.3.1.ebuild: + Fixing #71064 (removing einfo "-------") + + 12 Nov 2004; Daniel Goller <morfic@gentoo.org> celestia-1.3.2.ebuild: + added arts USE flag, stable on x86 and ppc + + 30 Sep 2004; Daniel Goller <morfic@gentoo.org> -celestia-1.3.2_pre20040731-r1.ebuild, + -celestia-1.3.2_pre20040731.ebuild, -digest-celestia-1.3.2_pre20040731, -digest-celestia-1.3.2_pre20040731-r1: + cleaned up old 1.3.2_pre ebuilds + + 01 Oct 2004; Danny van Dyk <kugelfang@gentoo.org> celestia-1.3.2.ebuild: + Marked ~amd64. + + 27 Sep 2004; Daniel Goller <morfic@gentoo.org> celestia-1.3.2.ebuild: + added ~ppc keyword + + 25 Sep 2004; Daniel Goller <morfic@gentoo.org> metadata.xml: + added maintainers to metadata.xml + +*celestia-1.3.2 (31 Aug 2004) + + 31 Aug 2004; Daniel Goller <morfic@gentoo.org> +celestia-1.3.2.ebuild: + new version, updated depends + thanks Giacomo Perale, Bret Towe + + 18 Aug 2004; Daniel Goller <morfic@gentoo.org> -celestia-1.2.2.ebuild, + -celestia-1.2.4.ebuild, -celestia-1.2.5.ebuild, + celestia-1.3.2_pre20040731-r1.ebuild: + Ditch old versions + + 18 Aug 2004; Daniel Goller <morfic@gentoo.org> + celestia-1.3.2_pre20040731-r1.ebuild: + Fixed USE logic and other cleanups. + Thanks Jay. + +*celestia-1.3.2_pre20040731-r1 (08 Aug 2004) + + 08 Aug 2004; Daniel Goller <morfic@gentoo.org> + +celestia-1.3.2_pre20040731-r1.ebuild: + Fix gtk and gnome UI + Special Thanks to Bret Towe + + 08 Aug 2004; Olivier Fisette <ribosome@gentoo.org> + celestia-1.3.2_pre20040731.ebuild: + Removed RESTRICT="nomirror" as suggested in bug #59781. + + 08 Aug 2004; Daniel Goller <morfic@gentoo.org> + celestia-1.3.2_pre20040731.ebuild: + making kde deps non conditional till gtk choice can be fixed + at which point choice between kde and gtk should be reenabled + + 05 Aug 2004; Daniel Goller <morfic@gentoo.org> + celestia-1.3.2_pre20040731.ebuild: + Little Cleanup + +*celestia-1.3.2_pre20040731 (04 Aug 2004) + + 04 Aug 2004; Daniel Goller <morfic@gentoo.org> +files/resmanager.h.patch, + +celestia-1.3.2_pre20040731.ebuild: + CVS version actually runs after compilation, committing + Fixes numerous bugs + Thanks to Polynomial-C@gmx.de (ebuild) and Bret Towe (patch) + + 17 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> + celestia-1.3.0-r1.ebuild, celestia-1.3.1.ebuild: + fix use invocation + + 06 Jun 2004; Danny van Dyk <kugelfang@gentoo.org> celestia-1.3.1.ebuild: + Marked stable on amd64. + + 02 Jun 2004; Aron Griffis <agriffis@gentoo.org> celestia-1.2.5.ebuild, + celestia-1.3.0.ebuild: + Fix use invocation + +*celestia-1.3.1 (22 Apr 2004) + + 22 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> celestia-1.3.1.ebuild, + files/celestia-1.3.1-gtkmain.patch: + Version bump, see bug #38184 about problems + + 11 Apr 2004; Donnie Berkholz <spyderous@gentoo.org>; + celestia-1.3.0-r1.ebuild, celestia-1.3.0.ebuild: + xorg-x11 compatibility fix. + + 25 Feb 2004; Patrick Kursawe <phosphan@gentoo.org> celestia-1.3.0-r1.ebuild: + Sandbox violation fixed + +*celestia-1.3.0-r1 (25 Feb 2004) + + 25 Feb 2004; Patrick Kursawe <phosphan@gentoo.org> : + Moving from app-misc to app-sci + +*celestia-1.3.0-r1 (10 Dec 2003) + + 10 Dec 2003; Patrick Kursawe <phosphan@gentoo.org> celestia-1.3.0-r1.ebuild: + Enabled building without gnome or kde. + + 30 Sep 2003; George Shapovalov <george@gentoo.org> celestia-1.3.0.ebuild : + added ~ppc flag as per test report by Fernando Usero <fusero@wanadoo.es> + +*celestia-1.3.0 (11 May 2003) + + 11 May 2003; George Shapovalov <george@gentoo.org> celestia-1.2.5.ebuild : + new version (#19642) + +*celestia-1.2.5 (12 Jan 2003) + + 12 Jan 2003; George Shapovalov <george@gentoo.org> celestia-1.2.5.ebuild : + + new version. Looks like gcc-3.x issue were fixed. + Also problems were reported when compiling celestia with nvidia drivers + The fix is to opengl-update xfree && emerge celestia && opengl-update nvidia. + See also #6417 + +*celestia-1.2.4 (4 May 2002) + + 09 Nov 2002; George Shapovalov <george@gentoo.org> celestia-1.2.4.ebuild : + + another fix - to filter out -funroll-loops which causes trouble with gcc-3.2 + + 23 Oct 2002; George Shapovalov <george@gentoo.org> celestia-1.2.4.ebuild, files/celestia-gcc3.patch : + + applied fix to make celestia compile under gcc-3.x, + Thanks to Bret Towe <btowe@gbis.com>, bug #6417 + + 19 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> celestia-1.2.4.ebuild : + Updated to mirror://sourceforge in SRC_URI. + + 4 May 2002; Seemant Kulleen <seemant@gentoo.org> celestia-1.2.4.ebuild + files/digest-celestia-1.2.4 : + + Version bump, which hopefully sorts out compilation errors that were reported + by greg@digitalinfo.net (Greg Anuzelli) in bug #2394 + +*celestia-1.2.2 (13 Apr 2002) + + 13 Apr 2002; Bruce A. Locke <blocke@shivan.org> celestia-1.2.2.ebuild: + + Celestia added to Gentoo + + diff --git a/sci-astronomy/celestia/Manifest b/sci-astronomy/celestia/Manifest new file mode 100644 index 000000000000..8f39c72518c5 --- /dev/null +++ b/sci-astronomy/celestia/Manifest @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 8a447b320f0e8f6c0340fc819badf10e ChangeLog 5394 +MD5 1b55bd73a1313e288a88762af6cd0fb7 metadata.xml 330 +MD5 a8fd623fbee6bf3e985ba63d7c7054d4 celestia-1.3.2.ebuild 3103 +MD5 f96a6eb019a59bf1a643b96c43657af8 files/resmanager.h.patch 893 +MD5 f659f2616eeaaa4d3b6422e586d2bfa2 files/celestia-1.3.2-noarts.patch 3566 +MD5 d4ff8e51fb3a546279e7442cf24e07d7 files/digest-celestia-1.3.2 68 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.6 (GNU/Linux) + +iD8DBQFBq8OLUpKYMelfdYERAlorAJ9yuOWS5wRCtGqAZwfdeMJs6LFY7wCfWjYu +rN5lVEO127HjWU2aSQTAdQw= +=Rxru +-----END PGP SIGNATURE----- diff --git a/sci-astronomy/celestia/celestia-1.3.2.ebuild b/sci-astronomy/celestia/celestia-1.3.2.ebuild new file mode 100644 index 000000000000..a426c41e12a8 --- /dev/null +++ b/sci-astronomy/celestia/celestia-1.3.2.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/celestia/celestia-1.3.2.ebuild,v 1.1 2004/12/24 03:44:58 ribosome Exp $ + +inherit eutils flag-o-matic gnome2 kde-functions + +DESCRIPTION="Celestia is a free real-time space simulation that lets you experience our universe in three dimensions" +HOMEPAGE="http://www.shatters.net/celestia/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ppc amd64" +IUSE="gnome gtk kde arts" + +DEPEND=">=media-libs/glut-3.7.1 + virtual/glu + media-libs/jpeg + media-libs/libpng + dev-lang/lua + gtk? ( >=x11-libs/gtk+-2.0 + >=x11-libs/gtkglext-1.0 ) + gnome? ( >=gnome-base/libgnomeui-2.0 ) + kde? ( >=kde-base/kdelibs-3.0.5 )" + +pkg_setup() { + # Check for one for the following use flags to be set. + if use kde; then + einfo "USE=\"kde\" detected. This will override any gnome/gtk USE preferences." + export MYMAKE="kde" + elif use gnome; then + einfo "USE=\"gnome\" detected." + export MYMAKE="gnome" + elif use gtk; then + einfo "USE=\"gtk\" detected." + export MYMAKE="gtk" + else + eerror "You must set at least one of USE=\"{kde/gnome/gtk}\"" + ewarn "Please set one of the USE flags end re-emerge" + ewarn "ie. 'env USE=\"kde\" emerge celestia" + die "No valid USE flags set" + fi + + # Get X11 implementation + X11_IMPLEM_P="$(portageq best_version "${ROOT}" virtual/x11)" + X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" + X11_IMPLEM="${X11_IMPLEM##*\/}" + + einfo "Please note:" + einfo "if you experience problems building celestia with nvidia drivers," + einfo "you can try:" + einfo "opengl-update ${X11_IMPLEM}" + einfo "emerge celestia" + einfo "opengl-update nvidia" +} + +src_unpack() { + unpack ${A} + cd ${S} + + # adding gcc-3.4 support as posted in + # (http://bugs.gentoo.org/show_bug.cgi?id=53479#c2) + epatch ${FILESDIR}/resmanager.h.patch \ + || die "patching gcc 3.4 support failed" + + if use !arts; + then + epatch ${FILESDIR}/celestia-1.3.2-noarts.patch + fi + + if [ "${MYMAKE}" != "gnome" ]; then + # alright this snapshot seems to have some trouble with installing a + # file properly. It wants to install celestia.schemas in / which leads + # to an ACCESS VIOLATION. Unfortunately this file even gets installed + # when no gtk/gnome is enabled + # The following lines prevents this but thinkabout as a dirty hack + cd ${S}/src/celestia/gtk || die + sed -i -e 's:@GCONF_SCHEMA_FILE_DIR@:$(pkgdatadir)/schemas:g' \ + Makefile.in || die + sed -i -e 's:@GCONF_SCHEMA_FILE_DIR@:$(pkgdatadir)/schemas:g' \ + data/Makefile.in || die + fi +} + +src_compile() { + filter-flags "-funroll-loops -frerun-loop-opt" + addwrite ${QTDIR}/etc/settings + + if [ "${MYMAKE}" = "kde" ]; then + set-kdedir 3 + set-qtdir 3 + export kde_widgetdir="$KDEDIR/lib/kde3/plugins/designer" + fi + + ./configure --prefix=/usr \ + --with-lua \ + --with-${MYMAKE} || die + + emake all || die +} + +src_install() { + if [ "${MYMAKE}" = "gnome" ]; then + gnome2_src_install + else + make install prefix=${D}/usr + fi + + dodoc AUTHORS COPYING README TODO controls.txt + dohtml manual/*.html manual/*.css +} diff --git a/sci-astronomy/celestia/files/celestia-1.3.2-noarts.patch b/sci-astronomy/celestia/files/celestia-1.3.2-noarts.patch new file mode 100644 index 000000000000..f6d803f2ea25 --- /dev/null +++ b/sci-astronomy/celestia/files/celestia-1.3.2-noarts.patch @@ -0,0 +1,141 @@ +--- configure.old 2004-11-05 15:10:33.551447944 -0800 ++++ configure 2004-11-05 15:12:24.319608624 -0800 +@@ -27442,138 +27442,6 @@ + fi + + +- echo "$as_me:$LINENO: checking for mcopidl" >&5 +-echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6 +- if test -n "$MCOPIDL"; then +- kde_cv_path="$MCOPIDL"; +- else +- kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'` +- +- if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- +- kde_cv_path="NONE" +- dirs="$kde_default_bindirs" +- kde_save_IFS=$IFS +- IFS=':' +- for dir in $PATH; do +- dirs="$dirs $dir" +- done +- IFS=$kde_save_IFS +- +- for dir in $dirs; do +- if test -x "$dir/mcopidl"; then +- if test -n "" +- then +- evalstr="$dir/mcopidl 2>&1 " +- if eval $evalstr; then +- kde_cv_path="$dir/mcopidl" +- break +- fi +- else +- kde_cv_path="$dir/mcopidl" +- break +- fi +- fi +- done +- +- eval "kde_cv_path_$kde_cache=$kde_cv_path" +- +- +-fi +- +- +- eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\"" +- +- fi +- +- if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then +- echo "$as_me:$LINENO: result: not found" >&5 +-echo "${ECHO_T}not found" >&6 +- +- { { echo "$as_me:$LINENO: error: The important program mcopidl was not found! +-Please check whether you installed aRts correctly. +-" >&5 +-echo "$as_me: error: The important program mcopidl was not found! +-Please check whether you installed aRts correctly. +-" >&2;} +- { (exit 1); exit 1; }; } +- +- else +- echo "$as_me:$LINENO: result: $kde_cv_path" >&5 +-echo "${ECHO_T}$kde_cv_path" >&6 +- MCOPIDL=$kde_cv_path +- +- fi +- +- +- echo "$as_me:$LINENO: checking for artsc-config" >&5 +-echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6 +- if test -n "$ARTSCCONFIG"; then +- kde_cv_path="$ARTSCCONFIG"; +- else +- kde_cache=`echo artsc-config | sed 'y%./+-%__p_%'` +- +- if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- +- kde_cv_path="NONE" +- dirs="$kde_default_bindirs" +- kde_save_IFS=$IFS +- IFS=':' +- for dir in $PATH; do +- dirs="$dirs $dir" +- done +- IFS=$kde_save_IFS +- +- for dir in $dirs; do +- if test -x "$dir/artsc-config"; then +- if test -n "" +- then +- evalstr="$dir/artsc-config 2>&1 " +- if eval $evalstr; then +- kde_cv_path="$dir/artsc-config" +- break +- fi +- else +- kde_cv_path="$dir/artsc-config" +- break +- fi +- fi +- done +- +- eval "kde_cv_path_$kde_cache=$kde_cv_path" +- +- +-fi +- +- +- eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\"" +- +- fi +- +- if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then +- echo "$as_me:$LINENO: result: not found" >&5 +-echo "${ECHO_T}not found" >&6 +- +- { { echo "$as_me:$LINENO: error: The important program artsc-config was not found! +-Please check whether you installed aRts correctly. +-" >&5 +-echo "$as_me: error: The important program artsc-config was not found! +-Please check whether you installed aRts correctly. +-" >&2;} +- { (exit 1); exit 1; }; } +- +- else +- echo "$as_me:$LINENO: result: $kde_cv_path" >&5 +-echo "${ECHO_T}$kde_cv_path" >&6 +- ARTSCCONFIG=$kde_cv_path +- +- fi +- +- + echo "$as_me:$LINENO: checking for kde-config" >&5 + echo $ECHO_N "checking for kde-config... $ECHO_C" >&6 + if test -n "$KDECONFIG"; then diff --git a/sci-astronomy/celestia/files/digest-celestia-1.3.2 b/sci-astronomy/celestia/files/digest-celestia-1.3.2 new file mode 100644 index 000000000000..bb7d18b18d57 --- /dev/null +++ b/sci-astronomy/celestia/files/digest-celestia-1.3.2 @@ -0,0 +1 @@ +MD5 0aaf86592a8989a0576e34c1f4cb3c2a celestia-1.3.2.tar.gz 18091458 diff --git a/sci-astronomy/celestia/files/resmanager.h.patch b/sci-astronomy/celestia/files/resmanager.h.patch new file mode 100644 index 000000000000..e1c835770a35 --- /dev/null +++ b/sci-astronomy/celestia/files/resmanager.h.patch @@ -0,0 +1,20 @@ +--- resmanager.h.old 2004-06-09 18:53:52.357752656 -0500 ++++ celestia-1.3.1/src/celutil/resmanager.h 2004-06-09 18:52:12.144987312 -0500 +@@ -72,7 +72,7 @@ + { + ResourceHandle h = handles.size(); + resources.insert(resources.end(), info); +- handles.insert(ResourceHandleMap::value_type(info, h)); ++ handles.insert(typename ResourceHandleMap::value_type(info, h)); + return h; + } + } +@@ -105,7 +105,7 @@ + else + { + resources[h].state = ResourceLoaded; +- loadedResources.insert(NameMap::value_type(resources[h].resolvedName, resources[h].resource)); ++ loadedResources.insert(typename NameMap::value_type(resources[h].resolvedName, resources[h].resource)); + } + } + } diff --git a/sci-astronomy/celestia/metadata.xml b/sci-astronomy/celestia/metadata.xml new file mode 100644 index 000000000000..a461dc71ca5a --- /dev/null +++ b/sci-astronomy/celestia/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<maintainer> + <email>magnade@gmail.com</email> + <name>Bret Towe</name> +</maintainer> +<maintainer> + <email>morfic@gentoo.org</email> + <name>Daniel Goller</name> +</maintainer> +</pkgmetadata> |