summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-02-27 18:54:55 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-02-27 18:54:55 +0000
commite56178f3bf80e66e4966cd409c0fd4e709626349 (patch)
treec818933ef718641b5d9b4c519a0918cf12caa746 /sci-astronomy
parentStable for HPPA (bug #211360). (diff)
downloadhistorical-e56178f3bf80e66e4966cd409c0fd4e709626349.tar.gz
historical-e56178f3bf80e66e4966cd409c0fd4e709626349.tar.bz2
historical-e56178f3bf80e66e4966cd409c0fd4e709626349.zip
Version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/celestia/ChangeLog8
-rw-r--r--sci-astronomy/celestia/Manifest11
-rw-r--r--sci-astronomy/celestia/celestia-1.5.0.ebuild130
-rw-r--r--sci-astronomy/celestia/files/celestia-1.5.0-desktop.patch55
4 files changed, 199 insertions, 5 deletions
diff --git a/sci-astronomy/celestia/ChangeLog b/sci-astronomy/celestia/ChangeLog
index f31906f39226..3a020a205e18 100644
--- a/sci-astronomy/celestia/ChangeLog
+++ b/sci-astronomy/celestia/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-astronomy/celestia
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/celestia/ChangeLog,v 1.38 2008/02/26 17:33:31 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/celestia/ChangeLog,v 1.39 2008/02/27 18:54:54 bicatali Exp $
+
+*celestia-1.5.0 (27 Feb 2008)
+
+ 27 Feb 2008; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/celestia-1.5.0-desktop.patch, +celestia-1.5.0.ebuild:
+ Version bump
26 Feb 2008; Sébastien Fabbro <bicatali@gentoo.org>
files/celestia-1.4.1-kde-datadir.patch, celestia-1.4.1-r2.ebuild:
diff --git a/sci-astronomy/celestia/Manifest b/sci-astronomy/celestia/Manifest
index 5653908fb675..38d739859a3b 100644
--- a/sci-astronomy/celestia/Manifest
+++ b/sci-astronomy/celestia/Manifest
@@ -11,14 +11,17 @@ AUX celestia-1.4.1-kde-desktop.patch 413 RMD160 ab341a4275d567922814080a7abb5cc4
AUX celestia-1.4.1-locale.patch 7373 RMD160 1ca4a9d612b6c2d0f2bc2800ff3ed1b6b19da20c SHA1 3fbdf528c19a4bd49db6e1ce340ca8b06c323540 SHA256 0c609de10544afeefddc141b8efbec743317fee363a3af180dfb4df368b51b45
AUX celestia-1.4.1-lua51.patch 2351 RMD160 8c16ce1594bb789521c07c8a14e3738676ca88a4 SHA1 6d49c3e0560e89480d09d431f9b65813f4c408c5 SHA256 4fef305ef77a1cd7f3044288e806914360ff77092bd29416a8ed06a48d1f91ac
AUX celestia-1.4.1-strictalias.patch 367 RMD160 b3f79ab12e78d742adb9e8e6f71d4df25b444404 SHA1 a0623106c9428522982429f281e844d9d7f5c98f SHA256 f38398fef7dd604669e84e46ffe1cbe6514ada92f581b5b30ac0965223d3db54
+AUX celestia-1.5.0-desktop.patch 1564 RMD160 95db21031c4a0af25fdb513c6cc8355aa1d7fa61 SHA1 472fd8d92a21042e0c3ddad1d5ee61c4bde87f0b SHA256 7a12d56957546ca2c4ef922df31b2a988aba9a1c05b1dc4d2434945fc6f583ec
DIST celestia-1.4.1.tar.gz 23966886 RMD160 c66c2540e329613dace12e5b12b2dae2a4c679e0 SHA1 37863498c43d3078b41027706bfa033bccd949a9 SHA256 f9dc34dbc0d53e98534000545802b5ab4a471c3cb3fa08a9c958cbbbeb28d8b5
+DIST celestia-1.5.0.tar.gz 29116952 RMD160 fe187c8964eac7832982a268a3a7b765807e8005 SHA1 cb761270f048193ab01159cab14082f25113cdaa SHA256 a07834ee5b1bb4be76c29086b0b7faec8c3baafa21bace8ccd765bae632473e0
EBUILD celestia-1.4.1-r2.ebuild 3961 RMD160 ddaebb358e6be735c88c5fd3284824f5a695403b SHA1 5ac13316c202b92a403c4382ebbf5fabd5e1ba6c SHA256 6dea08a53a09f70422a8e72310bcfa63dd1f84f77e721abfa902021c6a5c67be
-MISC ChangeLog 11496 RMD160 a0763123254be36a18bb4e409f0402ed6b40dfd6 SHA1 79b0c87f51ba4530fbaea53338f3466a84c73f4e SHA256 fc6fbcf0614f7acf60e9f39e883219dd36cec17f7792e843a7497d7e81e2c06b
+EBUILD celestia-1.5.0.ebuild 3280 RMD160 f393a8044d3920b2a891044075f144cd9462f49e SHA1 cb5b7c32590a08cff753adafdbb4005ed15b14fe SHA256 f7644ba8b2a27aa3d32ec459234a53167e4cf90c6c643f535b4215b6bd468008
+MISC ChangeLog 11661 RMD160 e07ec3a51c5180a5ba1759d695fbc4ede0fae1ee SHA1 21431b630a3755760814d41cebdfd3a4430f1030 SHA256 02a6f49c5d36e40649700c1b32e7d4b9225d78dec756ce9b33e0364b5f7b676f
MISC metadata.xml 705 RMD160 e20a8f5e0de56e9fa102864cab202a0af6b5172c SHA1 712d9a3efc45acc1873bb2ac49cb00e7d6bf59bf SHA256 bd067e5762b23475ca10fd83e68015c504345c929c45174f50fd8ccd48ad12eb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFHxE111ycZbhPLE2ARAl6vAJ99lUKGuNIlm3kPnJ91HBFIS+2uCgCeKTMp
-gUevCMOPmMJF1kLS9T5XdTg=
-=3iDy
+iD8DBQFHxbIJ1ycZbhPLE2ARAp5kAJ9KbJwwQDD9dygaBxMjBJVbp1WrEgCfXSnf
+aJ0hlrEKGivkxgQPYkFqFqw=
+=Q5xO
-----END PGP SIGNATURE-----
diff --git a/sci-astronomy/celestia/celestia-1.5.0.ebuild b/sci-astronomy/celestia/celestia-1.5.0.ebuild
new file mode 100644
index 000000000000..53d461ee5616
--- /dev/null
+++ b/sci-astronomy/celestia/celestia-1.5.0.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/celestia/celestia-1.5.0.ebuild,v 1.1 2008/02/27 18:54:54 bicatali Exp $
+
+inherit eutils flag-o-matic gnome2 kde-functions autotools
+
+DESCRIPTION="OpenGL 3D space simulator"
+HOMEPAGE="http://www.shatters.net/celestia/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="arts cairo gnome gtk kde lua nls pch theora threads"
+
+RDEPEND="virtual/glu
+ media-libs/jpeg
+ media-libs/libpng
+ gtk? ( !gnome? ( !kde? (
+ >=x11-libs/gtk+-2.6
+ >=x11-libs/gtkglext-1.0
+ ) ) )
+ gnome? ( !kde? (
+ >=x11-libs/gtk+-2.6
+ >=x11-libs/gtkglext-1.0
+ >=gnome-base/libgnomeui-2.0
+ ) )
+ kde? ( !gnome? ( >=kde-base/kdelibs-3.0.5 ) )
+ !gtk? ( !gnome? ( !kde? ( virtual/glut ) ) )
+ arts? ( kde-base/arts )
+ lua? ( >=dev-lang/lua-5.0 )
+ cairo? ( x11-libs/cairo )
+ theora? ( media-libs/libtheora )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+pkg_setup() {
+ # Check for one for the following use flags to be set.
+
+ if ! use gnome && use kde; then
+ einfo "USE=\"kde\" detected."
+ CELESTIA_GUI="kde"
+ elif ! use kde && use gnome; then
+ einfo "USE=\"gnome\" detected."
+ USE_DESTDIR="1"
+ CELESTIA_GUI="gnome"
+ elif ! use kde && ! use gnome && use gtk; then
+ einfo "USE=\"gtk\" detected."
+ CELESTIA_GUI="gtk"
+ elif use kde && use gnome; then
+ einfo "Both gnome and kde support requested. Defaulting to kde"
+ CELESTIA_GUI="kde"
+ else
+ ewarn "If you want to use the full gui, set USE=\"{kde/gnome/gtk}\""
+ ewarn "Defaulting to glut support (no GUI)."
+ CELESTIA_GUI="glut"
+ fi
+}
+
+src_unpack() {
+
+ unpack ${A}
+ cd "${S}"
+ # make better desktop files
+ epatch "${FILESDIR}"/${P}-desktop.patch
+
+ # add a ~/.celestia for extra directories
+ epatch "${FILESDIR}"/${PN}-1.4.1-cfg.patch
+
+ # fix for as-needed (bug #130091)
+ epatch "${FILESDIR}"/${PN}-1.4.1-as-needed.patch
+
+ # remove flags to let the user decide
+ for cf in -O2 -ffast-math \
+ -fexpensive-optimizations \
+ -fomit-frame-pointer; do
+ sed -i \
+ -e "s/${cf}//g" \
+ configure.in || die "sed failed"
+ done
+
+ # remove an unused gconf macro killing autoconf when no gnome
+ # (not needed without eautoreconf)
+ if ! use gnome; then
+ sed -i \
+ -e '/AM_GCONF_SOURCE_2/d' \
+ configure.in || die "sed failed"
+ fi
+
+ eautoreconf
+}
+
+src_compile() {
+
+ if [[ ${CELESTIA_GUI} == kde ]]; then
+ set-kdedir 3
+ set-qtdir 3
+ export kde_widgetdir="${KDEDIR}/lib/kde3/plugins/designer"
+ fi
+
+ filter-flags "-funroll-loops -frerun-loop-opt"
+
+ econf \
+ --with-${CELESTIA_GUI} \
+ $(use_with arts) \
+ $(use_with lua) \
+ $(use_enable cairo) \
+ $(use_enable threads threading) \
+ $(use_enable nls) \
+ $(use_enable pch) \
+ $(use_enable theora) \
+ || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ if [[ ${CELESTIA_GUI} == gnome ]]; then
+ gnome2_src_install
+ else
+ emake DESTDIR="${D}" install || die "emake install failed"
+ for size in 16 22 32 48 ; do
+ insinto /usr/share/icons/hicolor/${size}x${size}/apps
+ newins "${S}"/src/celestia/kde/data/hi${size}-app-${PN}.png ${PN}.png
+ done
+ fi
+ [[ ${CELESTIA_GUI} == glut ]] && domenu celestia.desktop
+ dodoc AUTHORS README TODO TRANSLATORS *.txt || die
+}
diff --git a/sci-astronomy/celestia/files/celestia-1.5.0-desktop.patch b/sci-astronomy/celestia/files/celestia-1.5.0-desktop.patch
new file mode 100644
index 000000000000..c4be8afeba8a
--- /dev/null
+++ b/sci-astronomy/celestia/files/celestia-1.5.0-desktop.patch
@@ -0,0 +1,55 @@
+--- src/celestia/kde/data/celestia.desktop.orig 2008-02-27 15:19:41.000000000 +0000
++++ src/celestia/kde/data/celestia.desktop 2008-02-27 15:43:20.000000000 +0000
+@@ -1,8 +1,12 @@
+ [Desktop Entry]
++Encoding=UTF-8
++Version=1.0
+ Name=Celestia
+-Comment=Celestia
++Comment=3D space simulator to explore the universe
+ Exec=celestia %f
+ Terminal=false
+ Icon=celestia.png
+ MimeType=application/x-celestia-script
+ Type=Application
++Categories=Science;Astronomy;Qt
++GenericName=Space Simulator
+--- src/celestia/gtk/data/celestia.desktop.orig 2008-02-27 15:19:58.000000000 +0000
++++ src/celestia/gtk/data/celestia.desktop 2008-02-27 15:44:26.000000000 +0000
+@@ -1,12 +1,12 @@
+ [Desktop Entry]
+ Encoding=UTF-8
+-Version=1.4.0
+-Type=Application
+-Exec=celestia
+-Icon=celestia
+-X-GNOME-DocPath=
+-Terminal=false
++Version=1.0
+ Name=Celestia
+-Comment=Space Simulator
+-StartupNotify=true
+-Categories=Astronomy;Science;Application;
++Comment=3D space simulator to explore the universe
++Exec=celestia %f
++Terminal=false
++Icon=celestia.png
++MimeType=application/x-celestia-script
++Type=Application
++Categories=Science;Astronomy;GTK
++GenericName=Space Simulator
+--- celestia.desktop 1970-01-01 01:00:00.000000000 +0100
++++ celestia.desktop 2008-02-27 15:22:31.000000000 +0000
+@@ -0,0 +1,12 @@
++[Desktop Entry]
++Encoding=UTF-8
++Version=1.0
++Name=Celestia
++GenericName=Space Simulator
++Comment=Explore the Universe in this detailed space simulation
++Type=Application
++Categories=Science;Astronomy
++Exec=celestia %f
++Terminal=false
++Icon=celestia.png
++MimeType=application/x-celestia-script