diff options
author | Christian Faulhammer <opfer@gentoo.org> | 2006-12-04 10:25:46 +0000 |
---|---|---|
committer | Christian Faulhammer <opfer@gentoo.org> | 2006-12-04 10:25:46 +0000 |
commit | e4c48c410f0d4a8bad817e1bc943d696a660b488 (patch) | |
tree | 4d1fdf0e874dcc8d54c7c75fa1131c3223297c84 /x11-misc/gaia | |
parent | x11-misc/gaia masked for testing (diff) | |
download | gentoo-2-e4c48c410f0d4a8bad817e1bc943d696a660b488.tar.gz gentoo-2-e4c48c410f0d4a8bad817e1bc943d696a660b488.tar.bz2 gentoo-2-e4c48c410f0d4a8bad817e1bc943d696a660b488.zip |
a new try. This version uses NASA World Wind instead of Google Earth and should be safe from copyright violations
(Portage version: 2.1.1-r2)
Diffstat (limited to 'x11-misc/gaia')
-rw-r--r-- | x11-misc/gaia/ChangeLog | 12 | ||||
-rw-r--r-- | x11-misc/gaia/Manifest | 24 | ||||
-rw-r--r-- | x11-misc/gaia/files/digest-gaia-0.1.1 | 3 | ||||
-rw-r--r-- | x11-misc/gaia/files/gaia-0.1.1-correct_doxygen_path.patch | 11 | ||||
-rw-r--r-- | x11-misc/gaia/files/gaia-0.1.1-font_inclusion.patch | 11 | ||||
-rw-r--r-- | x11-misc/gaia/gaia-0.1.1.ebuild | 82 | ||||
-rw-r--r-- | x11-misc/gaia/metadata.xml | 9 |
7 files changed, 152 insertions, 0 deletions
diff --git a/x11-misc/gaia/ChangeLog b/x11-misc/gaia/ChangeLog new file mode 100644 index 000000000000..b301dcce02c2 --- /dev/null +++ b/x11-misc/gaia/ChangeLog @@ -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 index 000000000000..6d272d9d5d09 --- /dev/null +++ b/x11-misc/gaia/Manifest @@ -0,0 +1,24 @@ +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 1900 RMD160 301724695fa3a61f5405ed29dd1510d15a872b8a SHA1 8edb731a80911879e0a696f459702678bf3b4986 SHA256 f8385e7172ee81cf8f28dbb9b82f7cf1b59b6803e5fa50dcfbde098efad79e81 +MD5 949bca8bbb32900baf807172dab3f87d gaia-0.1.1.ebuild 1900 +RMD160 301724695fa3a61f5405ed29dd1510d15a872b8a gaia-0.1.1.ebuild 1900 +SHA256 f8385e7172ee81cf8f28dbb9b82f7cf1b59b6803e5fa50dcfbde098efad79e81 gaia-0.1.1.ebuild 1900 +MISC ChangeLog 440 RMD160 ccaae453d1c85f23213fccc7ab5c5ec6f35b544f SHA1 5bfdcb902aac649438753864ed19fb7dfe27dd18 SHA256 372157e4ab34edf777fb967c097da6d2dbb1b1fd3ce3d32224334cd5c3837734 +MD5 77876e3272c442f888a8df633d477270 ChangeLog 440 +RMD160 ccaae453d1c85f23213fccc7ab5c5ec6f35b544f ChangeLog 440 +SHA256 372157e4ab34edf777fb967c097da6d2dbb1b1fd3ce3d32224334cd5c3837734 ChangeLog 440 +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 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 index 000000000000..ec2132319ab9 --- /dev/null +++ b/x11-misc/gaia/files/digest-gaia-0.1.1 @@ -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 index 000000000000..5f58c11591b1 --- /dev/null +++ b/x11-misc/gaia/files/gaia-0.1.1-correct_doxygen_path.patch @@ -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 index 000000000000..2fb715aa2166 --- /dev/null +++ b/x11-misc/gaia/files/gaia-0.1.1-font_inclusion.patch @@ -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 index 000000000000..b58d938e7387 --- /dev/null +++ b/x11-misc/gaia/gaia-0.1.1.ebuild @@ -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 index 000000000000..ce2fe7f80844 --- /dev/null +++ b/x11-misc/gaia/metadata.xml @@ -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 |