Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-astronomy/funtools: funtools-1.4.4-r3.ebuild ChangeLog funtools-1.4.4-r2.ebuild
Date: Sun, 23 Feb 2014 20:18:46
Message-Id: 20140223201840.EA1792004E@flycatcher.gentoo.org
1 bicatali 14/02/23 20:18:40
2
3 Modified: ChangeLog
4 Added: funtools-1.4.4-r3.ebuild
5 Removed: funtools-1.4.4-r2.ebuild
6 Log:
7 Add a few fixes from debian
8
9 (Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
10
11 Revision Changes Path
12 1.10 sci-astronomy/funtools/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/funtools/ChangeLog?rev=1.10&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/funtools/ChangeLog?rev=1.10&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/funtools/ChangeLog?r1=1.9&r2=1.10
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/funtools/ChangeLog,v
21 retrieving revision 1.9
22 retrieving revision 1.10
23 diff -u -r1.9 -r1.10
24 --- ChangeLog 8 Jul 2013 23:23:33 -0000 1.9
25 +++ ChangeLog 23 Feb 2014 20:18:40 -0000 1.10
26 @@ -1,6 +1,14 @@
27 # ChangeLog for sci-astronomy/funtools
28 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/funtools/ChangeLog,v 1.9 2013/07/08 23:23:33 bicatali Exp $
30 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/funtools/ChangeLog,v 1.10 2014/02/23 20:18:40 bicatali Exp $
32 +
33 +*funtools-1.4.4-r3 (23 Feb 2014)
34 +
35 + 23 Feb 2014; Sébastien Fabbro <bicatali@g.o>
36 + +files/funtools-1.4.4-fix-crashes.patch,
37 + +files/funtools-1.4.4-fix-hardening.patch, +funtools-1.4.4-r3.ebuild,
38 + -funtools-1.4.4-r2.ebuild:
39 + Add a few fixes from debian
40
41 *funtools-1.4.4-r2 (08 Jul 2013)
42
43
44
45
46 1.1 sci-astronomy/funtools/funtools-1.4.4-r3.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/funtools/funtools-1.4.4-r3.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/funtools/funtools-1.4.4-r3.ebuild?rev=1.1&content-type=text/plain
50
51 Index: funtools-1.4.4-r3.ebuild
52 ===================================================================
53 # Copyright 1999-2014 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/sci-astronomy/funtools/funtools-1.4.4-r3.ebuild,v 1.1 2014/02/23 20:18:40 bicatali Exp $
56
57 EAPI=5
58 inherit eutils toolchain-funcs multilib autotools
59
60 DESCRIPTION="FITS library and utlities for astronomical images"
61 HOMEPAGE="http://www.cfa.harvard.edu/~john/funtools/"
62 SRC_URI="http://cfa-www.harvard.edu/~john/${PN}/${P}.tar.gz"
63
64 LICENSE="LGPL-2.1"
65 SLOT="0"
66 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
67 IUSE="doc static-libs"
68
69 RDEPEND="
70 sys-libs/zlib
71 sci-astronomy/wcstools
72 sci-visualization/gnuplot"
73 DEPEND="${RDEPEND}
74 virtual/pkgconfig"
75
76 src_prepare() {
77 epatch \
78 "${FILESDIR}"/${P}-ds9-fixes.patch \
79 "${FILESDIR}"/${P}-fix-autoheader.patch \
80 "${FILESDIR}"/${P}-fix-includes.patch \
81 "${FILESDIR}"/${P}-fix-hardening.patch \
82 "${FILESDIR}"/${P}-fix-crashes.patch \
83 "${FILESDIR}"/${P}-makefiles.patch
84 sed -i -e "s:/usr:${EPREFIX}/usr:g" filter/Makefile.in || die
85 sed -i \
86 -e "s:\${LINK}:\${LINK} ${LDFLAGS}:" \
87 mklib || die "sed for ldflags failed"
88 eautoreconf
89 }
90
91 src_configure() {
92 econf \
93 --enable-shared \
94 --enable-dl \
95 --enable-mainlib \
96 --with-wcslib="$($(tc-getPKG_CONFIG) --libs wcstools)" \
97 --with-zlib="$($(tc-getPKG_CONFIG) --libs zlib)" \
98 --with-tcl=-ltcl
99 }
100
101 src_compile() {
102 emake WCS_INC="$($(tc-getPKG_CONFIG) --cflags wcstools)"
103 emake shtclfun
104 }
105
106 src_install () {
107 default
108 # install missing includes
109 insinto /usr/include/funtools/fitsy
110 doins fitsy/*.h
111 use static-libs || rm "${ED}"/usr/$(get_libdir)/lib*.a
112 use doc && cd doc && dodoc *.pdf && dohtml *html *c
113 }