summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-05-07 16:21:24 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-05-07 16:21:24 +0000
commit31c87b24c89d19e0b08438962818882ea2c977f3 (patch)
tree3d51e2aa28d79e395faaaf1185b523ddd6bfafbf
parentRemove PPC64 keywords for 0.5.9 & 0.5.9-r1 as these fail to start on PPC64, b... (diff)
downloadhistorical-31c87b24c89d19e0b08438962818882ea2c977f3.tar.gz
historical-31c87b24c89d19e0b08438962818882ea2c977f3.tar.bz2
historical-31c87b24c89d19e0b08438962818882ea2c977f3.zip
Added a desktop entry (bug #160261, thanks Pacho Ramos <pacho@condmat1.ciencias.uniovi.es>), and some ebuild cleaning. Added longdescription in metadata.xml
Package-Manager: portage-2.1.2.2
-rw-r--r--sci-astronomy/xephem/ChangeLog8
-rw-r--r--sci-astronomy/xephem/Manifest32
-rw-r--r--sci-astronomy/xephem/metadata.xml8
-rw-r--r--sci-astronomy/xephem/xephem-3.7.2.ebuild46
4 files changed, 59 insertions, 35 deletions
diff --git a/sci-astronomy/xephem/ChangeLog b/sci-astronomy/xephem/ChangeLog
index b0c72aaf84b5..0e33601f3ebf 100644
--- a/sci-astronomy/xephem/ChangeLog
+++ b/sci-astronomy/xephem/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-astronomy/xephem
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/xephem/ChangeLog,v 1.14 2007/02/22 01:32:07 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/xephem/ChangeLog,v 1.15 2007/05/07 16:21:24 bicatali Exp $
+
+ 07 May 2007; SĂ©bastien Fabbro <bicatali@gentoo.org> metadata.xml,
+ xephem-3.7.2.ebuild:
+ Added a desktop entry (bug #160261, thanks Pacho Ramos
+ <pacho@condmat1.ciencias.uniovi.es>), and some ebuild cleaning. Added
+ longdescription in metadata.xml
22 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog:
Redigest for Manifest2
diff --git a/sci-astronomy/xephem/Manifest b/sci-astronomy/xephem/Manifest
index c8577e90b488..36ebfcd70a74 100644
--- a/sci-astronomy/xephem/Manifest
+++ b/sci-astronomy/xephem/Manifest
@@ -11,18 +11,18 @@ EBUILD xephem-3.6.4.ebuild 1471 RMD160 34e1c64ce470c6aa1d423bfc3e1feff4eb0760ce
MD5 aab3a4315ed3eb13df78350c61357dca xephem-3.6.4.ebuild 1471
RMD160 34e1c64ce470c6aa1d423bfc3e1feff4eb0760ce xephem-3.6.4.ebuild 1471
SHA256 834d4fc41e28d0fc6aa74ad8a0b16cb4b37799acc188a75d6558d866f744932f xephem-3.6.4.ebuild 1471
-EBUILD xephem-3.7.2.ebuild 1974 RMD160 4c2e31b678ed50a9c1c550895c12d68a03a963a0 SHA1 761e761ad253f8c1b19daf3e7378185d1d7f474f SHA256 1acc328e63f42020c536c8181949b59c1e3880259036ea0629503da545efec57
-MD5 fd85475c6e3906ccafc1e2a060503af0 xephem-3.7.2.ebuild 1974
-RMD160 4c2e31b678ed50a9c1c550895c12d68a03a963a0 xephem-3.7.2.ebuild 1974
-SHA256 1acc328e63f42020c536c8181949b59c1e3880259036ea0629503da545efec57 xephem-3.7.2.ebuild 1974
-MISC ChangeLog 4680 RMD160 915f58bd52e872407db033db16d3ecbad1cfb494 SHA1 6e227c80c5ea343fa8a10ff47d5dea4f2ee016b1 SHA256 3dfe7cf4dd29f7a4e82c8111123f997f451627c62a40846be0b363637f63a28f
-MD5 9bc061142b1babf757608b0ccf80b8aa ChangeLog 4680
-RMD160 915f58bd52e872407db033db16d3ecbad1cfb494 ChangeLog 4680
-SHA256 3dfe7cf4dd29f7a4e82c8111123f997f451627c62a40846be0b363637f63a28f ChangeLog 4680
-MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900
-MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
-RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 metadata.xml 156
-SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 metadata.xml 156
+EBUILD xephem-3.7.2.ebuild 2247 RMD160 def57e47f578ec05981bf7e3d9af07f6bd55a3aa SHA1 4f73af72c724ea157439ee9151e14b648f9b6cd0 SHA256 7ddc2eb4efa7b334bea4717a91485d131f6b93be70d7fc6a5a802833b8f26a67
+MD5 47bcb46e6a77830af083a86b934fd000 xephem-3.7.2.ebuild 2247
+RMD160 def57e47f578ec05981bf7e3d9af07f6bd55a3aa xephem-3.7.2.ebuild 2247
+SHA256 7ddc2eb4efa7b334bea4717a91485d131f6b93be70d7fc6a5a802833b8f26a67 xephem-3.7.2.ebuild 2247
+MISC ChangeLog 4939 RMD160 89185a3da6576747208fb3bb2808c81a771e8bd9 SHA1 1e4729a527359db03aafe713dc9bcbdf5a863b63 SHA256 f2c100f32a436cb2ecb6c0e0aa86859aeed7759f3fe30d8735d792d5b8cafbd3
+MD5 425f344ae56c1fbb099abaae007b5188 ChangeLog 4939
+RMD160 89185a3da6576747208fb3bb2808c81a771e8bd9 ChangeLog 4939
+SHA256 f2c100f32a436cb2ecb6c0e0aa86859aeed7759f3fe30d8735d792d5b8cafbd3 ChangeLog 4939
+MISC metadata.xml 607 RMD160 5306c189a61a6ba80120f1710ecf8a93f956b45c SHA1 81b781ce504bd9e905fdd50e4266576436014114 SHA256 3cc09e691f00a06ccfc77a1561e8176128474398ecf451f4a668415494082109
+MD5 aade9b159a788af111a016ca2b1f2844 metadata.xml 607
+RMD160 5306c189a61a6ba80120f1710ecf8a93f956b45c metadata.xml 607
+SHA256 3cc09e691f00a06ccfc77a1561e8176128474398ecf451f4a668415494082109 metadata.xml 607
MD5 a03877139f35cf2e984541c0a72864ec files/digest-xephem-3.6.4 244
RMD160 f9e15da0c87e6a3feffa59c7949b6f88ab2229a3 files/digest-xephem-3.6.4 244
SHA256 c7ac9d8875564c919fd9fa2dcd2eaaf6394a5862a307e0d64d68bfbbec02883f files/digest-xephem-3.6.4 244
@@ -30,9 +30,9 @@ MD5 054a0b582548ec48906db73e5a320c3b files/digest-xephem-3.7.2 244
RMD160 7891defa1d9a4db21f9e8b5beea5920c8b9c1453 files/digest-xephem-3.7.2 244
SHA256 94ebc7e234e987509cbc14fe4048fcfd66edf275e51ecd5a132c05a3d1965916 files/digest-xephem-3.7.2 244
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.1 (GNU/Linux)
+Version: GnuPG v1.4.6 (GNU/Linux)
-iD8DBQFF3PItz974XjDVpbkRAhoLAKCEaQESA4fX6rsTT78SF5ISaBjHmwCdH9L1
-Sjqkw97dT1HAK27VGd0mA80=
-=WaQJ
+iD8DBQFGP1IP1ycZbhPLE2ARAudbAJwJA8UoT5WTSj6TzJXHHvGSrBb7EwCgmj7U
+hPrPlwdPV510Vyf0z4Eenfg=
+=BRiG
-----END PGP SIGNATURE-----
diff --git a/sci-astronomy/xephem/metadata.xml b/sci-astronomy/xephem/metadata.xml
index b229aec85b8f..3e5ddba5b8b1 100644
--- a/sci-astronomy/xephem/metadata.xml
+++ b/sci-astronomy/xephem/metadata.xml
@@ -2,4 +2,12 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>sci</herd>
+<longdescription lang="en">
+Xephem is an interactive astronomical ephemeris program for X Windows
+systems. It computes heliocentric, geocentric and topocentric
+information for fixed celestial objects and objects in heliocentric
+and geocentric orbits; has built-in support for all planet positions;
+the moons of Jupiter, Saturn and Earth; Mars' and Jupiter's central
+meridian longitude; Saturn's rings; and Jupiter's Great Red Spot.
+</longdescription>
</pkgmetadata>
diff --git a/sci-astronomy/xephem/xephem-3.7.2.ebuild b/sci-astronomy/xephem/xephem-3.7.2.ebuild
index 326568be810b..28e571c432ba 100644
--- a/sci-astronomy/xephem/xephem-3.7.2.ebuild
+++ b/sci-astronomy/xephem/xephem-3.7.2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/xephem/xephem-3.7.2.ebuild,v 1.1 2006/11/29 15:22:44 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/xephem/xephem-3.7.2.ebuild,v 1.2 2007/05/07 16:21:24 bicatali Exp $
inherit eutils
-DESCRIPTION="XEphem is the X Windows Ephemeris, and provides a scientific-grade solar system model, star charts, sky views, plus a whole lot more."
+DESCRIPTION="Interactive tool for astronomical ephemeris and sky simulation"
SRC_URI="http://www.clearskyinstitute.com/xephem/${P}.tar.gz"
HOMEPAGE="http://www.clearskyinstitute.com/xephem"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
@@ -16,56 +16,66 @@ DEPEND="virtual/motif"
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${PV}.patch
+ cd "${S}"
+ epatch "${FILESDIR}/${PV}.patch"
for i in libastro/Makefile libip/Makefile libjpegd/Makefile \
liblilxml/Makefile GUI/xephem/Makefile GUI/xephem/tools/*/Makefile ; do
einfo "Fixing CFLAGS in ${i}"
- sed -e "s~^CFLAGS[ ]*=\(.*\)-O2\(.*\)~CFLAGS= \1 \2 ${CFLAGS}~" -i ${i} \
+ sed -e "s~^CFLAGS[ ]*=\(.*\)-O2\(.*\)~CFLAGS= \1 \2 ${CFLAGS}~" \
+ -i ${i} \
|| die "sed failed"
done
sed -e 's~^CFLAGS[ ]*=\(.*\)$(CLDFLAGS)\(.*\)~CFLAGS=\1 \2~' \
- -i GUI/xephem/Makefile
+ -i GUI/xephem/Makefile \
+ || die "sed in GUI/xephem failed"
}
src_compile() {
cd libastro
- emake || die
+ emake || die "emake failed"
local myldflags
- cd ${S}
+ cd "${S}"
for dir in libip liblilxml libjpegd GUI/xephem/tools/* GUI/xephem; do
echo "going into ${dir}"
- cd ${S}/${dir}
+ cd "${S}"/${dir}
if [ ${dir:0:3} = "lib" ]; then
myldflags=""
else
myldflags="${CLDFLAGS}"
fi
- emake MOTIFI="/usr/include" MOTIFL="/usr/lib" CLDFLAGS="${myldflags}" || die
+ emake \
+ MOTIFI="/usr/include" \
+ MOTIFL="/usr/$(get_libdir)" \
+ CLDFLAGS="${myldflags}" \
+ || die "emake in ${dir} failed"
done
}
src_install() {
into /usr
- cd ${S}/GUI/xephem
- dobin xephem
+ cd "${S}"/GUI/xephem
+ dobin xephem || die "dobin xephem failed"
for file in tools/indi/{evalINDI,getINDI,setINDI,tmount,ota,wx,cam,security,indiserver} \
tools/{lx200xed/lx200xed,xedb/xedb,xephemdbd/xephemdbd}; do
- dobin ${file}
+ dobin ${file} || die "dobin ${file} failed"
done
doman xephem.1 tools/*/*.1
mv tools .. # do not install tool sources into share directory
- for i in $(find . -type d -mindepth 1); do
+ for i in $(find . -mindepth 1 -type d); do
insinto /usr/share/${PN}/${i}
doins ${i}/*
done
echo > ${S}/XEphem "XEphem.ShareDir: /usr/share/${PN}"
- insinto /usr/lib/X11/app-defaults/
- doins ${S}/XEphem
+ insinto /usr/share/X11/app-defaults
+ has_version '<x11-base/xorg-x11-7.0' && \
+ insinto /etc/X11/app-defaults
+ doins "${S}"/XEphem
- cd ${S}
+ cd "${S}"
dodoc Copyright README INSTALL
+ newicon GUI/xephem/XEphem.png ${PN}.png
+ make_desktop_entry xephem XEphem ${PN}
}