summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-astronomy/predict')
-rw-r--r--sci-astronomy/predict/ChangeLog6
-rw-r--r--sci-astronomy/predict/Manifest23
-rw-r--r--sci-astronomy/predict/files/predict-2.2.3-xforms.patch79
-rw-r--r--sci-astronomy/predict/predict-2.2.3.ebuild167
4 files changed, 10 insertions, 265 deletions
diff --git a/sci-astronomy/predict/ChangeLog b/sci-astronomy/predict/ChangeLog
index 4eeaa3f4f45d..bd9d6b6c1f6e 100644
--- a/sci-astronomy/predict/ChangeLog
+++ b/sci-astronomy/predict/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-astronomy/predict
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/predict/ChangeLog,v 1.21 2013/07/07 10:18:19 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/predict/ChangeLog,v 1.22 2013/07/08 16:30:51 bicatali Exp $
+
+ 08 Jul 2013; SĂ©bastien Fabbro <bicatali@gentoo.org>
+ -files/predict-2.2.3-xforms.patch, -predict-2.2.3.ebuild:
+ Removed old
07 Jul 2013; Agostino Sarubbo <ago@gentoo.org> predict-2.2.3-r1.ebuild:
Stable for x86, wrt bug #472528
diff --git a/sci-astronomy/predict/Manifest b/sci-astronomy/predict/Manifest
index e9c6bd08ba10..870e041b4452 100644
--- a/sci-astronomy/predict/Manifest
+++ b/sci-astronomy/predict/Manifest
@@ -1,30 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
AUX predict-2.2.3-earthtrack.patch 1175 SHA256 d43fe03b11b472fe6818cba1e0b27329c99b3c4eadba585c75434aa122109aab SHA512 908d5b323606d2655787fb50f456fba894b87398bc55298d9ce99d065b6a7625a3c564a0a047011d83a31af640f3b0f8a1b38e467ec7017159601bb9bc237fd3 WHIRLPOOL 72f39cbf3c9018f8089548a720e87b4937b31862a27949ceea0ef21e8edb01200621e7b59c494b96a788cb4aac9936dff8c1dd9fd80b5997bed842629d5391ea
-AUX predict-2.2.3-xforms.patch 2498 SHA256 b639b8674b907692ff8780d9df8ae07d17c8e235f201635bccb2f2a6a941fe89 SHA512 ec5d8d24b7e468015f0bf42b73b418da94203d10f3ae64d8e0cf847bd68ab593919ef821f995094a0cbb476012f4df249b0f982f46b6892af8553088cc68000b WHIRLPOOL f645f4f61b19c2580577f3073a2a40d72df359070a55bf0948dffc7da2ff68e41d3999f7c0e2487eadd339b10dd563db9febf8664d97196f3d671e7f9235e1ec
AUX predict-update 4039 SHA256 83dbf5f5e08f7d017391f7cfa7a30730f8930dec195dfa60bcd075188275d892 SHA512 8bcc89babe25f44ca985776b994265a12be8e3d6390e4301594f7a8d1402d7d42aa66f6ae1ab6f51c2d8d910d9f012920382928c0238fce4e1707cb8843a739a WHIRLPOOL f3244a54311356f5ff53e7a5510268380c720e58fcc7dcb0af3001d0f619c3f13072694363e32321d0c3ef9727779cdabd5a8b4fd8b733eaea4a3dfe85721578
-DIST predict-2.2.3.tar.gz 1639784 SHA256 fbaa7c78227a2216ee22b25c914c4dd538abfc22d96f0bb5d21e3e61976e5166 SHA512 7ab964db85d8fa0e7f32d9d93904599e25d7b50baa79e80cb72407991bf5522aaa91d266b09ce25e1281e4f013124f7e955ca85b46e44cc1c2035331aa54bc6e WHIRLPOOL 18d9be00066f4c5ea3e7256039cbc0f47f486ec643e5f42e62afeb12a226b82fe59d5e41aa587c2ae8aafe7755f498c6af6cbc612cd6b9050afa262b0e89e86f
DIST predict_2.2.3-3.1.diff.gz 78624 SHA256 60c00a542c399e69dba154cc0827ea15f33dae61547f3604b8c232e9d26d06df SHA512 9fe2e3ffd931be7ab85f10db4cd35a2091a459c3fd0c48e9ecf8a4482c20400c267b38d31f72d28270d50b7305bc49418fefe35ff013ac9be1627d853205bd5f WHIRLPOOL 9e2ed3fd43d556bb8c5ad92c9502574650cdf13116b222bdcbb7ee18d9e431cbfe8de6262f034dd9ab7abcebc940864c61911e4a0e26de2c6e14c24b9d17bc9d
DIST predict_2.2.3.orig.tar.gz 1444530 SHA256 47b7c185f1cf4d318b6b31a22a533c03c4a3f57394839df036367c7cdf2dd7ff SHA512 260f7f4dbc72cca4b0b5f7bc9dcf612b8a7e3ef12ab6f34afa3c06b1ac24427435af1c4bae9d39e7cbcdff6cccad72e3235dd191605464642f014207651d8c11 WHIRLPOOL 69ee83befef0ce413c826e6034b6b7ea2ab12749b9dc7071badc865208fd89141451c1f887cbefae6c7f1ec5d8adbd0d112a62fb89e805ddbef984e42ab05a63
EBUILD predict-2.2.3-r1.ebuild 5692 SHA256 49c041e94c3a38c7391739a44fa4b7e2b8b2b6369596996f75976bd8cc1cb318 SHA512 7e2a3f3adf1cf2e4dea8b829b15e1bceb54c8255c0351dbd3f1ad22f5523c959d5ddef20cfcc58b612b5d5775d733e7d45330de69325b9a3de9d88ebefab0bc3 WHIRLPOOL 3cffc8947252cef4eef5d90d0aab9b47face2601f81db725d5d306b8df5b93fbc9be6571f78d8f5d8caee8b66d9f84d04db89bf84764e9ba89c2d9c6bd3f8848
-EBUILD predict-2.2.3.ebuild 4589 SHA256 7bb671c6f1035677cf4408a2d950071de88128ff1fa078bb53821222b9d73ec8 SHA512 07c8e773252c5247d9fbc033805cd838068387c23608b6dafad15bb1856dd9d6f007ecc77c5f877b4ed65a3399b33a33f19ef88083f7beeaee4c291dde587044 WHIRLPOOL 1ffd22b62981847fbaed48defc20d14ac2c1778f5f01b53e75c7de2aa762fe19aeb82af6c9dc4be63a9ba456d0a014a46df4db232c5214b4c88d96451f07b94f
-MISC ChangeLog 4465 SHA256 aad4e94bfbe0be317764549dec9238c77da7341bd4a04ffceeba2f919d1c9b47 SHA512 9e457ba73c7e896a4704a617c9be48a59336f6865e8cbf7cae3826d00d294d27501cb1afde498351725a9661216c2f4d375df6538fd8a31c623c20b9bd31838f WHIRLPOOL f9275e68153a8672b6e6ed6a00fa60e73e617b54ab1d31fa046932f262e5393ad4605f2d0a8cfaf5787fe3915c1a513b7f3b009ac273174388ade83860f07728
+MISC ChangeLog 4600 SHA256 7647e8a9f3605a171fc75917649f8e6fb7d35a8540650219ab7181590feac546 SHA512 4db3c65a3069083bceca5d2d22afc60f61dbc87e2b3a69357b807b61d6eb16506e6bf5c5369c2c9af52c6bb745cc9e380bd7c3ba6c23a8bb4d70285b8def455b WHIRLPOOL 06c3ab5a5f56d251982d6927484855dc065e8a0f38d7bd0c53b59b2e4781061349d310f4c780a3c0b8a5cd0e93ea2d3a0857be841ae329720fce15721ebdc206
MISC metadata.xml 739 SHA256 ea6824127fedb64c7e9a448ab044b8960048330b05d32c7d24045929bed5051d SHA512 3281df7692c473c61f4f391ef3ef35e44aec7479a4b54cc3c637bf1a48dd717b27a10fef061bab8683f8222c0437f8e2d5947493cef67b92ee58d06d2585daea WHIRLPOOL eccf7e56a13ac0c1e88459e662a49a2077fb29c7e41bc8a4b205827174f2c0f7fa692ae389b2ce500902079725f6d6fef01908a749db67ef22b466a411dc3eba
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
-iQIcBAEBCgAGBQJR2UBlAAoJELp701BxlEWfgWEQALIzDy0zEPVQOs3IwihP+T9K
-WIlXSSvnPVR+kg0How8GCVmFEVj/GjpBuHZKNGKk7mLcVkQ7HpHZfb7EcOmDSRY6
-oSQ9MMXpuqECPhLbY8oI20d6PNd2knklqitIRcoE9xYwl2uPZiqrkhyc3PBeTDjT
-ajaiqTdRyge1JH1n4FDcKXhmHiK8uoeLjl1iEd0iG6rEBTRhw9UM543YYkXp5N5F
-iecVX8OeBVpVy4MwbL3O40XZLPzUt5xpPdCiNfHHprG90+nMYGdH8UF89UlSKQA1
-h/9zcq2UUPlTN2EmjWp+enbzwNWiL4w0LUhMHAmJXyhGP1igtZj7Fz/ZSP+utikW
-xPtNlMZpLnmfy4IaxCwia+GRyF9Hyotl49zHdBdUaHLN+9NbZFgHAsDEF4vVzWlA
-L6pOwX0v/UBlssfk9CQKx16gg8lAnWQfv8jeYzc1BU0QXP2Dyv3Wsf58B8YHl5T7
-f4c9RYa8AtJwcisdCmZyhlxAfv7xTlujRu/iHpQbFdN7bi8ChC5t6XFgQhUihTwz
-paukORiWcTm7msGlvK9D2GVEAKiM8TyvBx62ZwrbqfKeCVf2kKJlguhcMrecxxCy
-B7EnSnaJCNilU/7cQKEfj6Grm3vlzPECqgYK/8yTsFqErs4rjO1ggbQgPdd20AN1
-9t4cQ0IGvd0spB1Yj0Lx
-=2SU2
+iEYEAREIAAYFAlHa6UAACgkQ1ycZbhPLE2AcKwCdEcmgfi0s/U6Myz99AsSIdyqw
+I7gAn3Wc9Et/AtlMXP+IgTR4G0Y4X1pl
+=pF+f
-----END PGP SIGNATURE-----
diff --git a/sci-astronomy/predict/files/predict-2.2.3-xforms.patch b/sci-astronomy/predict/files/predict-2.2.3-xforms.patch
deleted file mode 100644
index 49bce1b14e36..000000000000
--- a/sci-astronomy/predict/files/predict-2.2.3-xforms.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-diff -Nur clients/map.orig/map.c clients/map/map.c
---- clients/map.orig/map.c 2007-09-11 15:56:24.838414157 +0100
-+++ clients/map/map.c 2007-09-11 15:52:24.148698032 +0100
-@@ -18,7 +18,7 @@
- *****************************************************************************/
- /* Form definition file generated with fdesign. */
-
--#include "forms.h"
-+#include <forms.h>
- #include <stdlib.h>
- #include "map.h"
- #include "world_fill.h"
-diff -Nur clients/map.orig/map_cb.c clients/map/map_cb.c
---- clients/map.orig/map_cb.c 2007-09-11 15:56:24.838414157 +0100
-+++ clients/map/map_cb.c 2007-09-11 15:54:05.190456074 +0100
-@@ -18,9 +18,11 @@
- *****************************************************************************/
- #include <stdio.h>
- #include <stdlib.h>
-+#include <unistd.h>
- #include <sys/types.h>
- #include <sys/socket.h>
- #include <netinet/in.h>
-+#include <arpa/inet.h>
- #include <netdb.h>
- #include <signal.h>
- #include <time.h>
-@@ -39,7 +41,7 @@
- /* This function implements the arccosine function,
- returning a value between 0 and two pi. */
-
-- double result, fraction;
-+ double result=0.0, fraction;
-
- fraction=x/y;
-
-@@ -76,7 +78,7 @@
- bzero((char *)&sin,sizeof(struct sockaddr_in));
- sin.sin_family = AF_INET;
-
-- if (pse=getservbyname(service,protocol))
-+ if ((pse=getservbyname(service,protocol)))
- sin.sin_port=pse->s_port;
-
- else if ((sin.sin_port=htons((unsigned short)atoi(service)))==0)
-@@ -85,7 +87,7 @@
- return -1;
- }
-
-- if (phe=gethostbyname(host))
-+ if ((phe=gethostbyname(host)))
- bcopy(phe->h_addr,(char *)&sin.sin_addr,phe->h_length);
-
- else if ((sin.sin_addr.s_addr = inet_addr(host))==INADDR_NONE)
-diff -Nur clients/map.orig/map_main.c clients/map/map_main.c
---- clients/map.orig/map_main.c 2007-09-11 15:56:24.838414157 +0100
-+++ clients/map/map_main.c 2007-09-11 15:55:58.208896628 +0100
-@@ -16,9 +16,11 @@
- * for more details. *
- * *
- *****************************************************************************/
--#include "forms.h"
-+#include <forms.h>
- #include "map.h"
- #include <sys/timeb.h>
-+#include <unistd.h>
-+#include <stdlib.h>
-
- extern int connectsock();
- extern void handler();
-@@ -29,7 +31,7 @@
- int main(int argc, char *argv[])
- {
- int i, skt, x, y, z;
-- char cmd[16], bufr[625], satnamelist[26][26];
-+ char bufr[625], satnamelist[26][26];
- const char *ptrsat;
- FD_map *fd_map;
- struct timeb tptr;
diff --git a/sci-astronomy/predict/predict-2.2.3.ebuild b/sci-astronomy/predict/predict-2.2.3.ebuild
deleted file mode 100644
index c5ff9c8cc7fc..000000000000
--- a/sci-astronomy/predict/predict-2.2.3.ebuild
+++ /dev/null
@@ -1,167 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/predict/predict-2.2.3.ebuild,v 1.7 2011/03/02 13:24:08 jlec Exp $
-
-EAPI="1"
-
-inherit toolchain-funcs eutils
-
-DESCRIPTION="Satellite tracking and orbital prediction"
-HOMEPAGE="http://www.qsl.net/kd2bd/predict.html"
-SRC_URI="http://www.amsat.org/amsat/ftp/software/Linux/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="doc gtk nls xforms xplanet"
-KEYWORDS="amd64 ~ppc x86"
-
-DEPEND="
- sys-libs/ncurses
- gtk? ( x11-libs/gtk+:1 )
- xforms? ( x11-libs/xforms )
- xplanet? ( || ( x11-misc/xplanet x11-misc/xearth ) )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-xforms.patch
- # fix for buffer overflow (Bug #339109)
- sed -i -e "s/netport\[6\]/netport\[7\]/g" predict.c || die
- # fix some further array out of bounds errors
- sed -i -e "s/satname\[ 26/satname\[ 25/g" \
- clients/gsat-1.1.0/src/db.c || die
- sed -i -e "s/satname\[ 26/satname\[ 25/g" \
- clients/gsat-1.1.0/src/comms.c || die
-}
-
-src_compile() {
- # predict uses a ncurses based configure script
- # this is what it does if it was bash based ;)
- COMPILER="$(tc-getCC) ${CFLAGS} ${LDFLAGS}"
-
- einfo "Compiling predict"
- echo "char *predictpath=\"/usr/share/predict/\";" > predict.h
- echo "char soundcard=1;" >> predict.h
- echo "char *version=\"${PV}\";" >> predict.h
- ${COMPILER} \
- predict.c -o predict \
- -L/$(get_libdir) -lm -lncurses -lpthread \
- || die "Failed compiling predict"
-
- einfo "Compiling vocalizer"
- cd vocalizer
- echo "char *path={\"/usr/share/predict/vocalizer/\"};" > vocalizer.h
- ${COMPILER} vocalizer.c -o vocalizer \
- || die "Failed compiling vocalizer"
-
- if use xplanet; then
- einfo "Compiling earthtrack"
- cd "${S}"/clients/earthtrack
- # fix include path
- sed -i \
- -e "s:/usr/local/share/xplanet:/usr/share/xplanet:" \
- earthtrack.c || die "Failed to fix xplanet paths"
- ${COMPILER} earthtrack.c -o earthtrack -lm \
- || die "Failed compiling earthtrack"
- fi
-
- # kep_reload
- einfo "Compiling kep_reload"
- cd "${S}"/clients/kep_reload
- ${COMPILER} kep_reload.c -o kep_reload || \
- die "Failed compiling kep_reload"
-
- # map
- if use xforms; then
- einfo "Compiling map"
- cd "${S}"/clients/map
- ${COMPILER} -I/usr/X11R6/include \
- map.c map_cb.c map_main.c \
- -L/usr/X11R6/$(get_libdir) -lforms -lX11 -lm \
- -o map || die "Failed compiling map"
- fi
-
- # gsat
- if use gtk; then
- # note there are plugins for gsat but they are missing
- ## header files and wont compile
- einfo "Compiling gsat"
- cd "${S}"/clients/gsat-*
- econf $(use_enable nls)
- cd src
- sed -i \
- -e "s:#define DEFAULTPLUGINSDIR .*:#define DEFAULTPLUGINSDIR \"/usr/$(get_libdir)/gsat/plugins/\":" \
- -e 's:int errno;::' \
- globals.h || die
- cd ..
- emake || die "Failed compiling gsat"
- fi
-}
-
-src_install() {
- dobin predict "${FILESDIR}"/predict-update || die
- dodoc CHANGES CREDITS HISTORY README NEWS
- doman docs/man/predict.1
- insinto /usr/share/${PN}/default
- doins default/predict.* || die
- if use doc; then
- dodoc docs/postscript/predict.ps || die
- insinto /usr/share/doc/${PF}
- doins docs/pdf/predict.pdf || die
- fi
-
- exeinto /usr/bin
- cd vocalizer
- doexe vocalizer || die
- dosym /usr/bin/vocalizer /usr/share/predict/vocalizer/vocalizer
- insinto /usr/share/${PN}/vocalizer
- doins *.wav || die "Failed to install vocalizer *.wav files"
-
- # earthtrack
- if use xplanet; then
- cd "${S}"/clients/earthtrack
- ln -s earthtrack earthtrack2
- dobin earthtrack earthtrack2 || die
- newdoc README README.earthtrack
- fi
-
- # kep_reload
- cd "${S}"/clients/kep_reload
- dobin kep_reload
- newdoc README README.kep_reload
-
- # map
- if use xforms; then
- cd "${S}"/clients/map
- dobin map || die
- newdoc CHANGES CHANGES.map
- newdoc README README.map
- fi
-
- # gsat
- if use gtk; then
- # the install seems broken so do manually...
- cd "${S}"/clients/gsat-*
- dodir /usr/$(get_libdir)/gsat/plugins
- keepdir /usr/$(get_libdir)/gsat/plugins
- cd src
- dobin gsat
- cd ..
- for i in AUTHORS ABOUT-NLS ChangeLog NEWS README Plugin_API; do
- newdoc ${i} ${i}.gsat
- done
- fi
-}
-
-pkg_postinst() {
- einfo "To use the clients the following line will"
- einfo "have to be inserted into /etc/services"
- einfo "predict 1210/udp"
- einfo "The port can be changed to anything"
- einfo "the name predict is what is needed to work"
- einfo "after that is set run 'predict -s'"
- einfo ""
- einfo "To get list of satellites run 'predict-update'"
- einfo "before running predict this script will also update"
- einfo "the list of satellites so they are up to date."
-}