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/ds9: ChangeLog ds9-5.0.ebuild
Date: Fri, 02 Nov 2007 12:44:00
Message-Id: E1InvsQ-0006UU-VP@stork.gentoo.org
1 bicatali 07/11/02 12:43:54
2
3 Modified: ChangeLog
4 Added: ds9-5.0.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.3.16)
8
9 Revision Changes Path
10 1.5 sci-astronomy/ds9/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/ds9/ChangeLog?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/ds9/ChangeLog?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/ds9/ChangeLog?r1=1.4&r2=1.5
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/ds9/ChangeLog,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- ChangeLog 2 Nov 2007 09:12:23 -0000 1.4
23 +++ ChangeLog 2 Nov 2007 12:43:54 -0000 1.5
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sci-astronomy/ds9
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/ds9/ChangeLog,v 1.4 2007/11/02 09:12:23 bicatali Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/ds9/ChangeLog,v 1.5 2007/11/02 12:43:54 bicatali Exp $
29 +
30 +*ds9-5.0 (02 Nov 2007)
31 +
32 + 02 Nov 2007; Sébastien Fabbro <bicatali@g.o>
33 + +files/ds9-5.0-Makefile.patch, +ds9-5.0.ebuild:
34 + Version bump
35
36 02 Nov 2007; Sébastien Fabbro <bicatali@g.o> ds9-4.13.ebuild:
37 fixed for compiler (bug #197396, thanks Joshua Rich)
38
39
40
41 1.1 sci-astronomy/ds9/ds9-5.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/ds9/ds9-5.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/ds9/ds9-5.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ds9-5.0.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sci-astronomy/ds9/ds9-5.0.ebuild,v 1.1 2007/11/02 12:43:54 bicatali Exp $
51
52 inherit flag-o-matic eutils toolchain-funcs
53
54 DESCRIPTION="Data visualization application for astronomical FITS images"
55 HOMEPAGE="http://hea-www.harvard.edu/RD/ds9"
56 SRC_URI="http://hea-www.harvard.edu/saord/download/${PN}/source/${PN}.${PV}.tar.gz"
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~amd64 ~x86"
60 IUSE="doc"
61 RDEPEND="x11-libs/libX11
62 x11-libs/libXdmcp
63 x11-libs/libXau"
64 DEPEND="${RDEPEND}
65 || ( virtual/emacs virtual/xemacs )
66 app-arch/zip"
67
68 RESTRICT="strip test mirror"
69
70 S="${WORKDIR}/sao${PN}"
71
72 src_unpack() {
73 unpack ${A}
74 cd "${S}"
75 # patch to speed up compilation (no man pages generation)
76 epatch "${FILESDIR}"/${P}-Makefile.patch
77 }
78
79 src_compile() {
80 local ds9arch
81 case ${ARCH} in
82 x86) ds9arch=linux ;;
83 amd64) ds9arch=linux64 ;;
84 ppc) ds9arch=linuxppc ;;
85 x86-fbsd) ds9arch=freebsd ;;
86 *) die "ds9 not supported upstream for this architecture";;
87 esac
88 ln -s make.${ds9arch} make.include
89
90 # This is a long and fragile compilation
91 # which recompiles tcl/tk, tkimg, blt, funtools,
92 # and a lot of other packages
93 emake -j1 \
94 CC="$(tc-getCC)" \
95 CXX="$(tc-getCXX)" \
96 OPTS="${CXXFLAGS}" \
97 || die "emake failed"
98 }
99
100 src_install () {
101 dobin bin/ds9 || die "failed installing ds9 binary"
102 dobin bin/xpa* || die "failed installing xpa* binaries"
103 doman man/man?/xpa* || die " failed installing man pages"
104 dodoc README acknowledgement || die "failed installing basic doc"
105 if use doc; then
106 dohtml -r doc/* || die "failed installing html doc"
107 fi
108 }
109
110
111
112 --
113 gentoo-commits@g.o mailing list