summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-05-25 11:23:04 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-05-25 11:23:04 +0000
commit9d34df6b3ebc20176b4cb0b6bc786a86f4a1495d (patch)
tree42c1ddfdbf6ad7e8e83370378dad607e5f9a7381 /sci-astronomy
parentAdd ~x86-fbsd keyword as per bug #160813. (diff)
downloadgentoo-2-9d34df6b3ebc20176b4cb0b6bc786a86f4a1495d.tar.gz
gentoo-2-9d34df6b3ebc20176b4cb0b6bc786a86f4a1495d.tar.bz2
gentoo-2-9d34df6b3ebc20176b4cb0b6bc786a86f4a1495d.zip
removed old and buggy versions
(Portage version: 2.1.2.7)
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/celestia/ChangeLog7
-rw-r--r--sci-astronomy/celestia/celestia-1.3.2.ebuild109
-rw-r--r--sci-astronomy/celestia/celestia-1.4.1.ebuild116
-rw-r--r--sci-astronomy/celestia/files/celestia-1.3.2-noarts.patch141
-rw-r--r--sci-astronomy/celestia/files/digest-celestia-1.3.23
-rw-r--r--sci-astronomy/celestia/files/digest-celestia-1.4.13
-rw-r--r--sci-astronomy/celestia/files/makefile.am.patch17
-rw-r--r--sci-astronomy/celestia/files/resmanager.h.patch20
8 files changed, 6 insertions, 410 deletions
diff --git a/sci-astronomy/celestia/ChangeLog b/sci-astronomy/celestia/ChangeLog
index 4a5ec5ca2cd7..6ca7556928ba 100644
--- a/sci-astronomy/celestia/ChangeLog
+++ b/sci-astronomy/celestia/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-astronomy/celestia
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/celestia/ChangeLog,v 1.34 2007/05/12 09:52:06 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/celestia/ChangeLog,v 1.35 2007/05/25 11:23:04 bicatali Exp $
+
+ 25 May 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ -files/celestia-1.3.2-noarts.patch, -files/makefile.am.patch,
+ -files/resmanager.h.patch, -celestia-1.3.2.ebuild, -celestia-1.4.1.ebuild:
+ removed old and buggy versions
12 May 2007; Steve Dibb <beandog@gentoo.org> celestia-1.4.1-r2.ebuild:
amd64 stable, bug 141404
diff --git a/sci-astronomy/celestia/celestia-1.3.2.ebuild b/sci-astronomy/celestia/celestia-1.3.2.ebuild
deleted file mode 100644
index b8168f7880fe..000000000000
--- a/sci-astronomy/celestia/celestia-1.3.2.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2007 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.5 2007/03/08 09:49:55 bicatali Exp $
-
-inherit eutils flag-o-matic gnome2 kde-functions
-
-DESCRIPTION="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="amd64 ppc x86"
-IUSE="gnome gtk kde arts"
-
-DEPEND="virtual/glut
- virtual/glu
- media-libs/jpeg
- media-libs/libpng
- dev-lang/lua
- gtk? ( >=x11-libs/gtk+-2.0 >=x11-libs/gtkglext-1.0 )
- !gnome? ( !kde? ( >=x11-libs/gtk+-2.0 >=x11-libs/gtkglext-1.0 ) )
- gnome? ( >=gnome-base/libgnomeui-2.0 )
- kde? (
- >=kde-base/kdelibs-3.0.5
- arts? ( kde-base/arts )
- )"
-
-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
- ewarn "You should set at least one of USE=\"{kde/gnome/gtk}\""
- ewarn "Defaulting to gtk support."
- export MYMAKE="gtk"
- fi
-
- # Get X11 implementation
- X11_IMPLEM_P="$(best_version 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 "eselect opengl set xorg-x11"
- einfo "emerge celestia"
- einfo "eselect opengl set 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 \
-
- ! use arts && epatch "${FILESDIR}"/celestia-1.3.2-noarts.patch
-
- 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 "configure failed"
- emake all || die
-}
-
-src_install() {
- if [ "${MYMAKE}" = "gnome" ]; then
- gnome2_src_install
- else
- make install prefix="${D}"/usr || die
- fi
-
- dodoc AUTHORS README TODO controls.txt
- dohtml manual/*.html manual/*.css
-}
diff --git a/sci-astronomy/celestia/celestia-1.4.1.ebuild b/sci-astronomy/celestia/celestia-1.4.1.ebuild
deleted file mode 100644
index 0bae9e95e203..000000000000
--- a/sci-astronomy/celestia/celestia-1.4.1.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/celestia/celestia-1.4.1.ebuild,v 1.12 2007/03/08 09:49:55 bicatali Exp $
-
-inherit eutils flag-o-matic gnome2 kde-functions
-
-DESCRIPTION="Free 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="~amd64 ppc ~ppc64 sparc x86"
-IUSE="gnome gtk kde arts threads nls lua"
-
-DEPEND="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 )"
-
-pkg_setup() {
- # Check for one for the following use flags to be set.
- if ! use gnome && use kde; then
- einfo "USE=\"kde\" detected."
- mygui="kde"
- elif ! use kde && use gnome; then
- einfo "USE=\"gnome\" detected."
- USE_DESTDIR="1"
- mygui="gnome"
- elif ! use kde && ! use gnome && use gtk; then
- einfo "USE=\"gtk\" detected."
- mygui="gtk"
- elif use kde && use gnome; then
- einfo "Both gnome and kde support requested. Defaulting to kde"
- mygui="kde"
- else
- ewarn "If you want to use the full gui, set USE=\"{kde/gnome/gtk}\""
- ewarn "Defaulting to glut support (no GUI)."
- mygui="glut"
- fi
-
- einfo "If you experience problems building celestia with nvidia drivers,"
- einfo "you can try:"
- einfo "eselect opengl set xorg-x11"
- einfo "emerge celestia"
- einfo "eselect opengl set nvidia"
-}
-
-src_compile() {
- filter-flags "-funroll-loops -frerun-loop-opt"
- addwrite ${QTDIR}/etc/settings
-
- # remove manual installation in /usr/share/${PN}/manual
- # replaced with dohtml in src_install
- sed -i -e "s:manual::g" Makefile.in
-
- if [ "${mygui}" == "kde" ]; then
- set-kdedir 3
- set-qtdir 3
- export kde_widgetdir="$KDEDIR/lib/kde3/plugins/designer"
- fi
-
- epatch "${FILESDIR}/celestia-1.4.1-gcc-4.1.patch"
- epatch "${FILESDIR}/makefile.am.patch"
-
- autoconf
- automake
-
- econf \
- --with-${mygui} \
- --with-pic \
- --enable-pch \
- $(use_with arts) \
- $(use_with lua) \
- $(use_enable threads threading) \
- $(use_enable nls) \
- || die "econf failed"
-
- #fix Makefiles to avoid Access Violations while fixing bug #119339
- if [ "${mygui}" != "gnome" ] ; then
- for d in . src data extras textures textures/lores textures/medres textures/hires models shaders fonts po ; do
- sed -i -e "s#pkgdatadir = /usr/share/celestia#pkgdatadir = ${D}/usr/share/celestia#" $d/Makefile; done
- fi
-
- emake || die "emake failed"
-}
-
-src_install() {
- dodir /usr/share/celestia
- if [ "${mygui}" == "gnome" ]; then
- gnome2_src_install
- else
- einstall || die "einstall 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
-
- dodoc AUTHORS README TODO NEWS TRANSLATORS ChangeLog \
- CelestiaKeyAssignments.txt KbdMouseJoyControls.txt devguide.txt
- dohtml coding-standards.html manual/*.html manual/*.css
- cp models/*.3ds ${D}/usr/share/celestia/models/
-}
diff --git a/sci-astronomy/celestia/files/celestia-1.3.2-noarts.patch b/sci-astronomy/celestia/files/celestia-1.3.2-noarts.patch
deleted file mode 100644
index f6d803f2ea25..000000000000
--- a/sci-astronomy/celestia/files/celestia-1.3.2-noarts.patch
+++ /dev/null
@@ -1,141 +0,0 @@
---- 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
deleted file mode 100644
index 5d80e1ed06ef..000000000000
--- a/sci-astronomy/celestia/files/digest-celestia-1.3.2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 0aaf86592a8989a0576e34c1f4cb3c2a celestia-1.3.2.tar.gz 18091458
-RMD160 4f891866be70a2d918bdb75ad4fd7d4dddcef4ce celestia-1.3.2.tar.gz 18091458
-SHA256 70d244150cc4d13fd659f0c0b6f3d6359f183679a61af11fe65fa33f51169c7b celestia-1.3.2.tar.gz 18091458
diff --git a/sci-astronomy/celestia/files/digest-celestia-1.4.1 b/sci-astronomy/celestia/files/digest-celestia-1.4.1
deleted file mode 100644
index b75d1f3ff9d0..000000000000
--- a/sci-astronomy/celestia/files/digest-celestia-1.4.1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 be1d36fc97a13b9a276249dbc0efac41 celestia-1.4.1.tar.gz 23966886
-RMD160 c66c2540e329613dace12e5b12b2dae2a4c679e0 celestia-1.4.1.tar.gz 23966886
-SHA256 f9dc34dbc0d53e98534000545802b5ab4a471c3cb3fa08a9c958cbbbeb28d8b5 celestia-1.4.1.tar.gz 23966886
diff --git a/sci-astronomy/celestia/files/makefile.am.patch b/sci-astronomy/celestia/files/makefile.am.patch
deleted file mode 100644
index fb02cb6bc478..000000000000
--- a/sci-astronomy/celestia/files/makefile.am.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- Makefile.am.old 2006-03-31 14:56:53.000000000 +0200
-+++ Makefile.am 2006-03-31 16:32:21.370713472 +0200
-@@ -66,11 +66,7 @@
- )
-
- install-data-hook:
-- if [ "$(kde_datadir)" -a -d $(kde_datadir)/@PACKAGE@ -a ! -h $(kde_datadir)/@PACKAGE@ ] ; then \
-- mv -f -b $(kde_datadir)/@PACKAGE@/* $(datadir)/@PACKAGE@/ ; \
-- rmdir $(kde_datadir)/@PACKAGE@ ; \
-- fi
-- if [ "$(kde_datadir)" -a ! -h $(kde_datadir)/@PACKAGE@ ] ; then \
-- ln -s $(datadir)/@PACKAGE@ $(kde_datadir)/@PACKAGE@ ; \
-- fi
-+ mv -f -b $(DESTDIR)$(kde_datadir)/@PACKAGE@/* $(DESTDIR)$(datadir)/@PACKAGE@/ ; \
-+ rmdir $(DESTDIR)$(kde_datadir)/@PACKAGE@ ; \
-+ ln -s $(datadir)/@PACKAGE@ $(DESTDIR)$(kde_datadir) ;
-
diff --git a/sci-astronomy/celestia/files/resmanager.h.patch b/sci-astronomy/celestia/files/resmanager.h.patch
deleted file mode 100644
index e1c835770a35..000000000000
--- a/sci-astronomy/celestia/files/resmanager.h.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- 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));
- }
- }
- }