Gentoo Archives: gentoo-commits

From: "Andrey Kislyuk (weaver)" <weaver@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-biology/seaview: metadata.xml ChangeLog seaview-4.1.ebuild seaview-20071113.ebuild
Date: Wed, 07 Oct 2009 18:36:10
Message-Id: E1MvbMu-0003D3-8F@stork.gentoo.org
1 weaver 09/10/07 18:36:08
2
3 Modified: metadata.xml ChangeLog seaview-20071113.ebuild
4 Added: seaview-4.1.ebuild
5 Log:
6 Version bump, take ownership, cleanup. Thanks to Martin Mokrejs and Joel Berendzen (bug 246778).
7 (Portage version: 2.2_rc30/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.4 sci-biology/seaview/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/seaview/metadata.xml?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/seaview/metadata.xml?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/seaview/metadata.xml?r1=1.3&r2=1.4
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-biology/seaview/metadata.xml,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- metadata.xml 24 Mar 2009 21:06:07 -0000 1.3
23 +++ metadata.xml 7 Oct 2009 18:36:07 -0000 1.4
24 @@ -1,6 +1,10 @@
25 <?xml version="1.0" encoding="UTF-8"?>
26 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
27 <pkgmetadata>
28 + <maintainer>
29 + <email>weaver@g.o</email>
30 + <name>Andrey Kislyuk</name>
31 + </maintainer>
32 <herd>sci-biology</herd>
33 <longdescription>
34 SeaView is a graphical multiple sequence alignment editor developped by
35
36
37
38 1.29 sci-biology/seaview/ChangeLog
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/seaview/ChangeLog?rev=1.29&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/seaview/ChangeLog?rev=1.29&content-type=text/plain
42 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/seaview/ChangeLog?r1=1.28&r2=1.29
43
44 Index: ChangeLog
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/sci-biology/seaview/ChangeLog,v
47 retrieving revision 1.28
48 retrieving revision 1.29
49 diff -u -r1.28 -r1.29
50 --- ChangeLog 4 Sep 2009 09:22:53 -0000 1.28
51 +++ ChangeLog 7 Oct 2009 18:36:07 -0000 1.29
52 @@ -1,6 +1,17 @@
53 # ChangeLog for sci-biology/seaview
54 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
55 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/ChangeLog,v 1.28 2009/09/04 09:22:53 ssuominen Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/ChangeLog,v 1.29 2009/10/07 18:36:07 weaver Exp $
57 +
58 + 07 Oct 2009; Andrey Kislyuk <weaver@g.o> metadata.xml,
59 + +seaview-4.1.ebuild, seaview-20071113.ebuild:
60 + Drop keywords in seaview-20071113, will expedite 4.1
61 +
62 +*seaview-4.1 (07 Oct 2009)
63 +
64 + 07 Oct 2009; Andrey Kislyuk <weaver@g.o> metadata.xml,
65 + +seaview-4.1.ebuild:
66 + Version bump, take ownership, cleanup. Thanks to Martin Mokrejs and Joel
67 + Berendzen (bug 246778).
68
69 04 Sep 2009; Samuli Suominen <ssuominen@g.o>
70 seaview-20071113.ebuild, +files/seaview-20071113-glibc-2.10.patch:
71
72
73
74 1.6 sci-biology/seaview/seaview-20071113.ebuild
75
76 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/seaview/seaview-20071113.ebuild?rev=1.6&view=markup
77 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/seaview/seaview-20071113.ebuild?rev=1.6&content-type=text/plain
78 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/seaview/seaview-20071113.ebuild?r1=1.5&r2=1.6
79
80 Index: seaview-20071113.ebuild
81 ===================================================================
82 RCS file: /var/cvsroot/gentoo-x86/sci-biology/seaview/seaview-20071113.ebuild,v
83 retrieving revision 1.5
84 retrieving revision 1.6
85 diff -u -r1.5 -r1.6
86 --- seaview-20071113.ebuild 4 Sep 2009 09:22:53 -0000 1.5
87 +++ seaview-20071113.ebuild 7 Oct 2009 18:36:07 -0000 1.6
88 @@ -1,6 +1,6 @@
89 # Copyright 1999-2009 Gentoo Foundation
90 # Distributed under the terms of the GNU General Public License v2
91 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/seaview-20071113.ebuild,v 1.5 2009/09/04 09:22:53 ssuominen Exp $
92 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/seaview-20071113.ebuild,v 1.6 2009/10/07 18:36:07 weaver Exp $
93
94 EAPI=1
95 inherit eutils toolchain-funcs multilib
96 @@ -14,7 +14,7 @@
97 LICENSE="public-domain"
98
99 SLOT="0"
100 -KEYWORDS="amd64 ppc x86"
101 +KEYWORDS=""
102 IUSE=""
103
104 DEPEND="x11-libs/fltk:1.1
105
106
107
108 1.1 sci-biology/seaview/seaview-4.1.ebuild
109
110 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/seaview/seaview-4.1.ebuild?rev=1.1&view=markup
111 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/seaview/seaview-4.1.ebuild?rev=1.1&content-type=text/plain
112
113 Index: seaview-4.1.ebuild
114 ===================================================================
115 # Copyright 1999-2009 Gentoo Foundation
116 # Distributed under the terms of the GNU General Public License v2
117 # $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/seaview-4.1.ebuild,v 1.1 2009/10/07 18:36:07 weaver Exp $
118
119 EAPI="2"
120
121 inherit toolchain-funcs multilib eutils
122
123 DESCRIPTION="A graphical multiple sequence alignment editor"
124 HOMEPAGE="http://pbil.univ-lyon1.fr/software/seaview.html"
125 SRC_URI="ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/seaview/archive/${PN}_${PV}.tar.gz"
126
127 LICENSE="public-domain"
128 SLOT="0"
129 KEYWORDS="~amd64 ~x86"
130 IUSE="+pdf +xft"
131
132 DEPEND="x11-libs/fltk:1.1
133 pdf? ( media-libs/pdflib )
134 xft? ( x11-libs/libXft
135 x11-libs/fltk[-noxft] )"
136 RDEPEND="${DEPEND}
137 sci-biology/clustalw
138 || ( sci-libs/libmuscle sci-biology/muscle )
139 sci-biology/phyml"
140
141 S="${WORKDIR}/${PN}"
142
143 src_prepare() {
144 # respect CXXFLAGS (package uses them as CFLAGS)
145 sed -i \
146 -e "s:^CXX.*:CXX = $(tc-getCXX):" \
147 -e "s:\$(OPT):${CXXFLAGS}:" \
148 -e "s:^OPT:#OPT:" \
149 -e "s:^#IFLTK .*:IFLTK = $(fltk-config --use-images --cxxflags):" \
150 -e "s:^#LFLTK .*:LFLTK = $(fltk-config --use-images --ldflags):" \
151 -e "s:^USE_XFT:#USE_XFT:" \
152 -e "s:^#HELPFILE:HELPFILE:" \
153 -e "s:^#PHYMLNAME:PHYMLNAME:" \
154 Makefile || die "sed failed while editing Makefile"
155
156 if use pdf; then
157 sed -i \
158 -e "s:PDF_PS_FLAGS = -DNO_PDF:#PDF_PS_FLAGS = -DNO_PDF:" \
159 -e "s:PDF_PS = postscript:#PDF_PS = postscript:" \
160 -e "s:#PDF_INC = \$(HOME)/PDFlibLite:PDF_INC = /usr/include:" \
161 -e "s:#PDF_LIB = \$(HOME)/PDFlibLite:PDF_LIB = /usr/lib:" \
162 -e "s:#PDF_PS = pdf:PDF_PS = pdf:" \
163 -e "s:#PDF_PS_FLAGS = -I\$(PDF_INC):PDF_PS_FLAGS = -I\$(PDF_INC):" \
164 -e "s:#LPDF = -L\$(PDF_LIB) -lpdf:LPDF = -L\$(PDF_LIB) -lpdf:" \
165 Makefile || die "sed failed while editing Makefile to enable pdf output"
166 fi
167
168 if use xft; then
169 sed -i \
170 -e "s:^#USE_XFT .*:USE_XFT = -DUSE_XFT $(xft-config --cflags):" \
171 -e "s:-lXft:$(xft-config --libs):" \
172 Makefile || die "sed failed while editing Makefile to enable xft"
173 fi
174 }
175
176 src_install() {
177 dobin seaview || die
178
179 # /usr/share/seaview/seaview.html is hardcoded in the binary, see Makefile
180 insinto /usr/share/seaview
181 doins example.nxs seaview.html
182
183 insinto /usr/share/seaview/images
184 doins seaview.xpm || die
185
186 make_desktop_entry seaview Seaview /usr/share/pixmaps/seaview.xpm || die
187
188 doman seaview.1 || die
189 }