Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/embassy-mse/files/, sci-biology/embassy-vienna/files/, ...
Date: Wed, 04 Feb 2015 08:37:12
Message-Id: 1422954275.19eaadb66c9b5c5ace815fa0d6016b82ce2f7872.jlec@gentoo
1 commit: 19eaadb66c9b5c5ace815fa0d6016b82ce2f7872
2 Author: Ted Tanberry <ted.tanberry <AT> gmail <DOT> com>
3 AuthorDate: Tue Feb 3 09:04:35 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 3 09:04:35 2015 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=19eaadb6
7
8 Updated emboss.eclass and removed in-source-building. Amended all build system patches to build out-of-source.
9
10 ---
11 eclass/emboss.eclass | 20 ++++----
12 ...bassy-cbstools-1.0.0.650_fix-build-system.patch | 7 +++
13 .../embassy-emnu-1.05.650_fix-build-system.patch | 7 +++
14 .../embassy-esim4-1.0.0.650_fix-build-system.patch | 8 +++-
15 ...mbassy-iprscan-4.3.1.650_fix-build-system.patch | 7 +++
16 .../embassy-mse-3.0.0.650_fix-build-system.patch | 20 +++++++-
17 ...bassy-phylipnew-3.69.650_fix-build-system.patch | 9 +++-
18 .../embassy-topo-2.0.650_fix-build-system.patch | 7 +++
19 ...embassy-vienna-1.7.2.650_fix-build-system.patch | 2 +-
20 .../files/emboss-6.6.0_fix-build-system.patch | 54 +++++++++++++++++++---
21 10 files changed, 121 insertions(+), 20 deletions(-)
22
23 diff --git a/eclass/emboss.eclass b/eclass/emboss.eclass
24 index e06e430..3ba65bb 100644
25 --- a/eclass/emboss.eclass
26 +++ b/eclass/emboss.eclass
27 @@ -1,20 +1,22 @@
28 # Copyright 1999-2015 Gentoo Foundation
29 # Distributed under the terms of the GNU General Public License v2
30 -# $Header: /var/cvsroot/gentoo-x86/eclass/emboss.eclass,v 1.3 2012/09/27 16:35:41 axs Exp $
31 +# $Header: $
32
33 # @ECLASS: emboss.eclass
34 # @MAINTAINER:
35 # sci-biology@g.o
36 # jlec@g.o
37 +# ted.tanberry@×××××.com
38 # @AUTHOR:
39 # Original author: Author Olivier Fisette <ofisette@×××××.com>
40 # Next gen author: Justin Lecher <jlec@g.o>
41 +# Next gen author: Ted Tanberry <ted.tanberry@×××××.com>
42 # @BLURB: Use this to easy install EMBOSS and EMBASSY programs (EMBOSS add-ons).
43 # @DESCRIPTION:
44 -# The inheriting ebuild must set EAPI=4 and provide EBO_DESCRIPTION before the inherit line.
45 +# The inheriting ebuild must set at least EAPI=4 and provide EBO_DESCRIPTION before the inherit line.
46 # KEYWORDS should be set. Additionally "(R|P)DEPEND"encies and other standard
47 # ebuild variables can be extended (FOO+=" bar").
48 -# Default installation of following DOCS="AUTHORS ChangeLog NEWS README"
49 +# Default installation of following DOCS=()
50 #
51 # Example:
52 #
53 @@ -46,7 +48,6 @@ esac
54
55 if [[ -f "${FILESDIR}"/${P}_fix-build-system.patch ]]; then
56 AUTOTOOLS_AUTORECONF=1
57 - AUTOTOOLS_IN_SOURCE_BUILD=1
58 fi
59
60 inherit autotools-utils eutils flag-o-matic
61 @@ -85,14 +86,15 @@ if [[ ${PN} == embassy-* ]]; then
62 fi
63
64 DOCS=()
65 -#DOCS="AUTHORS ChangeLog NEWS README"
66
67 # @FUNCTION: emboss_src_prepare
68 # @DESCRIPTION:
69 -# Does following things
70 +# Does the following things
71 #
72 -# 1. Patches with "${FILESDIR}"/${PF}.patch, if present
73 -# 2. Runs eautoreconf, unless EBO_EAUTORECONF is set to no
74 +# 1. Patches with "${FILESDIR}"/${P}_fix-build-system.patch, if present,
75 +# and eventually runs eautoreconf in autotools-utils
76 +# 2. Patches with "${WORKDIR}"/${P}-upstream-r1.patch, if ${EBO_PATCH} is set
77 +# 3. Patches with "${FILESDIR}"/${PF}.patch, if present
78 #
79
80 emboss_src_prepare() {
81 @@ -101,7 +103,7 @@ emboss_src_prepare() {
82 epatch "${FILESDIR}"/${P}_fix-build-system.patch
83 fi
84
85 - [[ -n ${EBO_PATCH} ]] && epatch "${WORKDIR}"/${P}-upstream.patch
86 + [[ -n ${EBO_PATCH} ]] && epatch "${WORKDIR}"/${P}-upstream-r1.patch
87 [[ -f ${FILESDIR}/${PF}.patch ]] && epatch "${FILESDIR}"/${PF}.patch
88
89 autotools-utils_src_prepare
90
91 diff --git a/sci-biology/embassy-cbstools/files/embassy-cbstools-1.0.0.650_fix-build-system.patch b/sci-biology/embassy-cbstools/files/embassy-cbstools-1.0.0.650_fix-build-system.patch
92 index 811e416..63c67a1 100644
93 --- a/sci-biology/embassy-cbstools/files/embassy-cbstools-1.0.0.650_fix-build-system.patch
94 +++ b/sci-biology/embassy-cbstools/files/embassy-cbstools-1.0.0.650_fix-build-system.patch
95 @@ -88,3 +88,10 @@
96 - -lajax -lepcre $(NLADD) -leplplot $(XLIB)
97 + -lajax $(NLADD) $(XLIB)
98 endif
99 +--- CBSTOOLS-1.0.0.650/emboss_acd/Makefile.am
100 ++++ CBSTOOLS-1.0.0.650/emboss_acd/Makefile.am
101 +@@ -1,3 +1,3 @@
102 +
103 +-pkgdata_DATA = *.acd
104 ++pkgdata_DATA = $(srcdir)/*.acd
105 + pkgdatadir=$(prefix)/share/EMBOSS/acd
106
107 diff --git a/sci-biology/embassy-emnu/files/embassy-emnu-1.05.650_fix-build-system.patch b/sci-biology/embassy-emnu/files/embassy-emnu-1.05.650_fix-build-system.patch
108 index a2e80ad..e73eb7b 100644
109 --- a/sci-biology/embassy-emnu/files/embassy-emnu-1.05.650_fix-build-system.patch
110 +++ b/sci-biology/embassy-emnu/files/embassy-emnu-1.05.650_fix-build-system.patch
111 @@ -118,3 +118,10 @@
112 - -lajax -lepcre $(NLADD) -leplplot -lmenu -lform $(XLIB)
113 + -lajax $(NLADD) $(NCURSES_LIBS) $(FORM_LIBS) $(MENU_LIBS) $(XLIB)
114 endif
115 +--- EMNU-1.05.650/emboss_acd/Makefile.am
116 ++++ EMNU-1.05.650/emboss_acd/Makefile.am
117 +@@ -1,3 +1,3 @@
118 +
119 +-pkgdata_DATA = *.acd
120 ++pkgdata_DATA = $(srcdir)/*.acd
121 + pkgdatadir=$(prefix)/share/EMBOSS/acd
122
123 diff --git a/sci-biology/embassy-esim4/files/embassy-esim4-1.0.0.650_fix-build-system.patch b/sci-biology/embassy-esim4/files/embassy-esim4-1.0.0.650_fix-build-system.patch
124 index 1e70061..8279071 100644
125 --- a/sci-biology/embassy-esim4/files/embassy-esim4-1.0.0.650_fix-build-system.patch
126 +++ b/sci-biology/embassy-esim4/files/embassy-esim4-1.0.0.650_fix-build-system.patch
127 @@ -88,4 +88,10 @@
128 - -lajax -lepcre $(NLADD) -leplplot $(XLIB)
129 + -lajax $(NLADD) $(XLIB)
130 endif
131 -
132 +--- ESIM4-1.0.0.650/emboss_acd/Makefile.am
133 ++++ ESIM4-1.0.0.650/emboss_acd/Makefile.am
134 +@@ -1,3 +1,3 @@
135 +
136 +-pkgdata_DATA = *.acd
137 ++pkgdata_DATA = $(srcdir)/*.acd
138 + pkgdatadir=$(prefix)/share/EMBOSS/acd
139
140 diff --git a/sci-biology/embassy-iprscan/files/embassy-iprscan-4.3.1.650_fix-build-system.patch b/sci-biology/embassy-iprscan/files/embassy-iprscan-4.3.1.650_fix-build-system.patch
141 index a3a7cb8..955005d 100644
142 --- a/sci-biology/embassy-iprscan/files/embassy-iprscan-4.3.1.650_fix-build-system.patch
143 +++ b/sci-biology/embassy-iprscan/files/embassy-iprscan-4.3.1.650_fix-build-system.patch
144 @@ -88,3 +88,10 @@
145 - -lajax -lepcre $(NLADD) -leplplot $(XLIB)
146 + -lajax $(NLADD) $(XLIB)
147 endif
148 +--- IPRSCAN-4.3.1.650/emboss_acd/Makefile.am
149 ++++ IPRSCAN-4.3.1.650/emboss_acd/Makefile.am
150 +@@ -1,3 +1,3 @@
151 +
152 +-pkgdata_DATA = *.acd
153 ++pkgdata_DATA = $(srcdir)/*.acd
154 + pkgdatadir=$(prefix)/share/EMBOSS/acd
155
156 diff --git a/sci-biology/embassy-mse/files/embassy-mse-3.0.0.650_fix-build-system.patch b/sci-biology/embassy-mse/files/embassy-mse-3.0.0.650_fix-build-system.patch
157 index f9dc2b9..8b2f057 100644
158 --- a/sci-biology/embassy-mse/files/embassy-mse-3.0.0.650_fix-build-system.patch
159 +++ b/sci-biology/embassy-mse/files/embassy-mse-3.0.0.650_fix-build-system.patch
160 @@ -102,7 +102,7 @@
161 -AM_CPPFLAGS = -I../h -I${embprefix}/include \
162 - -I${embprefix}/include/eplplot -I${embprefix}/include/epcre \
163 - $(NLINCLUDES)
164 -+AM_CPPFLAGS = -I../h -I${embprefix}/include $(NLINCLUDES) $(PLPLOT_CFLAGS) $(NCURSES_CFLAGS)
165 ++AM_CPPFLAGS = -I$(top_srcdir)/h -I${embprefix}/include $(NLINCLUDES) $(PLPLOT_CFLAGS) $(NCURSES_CFLAGS)
166 endif
167
168 if ISSHARED
169 @@ -113,3 +113,21 @@
170 - -lensembl -lajaxg -lajax -lepcre $(NLADD) -leplplot $(XLIB)
171 + -lensembl -lajaxg -lajax $(NLADD) $(NCURSES_LIBS) $(XLIB)
172 endif
173 +--- MSE-3.0.0.650/ckit/Makefile.am
174 ++++ MSE-3.0.0.650/ckit/Makefile.am
175 +@@ -2,7 +2,7 @@
176 +
177 + lib_LTLIBRARIES = libckit.la
178 +
179 +-AM_CPPFLAGS = -I../h
180 ++AM_CPPFLAGS = -I$(top_srcdir)/h
181 +
182 + CKITSRC = datafiles.c next.c seqentry.c strings.c gcg.c pir.c \
183 + seqspec.c ttyinterface.c nextseqentry.c \
184 +--- MSE-3.0.0.650/emboss_acd/Makefile.am
185 ++++ MSE-3.0.0.650/emboss_acd/Makefile.am
186 +@@ -1,3 +1,3 @@
187 +
188 +-pkgdata_DATA = *.acd
189 ++pkgdata_DATA = $(srcdir)/*.acd
190 + pkgdatadir=$(prefix)/share/EMBOSS/acd
191
192 diff --git a/sci-biology/embassy-phylipnew/files/embassy-phylipnew-3.69.650_fix-build-system.patch b/sci-biology/embassy-phylipnew/files/embassy-phylipnew-3.69.650_fix-build-system.patch
193 index c4b2ffd..e0efb74 100644
194 --- a/sci-biology/embassy-phylipnew/files/embassy-phylipnew-3.69.650_fix-build-system.patch
195 +++ b/sci-biology/embassy-phylipnew/files/embassy-phylipnew-3.69.650_fix-build-system.patch
196 @@ -78,7 +78,7 @@
197 - -I${embprefix}/include/eplplot \
198 - $(NLINCLUDES) \
199 - -I${embprefix}/include/epcre
200 -+AM_CPPFLAGS = -I../include -I${embprefix}/include $(NLINCLUDES) $(PLPLOT_CFLAGS)
201 ++AM_CPPFLAGS = -I$(top_srcdir)/include -I${embprefix}/include $(NLINCLUDES) $(PLPLOT_CFLAGS)
202 endif
203
204 if ISSHARED
205 @@ -89,3 +89,10 @@
206 - -lajax -lepcre $(NLADD) -leplplot $(XLIB)
207 + -lajax $(NLADD) $(XLIB)
208 endif
209 +--- PHYLIPNEW-3.69.650/emboss_acd/Makefile.am
210 ++++ PHYLIPNEW-3.69.650/emboss_acd/Makefile.am
211 +@@ -1,3 +1,3 @@
212 +
213 +-pkgdata_DATA = *.acd
214 ++pkgdata_DATA = $(srcdir)/*.acd
215 + pkgdatadir=$(prefix)/share/EMBOSS/acd
216
217 diff --git a/sci-biology/embassy-topo/files/embassy-topo-2.0.650_fix-build-system.patch b/sci-biology/embassy-topo/files/embassy-topo-2.0.650_fix-build-system.patch
218 index 03da2af..7ddda05 100644
219 --- a/sci-biology/embassy-topo/files/embassy-topo-2.0.650_fix-build-system.patch
220 +++ b/sci-biology/embassy-topo/files/embassy-topo-2.0.650_fix-build-system.patch
221 @@ -88,3 +88,10 @@
222 - -lajax -lepcre $(NLADD) -leplplot $(XLIB)
223 + -lajax $(NLADD) $(XLIB)
224 endif
225 +--- TOPO-2.0.650/emboss_acd/Makefile.am
226 ++++ TOPO-2.0.650/emboss_acd/Makefile.am
227 +@@ -1,3 +1,3 @@
228 +
229 +-pkgdata_DATA = *.acd
230 ++pkgdata_DATA = $(srcdir)/*.acd
231 + pkgdatadir=$(prefix)/share/EMBOSS/acd
232
233 diff --git a/sci-biology/embassy-vienna/files/embassy-vienna-1.7.2.650_fix-build-system.patch b/sci-biology/embassy-vienna/files/embassy-vienna-1.7.2.650_fix-build-system.patch
234 index 7107188..c9ece69 100644
235 --- a/sci-biology/embassy-vienna/files/embassy-vienna-1.7.2.650_fix-build-system.patch
236 +++ b/sci-biology/embassy-vienna/files/embassy-vienna-1.7.2.650_fix-build-system.patch
237 @@ -77,7 +77,7 @@
238 -AM_CPPFLAGS = -I../H -I${embprefix}/include -I${embprefix}/include/eplplot \
239 - $(NLINCLUDES) \
240 - -I${embprefix}/include/epcre
241 -+AM_CPPFLAGS = -I../H -I${embprefix}/include $(NLINCLUDES) $(PLPLOT_CFLAGS)
242 ++AM_CPPFLAGS = -I$(top_srcdir)/H -I${embprefix}/include $(NLINCLUDES) $(PLPLOT_CFLAGS)
243 endif
244
245 if ISSHARED
246
247 diff --git a/sci-biology/emboss/files/emboss-6.6.0_fix-build-system.patch b/sci-biology/emboss/files/emboss-6.6.0_fix-build-system.patch
248 index 39e3cec..c831c3b 100644
249 --- a/sci-biology/emboss/files/emboss-6.6.0_fix-build-system.patch
250 +++ b/sci-biology/emboss/files/emboss-6.6.0_fix-build-system.patch
251 @@ -1,12 +1,13 @@
252 --- EMBOSS-6.6.0/ajax/acd/Makefile.am
253 +++ EMBOSS-6.6.0/ajax/acd/Makefile.am
254 -@@ -3,16 +3,19 @@
255 +@@ -3,16 +3,20 @@
256 lib_LTLIBRARIES = libacd.la
257
258 libacd_la_CFLAGS = $(WARN_CFLAGS) $(DEVWARN_CFLAGS) $(JAVA_CFLAGS)
259 +libacd_la_LIBADD = ../core/libajax.la ../graphics/libajaxg.la
260
261 libacd_la_CPPFLAGS = -I$(top_srcdir)/ajax/ajaxdb
262 ++libacd_la_CPPFLAGS += -I$(top_srcdir)/ajax/core
263 libacd_la_CPPFLAGS += -I$(top_srcdir)/ajax/ensembl
264 libacd_la_CPPFLAGS += -I$(top_srcdir)/ajax/graphics
265 -libacd_la_CPPFLAGS += -I$(top_srcdir)/ajax/pcre
266 @@ -24,7 +25,7 @@
267 libacd_la_LDFLAGS = -version-info 6:5:0
268 --- EMBOSS-6.6.0/ajax/ajaxdb/Makefile.am
269 +++ EMBOSS-6.6.0/ajax/ajaxdb/Makefile.am
270 -@@ -3,14 +3,15 @@
271 +@@ -3,14 +3,16 @@
272 lib_LTLIBRARIES = libajaxdb.la
273
274 libajaxdb_la_CFLAGS = $(WARN_CFLAGS) $(DEVWARN_CFLAGS) $(JAVA_CFLAGS)
275 @@ -32,6 +33,7 @@
276
277 libajaxdb_la_CPPFLAGS = -I$(top_srcdir)/ajax/ensembl
278 -libajaxdb_la_CPPFLAGS += -I$(top_srcdir)/ajax/pcre
279 ++libajaxdb_la_CPPFLAGS += -I$(top_srcdir)/ajax/core
280 if !ESYSTEMLIBS
281 +libajaxdb_la_CPPFLAGS += -I$(top_srcdir)/ajax/pcre
282 libajaxdb_la_CPPFLAGS += -I$(top_srcdir)/ajax/expat
283 @@ -94,7 +96,7 @@
284 +libensembl_la_LIBADD = ../core/libajax.la
285
286 -libensembl_la_CPPFLAGS = -I$(top_srcdir)/ajax/pcre
287 -+libensembl_la_CPPFLAGS =
288 ++libensembl_la_CPPFLAGS = -I$(top_srcdir)/ajax/core
289 if !ESYSTEMLIBS
290 +libensembl_la_CPPFLAGS += -I$(top_srcdir)/ajax/pcre
291 libensembl_la_CPPFLAGS += -I$(top_srcdir)/ajax/expat
292 @@ -114,7 +116,7 @@
293 +libajaxg_la_LIBADD = ../core/libajax.la $(PLPLOT_LIBS)
294
295 -libajaxg_la_CPPFLAGS = -I$(top_srcdir)/ajax/pcre
296 -+libajaxg_la_CPPFLAGS =
297 ++libajaxg_la_CPPFLAGS = -I$(top_srcdir)/ajax/core
298 if !ESYSTEMLIBS
299 +libajaxg_la_CPPFLAGS += -I$(top_srcdir)/ajax/pcre
300 libajaxg_la_CPPFLAGS += -I$(top_srcdir)/ajax/expat
301 @@ -246,8 +248,11 @@
302 # Enable the purify tool: --enable-purify, sets CC and LIBTOOL
303 --- EMBOSS-6.6.0/emboss/Makefile.am
304 +++ EMBOSS-6.6.0/emboss/Makefile.am
305 -@@ -30,13 +30,15 @@
306 +@@ -28,15 +28,18 @@
307 +
308 + AM_CPPFLAGS = -I$(top_srcdir)/ajax/acd
309 AM_CPPFLAGS += -I$(top_srcdir)/ajax/ajaxdb
310 ++AM_CPPFLAGS += -I$(top_srcdir)/ajax/core
311 AM_CPPFLAGS += -I$(top_srcdir)/ajax/ensembl
312 AM_CPPFLAGS += -I$(top_srcdir)/ajax/graphics
313 -AM_CPPFLAGS += -I$(top_srcdir)/ajax/pcre
314 @@ -264,7 +269,7 @@
315 AM_CPPFLAGS += $(AXIS2C_CPPFLAGS)
316 AM_CPPFLAGS += $(JAVA_CPPFLAGS)
317
318 -@@ -49,9 +51,11 @@
319 +@@ -49,9 +52,11 @@
320 if !ESYSTEMLIBS
321 LDADD += ../ajax/zlib/libezlib.la
322 LDADD += ../ajax/expat/libeexpat.la
323 @@ -277,6 +282,41 @@
324 LDADD += $(XLIB)
325
326 #if PURIFY
327 +--- EMBOSS-6.6.0/jemboss/lib/Makefile.am
328 ++++ EMBOSS-6.6.0/jemboss/lib/Makefile.am
329 +@@ -12,7 +12,7 @@
330 + jalviewApplet.jar \
331 + jemboss.jar
332 +
333 +-jemboss.jar:../org/emboss/jemboss/server/JembossFile*Server.java
334 ++jemboss.jar:$(srcdir)/../org/emboss/jemboss/server/JembossFile*Server.java
335 + if JAVA_BUILD
336 + $(ANT) -f ../build.xml package -Demboss.data=../emboss/data -Dname=jemboss -Djar.dir=lib -Dnotformemboss=yes;
337 + endif
338 +--- EMBOSS-6.6.0/m4/idxdbs.m4
339 ++++ EMBOSS-6.6.0/m4/idxdbs.m4
340 +@@ -1,17 +1,8 @@
341 + AC_DEFUN([CHECK_IDXDBS],
342 + [
343 +-AC_MSG_CHECKING(for EMBOSS pre-indexed databases)
344 ++AC_MSG_NOTICE(checking for EMBOSS pre-indexed databases)
345 +
346 +-
347 +-if test -f ./emboss/index/edam.xac; then
348 +-AC_MSG_RESULT(yes)
349 +-else
350 +-AC_MSG_RESULT(no)
351 +-echo ""
352 +-echo "Pre-indexed edam, taxon + drcat databases not found."
353 +-echo "Please download them from within this directory using:"
354 +-echo " rsync -av rsync://emboss.open-bio.org/EMBOSS/ ."
355 +-echo "and then repeat the configure step."
356 +-exit 1
357 +-fi
358 ++AC_CHECK_FILE([$srcdir/emboss/index/edam.xac],
359 ++ [],
360 ++ [AC_MSG_ERROR([cannot find pre-indexed edam, taxon + drcat databases])])
361 + ])
362 --- EMBOSS-6.6.0/Makefile.am
363 +++ EMBOSS-6.6.0/Makefile.am
364 @@ -12,8 +12,11 @@
365 @@ -315,7 +355,7 @@
366
367 -libnucleus_la_CPPFLAGS = -I$(top_srcdir)/plplot
368 -libnucleus_la_CPPFLAGS += -I$(top_srcdir)/ajax/pcre
369 -+libnucleus_la_CPPFLAGS =
370 ++libnucleus_la_CPPFLAGS = -I$(top_srcdir)/ajax/core
371 if !ESYSTEMLIBS
372 +libnucleus_la_CPPFLAGS += -I$(top_srcdir)/plplot
373 +libnucleus_la_CPPFLAGS += -I$(top_srcdir)/ajax/pcre