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-6.0.ebuild
Date: Fri, 29 Jan 2010 18:09:14
Message-Id: E1NavHM-0002Nq-2A@stork.gentoo.org
1 bicatali 10/01/29 18:09:12
2
3 Modified: ChangeLog
4 Added: ds9-6.0.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc61/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.23 sci-astronomy/ds9/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/ds9/ChangeLog?rev=1.23&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/ds9/ChangeLog?rev=1.23&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/ds9/ChangeLog?r1=1.22&r2=1.23
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/ds9/ChangeLog,v
19 retrieving revision 1.22
20 retrieving revision 1.23
21 diff -u -r1.22 -r1.23
22 --- ChangeLog 25 Nov 2009 07:32:54 -0000 1.22
23 +++ ChangeLog 29 Jan 2010 18:09:11 -0000 1.23
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sci-astronomy/ds9
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/ds9/ChangeLog,v 1.22 2009/11/25 07:32:54 bicatali Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/ds9/ChangeLog,v 1.23 2010/01/29 18:09:11 bicatali Exp $
30 +
31 +*ds9-6.0 (29 Jan 2010)
32 +
33 + 29 Jan 2010; Sébastien Fabbro <bicatali@g.o> +ds9-6.0.ebuild,
34 + +files/ds9-6.0-main.patch:
35 + Version bump
36
37 *ds9-5.7-r2 (25 Nov 2009)
38
39
40
41
42 1.1 sci-astronomy/ds9/ds9-6.0.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/ds9/ds9-6.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/ds9/ds9-6.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ds9-6.0.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-astronomy/ds9/ds9-6.0.ebuild,v 1.1 2010/01/29 18:09:11 bicatali Exp $
52
53 EAPI=2
54 inherit eutils
55
56 DESCRIPTION="Data visualization application for astronomical FITS images"
57 HOMEPAGE="http://hea-www.harvard.edu/RD/ds9"
58 SRC_URI="http://hea-www.harvard.edu/saord/download/${PN}/source/${PN}.${PV}.tar.gz"
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~x86"
62 IUSE=""
63 RDEPEND="dev-tcltk/blt
64 >=dev-tcltk/tcllib-1.10
65 >=dev-tcltk/tclxml-3.1
66 dev-tcltk/tkcon
67 dev-tcltk/tkimg
68 dev-tcltk/tktable
69 x11-libs/libX11
70 x11-libs/libXau
71 x11-libs/libXdmcp
72 x11-libs/xpa
73 sci-astronomy/ast
74 sci-astronomy/funtools"
75
76 DEPEND="${RDEPEND}
77 dev-util/pkgconfig"
78
79 S="${WORKDIR}/sao${PN}"
80
81 src_prepare() {
82 # some patches are adapted from fedora
83 # most of them are to use system libraries instead of bundled-ones
84 epatch "${FILESDIR}"/${PN}-5.4-htmlwidget.patch
85 epatch "${FILESDIR}"/${PN}-5.7-makefile.patch
86 epatch "${FILESDIR}"/${PN}-5.7-src.patch
87 epatch "${FILESDIR}"/${PN}-6.0-main.patch
88 epatch "${FILESDIR}"/${PN}-5.7-saotk.patch
89 epatch "${FILESDIR}"/${PN}-5.7-tcl85.patch
90
91 # remove build-time dependency on etags (i.e. emacs or xemacs)
92 sed -i -e '/^all/s/TAGS//' saotk/*/Makefile || die "sed failed"
93
94 cp "${FILESDIR}"/make.gentoo make.include
95 use amd64 && \
96 export EXTRA_CPPFLAGS="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
97 export OPTS="${CXXFLAGS}"
98 }
99
100 src_install () {
101 newbin bin/ds9 ds9.exe || die "failed installing ds9 binary"
102 echo "#!/bin/sh" > ds9
103 echo "LD_LIBRARY_PATH=$(dir -d ${ROOT}usr/$(get_libdir)/Tclxml?.?):\${LD_LIBRARY_PATH} ds9.exe" >> ds9.sh
104 exeinto /usr/bin
105 newexe ds9.sh ds9
106 insinto /usr/share/${PN}
107 doins -r ds9/zipdir/zvfsmntpt/* || die
108 dodoc README acknowledgement || die "failed installing basic doc"
109 dosym ../../${PN}/doc /usr/share/doc/${PF}/html
110 doicon "${FILESDIR}"/${PN}.png
111 make_desktop_entry ds9 "SAOImage DS9"
112 }