summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2004-02-25 07:59:46 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2004-02-25 07:59:46 +0000
commit5ababbe09f31d7047aee2deb06694aee35041955 (patch)
tree481c46402e8408d9e5cd9848bc5b5c23ff5fcf2d /app-sci
parentNew upstream version. Closes #42767. (diff)
downloadhistorical-5ababbe09f31d7047aee2deb06694aee35041955.tar.gz
historical-5ababbe09f31d7047aee2deb06694aee35041955.tar.bz2
historical-5ababbe09f31d7047aee2deb06694aee35041955.zip
Moving from app-misc to app-sci
Diffstat (limited to 'app-sci')
-rw-r--r--app-sci/celestia/ChangeLog58
-rw-r--r--app-sci/celestia/Manifest13
-rw-r--r--app-sci/celestia/celestia-1.2.2.ebuild42
-rw-r--r--app-sci/celestia/celestia-1.2.4.ebuild52
-rw-r--r--app-sci/celestia/celestia-1.2.5.ebuild70
-rw-r--r--app-sci/celestia/celestia-1.3.0-r1.ebuild71
-rw-r--r--app-sci/celestia/celestia-1.3.0.ebuild69
-rw-r--r--app-sci/celestia/files/celestia-gcc3.patch101
-rw-r--r--app-sci/celestia/files/digest-celestia-1.2.21
-rw-r--r--app-sci/celestia/files/digest-celestia-1.2.41
-rw-r--r--app-sci/celestia/files/digest-celestia-1.2.51
-rw-r--r--app-sci/celestia/files/digest-celestia-1.3.01
-rw-r--r--app-sci/celestia/files/digest-celestia-1.3.0-r11
-rw-r--r--app-sci/celestia/metadata.xml5
14 files changed, 486 insertions, 0 deletions
diff --git a/app-sci/celestia/ChangeLog b/app-sci/celestia/ChangeLog
new file mode 100644
index 000000000000..24acdeb905fc
--- /dev/null
+++ b/app-sci/celestia/ChangeLog
@@ -0,0 +1,58 @@
+# ChangeLog for app-misc/celestia
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/celestia/ChangeLog,v 1.1 2004/02/25 07:59:46 phosphan Exp $
+
+*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/app-sci/celestia/Manifest b/app-sci/celestia/Manifest
new file mode 100644
index 000000000000..5a1ef6a867a8
--- /dev/null
+++ b/app-sci/celestia/Manifest
@@ -0,0 +1,13 @@
+MD5 19992348aa64bbb84634b74d82820448 celestia-1.3.0-r1.ebuild 2043
+MD5 81ee87e1671c89c7e7b9fdfa17ca7457 celestia-1.2.5.ebuild 1960
+MD5 3fc1b2e7d54b3d27a340cb5b087cfa77 celestia-1.2.2.ebuild 1067
+MD5 db9f31d5b0e111ee87d065e70912b926 celestia-1.3.0.ebuild 1947
+MD5 e3ce3c1588baa8a01df4858ba2bf0188 ChangeLog 2007
+MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+MD5 89ed818b38b994f8b1d33c116d50b416 celestia-1.2.4.ebuild 1220
+MD5 f34ba9f68bc1c0e8487c8e27ba984333 files/digest-celestia-1.2.2 68
+MD5 5c370faab90b777deeb29bd02fd40b15 files/digest-celestia-1.2.4 68
+MD5 96739b584d48f639583eb750463a44ea files/digest-celestia-1.2.5 68
+MD5 95f9f0d84c71195fe1f00ba37ea79c0e files/digest-celestia-1.3.0 68
+MD5 95f9f0d84c71195fe1f00ba37ea79c0e files/digest-celestia-1.3.0-r1 68
+MD5 318b4452af1f7b12deb515e84ca6848a files/celestia-gcc3.patch 4576
diff --git a/app-sci/celestia/celestia-1.2.2.ebuild b/app-sci/celestia/celestia-1.2.2.ebuild
new file mode 100644
index 000000000000..86f5ed39fcd6
--- /dev/null
+++ b/app-sci/celestia/celestia-1.2.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/celestia/celestia-1.2.2.ebuild,v 1.1 2004/02/25 07:59:46 phosphan Exp $
+
+IUSE="gtk gnome"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Celestia is a free real-time space simulation that lets you experience our universe in three dimensions"
+SRC_URI="mirror://sourceforge/celestia/${P}.tar.gz"
+HOMEPAGE="http://www.shatters.net/celestia"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+
+DEPEND="gtk? ( =x11-libs/gtk+-1.2*
+ <x11-libs/gtkglarea-1.99.0 )
+ gnome? ( =gnome-base/gnome-libs-1.4* )
+ >=media-libs/glut-3.7-r2
+ virtual/glu
+ media-libs/jpeg
+ media-libs/libpng"
+
+src_compile() {
+
+ local myconf
+
+ # currently celestia's "gtk support" requires gnome
+ use gtk || myconf="--without-gtk"
+ use gnome || myconf="--without-gtk"
+
+ ./configure --prefix=/usr ${myconf} || die
+ emake all || die
+}
+
+src_install() {
+
+ make install prefix=${D}/usr
+
+ dodoc AUTHORS COPYING NEWS README TODO controls.txt
+ dohtml manual/*.html manual/*.css
+}
diff --git a/app-sci/celestia/celestia-1.2.4.ebuild b/app-sci/celestia/celestia-1.2.4.ebuild
new file mode 100644
index 000000000000..83694c453fa1
--- /dev/null
+++ b/app-sci/celestia/celestia-1.2.4.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/celestia/celestia-1.2.4.ebuild,v 1.1 2004/02/25 07:59:46 phosphan Exp $
+
+inherit flag-o-matic
+
+IUSE="gtk gnome"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Celestia is a free real-time space simulation that lets you experience our universe in three dimensions"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://www.shatters.net/celestia"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+
+DEPEND="gtk? ( =x11-libs/gtk+-1.2*
+ <x11-libs/gtkglarea-1.99.0 )
+ gnome? ( =gnome-base/gnome-libs-1.4* )
+ >=media-libs/glut-3.7-r2
+ virtual/glu
+ media-libs/jpeg
+ media-libs/libpng"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ patch -p1 < ${FILESDIR}/celestia-gcc3.patch
+}
+
+src_compile() {
+ local myconf
+
+ filter-flags "-funroll-loops -frerun-loop-opt"
+
+ # currently celestia's "gtk support" requires gnome
+ use gtk || myconf="--without-gtk"
+ use gnome || myconf="--without-gtk"
+
+ ./configure --prefix=/usr ${myconf} || die
+
+ emake all || die
+}
+
+src_install() {
+ make install prefix=${D}/usr
+
+ dodoc AUTHORS COPYING NEWS README TODO controls.txt
+ dohtml manual/*.html manual/*.css
+}
diff --git a/app-sci/celestia/celestia-1.2.5.ebuild b/app-sci/celestia/celestia-1.2.5.ebuild
new file mode 100644
index 000000000000..58a9ac3d5071
--- /dev/null
+++ b/app-sci/celestia/celestia-1.2.5.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/celestia/celestia-1.2.5.ebuild,v 1.1 2004/02/25 07:59:46 phosphan Exp $
+
+inherit flag-o-matic kde-functions
+
+IUSE="gnome"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Celestia is a free real-time space simulation that lets you experience our universe in three dimensions"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://www.shatters.net/celestia"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+
+# gnome and kde interfaces are exlcusive; gnome takes precedence
+DEPEND=">=media-libs/glut-3.7-r2
+ virtual/glu
+ media-libs/jpeg
+ media-libs/libpng
+ gnome? ( =x11-libs/gtk+-1.2*
+ <x11-libs/gtkglarea-1.99.0
+ =gnome-base/gnome-libs-1.4* )
+ !gnome? ( >=kde-base/kdelibs-3.0.5 )"
+
+pkg_setup() {
+ einfo "Please note:"
+ einfo "if you experience problems building celestia with nvidia drivers,"
+ einfo "you can try:"
+ einfo "opengl-update xfree"
+ einfo "emerge celestia"
+ einfo "opengl-update nvidia"
+ einfo "------------"
+ einfo "NOTE: the gnome and kde GUIs are mutually exclusive. If you're getting"
+ einfo "the wrong one, run either:"
+ einfo "'USE=gnome emerge celestia' (for the gnome interface)"
+ einfo "or:"
+ einfo "'USE=-gnome emerge celestia' (for the kde interface)"
+ einfo "as appropriate."
+}
+
+src_compile() {
+ local myconf
+
+ filter-flags "-funroll-loops -frerun-loop-opt"
+
+ # currently celestia's "gtk support" requires gnome
+ if [ -n "`use gnome`" ]; then
+ myconf="$myconf --with-gtk --without-kde"
+ else
+ myconf="--with-kde --without-gtk"
+ # fix for badly written configure script
+ set-kdedir 3
+ set-qtdir 3
+ export kde_widgetdir="$KDEDIR/lib/kde3/plugins/designer"
+ fi
+
+ ./configure --prefix=/usr ${myconf} || die
+
+ emake all || die
+}
+
+src_install() {
+ make install prefix=${D}/usr
+
+ dodoc AUTHORS COPYING NEWS README TODO controls.txt
+ dohtml manual/*.html manual/*.css
+}
diff --git a/app-sci/celestia/celestia-1.3.0-r1.ebuild b/app-sci/celestia/celestia-1.3.0-r1.ebuild
new file mode 100644
index 000000000000..31dc32a10659
--- /dev/null
+++ b/app-sci/celestia/celestia-1.3.0-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/celestia/celestia-1.3.0-r1.ebuild,v 1.1 2004/02/25 07:59:46 phosphan Exp $
+
+inherit flag-o-matic kde-functions
+
+IUSE="kde gnome"
+
+DESCRIPTION="Celestia is a free real-time space simulation that lets you experience our universe in three dimensions"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://www.shatters.net/celestia"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc"
+
+# gnome and kde interfaces are exlcusive
+DEPEND=">=media-libs/glut-3.7-r2
+ virtual/glu
+ media-libs/jpeg
+ media-libs/libpng
+ !kde? ( gnome? ( =x11-libs/gtk+-1.2*
+ =gnome-base/gnome-libs-1.4*
+ <x11-libs/gtkglarea-1.99.0 ) )
+ kde? ( >=kde-base/kdelibs-3.0.5 )"
+
+pkg_setup() {
+ einfo "Please note:"
+ einfo "if you experience problems building celestia with nvidia drivers,"
+ einfo "you can try:"
+ einfo "opengl-update xfree"
+ einfo "emerge celestia"
+ einfo "opengl-update nvidia"
+ einfo "------------"
+ einfo "NOTE: the gnome and kde GUIs are mutually exclusive, kde is"
+ einfo "recommended. If you're getting the wrong one, run either:"
+ einfo "'USE=\"gnome -kde\" emerge celestia' (for the gnome interface)"
+ einfo "or:"
+ einfo "'USE=\"kde\" emerge celestia' (for the kde interface)"
+ einfo "as appropriate."
+}
+
+src_compile() {
+ local myconf
+
+ filter-flags "-funroll-loops -frerun-loop-opt"
+
+ # currently celestia's "gtk support" requires gnome
+ if [ -n "$(use kde)" ]; then
+ myconf="$myconf --with-kde --without-gtk"
+ elif [ -n "$(use gnome)" ]; then
+ myconf="--without-kde --with-gtk"
+ else
+ myconf="--without-kde --without-gtk"
+ # fix for badly written configure script
+ set-kdedir 3
+ set-qtdir 3
+ export kde_widgetdir="$KDEDIR/lib/kde3/plugins/designer"
+ fi
+
+ ./configure --prefix=/usr ${myconf} || die
+
+ emake all || die
+}
+
+src_install() {
+ make install prefix=${D}/usr
+
+ dodoc AUTHORS COPYING NEWS README TODO controls.txt
+ dohtml manual/*.html manual/*.css
+}
diff --git a/app-sci/celestia/celestia-1.3.0.ebuild b/app-sci/celestia/celestia-1.3.0.ebuild
new file mode 100644
index 000000000000..6ee5b957d510
--- /dev/null
+++ b/app-sci/celestia/celestia-1.3.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/celestia/celestia-1.3.0.ebuild,v 1.1 2004/02/25 07:59:46 phosphan Exp $
+
+inherit flag-o-matic kde-functions
+
+IUSE="gnome"
+
+DESCRIPTION="Celestia is a free real-time space simulation that lets you experience our universe in three dimensions"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://www.shatters.net/celestia"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ~ppc"
+
+# gnome and kde interfaces are exlcusive; gnome takes precedence
+DEPEND=">=media-libs/glut-3.7-r2
+ virtual/glu
+ media-libs/jpeg
+ media-libs/libpng
+ gnome? ( =x11-libs/gtk+-1.2*
+ <x11-libs/gtkglarea-1.99.0
+ =gnome-base/gnome-libs-1.4* )
+ !gnome? ( >=kde-base/kdelibs-3.0.5 )"
+
+pkg_setup() {
+ einfo "Please note:"
+ einfo "if you experience problems building celestia with nvidia drivers,"
+ einfo "you can try:"
+ einfo "opengl-update xfree"
+ einfo "emerge celestia"
+ einfo "opengl-update nvidia"
+ einfo "------------"
+ einfo "NOTE: the gnome and kde GUIs are mutually exclusive. If you're getting"
+ einfo "the wrong one, run either:"
+ einfo "'USE=gnome emerge celestia' (for the gnome interface)"
+ einfo "or:"
+ einfo "'USE=-gnome emerge celestia' (for the kde interface)"
+ einfo "as appropriate."
+}
+
+src_compile() {
+ local myconf
+
+ filter-flags "-funroll-loops -frerun-loop-opt"
+
+ # currently celestia's "gtk support" requires gnome
+ if [ -n "`use gnome`" ]; then
+ myconf="$myconf --with-gtk --without-kde"
+ else
+ myconf="--with-kde --without-gtk"
+ # fix for badly written configure script
+ set-kdedir 3
+ set-qtdir 3
+ export kde_widgetdir="$KDEDIR/lib/kde3/plugins/designer"
+ fi
+
+ ./configure --prefix=/usr ${myconf} || die
+
+ emake all || die
+}
+
+src_install() {
+ make install prefix=${D}/usr
+
+ dodoc AUTHORS COPYING NEWS README TODO controls.txt
+ dohtml manual/*.html manual/*.css
+}
diff --git a/app-sci/celestia/files/celestia-gcc3.patch b/app-sci/celestia/files/celestia-gcc3.patch
new file mode 100644
index 000000000000..c62ac6e951fa
--- /dev/null
+++ b/app-sci/celestia/files/celestia-gcc3.patch
@@ -0,0 +1,101 @@
+diff -ur celestia-1.2.4/src/buildstardb.cpp celestia-1.2.4.fixed/src/buildstardb.cpp
+--- celestia-1.2.4/src/buildstardb.cpp 2002-01-14 10:48:37.000000000 -0800
++++ celestia-1.2.4.fixed/src/buildstardb.cpp 2002-10-13 22:31:41.000000000 -0700
+@@ -921,7 +921,7 @@
+ {
+ MultistarSystem* multiSystem = new MultistarSystem();
+ multiSystem->nStars = 1;
+- multiSystem->stars[0] = iter;
++ multiSystem->stars[0] = &(*iter);
+ starSystems.insert(MultistarSystemCatalog::value_type(iter->CCDMIdentifier, multiSystem));
+ }
+ else
+@@ -933,7 +933,7 @@
+ }
+ else
+ {
+- multiSystem->stars[multiSystem->nStars] = iter;
++ multiSystem->stars[multiSystem->nStars] = &(*iter);
+ multiSystem->nStars++;
+ }
+ }
+@@ -1162,7 +1162,7 @@
+ for (vector<HipparcosStar>::iterator iter = stars.begin();
+ iter != stars.end(); iter++)
+ {
+- starIndex.insert(starIndex.end(), iter);
++ starIndex.insert(starIndex.end(), &(*iter));
+ }
+
+ HIPCatalogComparePredicate pred;
+diff -ur celestia-1.2.4/src/celengine/starbrowser.h celestia-1.2.4.fixed/src/celengine/starbrowser.h
+--- celestia-1.2.4/src/celengine/starbrowser.h 2002-01-15 17:55:49.000000000 -0800
++++ celestia-1.2.4.fixed/src/celengine/starbrowser.h 2002-10-13 22:11:30.000000000 -0700
+@@ -15,6 +15,8 @@
+ #include "star.h"
+ #include "stardb.h"
+ #include "simulation.h"
++#include <vector>
++using namespace std;
+
+ class StarBrowser
+ {
+diff -ur celestia-1.2.4/src/celestia/celestiacore.cpp celestia-1.2.4.fixed/src/celestia/celestiacore.cpp
+--- celestia-1.2.4/src/celestia/celestiacore.cpp 2002-05-02 10:53:49.000000000 -0700
++++ celestia-1.2.4.fixed/src/celestia/celestiacore.cpp 2002-10-13 22:28:14.000000000 -0700
+@@ -194,7 +194,7 @@
+ sim->setFrame(fav.coordSys, sim->getSelection());
+ }
+
+-void CelestiaCore::addFavorite(string name, string parentFolder, FavoritesList::const_iterator* iter)
++void CelestiaCore::addFavorite(std::string name, std::string parentFolder, FavoritesList::iterator* iter)
+ {
+ FavoritesList::iterator pos;
+ if(!iter)
+@@ -214,7 +214,7 @@
+ favorites->insert(pos, fav);
+ }
+
+-void CelestiaCore::addFavoriteFolder(string name, FavoritesList::const_iterator* iter)
++void CelestiaCore::addFavoriteFolder(std::string name, FavoritesList::iterator* iter)
+ {
+ FavoritesList::iterator pos;
+ if(!iter)
+@@ -1137,9 +1137,8 @@
+ if (sun != NULL)
+ {
+ double distFromSun = body.getHeliocentricPosition(t).distanceFromOrigin();
+- float planetTemp = sun->getTemperature() *
+- (float) (pow(1 - body.getAlbedo(), 0.25) *
+- sqrt(sun->getRadius() / (2 * distFromSun)));
++ float planetTemp = sun->getTemperature() *
++ (float) (pow((float)(1 - body.getAlbedo()), (float) 0.25) *+ sqrt((float)(sun->getRadius() / (2 * distFromSun))));
+ overlay << setprecision(0);
+ overlay << "Temperature: " << planetTemp << " K\n";
+ overlay << setprecision(3);
+diff -ur celestia-1.2.4/src/celestia/celestiacore.h celestia-1.2.4.fixed/src/celestia/celestiacore.h
+--- celestia-1.2.4/src/celestia/celestiacore.h 2002-04-02 07:24:09.000000000 -0800
++++ celestia-1.2.4.fixed/src/celestia/celestiacore.h 2002-10-13 22:22:20.000000000 -0700
+@@ -126,8 +126,8 @@
+ void readFavoritesFile();
+ void writeFavoritesFile();
+ void activateFavorite(FavoritesEntry&);
+- void addFavorite(std::string, std::string, FavoritesList::const_iterator* iter=NULL);
+- void addFavoriteFolder(std::string, FavoritesList::const_iterator* iter=NULL);
++ void addFavorite(std::string, std::string, FavoritesList::iterator* iter=NULL);
++ void addFavoriteFolder(std::string, FavoritesList::iterator* iter=NULL);
+ const FavoritesList* getFavorites();
+
+ const DestinationList* getDestinations();
+diff -ur celestia-1.2.4/src/celestia/glutmain.cpp celestia-1.2.4.fixed/src/celestia/glutmain.cpp
+--- celestia-1.2.4/src/celestia/glutmain.cpp 2002-04-30 10:36:11.000000000 -0700
++++ celestia-1.2.4.fixed/src/celestia/glutmain.cpp 2002-10-13 22:12:53.000000000 -0700
+@@ -32,6 +32,8 @@
+ #include <celmath/mathlib.h>
+ #include <celengine/astro.h>
+ #include "celestiacore.h"
++#include <iostream>
++using namespace std;
+ /* what are you supposed to be?
+ #include "popt.h"
+ */
diff --git a/app-sci/celestia/files/digest-celestia-1.2.2 b/app-sci/celestia/files/digest-celestia-1.2.2
new file mode 100644
index 000000000000..8f4613fc5773
--- /dev/null
+++ b/app-sci/celestia/files/digest-celestia-1.2.2
@@ -0,0 +1 @@
+MD5 1c38511a07991b11977957e49916156e celestia-1.2.2.tar.gz 11197035
diff --git a/app-sci/celestia/files/digest-celestia-1.2.4 b/app-sci/celestia/files/digest-celestia-1.2.4
new file mode 100644
index 000000000000..b0d3b02671b8
--- /dev/null
+++ b/app-sci/celestia/files/digest-celestia-1.2.4
@@ -0,0 +1 @@
+MD5 0378cd4507ebf4691c86a59c0825221b celestia-1.2.4.tar.gz 10280646
diff --git a/app-sci/celestia/files/digest-celestia-1.2.5 b/app-sci/celestia/files/digest-celestia-1.2.5
new file mode 100644
index 000000000000..72c6de893718
--- /dev/null
+++ b/app-sci/celestia/files/digest-celestia-1.2.5
@@ -0,0 +1 @@
+MD5 23b525a431cf9be66f4f943c131a47bb celestia-1.2.5.tar.gz 13921719
diff --git a/app-sci/celestia/files/digest-celestia-1.3.0 b/app-sci/celestia/files/digest-celestia-1.3.0
new file mode 100644
index 000000000000..1ba397b6e2c2
--- /dev/null
+++ b/app-sci/celestia/files/digest-celestia-1.3.0
@@ -0,0 +1 @@
+MD5 cf11c9d1b1de5752c9b4681c15b823b4 celestia-1.3.0.tar.gz 15935711
diff --git a/app-sci/celestia/files/digest-celestia-1.3.0-r1 b/app-sci/celestia/files/digest-celestia-1.3.0-r1
new file mode 100644
index 000000000000..1ba397b6e2c2
--- /dev/null
+++ b/app-sci/celestia/files/digest-celestia-1.3.0-r1
@@ -0,0 +1 @@
+MD5 cf11c9d1b1de5752c9b4681c15b823b4 celestia-1.3.0.tar.gz 15935711
diff --git a/app-sci/celestia/metadata.xml b/app-sci/celestia/metadata.xml
new file mode 100644
index 000000000000..b229aec85b8f
--- /dev/null
+++ b/app-sci/celestia/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+</pkgmetadata>