a new try. This version uses NASA World Wind instead of Google Earth and should...
authorChristian Faulhammer <fauli@gentoo.org>
Mon, 4 Dec 2006 10:25:46 +0000 (10:25 +0000)
committerChristian Faulhammer <fauli@gentoo.org>
Mon, 4 Dec 2006 10:25:46 +0000 (10:25 +0000)
Package-Manager: portage-2.1.1-r2

x11-misc/gaia/ChangeLog [new file with mode: 0644]
x11-misc/gaia/Manifest [new file with mode: 0644]
x11-misc/gaia/files/digest-gaia-0.1.1 [new file with mode: 0644]
x11-misc/gaia/files/gaia-0.1.1-correct_doxygen_path.patch [new file with mode: 0644]
x11-misc/gaia/files/gaia-0.1.1-font_inclusion.patch [new file with mode: 0644]
x11-misc/gaia/gaia-0.1.1.ebuild [new file with mode: 0644]
x11-misc/gaia/metadata.xml [new file with mode: 0644]

diff --git a/x11-misc/gaia/ChangeLog b/x11-misc/gaia/ChangeLog
new file mode 100644 (file)
index 0000000..b301dcc
--- /dev/null
@@ -0,0 +1,12 @@
+# ChangeLog for x11-misc/gaia
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/gaia/ChangeLog,v 1.9 2006/12/04 10:25:46 opfer Exp $
+
+*gaia-0.1.1 (04 Dec 2006)
+
+  04 Dec 2006; Christian Faulhammer <opfer@gentoo.org>
+  +files/gaia-0.1.1-correct_doxygen_path.patch,
+  +files/gaia-0.1.1-font_inclusion.patch, +metadata.xml, +gaia-0.1.1.ebuild:
+  a new try. This version uses NASA World Wind instead of Google Earth and
+  should be safe from copyright violations
+
diff --git a/x11-misc/gaia/Manifest b/x11-misc/gaia/Manifest
new file mode 100644 (file)
index 0000000..3b2be0f
--- /dev/null
@@ -0,0 +1,34 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX gaia-0.1.1-correct_doxygen_path.patch 434 RMD160 cf89e649c3a197a87b69e28325483bfa2403041a SHA1 a6fde2f8e6e82eaf261b6f6461ab9f74da4507ac SHA256 1d8fbf0d958ac7fa8a80a5611fbda4c9fd7ba68fb8bd7a80443405e0d4a57764
+MD5 a3e1ebc517639dd7a0d4e74f800bff83 files/gaia-0.1.1-correct_doxygen_path.patch 434
+RMD160 cf89e649c3a197a87b69e28325483bfa2403041a files/gaia-0.1.1-correct_doxygen_path.patch 434
+SHA256 1d8fbf0d958ac7fa8a80a5611fbda4c9fd7ba68fb8bd7a80443405e0d4a57764 files/gaia-0.1.1-correct_doxygen_path.patch 434
+AUX gaia-0.1.1-font_inclusion.patch 421 RMD160 42c4616ae87b8ff1dece465037885fd0999f08f8 SHA1 5406efa34fb1a68002f473a1da747fb744d7ae3b SHA256 623cf4d7c723f1c763282564db7daa13716bc168f742bf07df65eaf6afd34c3d
+MD5 ab1c8b793673a64307cda0cd49072bd1 files/gaia-0.1.1-font_inclusion.patch 421
+RMD160 42c4616ae87b8ff1dece465037885fd0999f08f8 files/gaia-0.1.1-font_inclusion.patch 421
+SHA256 623cf4d7c723f1c763282564db7daa13716bc168f742bf07df65eaf6afd34c3d files/gaia-0.1.1-font_inclusion.patch 421
+DIST gaia-0.1.1.tar.bz2 60120 RMD160 cf09ba082ce217505b7217f6d9e9b97c89fb2dbc SHA1 8acb620a3e6939831361a4ccfc3e92c6a9448701 SHA256 081307da85836ca79c702ec7d68063992f9045bc86f29bb3f7db4845e945fd17
+EBUILD gaia-0.1.1.ebuild 1870 RMD160 174a3a936e31050bd67fa47e98d2596d9364c9c9 SHA1 a65d173c0e08c7c99a26bd5ee8990aa27d8305bd SHA256 ea623df47e49120fd004f68aac362f3cd42ae60c6a0e3ae225399ce066d92d8f
+MD5 a16d2af03042a367b6debeb0d297aeed gaia-0.1.1.ebuild 1870
+RMD160 174a3a936e31050bd67fa47e98d2596d9364c9c9 gaia-0.1.1.ebuild 1870
+SHA256 ea623df47e49120fd004f68aac362f3cd42ae60c6a0e3ae225399ce066d92d8f gaia-0.1.1.ebuild 1870
+MISC ChangeLog 530 RMD160 06d3b71ab9b65a9bbe5c35ff7142e114299331b3 SHA1 079aa1fc425268829dbfa2c345358b472112d644 SHA256 8166994bee7a70b64186e07d416dc829df96c55fe239e2bf7d8606ce9f09e795
+MD5 bff7c92b35d19a13b8826d028c2ec21d ChangeLog 530
+RMD160 06d3b71ab9b65a9bbe5c35ff7142e114299331b3 ChangeLog 530
+SHA256 8166994bee7a70b64186e07d416dc829df96c55fe239e2bf7d8606ce9f09e795 ChangeLog 530
+MISC metadata.xml 266 RMD160 ec474d4b2edebeccd738705e8717ecdb4aaca347 SHA1 2eb26e89e18770b3cc373ab290938a2aea6bce97 SHA256 2d1e8e22e242d00cd34f662e4d04d2e7d488951bd1e84fe3132d2b1ebd1b71d2
+MD5 f2e99271e391d686f969c3d65ac24562 metadata.xml 266
+RMD160 ec474d4b2edebeccd738705e8717ecdb4aaca347 metadata.xml 266
+SHA256 2d1e8e22e242d00cd34f662e4d04d2e7d488951bd1e84fe3132d2b1ebd1b71d2 metadata.xml 266
+MD5 be9044cdfc93f1e90d1d88aaef0af25c files/digest-gaia-0.1.1 232
+RMD160 00ae57abd0b65f2d8adfe2ee7f93d5bf1782281f files/digest-gaia-0.1.1 232
+SHA256 f95bcb75bfc5423841c9232cd7914bc63ed201b07abe3edc5012657653d89db7 files/digest-gaia-0.1.1 232
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFc/fENQqtfCuFneMRAjUkAKCdkQweWST6sgR6uL6ga+NiAAs0BACffgjt
+ESazIQy5oMYkCdaAK7dJRYc=
+=0kcE
+-----END PGP SIGNATURE-----
diff --git a/x11-misc/gaia/files/digest-gaia-0.1.1 b/x11-misc/gaia/files/digest-gaia-0.1.1
new file mode 100644 (file)
index 0000000..ec21323
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 780e31984d71bd322f4f7509a0a2c69e gaia-0.1.1.tar.bz2 60120
+RMD160 cf09ba082ce217505b7217f6d9e9b97c89fb2dbc gaia-0.1.1.tar.bz2 60120
+SHA256 081307da85836ca79c702ec7d68063992f9045bc86f29bb3f7db4845e945fd17 gaia-0.1.1.tar.bz2 60120
diff --git a/x11-misc/gaia/files/gaia-0.1.1-correct_doxygen_path.patch b/x11-misc/gaia/files/gaia-0.1.1-correct_doxygen_path.patch
new file mode 100644 (file)
index 0000000..5f58c11
--- /dev/null
@@ -0,0 +1,11 @@
+--- Doxyfile   2006-12-04 10:21:23.000000000 +0100
++++ ../Doxyfile        2006-12-04 10:21:06.000000000 +0100
+@@ -459,7 +459,7 @@
+ # directories like "/usr/src/myproject". Separate the files or directories 
+ # with spaces.
+-INPUT                  = src
++INPUT                  = programs/gaia
+ # If the value of the INPUT tag contains directories, you can use the 
+ # FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp 
diff --git a/x11-misc/gaia/files/gaia-0.1.1-font_inclusion.patch b/x11-misc/gaia/files/gaia-0.1.1-font_inclusion.patch
new file mode 100644 (file)
index 0000000..2fb715a
--- /dev/null
@@ -0,0 +1,11 @@
+--- /tmp/Main.cc       2006-12-04 10:24:55.000000000 +0100
++++ Main.cc    2006-12-04 10:25:12.000000000 +0100
+@@ -345,7 +345,7 @@
+               last_frame = timer->GetFrame();
+               /* preloaded textures */
+-              PreloadedTextureManager::Instance()->LoadPNG(TEXTURE_FONT, DATADIR "/font.png");
++              PreloadedTextureManager::Instance()->LoadPNG(TEXTURE_FONT, "/usr/share/gaia/font.png");
+               /* sources */
+               debug("Initializing tile storage\n");
diff --git a/x11-misc/gaia/gaia-0.1.1.ebuild b/x11-misc/gaia/gaia-0.1.1.ebuild
new file mode 100644 (file)
index 0000000..b58d938
--- /dev/null
@@ -0,0 +1,82 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/gaia/gaia-0.1.1.ebuild,v 1.1 2006/12/04 10:25:46 opfer Exp $
+
+inherit eutils
+
+DESCRIPTION="opensource 3D interface to the planet, based on NASA World Wind data"
+HOMEPAGE="http://gaia.serezhkin.com/
+       https://sourceforge.net/projects/gaia-clean"
+SRC_URI="mirror://sourceforge/gaia-clean/${P}.tar.bz2"
+
+
+SLOT="0"
+LICENSE="GPL-2"
+
+IUSE="gps doc"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="media-libs/jpeg
+       media-libs/libpng
+       >=media-libs/libsdl-1.2
+       net-misc/curl
+       virtual/opengl
+       gps? ( sci-geosciences/gpsd )
+       doc? ( app-doc/doxygen )"
+
+DEPEND="${RDEPEND}
+       dev-util/scons"
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+
+       # This fixes a sandbox violation
+       sed -i "/PREFIX\/share\/gaia/a\SConsignFile()" SConstruct
+
+       # the doxygen instructions have the wrong input path
+       use doc && epatch "${FILESDIR}/${P}-correct_doxygen_path.patch"
+
+       # the binary would fail with a wrong hard coded path for font.png
+       cd "${S}/programs/gaia/"
+       epatch "${FILESDIR}/${P}-font_inclusion.patch"
+}
+
+src_compile() {
+       # Due to an error in the build script, the variable CCFLAGS is expected,
+       # setting it here is simpler than patching
+       export CCFLAGS=${CFLAGS}
+       # respect variables from the environment
+       local myconf="use_env=yes"
+
+       if use gps; then
+               myconf="${myconf} gpsd=yes"
+       fi
+
+       scons ${MAKEOPTS} ${myconf} || die
+
+       use doc && doxygen
+}
+
+src_install() {
+       dodir /usr/bin
+       dodir /usr/share/gaia/
+
+       dodoc TODO README
+
+       if use doc; then
+               rm ${S}/doc/html/*.md5
+               insinto /usr/share/doc/${P}/html/
+               doins ${S}/doc/html/*
+       fi
+
+       # local defines if there is installation requested, while prefix determines the
+       # target 
+       scons local=no  prefix="${D}/usr" install
+}
+
+pkg_postinst() {
+       einfo
+       einfo "please set color depth of X11 to 24 or 32 bpp"
+       einfo
+}
\ No newline at end of file
diff --git a/x11-misc/gaia/metadata.xml b/x11-misc/gaia/metadata.xml
new file mode 100644 (file)
index 0000000..ce2fe7f
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer>
+    <email>opfer@gentoo.org</email>
+    <name>Christian Faulhammer</name>
+  </maintainer>
+  <herd>no-herd</herd>
+</pkgmetadata>
\ No newline at end of file