summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-07-26 15:33:25 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-07-26 15:33:25 +0000
commitad5d0bdca231b5ad0bdf251300684f1239327dff (patch)
tree3e895a1d8e3033acb0877daf43ffd5ca49a4db84
parentUse transition package media-libs/libmpcdecsv7 instead of media-libs/libmpcde... (diff)
downloadhistorical-ad5d0bdca231b5ad0bdf251300684f1239327dff.tar.gz
historical-ad5d0bdca231b5ad0bdf251300684f1239327dff.tar.bz2
historical-ad5d0bdca231b5ad0bdf251300684f1239327dff.zip
Version bump. Much cleaning and install a bit more doc
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
-rw-r--r--sci-astronomy/xephem/ChangeLog11
-rw-r--r--sci-astronomy/xephem/Manifest19
-rw-r--r--sci-astronomy/xephem/files/xephem-3.7.3-use-system-lib.patch5
-rw-r--r--sci-astronomy/xephem/files/xephem-3.7.4-libs-flags.patch160
-rw-r--r--sci-astronomy/xephem/metadata.xml12
-rw-r--r--sci-astronomy/xephem/xephem-3.7.4.ebuild69
6 files changed, 262 insertions, 14 deletions
diff --git a/sci-astronomy/xephem/ChangeLog b/sci-astronomy/xephem/ChangeLog
index 97e5f530f86b..da4edf999b44 100644
--- a/sci-astronomy/xephem/ChangeLog
+++ b/sci-astronomy/xephem/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-astronomy/xephem
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/xephem/ChangeLog,v 1.31 2008/08/09 02:28:40 markusle Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/xephem/ChangeLog,v 1.32 2009/07/26 15:33:25 bicatali Exp $
+
+*xephem-3.7.4 (26 Jul 2009)
+
+ 26 Jul 2009; SĂ©bastien Fabbro <bicatali@gentoo.org>
+ files/xephem-3.7.3-use-system-lib.patch, +xephem-3.7.4.ebuild,
+ +files/xephem-3.7.4-libs-flags.patch, metadata.xml:
+ Version bump. Much cleaning and install a bit more doc
09 Aug 2008; Markus Dittrich <markusle@gentoo.org> xephem-3.7.3.ebuild:
Removed installation of example INDI code. This resolves the file
diff --git a/sci-astronomy/xephem/Manifest b/sci-astronomy/xephem/Manifest
index bea34d92a449..a809f3e6ccfc 100644
--- a/sci-astronomy/xephem/Manifest
+++ b/sci-astronomy/xephem/Manifest
@@ -1,8 +1,21 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX 3.7.2.patch 1290 RMD160 e1f2e66a1b417b2fb66a3c13e74760d8f87977f5 SHA1 5d49ec0a316943287a94ad473778b56db02bf7f2 SHA256 c314c3f969eb13cf2151c4698e0721cebe714e62263d15dc3a7406daecf94a35
-AUX xephem-3.7.3-use-system-lib.patch 1528 RMD160 885ba835c49451963832bbf9bf5428470dcfb293 SHA1 52fe41ffac51863e9ad247cf86412599ec00290b SHA256 6eef7fe09b9b8020197e1627d4d63372f320f1d0bb5291002f677f979caa8aef
+AUX xephem-3.7.3-use-system-lib.patch 1422 RMD160 41c21f86dc207bc2bd1d236ece2f761c20332053 SHA1 7071c0e2262f052a9525783822b0a0cfaed98478 SHA256 6520076d6f201e05d3c5285a6bf58b859363bd0fdfc653b09c93769c57a44746
+AUX xephem-3.7.4-libs-flags.patch 5206 RMD160 4922f41df431aa70de891bc59149fc2536645133 SHA1 bd332a0dc2524f6c02fbe030ece30a7f99a612b9 SHA256 ae5eebb288daa710cceb19e2e5d52307137b1f190095387915ed8bc33c5f575d
DIST xephem-3.7.2.tar.gz 19369598 RMD160 585ed51d167869919b512561714d380c83db8865 SHA1 8027f73e934e257316d15c474c88d435241c521d SHA256 51697f36e08000fc5f8f5e5edc570f82c92d0b323331291877814410396d0354
DIST xephem-3.7.3.tar.gz 22148450 RMD160 d292a30cd6acbdd5dabf345aefd34b596534ce68 SHA1 b19c528097f7357e90a18bc605128eca9394b748 SHA256 450fa05a36ce4c8ceca80bd5a003c060bc4d9e07719aebcb13565b563b90e337
+DIST xephem-3.7.4.tar.gz 22154575 RMD160 96684e4b3afc445389ace82cbb200a0b7095852a SHA1 ea5859614381099ca3e9bc28930fd913dfd44926 SHA256 423b044d4a6433c62e493b891a7eb8aa332bc86d113069347945e4331d322726
EBUILD xephem-3.7.2.ebuild 2271 RMD160 e0693a6b0ec3cb35ec3a1f8a1843584324a2a239 SHA1 d45b122526bb65ea4f1d1272cfc823bceaad59fd SHA256 b6f7d0dde2e57f5ff658d786f8d981a47c6ef2c8afd040cc747dcf42e98088c9
EBUILD xephem-3.7.3.ebuild 2367 RMD160 e58e558bf37fde2444b71c3ed8cf3db33d05e79c SHA1 f819059fe4a50e5bbd2870f2fee49f3ecbab262b SHA256 be6eef61f12b3e8609344a1af3a3e4110a792826fb6a0f0f4a78b1c8b467ac54
-MISC ChangeLog 6993 RMD160 b97f33536e82678179ac9ad6f64e1240862427d7 SHA1 37e5fb89192983d5442fa194c386f35da214edf5 SHA256 50dc01c1cc129140e996d2c2346a943c28e713a76567824589c611bd60f91a7b
-MISC metadata.xml 607 RMD160 5306c189a61a6ba80120f1710ecf8a93f956b45c SHA1 81b781ce504bd9e905fdd50e4266576436014114 SHA256 3cc09e691f00a06ccfc77a1561e8176128474398ecf451f4a668415494082109
+EBUILD xephem-3.7.4.ebuild 1998 RMD160 9abce9521e03d79534b64a10e31a6a903330be19 SHA1 0d1918fcc8524a74a119da8a3740b561c312f911 SHA256 15694097e779b81d31f848755b1b8d77eae80e92a370b6c9c649f37d920132f3
+MISC ChangeLog 7254 RMD160 deca87be042059777514b93ef286ed355e404750 SHA1 e862b7fe1d9175f7b7ecf2b8630df3aaba652ad9 SHA256 534df80070b3beae9b5e9840d033b949ca29fa22500f7c1223cab90b05cf9792
+MISC metadata.xml 619 RMD160 cfbd2b52291d0421faa2f96ac76671dbe072ba43 SHA1 38fb2c164ba78e788976b9550ad31c193294a81c SHA256 ef6a860f84a8c9bab7d5b4395c61bd1ab31c7a979d46d3c770a92d396fd47559
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkpsd08ACgkQ1ycZbhPLE2BkiACfdCLpaaC5YqP4VXgE8BWoW2CN
+cDIAn3EtzTxAWLRlutU6hKsIKszlQgRw
+=/0Jd
+-----END PGP SIGNATURE-----
diff --git a/sci-astronomy/xephem/files/xephem-3.7.3-use-system-lib.patch b/sci-astronomy/xephem/files/xephem-3.7.3-use-system-lib.patch
index 662170a8f4fc..9eec93ecb291 100644
--- a/sci-astronomy/xephem/files/xephem-3.7.3-use-system-lib.patch
+++ b/sci-astronomy/xephem/files/xephem-3.7.3-use-system-lib.patch
@@ -1,6 +1,5 @@
-diff -Naur xephem-3.7.3/GUI/xephem/Makefile xephem-3.7.3.new/GUI/xephem/Makefile
---- xephem-3.7.3/GUI/xephem/Makefile 2006-05-13 19:06:06.000000000 -0400
-+++ xephem-3.7.3.new/GUI/xephem/Makefile 2008-06-30 06:38:50.000000000 -0400
+--- GUI/xephem/Makefile.orig 2006-05-13 19:06:06.000000000 -0400
++++ GUI/xephem/Makefile 2008-06-30 06:38:50.000000000 -0400
@@ -10,9 +10,9 @@
# back here and compile and link all the *.c files into one executable, xephem.
diff --git a/sci-astronomy/xephem/files/xephem-3.7.4-libs-flags.patch b/sci-astronomy/xephem/files/xephem-3.7.4-libs-flags.patch
new file mode 100644
index 000000000000..500ea12f223a
--- /dev/null
+++ b/sci-astronomy/xephem/files/xephem-3.7.4-libs-flags.patch
@@ -0,0 +1,160 @@
+diff -Nur xephem-3.7.4.orig/GUI/xephem/Makefile xephem-3.7.4/GUI/xephem/Makefile
+--- xephem-3.7.4.orig/GUI/xephem/Makefile 2009-01-05 20:55:59.000000000 +0000
++++ xephem-3.7.4/GUI/xephem/Makefile 2009-07-26 15:26:42.000000000 +0100
+@@ -10,8 +10,8 @@
+ # one executable, xephem.
+
+ # These -I and -L flags point to the supporting XEphem libraries
+-LIBINC = -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz
+-LIBLNK = -L../../libastro -L../../libip -L../../liblilxml -L../../libjpegd -L../../libpng -L../../libz
++LIBINC = -I../../libastro -I../../libip -I../../liblilxml
++LIBLNK = -L../../libastro -L../../libip -L../../liblilxml
+-LIBLIB = -lastro -lip -llilxml -ljpegd -lpng -lz
++LIBLIB = -lastro -lip -llilxml -ljpeg -lpng -lz
+
+ # MOTIFI is the directory containing the Xm directory of include files.
+@@ -32,12 +32,9 @@
+
+ # for linux and Apple OS X
+ # some systems now use just /usr/X11 (not /usr/X11R6)
+-CC = gcc
+-CLDFLAGS = -g
+-CFLAGS = $(LIBINC) $(CLDFLAGS) -O2 -Wall -I$(MOTIFI) -I/usr/X11R6/include
+-LDFLAGS = $(LIBLNK) $(CLDFLAGS) -L$(MOTIFL) -L/usr/X11R6/lib
+-XLIBS = $(MOTIFL)/libXm.a -lXp -lXt -lXext -lXmu -lX11
+-LIBS = $(XLIBS) $(LIBLIB) -lm
++XLIBS = -lXm -lXp -lXt -lXext -lXmu -lX11
++LIBS = $(LIBLNK) $(XLIBS) $(LIBLIB) -lm
++CFLAGS := $(LIBINC) $(CFLAGS)
+
+ # for ppc Apple OS X to make universal (i386 and ppc binary), requires
+ # Xcode 2.2, /Developers/SDK/MacOSX10.4u.sdk and all libs, including libXm,
+@@ -187,12 +184,9 @@
+ nroff -man $? > $@
+
+ libs:
+- cd ../../libastro; make
+- cd ../../libip; make
+- cd ../../libjpegd; make
+- cd ../../liblilxml; make
+- cd ../../libpng; make
+- cd ../../libz; make
++ cd ../../libastro; $(MAKE)
++ cd ../../libip; $(MAKE)
++ cd ../../liblilxml; $(MAKE)
+
+ clean:
+ rm -fr *.o ../../lib*/*.[ao]
+diff -Nur xephem-3.7.4.orig/GUI/xephem/tools/lx200xed/Makefile xephem-3.7.4/GUI/xephem/tools/lx200xed/Makefile
+--- xephem-3.7.4.orig/GUI/xephem/tools/lx200xed/Makefile 2005-03-20 11:04:51.000000000 +0000
++++ xephem-3.7.4/GUI/xephem/tools/lx200xed/Makefile 2009-07-26 15:15:06.000000000 +0100
+@@ -1,10 +1,6 @@
+ LIBASTRO = ../../../../libastro
+-CLDFLAGS =
+-CFLAGS = -Wall -O2 $(CLDFLAGS) -I$(LIBASTRO)
+-LDFLAGS = $(CLDFLAGS) -L$(LIBASTRO)
+-CC = gcc
+-
+-LIBS = -lastro -lm
++CFLAGS := -I$(LIBASTRO) $(CFLAGS)
++LIBS = -L$(LIBASTRO) -lastro -lm
+
+ OBJS = \
+ liblx200.o \
+diff -Nur xephem-3.7.4.orig/GUI/xephem/tools/xedb/Makefile xephem-3.7.4/GUI/xephem/tools/xedb/Makefile
+--- xephem-3.7.4.orig/GUI/xephem/tools/xedb/Makefile 2005-03-20 11:04:51.000000000 +0000
++++ xephem-3.7.4/GUI/xephem/tools/xedb/Makefile 2009-07-26 15:13:30.000000000 +0100
+@@ -2,11 +2,8 @@
+ # assumes gcc, adjust to suit.
+
+ ASLIBDIR = ../../../../libastro
+-CLDFLAGS =
+-GCCFLAGS = -O2 -ffast-math -Wall
+-CFLAGS = $(CLDFLAGS) $(GCCFLAGS) -I$(ASLIBDIR)
+-LDFLAGS = $(CLDFLAGS) -L$(ASLIBDIR)
+-LIBS = -lastro -lm
++CFLAGS := -I$(ASLIBDIR) $(CFLAGS)
++LIBS = -L$(ASLIBDIR) -lastro -lm
+
+ OBJS = xedb.o \
+ print.o
+diff -Nur xephem-3.7.4.orig/GUI/xephem/tools/xephemdbd/Makefile xephem-3.7.4/GUI/xephem/tools/xephemdbd/Makefile
+--- xephem-3.7.4.orig/GUI/xephem/tools/xephemdbd/Makefile 2005-03-20 11:04:51.000000000 +0000
++++ xephem-3.7.4/GUI/xephem/tools/xephemdbd/Makefile 2009-07-26 15:16:13.000000000 +0100
+@@ -2,16 +2,12 @@
+ # run this after successfully making XEphem and its libs.
+ # Only tested on Linux.
+
+-CC = gcc
+-
+ XED = ../..
+ LAS = $(XED)/../../libastro
+ IPH = $(XED)/../../libip
+
+-CLDFLAGS =-g
+-CFLAGS = $(CLDFLAGS) -Wall -ffast-math -I$(XED) -I$(LAS) -I$(IPH)
+-LDFLAGS = $(CLDFLAGS) -L$(LAS)
+-LIBS = -lastro -lm
++CFLAGS := -I$(XED) -I$(LAS) -I$(IPH) $(CFLAGS)
++LIBS = -L$(LAS) -lastro -lm
+
+ OBJS = xephemdbd.o \
+ db.o \
+diff -Nur xephem-3.7.4.orig/libastro/Makefile xephem-3.7.4/libastro/Makefile
+--- xephem-3.7.4.orig/libastro/Makefile 2006-02-24 03:37:31.000000000 +0000
++++ xephem-3.7.4/libastro/Makefile 2009-07-26 15:22:43.000000000 +0100
+@@ -3,10 +3,6 @@
+
+ # compiler and flags
+
+-# gcc
+-CC = gcc
+-CFLAGS= -O2 -Wall
+-
+ # macosx universal binary
+ # CFLAGS= -O2 -Wall -arch i386 -arch ppc
+
+@@ -87,7 +83,7 @@
+ ranlib $@
+
+ libastro.so: $(HS) $(OBJS)
+- $(CC) -shared -o $@ $(OBJS)
++ $(CC) $(LDFLAGS) -shared -o $@ $(OBJS)
+
+ clobber:
+ rm -f *.o libastro.a
+diff -Nur xephem-3.7.4.orig/libip/Makefile xephem-3.7.4/libip/Makefile
+--- xephem-3.7.4.orig/libip/Makefile 2009-01-05 20:53:46.000000000 +0000
++++ xephem-3.7.4/libip/Makefile 2009-07-26 15:20:43.000000000 +0100
+@@ -2,8 +2,7 @@
+ # (C) 2001 Elwood Charles Downey
+
+ # gcc
+-CC = gcc
+-CFLAGS= -I../libastro -O2 -Wall
++CFLAGS := -I../libastro $(CFLAGS)
+
+ # macosx universal binary
+ # CFLAGS= -I../libastro -O2 -Wall -arch i386 -arch ppc
+@@ -40,7 +39,7 @@
+ ranlib $@
+
+ libip.so: $(OBJS)
+- gcc -shared -o $@ $(OBJS)
++ $(CC) $(LDFLAGS) -shared -o $@ $(OBJS)
+
+ clobber:
+ rm -f *.o libip.a
+diff -Nur xephem-3.7.4.orig/liblilxml/Makefile xephem-3.7.4/liblilxml/Makefile
+--- xephem-3.7.4.orig/liblilxml/Makefile 2006-02-24 03:37:32.000000000 +0000
++++ xephem-3.7.4/liblilxml/Makefile 2009-07-26 15:22:04.000000000 +0100
+@@ -3,9 +3,6 @@
+
+ # compiler and flags
+
+-# gcc
+-CC = gcc
+-CFLAGS= -O2 -Wall
+
+ # macosx universal binary
+ # CFLAGS= -O2 -Wall -arch i386 -arch ppc
diff --git a/sci-astronomy/xephem/metadata.xml b/sci-astronomy/xephem/metadata.xml
index 3e5ddba5b8b1..0b03d335920d 100644
--- a/sci-astronomy/xephem/metadata.xml
+++ b/sci-astronomy/xephem/metadata.xml
@@ -3,11 +3,11 @@
<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.
+ 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.4.ebuild b/sci-astronomy/xephem/xephem-3.7.4.ebuild
new file mode 100644
index 000000000000..c6b5523d38c7
--- /dev/null
+++ b/sci-astronomy/xephem/xephem-3.7.4.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/xephem/xephem-3.7.4.ebuild,v 1.1 2009/07/26 15:33:25 bicatali Exp $
+
+EAPI=2
+inherit eutils
+
+DESCRIPTION="Interactive tool for astronomical ephemeris and sky simulation"
+HOMEPAGE="http://www.clearskyinstitute.com/xephem"
+SRC_URI="http://97.74.56.125/free/${P}.tar.gz"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE=""
+SLOT=0
+LICENSE="as-is"
+DEPEND="x11-libs/openmotif
+ media-libs/jpeg
+ media-libs/libpng"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # make sure we use system libs and respect user flags
+ epatch "${FILESDIR}"/${P}-libs-flags.patch
+}
+
+src_compile() {
+ cd GUI/xephem
+ emake || die "emake failed"
+ for i in tools/{lx200xed,xedb,xephemdbd}; do
+ emake -C ${i} || die "emake ${i} failed"
+ done
+}
+
+src_install() {
+ into "/usr"
+ cd "${S}"/GUI/xephem
+ dobin xephem || die "dobin xephem failed"
+ doman xephem.1 || die
+ newicon XEphem.png ${PN}.png
+ insinto /usr/share/${PN}
+ for i in auxil catalogs fifos fits gallery lo; do
+ doins -r ${i} || die
+ done
+ insinto /usr/share/doc/${PF}/html
+ doins -r help/* || die
+ cd tools
+ for file in lx200xed/lx200xed xedb/xedb xephemdbd/xephemdbd; do
+ dobin ${file} || die "dobin ${file} failed"
+ done
+ for file in {xedb,lx200xed}/README; do
+ newdoc ${file} README.$(dirname ${file}) || die "newdoc ${file} failed"
+ done
+ cd xephemdbd
+ insinto /usr/share/doc/${PF}/xephemdbd
+ doins README cgi-lib.pl start-xephemdbd.pl xephemdbd.html xephemdbd.pl || die
+
+ cd "${S}"
+ echo > XEphem "XEphem.ShareDir: /usr/share/${PN}"
+ insinto /usr/share/X11/app-defaults
+ has_version '<x11-base/xorg-x11-7.0' && insinto /etc/X11/app-defaults
+ doins XEphem || die
+ echo > 99xephem "XEHELPURL=/usr/share/doc/${PF}/html/xephem.html"
+ doenvd 99xephem || die
+ dodoc Copyright README
+ make_desktop_entry xephem XEphem ${PN}
+}
+
+pkg_postinst() {
+ elog "See /usr/share/doc/${PF}/xephemdbd/README to set up a web interface"
+}