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.4.ebuild ds9-5.1.ebuild
Date: Wed, 05 Nov 2008 22:20:10
Message-Id: E1KxqjP-0007Ez-4f@stork.gentoo.org
1 bicatali 08/11/05 22:20:07
2
3 Modified: ChangeLog
4 Added: ds9-5.4.ebuild
5 Removed: ds9-5.1.ebuild
6 Log:
7 Version bump. Added a bunch of patches to allow using system libs.
8 (Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64)
9
10 Revision Changes Path
11 1.12 sci-astronomy/ds9/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/ds9/ChangeLog?rev=1.12&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/ds9/ChangeLog?rev=1.12&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/ds9/ChangeLog?r1=1.11&r2=1.12
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/ds9/ChangeLog,v
20 retrieving revision 1.11
21 retrieving revision 1.12
22 diff -u -r1.11 -r1.12
23 --- ChangeLog 22 Apr 2008 11:04:17 -0000 1.11
24 +++ ChangeLog 5 Nov 2008 22:20:07 -0000 1.12
25 @@ -1,6 +1,17 @@
26 # ChangeLog for sci-astronomy/ds9
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/ds9/ChangeLog,v 1.11 2008/04/22 11:04:17 bicatali Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/ds9/ChangeLog,v 1.12 2008/11/05 22:20:07 bicatali Exp $
30 +
31 +*ds9-5.4 (05 Nov 2008)
32 +
33 + 05 Nov 2008; Sébastien Fabbro <bicatali@g.o>
34 + -files/ds9-5.1-Makefile.patch, -files/ds9-5.1-tk-gif.patch,
35 + +files/ds9-5.4-fitsy.patch, +files/ds9-5.4-gcc43.patch,
36 + +files/ds9-5.4-htmlwidget.patch, +files/ds9-5.4-main.patch,
37 + +files/ds9-5.4-makefile.patch, +files/ds9-5.4-saotk.patch,
38 + +files/ds9-5.4-src.patch, +files/make.gentoo, -ds9-5.1.ebuild,
39 + +ds9-5.4.ebuild:
40 + Version bump. Added a bunch of patches to allow using system libs.
41
42 22 Apr 2008; Sébastien Fabbro <bicatali@g.o> ds9-5.2.ebuild:
43 Fixed patch location for x86 and a sed function
44
45
46
47 1.1 sci-astronomy/ds9/ds9-5.4.ebuild
48
49 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/ds9/ds9-5.4.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/ds9/ds9-5.4.ebuild?rev=1.1&content-type=text/plain
51
52 Index: ds9-5.4.ebuild
53 ===================================================================
54 # Copyright 1999-2008 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/sci-astronomy/ds9/ds9-5.4.ebuild,v 1.1 2008/11/05 22:20:07 bicatali Exp $
57
58 EAPI=2
59 inherit eutils
60
61 DESCRIPTION="Data visualization application for astronomical FITS images"
62 HOMEPAGE="http://hea-www.harvard.edu/RD/ds9"
63 SRC_URI="http://hea-www.harvard.edu/saord/download/${PN}/source/${PN}.${PV}.tar.gz"
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE=""
68 RDEPEND="dev-tcltk/blt
69 >=dev-tcltk/tcllib-1.10
70 >=dev-tcltk/tclxml-3.1
71 dev-tcltk/tkcon
72 >=dev-tcltk/tkimg-1.3.1
73 dev-tcltk/tktable
74 x11-libs/libX11
75 x11-libs/libXau
76 x11-libs/libXdmcp
77 sci-astronomy/ast
78 sci-astronomy/funtools"
79
80 DEPEND="${RDEPEND}
81 dev-util/pkgconfig"
82
83 S="${WORKDIR}/sao${PN}"
84
85 src_prepare() {
86 # some patches are adapted from fedora
87 # most of them are to use system libraries instead of bundled-ones
88 epatch "${FILESDIR}"/${P}-saotk.patch
89 epatch "${FILESDIR}"/${P}-htmlwidget.patch
90 epatch "${FILESDIR}"/${P}-main.patch
91 epatch "${FILESDIR}"/${P}-src.patch
92 epatch "${FILESDIR}"/${P}-makefile.patch
93 epatch "${FILESDIR}"/${P}-gcc43.patch
94
95 # remove build-time dependency on etags (i.e. emacs or xemacs)
96 sed -i -e '/^all/s/TAGS//' saotk/*/Makefile || die "sed failed"
97
98 cp "${FILESDIR}"/make.gentoo make.include
99 use amd64 && \
100 export EXTRA_CPPFLAGS="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
101 export OPTS="${CXXFLAGS}"
102 }
103
104 src_install () {
105 dobin bin/ds9 || die "failed installing ds9 binary"
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 doc/sun.gif
111 make_desktop_entry ds9 "SAOImage DS9" sun.gif
112 }