1 |
jlec 15/03/28 17:03:16 |
2 |
|
3 |
Added: emboss-6.6.0_plplot-declarations.patch |
4 |
README.gentoo emboss-6.6.0_fix-build-system.patch |
5 |
emboss-6.6.0_FORTIFY_SOURCE-fix.patch |
6 |
emboss-6.6.0_qa-implicit-declarations.patch |
7 |
Log: |
8 |
Import latest changes from science overlay, thanks Ted Tanberry for the work; fixes #504680 |
9 |
|
10 |
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!) |
11 |
|
12 |
Revision Changes Path |
13 |
1.1 sci-biology/emboss/files/emboss-6.6.0_plplot-declarations.patch |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/emboss/files/emboss-6.6.0_plplot-declarations.patch?rev=1.1&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/emboss/files/emboss-6.6.0_plplot-declarations.patch?rev=1.1&content-type=text/plain |
17 |
|
18 |
Index: emboss-6.6.0_plplot-declarations.patch |
19 |
=================================================================== |
20 |
--- EMBOSS-6.6.0/ajax/graphics/ajgraph.c |
21 |
+++ EMBOSS-6.6.0/ajax/graphics/ajgraph.c |
22 |
@@ -49,7 +49,7 @@ |
23 |
|
24 |
#define GRAPH_DEBUG 1 |
25 |
|
26 |
-#include "plplotP.h" |
27 |
+#include <plplotP.h> |
28 |
|
29 |
|
30 |
static void GraphArray(ajuint numofpoints, |
31 |
@@ -964,10 +964,10 @@ |
32 |
if(!thys->ready) |
33 |
{ |
34 |
#if GRAPH_DEBUG |
35 |
- ajDebug("=g= plxsfnam ('%S', '%s')\n", txt, ext); |
36 |
+ ajDebug("=g= plsfnam ('%S')\n", txt); |
37 |
#endif |
38 |
|
39 |
- plxsfnam(ajStrGetPtr(txt), ext); |
40 |
+ plsfnam(ajStrGetPtr(txt)); |
41 |
ajStrAssignS(&graphBasename, txt); |
42 |
ajStrAssignC(&graphExtension, ext); |
43 |
if(ajStrGetCharFirst(graphExtension) == '.') |
44 |
@@ -1213,10 +1213,10 @@ |
45 |
void ajGraphicsSetPenwidth(float penwidth) |
46 |
{ |
47 |
#if GRAPH_DEBUG |
48 |
- ajDebug("=g= plwid(%.2f) [width]\n", penwidth); |
49 |
+ ajDebug("=g= c_plwidth(%.2f) [width]\n", penwidth); |
50 |
#endif |
51 |
|
52 |
- plwid((PLINT)penwidth); |
53 |
+ c_plwidth((PLINT)penwidth); |
54 |
|
55 |
return; |
56 |
} |
57 |
@@ -1538,10 +1538,10 @@ |
58 |
static void GraphSetPen(ajint colour) |
59 |
{ |
60 |
#if GRAPH_DEBUG |
61 |
- ajDebug("=g= plcol(%d '%s') [colour]\n", colour, graphColourName[colour]); |
62 |
+ ajDebug("=g= plcol0(%d '%s') [colour]\n", colour, graphColourName[colour]); |
63 |
#endif |
64 |
|
65 |
- plcol((PLINT)colour); |
66 |
+ plcol0((PLINT)colour); |
67 |
|
68 |
return; |
69 |
} |
70 |
--- EMBOSS-6.6.0/ajax/graphics/ajgraph.h |
71 |
+++ EMBOSS-6.6.0/ajax/graphics/ajgraph.h |
72 |
@@ -32,7 +32,7 @@ |
73 |
/* ========================================================================= */ |
74 |
|
75 |
#include "ajdefine.h" |
76 |
-#include "plplot.h" |
77 |
+#include <plplot.h> |
78 |
#include "ajgraphstruct.h" |
79 |
#include "ajdefine.h" |
80 |
#include "ajstr.h" |
81 |
|
82 |
|
83 |
|
84 |
1.1 sci-biology/emboss/files/README.gentoo |
85 |
|
86 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/emboss/files/README.gentoo?rev=1.1&view=markup |
87 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/emboss/files/README.gentoo?rev=1.1&content-type=text/plain |
88 |
|
89 |
Index: README.gentoo |
90 |
=================================================================== |
91 |
Administrating EMBOSS on Gentoo systems |
92 |
======================================= |
93 |
|
94 |
|
95 |
Codon data files location |
96 |
------------------------- |
97 |
|
98 |
The codon data files that are distributed with EMBOSS are installed in the |
99 |
``EPREFIX/usr/share/EMBOSS/data/CODONS.orig`` directory instead of the usual |
100 |
``EPREFIX/usr/share/EMBOSS/data/CODONS``. This is done to avoid confusion between |
101 |
these codon files and those installed with the CUTG database. The names of |
102 |
these files sometimes vary only by their case. Having both sets of files in |
103 |
the same directory is also impossible on systems such as MacOSX, where the |
104 |
root filesystem is case insensitive. If you do not have the CUTG database |
105 |
installed and want to use the codon files distributed with EMBOSS, you can |
106 |
symlink the ``CODONS.orig`` directory to ``CODONS``:: |
107 |
|
108 |
# cd ${EPREFIX}/usr/share/EMBOSS/data |
109 |
# ln -s CODONS.orig CODONS |
110 |
|
111 |
|
112 |
Restriction enzymes equivalence file location |
113 |
--------------------------------------------- |
114 |
|
115 |
The restriction enzymes equivalence file distributed with EMBOSS is installed |
116 |
as ``EPREFIX/usr/share/EMBOSS/data/embossre.equ.orig`` rather than the usual |
117 |
``EPREFIX/usr/share/EMBOSS/data/embossre.equ``. This is done to avoid a file |
118 |
collision with the equivalence file provided by the Rebase database. If you do |
119 |
not have the Rebase database installed and want to use the equivalence file |
120 |
distributed with EMBOSS, you can symlink the ``embossre.equ.orig`` file to |
121 |
``embossre.equ``:: |
122 |
|
123 |
# cd ${EPREFIX}/usr/share/EMBOSS/data |
124 |
# ln -s embossre.equ.orig embossre.equ |
125 |
|
126 |
|
127 |
|
128 |
1.1 sci-biology/emboss/files/emboss-6.6.0_fix-build-system.patch |
129 |
|
130 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/emboss/files/emboss-6.6.0_fix-build-system.patch?rev=1.1&view=markup |
131 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/emboss/files/emboss-6.6.0_fix-build-system.patch?rev=1.1&content-type=text/plain |
132 |
|
133 |
Index: emboss-6.6.0_fix-build-system.patch |
134 |
=================================================================== |
135 |
--- EMBOSS-6.6.0/ajax/acd/Makefile.am |
136 |
+++ EMBOSS-6.6.0/ajax/acd/Makefile.am |
137 |
@@ -3,16 +3,20 @@ |
138 |
lib_LTLIBRARIES = libacd.la |
139 |
|
140 |
libacd_la_CFLAGS = $(WARN_CFLAGS) $(DEVWARN_CFLAGS) $(JAVA_CFLAGS) |
141 |
+libacd_la_LIBADD = ../core/libajax.la ../graphics/libajaxg.la |
142 |
|
143 |
libacd_la_CPPFLAGS = -I$(top_srcdir)/ajax/ajaxdb |
144 |
+libacd_la_CPPFLAGS += -I$(top_srcdir)/ajax/core |
145 |
libacd_la_CPPFLAGS += -I$(top_srcdir)/ajax/ensembl |
146 |
libacd_la_CPPFLAGS += -I$(top_srcdir)/ajax/graphics |
147 |
-libacd_la_CPPFLAGS += -I$(top_srcdir)/ajax/pcre |
148 |
if !ESYSTEMLIBS |
149 |
+libacd_la_CPPFLAGS += -I$(top_srcdir)/ajax/pcre |
150 |
libacd_la_CPPFLAGS += -I$(top_srcdir)/ajax/expat |
151 |
libacd_la_CPPFLAGS += -I$(top_srcdir)/ajax/zlib |
152 |
-endif |
153 |
libacd_la_CPPFLAGS += -I$(top_srcdir)/plplot |
154 |
+else |
155 |
+libacd_la_CFLAGS += $(PLPLOT_CFLAGS) |
156 |
+endif |
157 |
libacd_la_CPPFLAGS += $(JAVA_CPPFLAGS) |
158 |
|
159 |
libacd_la_LDFLAGS = -version-info 6:5:0 |
160 |
--- EMBOSS-6.6.0/ajax/ajaxdb/Makefile.am |
161 |
+++ EMBOSS-6.6.0/ajax/ajaxdb/Makefile.am |
162 |
@@ -3,14 +3,16 @@ |
163 |
lib_LTLIBRARIES = libajaxdb.la |
164 |
|
165 |
libajaxdb_la_CFLAGS = $(WARN_CFLAGS) $(DEVWARN_CFLAGS) $(JAVA_CFLAGS) |
166 |
+libajaxdb_la_LIBADD = ../core/libajax.la ../ensembl/libensembl.la |
167 |
|
168 |
libajaxdb_la_CPPFLAGS = -I$(top_srcdir)/ajax/ensembl |
169 |
-libajaxdb_la_CPPFLAGS += -I$(top_srcdir)/ajax/pcre |
170 |
+libajaxdb_la_CPPFLAGS += -I$(top_srcdir)/ajax/core |
171 |
if !ESYSTEMLIBS |
172 |
+libajaxdb_la_CPPFLAGS += -I$(top_srcdir)/ajax/pcre |
173 |
libajaxdb_la_CPPFLAGS += -I$(top_srcdir)/ajax/expat |
174 |
libajaxdb_la_CPPFLAGS += -I$(top_srcdir)/ajax/zlib |
175 |
-endif |
176 |
libajaxdb_la_CPPFLAGS += -I$(top_srcdir)/plplot |
177 |
+endif |
178 |
libajaxdb_la_CPPFLAGS += $(AXIS2C_CPPFLAGS) |
179 |
libajaxdb_la_CPPFLAGS += $(JAVA_CPPFLAGS) |
180 |
|
181 |
--- EMBOSS-6.6.0/ajax/core/ajreg.h |
182 |
+++ EMBOSS-6.6.0/ajax/core/ajreg.h |
183 |
@@ -39,9 +39,8 @@ |
184 |
#include "ajdefine.h" |
185 |
#include "ajstr.h" |
186 |
|
187 |
-#include "pcre_config.h" |
188 |
-#include "pcre_internal.h" |
189 |
-#include "pcreposix.h" |
190 |
+#include <pcre.h> |
191 |
+#include <pcreposix.h> |
192 |
|
193 |
AJ_BEGIN_DECLS |
194 |
|
195 |
@@ -84,7 +83,7 @@ |
196 |
|
197 |
typedef struct AjSRegexp |
198 |
{ |
199 |
- real_pcre *pcre; |
200 |
+ struct real_pcre *pcre; |
201 |
pcre_extra *extra; |
202 |
int *ovector; |
203 |
const char* orig; |
204 |
--- EMBOSS-6.6.0/ajax/core/Makefile.am |
205 |
+++ EMBOSS-6.6.0/ajax/core/Makefile.am |
206 |
@@ -3,13 +3,15 @@ |
207 |
lib_LTLIBRARIES = libajax.la |
208 |
|
209 |
libajax_la_CFLAGS = $(WARN_CFLAGS) $(DEVWARN_CFLAGS) $(JAVA_CFLAGS) |
210 |
+libajax_la_LIBADD = $(EXPAT_LIBS) $(PCRE_LIBS) $(ZLIB_LIBS) |
211 |
|
212 |
-libajax_la_CPPFLAGS = -I$(top_srcdir)/ajax/pcre |
213 |
+libajax_la_CPPFLAGS = |
214 |
if !ESYSTEMLIBS |
215 |
+libajax_la_CPPFLAGS += -I$(top_srcdir)/ajax/pcre |
216 |
libajax_la_CPPFLAGS += -I$(top_srcdir)/ajax/expat |
217 |
libajax_la_CPPFLAGS += -I$(top_srcdir)/ajax/zlib |
218 |
-endif |
219 |
libajax_la_CPPFLAGS += -I$(top_srcdir)/plplot |
220 |
+endif |
221 |
libajax_la_CPPFLAGS += $(JAVA_CPPFLAGS) |
222 |
libajax_la_CPPFLAGS += $(MYSQL_CPPFLAGS) |
223 |
libajax_la_CPPFLAGS += $(POSTGRESQL_CPPFLAGS) |
224 |
--- EMBOSS-6.6.0/ajax/ensembl/Makefile.am |
225 |
+++ EMBOSS-6.6.0/ajax/ensembl/Makefile.am |
226 |
@@ -3,13 +3,15 @@ |
227 |
lib_LTLIBRARIES = libensembl.la |
228 |
|
229 |
libensembl_la_CFLAGS = $(WARN_CFLAGS) $(DEVWARN_CFLAGS) $(JAVA_CFLAGS) |
230 |
+libensembl_la_LIBADD = ../core/libajax.la |
231 |
|
232 |
-libensembl_la_CPPFLAGS = -I$(top_srcdir)/ajax/pcre |
233 |
+libensembl_la_CPPFLAGS = -I$(top_srcdir)/ajax/core |
234 |
if !ESYSTEMLIBS |
235 |
+libensembl_la_CPPFLAGS += -I$(top_srcdir)/ajax/pcre |
236 |
libensembl_la_CPPFLAGS += -I$(top_srcdir)/ajax/expat |
237 |
libensembl_la_CPPFLAGS += -I$(top_srcdir)/ajax/zlib |
238 |
-endif |
239 |
libensembl_la_CPPFLAGS += -I$(top_srcdir)/plplot |
240 |
+endif |
241 |
libensembl_la_CPPFLAGS += $(JAVA_CPPFLAGS) |
242 |
|
243 |
libensembl_la_LDFLAGS = -version-info 6:5:0 |
244 |
--- EMBOSS-6.6.0/ajax/graphics/Makefile.am |
245 |
+++ EMBOSS-6.6.0/ajax/graphics/Makefile.am |
246 |
@@ -3,12 +3,16 @@ |
247 |
lib_LTLIBRARIES = libajaxg.la |
248 |
|
249 |
libajaxg_la_CFLAGS = $(WARN_CFLAGS) $(DEVWARN_CFLAGS) $(JAVA_CFLAGS) |
250 |
+libajaxg_la_LIBADD = ../core/libajax.la $(PLPLOT_LIBS) |
251 |
|
252 |
-libajaxg_la_CPPFLAGS = -I$(top_srcdir)/ajax/pcre |
253 |
+libajaxg_la_CPPFLAGS = -I$(top_srcdir)/ajax/core |
254 |
if !ESYSTEMLIBS |
255 |
+libajaxg_la_CPPFLAGS += -I$(top_srcdir)/ajax/pcre |
256 |
libajaxg_la_CPPFLAGS += -I$(top_srcdir)/ajax/expat |
257 |
-endif |
258 |
libajaxg_la_CPPFLAGS += -I$(top_srcdir)/plplot |
259 |
+else |
260 |
+libajaxg_la_CFLAGS += $(PLPLOT_CFLAGS) |
261 |
+endif |
262 |
libajaxg_la_CPPFLAGS += $(JAVA_CPPFLAGS) |
263 |
|
264 |
libajaxg_la_LDFLAGS = -version-info 6:5:0 |
265 |
--- EMBOSS-6.6.0/ajax/Makefile.am |
266 |
+++ EMBOSS-6.6.0/ajax/Makefile.am |
267 |
@@ -1,7 +1,7 @@ |
268 |
## Process this file with automake to produce Makefile.in |
269 |
|
270 |
-SUBDIRS = pcre |
271 |
+SUBDIRS = |
272 |
if !ESYSTEMLIBS |
273 |
-SUBDIRS += expat zlib |
274 |
+SUBDIRS += pcre expat zlib |
275 |
endif |
276 |
SUBDIRS += core graphics ensembl ajaxdb acd |
277 |
--- EMBOSS-6.6.0/configure.ac |
278 |
+++ EMBOSS-6.6.0/configure.ac |
279 |
@@ -629,32 +629,6 @@ |
280 |
|
281 |
|
282 |
|
283 |
- |
284 |
-dnl PCRE library definitions - see the MAJOR and MINOR values |
285 |
-dnl to see which version's configure.in these lines come from |
286 |
- |
287 |
-dnl Provide the current PCRE version information. Do not use numbers |
288 |
-dnl with leading zeros for the minor version, as they end up in a C |
289 |
-dnl macro, and may be treated as octal constants. Stick to single |
290 |
-dnl digits for minor numbers less than 10. There are unlikely to be |
291 |
-dnl that many releases anyway. |
292 |
- |
293 |
-PCRE_MAJOR="7" |
294 |
-PCRE_MINOR="9" |
295 |
-PCRE_DATE="11-Apr-2009" |
296 |
-PCRE_VERSION="${PCRE_MAJOR}.${PCRE_MINOR}" |
297 |
- |
298 |
-dnl Default values for miscellaneous macros |
299 |
- |
300 |
-POSIX_MALLOC_THRESHOLD="-DPOSIX_MALLOC_THRESHOLD=10" |
301 |
- |
302 |
-dnl Provide versioning information for libtool shared libraries that |
303 |
-dnl are built by default on Unix systems. |
304 |
- |
305 |
-PCRE_LIB_VERSION="0:1:0" |
306 |
-PCRE_POSIXLIB_VERSION="0:0:0" |
307 |
- |
308 |
- |
309 |
dnl Define where the EMBOSS package is located |
310 |
AC_SUBST([AJAX_FIXED_ROOT]) |
311 |
AJAX_FIXED_ROOT="\\\"`pwd`/emboss\\\"" |
312 |
@@ -743,17 +717,7 @@ |
313 |
|
314 |
|
315 |
|
316 |
-dnl "Export" these variables for PCRE |
317 |
|
318 |
-AC_SUBST([HAVE_MEMMOVE]) |
319 |
-AC_SUBST([HAVE_STRERROR]) |
320 |
-AC_SUBST([PCRE_MAJOR]) |
321 |
-AC_SUBST([PCRE_MINOR]) |
322 |
-AC_SUBST([PCRE_DATE]) |
323 |
-AC_SUBST([PCRE_VERSION]) |
324 |
-AC_SUBST([PCRE_LIB_VERSION]) |
325 |
-AC_SUBST([PCRE_POSIXLIB_VERSION]) |
326 |
-AC_SUBST([POSIX_MALLOC_THRESHOLD]) |
327 |
|
328 |
|
329 |
|
330 |
@@ -849,7 +813,51 @@ |
331 |
|
332 |
AM_CONDITIONAL([ESYSTEMLIBS], [test "x${enable_systemlibs}" = "xyes"]) |
333 |
|
334 |
- |
335 |
+AS_IF([test "x${enable_systemlibs}" = "xyes"], |
336 |
+[ |
337 |
+dnl using system libraries |
338 |
+ PKG_CHECK_MODULES([PCRE], [libpcre]) |
339 |
+ PKG_CHECK_MODULES([EXPAT], [expat]) |
340 |
+ PKG_CHECK_MODULES([ZLIB], [zlib]) |
341 |
+ PKG_CHECK_MODULES([PLPLOT], [plplotd]) |
342 |
+], |
343 |
+[ |
344 |
+dnl using bundled libraries |
345 |
+ dnl PCRE library definitions - see the MAJOR and MINOR values |
346 |
+ dnl to see which version's configure.ac these lines come from |
347 |
+ |
348 |
+ dnl Provide the current PCRE version information. Do not use numbers |
349 |
+ dnl with leading zeros for the minor version, as they end up in a C |
350 |
+ dnl macro, and may be treated as octal constants. Stick to single |
351 |
+ dnl digits for minor numbers less than 10. There are unlikely to be |
352 |
+ dnl that many releases anyway. |
353 |
+ |
354 |
+ PCRE_MAJOR="7" |
355 |
+ PCRE_MINOR="9" |
356 |
+ PCRE_DATE="11-Apr-2009" |
357 |
+ PCRE_VERSION="${PCRE_MAJOR}.${PCRE_MINOR}" |
358 |
+ |
359 |
+ dnl Default values for miscellaneous macros |
360 |
+ |
361 |
+ POSIX_MALLOC_THRESHOLD="-DPOSIX_MALLOC_THRESHOLD=10" |
362 |
+ |
363 |
+ dnl Provide versioning information for libtool shared libraries that |
364 |
+ dnl are built by default on Unix systems. |
365 |
+ |
366 |
+ PCRE_LIB_VERSION="0:1:0" |
367 |
+ PCRE_POSIXLIB_VERSION="0:0:0" |
368 |
+ |
369 |
+ dnl "Export" these variables for PCRE |
370 |
+ AC_SUBST([HAVE_MEMMOVE]) |
371 |
+ AC_SUBST([HAVE_STRERROR]) |
372 |
+ AC_SUBST([PCRE_MAJOR]) |
373 |
+ AC_SUBST([PCRE_MINOR]) |
374 |
+ AC_SUBST([PCRE_DATE]) |
375 |
+ AC_SUBST([PCRE_VERSION]) |
376 |
+ AC_SUBST([PCRE_LIB_VERSION]) |
377 |
+ AC_SUBST([PCRE_POSIXLIB_VERSION]) |
378 |
+ AC_SUBST([POSIX_MALLOC_THRESHOLD]) |
379 |
+]) |
380 |
|
381 |
|
382 |
# Enable the purify tool: --enable-purify, sets CC and LIBTOOL |
383 |
--- EMBOSS-6.6.0/emboss/Makefile.am |
384 |
+++ EMBOSS-6.6.0/emboss/Makefile.am |
385 |
@@ -28,15 +28,18 @@ |
386 |
|
387 |
AM_CPPFLAGS = -I$(top_srcdir)/ajax/acd |
388 |
AM_CPPFLAGS += -I$(top_srcdir)/ajax/ajaxdb |
389 |
+AM_CPPFLAGS += -I$(top_srcdir)/ajax/core |
390 |
AM_CPPFLAGS += -I$(top_srcdir)/ajax/ensembl |
391 |
AM_CPPFLAGS += -I$(top_srcdir)/ajax/graphics |
392 |
-AM_CPPFLAGS += -I$(top_srcdir)/ajax/pcre |
393 |
if !ESYSTEMLIBS |
394 |
+AM_CPPFLAGS += -I$(top_srcdir)/ajax/pcre |
395 |
AM_CPPFLAGS += -I$(top_srcdir)/ajax/expat |
396 |
AM_CPPFLAGS += -I$(top_srcdir)/ajax/zlib |
397 |
+AM_CPPFLAGS += -I$(top_srcdir)/plplot |
398 |
+else |
399 |
+AM_CFLAGS += $(PLPLOT_CFLAGS) |
400 |
endif |
401 |
AM_CPPFLAGS += -I$(top_srcdir)/nucleus |
402 |
-AM_CPPFLAGS += -I$(top_srcdir)/plplot |
403 |
AM_CPPFLAGS += $(AXIS2C_CPPFLAGS) |
404 |
AM_CPPFLAGS += $(JAVA_CPPFLAGS) |
405 |
|
406 |
@@ -49,9 +52,11 @@ |
407 |
if !ESYSTEMLIBS |
408 |
LDADD += ../ajax/zlib/libezlib.la |
409 |
LDADD += ../ajax/expat/libeexpat.la |
410 |
-endif |
411 |
LDADD += ../ajax/pcre/libepcre.la |
412 |
LDADD += ../plplot/libeplplot.la |
413 |
+else |
414 |
+LDADD += $(EXPAT_LIBS) $(PCRE_LIBS) $(ZLIB_LIBS) $(PLPLOT_LIBS) |
415 |
+endif |
416 |
LDADD += $(XLIB) |
417 |
|
418 |
#if PURIFY |
419 |
--- EMBOSS-6.6.0/jemboss/lib/Makefile.am |
420 |
+++ EMBOSS-6.6.0/jemboss/lib/Makefile.am |
421 |
@@ -12,7 +12,7 @@ |
422 |
jalviewApplet.jar \ |
423 |
jemboss.jar |
424 |
|
425 |
-jemboss.jar:../org/emboss/jemboss/server/JembossFile*Server.java |
426 |
+jemboss.jar:$(srcdir)/../org/emboss/jemboss/server/JembossFile*Server.java |
427 |
if JAVA_BUILD |
428 |
$(ANT) -f ../build.xml package -Demboss.data=../emboss/data -Dname=jemboss -Djar.dir=lib -Dnotformemboss=yes; |
429 |
endif |
430 |
--- EMBOSS-6.6.0/m4/idxdbs.m4 |
431 |
+++ EMBOSS-6.6.0/m4/idxdbs.m4 |
432 |
@@ -1,17 +1,8 @@ |
433 |
AC_DEFUN([CHECK_IDXDBS], |
434 |
[ |
435 |
-AC_MSG_CHECKING(for EMBOSS pre-indexed databases) |
436 |
+AC_MSG_NOTICE(checking for EMBOSS pre-indexed databases) |
437 |
|
438 |
- |
439 |
-if test -f ./emboss/index/edam.xac; then |
440 |
-AC_MSG_RESULT(yes) |
441 |
-else |
442 |
-AC_MSG_RESULT(no) |
443 |
-echo "" |
444 |
-echo "Pre-indexed edam, taxon + drcat databases not found." |
445 |
-echo "Please download them from within this directory using:" |
446 |
-echo " rsync -av rsync://emboss.open-bio.org/EMBOSS/ ." |
447 |
-echo "and then repeat the configure step." |
448 |
-exit 1 |
449 |
-fi |
450 |
+AC_CHECK_FILE([$srcdir/emboss/index/edam.xac], |
451 |
+ [], |
452 |
+ [AC_MSG_ERROR([cannot find pre-indexed edam, taxon + drcat databases])]) |
453 |
]) |
454 |
--- EMBOSS-6.6.0/Makefile.am |
455 |
+++ EMBOSS-6.6.0/Makefile.am |
456 |
@@ -12,8 +12,11 @@ |
457 |
ONEWS \ |
458 |
PROBLEMS |
459 |
|
460 |
-SUBDIRS = \ |
461 |
-plplot \ |
462 |
+SUBDIRS = |
463 |
+if !ESYSTEMLIBS |
464 |
+SUBDIRS += plplot |
465 |
+endif |
466 |
+SUBDIRS += \ |
467 |
ajax \ |
468 |
nucleus \ |
469 |
emboss \ |
470 |
@@ -33,5 +36,3 @@ |
471 |
tar cBf - doc | ( cd $(distdir); tar xBf - ; find doc -name CVS | xargs rm -rf; ) |
472 |
tar cBf - jemboss | ( cd $(distdir); tar xBf - ; find jemboss -name CVS | xargs rm -rf; find jemboss -name Makefile | xargs rm -rf; find jemboss -name .cvsignore | xargs rm -rf ) |
473 |
|
474 |
-install-exec-hook: |
475 |
- $(bindir)/embossupdate |
476 |
--- EMBOSS-6.6.0/nucleus/Makefile.am |
477 |
+++ EMBOSS-6.6.0/nucleus/Makefile.am |
478 |
@@ -3,6 +3,7 @@ |
479 |
lib_LTLIBRARIES = libnucleus.la |
480 |
|
481 |
libnucleus_la_CFLAGS = $(WARN_CFLAGS) $(DEVWARN_CFLAGS) $(JAVA_CFLAGS) |
482 |
+libnucleus_la_LIBADD = ../ajax/core/libajax.la ../ajax/ajaxdb/libajaxdb.la ../ajax/acd/libacd.la |
483 |
|
484 |
if ISSHARED |
485 |
if ISAIXIA64 |
486 |
@@ -10,11 +11,14 @@ |
487 |
endif |
488 |
endif |
489 |
|
490 |
-libnucleus_la_CPPFLAGS = -I$(top_srcdir)/plplot |
491 |
-libnucleus_la_CPPFLAGS += -I$(top_srcdir)/ajax/pcre |
492 |
+libnucleus_la_CPPFLAGS = -I$(top_srcdir)/ajax/core |
493 |
if !ESYSTEMLIBS |
494 |
+libnucleus_la_CPPFLAGS += -I$(top_srcdir)/plplot |
495 |
+libnucleus_la_CPPFLAGS += -I$(top_srcdir)/ajax/pcre |
496 |
libnucleus_la_CPPFLAGS += -I$(top_srcdir)/ajax/expat |
497 |
libnucleus_la_CPPFLAGS += -I$(top_srcdir)/ajax/zlib |
498 |
+else |
499 |
+libnucleus_la_CFLAGS += $(PLPLOT_CFLAGS) |
500 |
endif |
501 |
libnucleus_la_CPPFLAGS += -I$(top_srcdir)/ajax/graphics |
502 |
libnucleus_la_CPPFLAGS += -I$(top_srcdir)/ajax/ensembl |
503 |
|
504 |
|
505 |
|
506 |
1.1 sci-biology/emboss/files/emboss-6.6.0_FORTIFY_SOURCE-fix.patch |
507 |
|
508 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/emboss/files/emboss-6.6.0_FORTIFY_SOURCE-fix.patch?rev=1.1&view=markup |
509 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/emboss/files/emboss-6.6.0_FORTIFY_SOURCE-fix.patch?rev=1.1&content-type=text/plain |
510 |
|
511 |
Index: emboss-6.6.0_FORTIFY_SOURCE-fix.patch |
512 |
=================================================================== |
513 |
--- EMBOSS-6.6.0/emboss/embossversion.c |
514 |
+++ EMBOSS-6.6.0/emboss/embossversion.c |
515 |
@@ -415,7 +415,7 @@ |
516 |
ajFmtPrintF(outfile, "X_DISPLAY_MISSING %d\n", X_DISPLAY_MISSING); |
517 |
#endif |
518 |
#ifdef _FORTIFY_SOURCE |
519 |
- ajFmtPrintF(outfile, "_FORTIFY_SOURCE %d\n", _FORTIFY_SOURCE); |
520 |
+ ajFmtPrintF(outfile, "_FORTIFY_SOURCE %d\n", __USE_FORTIFY_LEVEL); |
521 |
#endif |
522 |
ajFmtPrintF(outfile, "\n"); |
523 |
ajFmtPrintF(outfile, "Sizes (bytes):\n"); |
524 |
|
525 |
|
526 |
|
527 |
1.1 sci-biology/emboss/files/emboss-6.6.0_qa-implicit-declarations.patch |
528 |
|
529 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/emboss/files/emboss-6.6.0_qa-implicit-declarations.patch?rev=1.1&view=markup |
530 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/emboss/files/emboss-6.6.0_qa-implicit-declarations.patch?rev=1.1&content-type=text/plain |
531 |
|
532 |
Index: emboss-6.6.0_qa-implicit-declarations.patch |
533 |
=================================================================== |
534 |
--- EMBOSS-6.6.0/ajax/core/ajfeatread.c |
535 |
+++ EMBOSS-6.6.0/ajax/core/ajfeatread.c |
536 |
@@ -45,6 +45,7 @@ |
537 |
|
538 |
#include <limits.h> |
539 |
#include <math.h> |
540 |
+#include <string.h> |
541 |
#include <errno.h> |
542 |
|
543 |
#ifdef WIN32 |
544 |
--- EMBOSS-6.6.0/ajax/core/ajfeatwrite.c |
545 |
+++ EMBOSS-6.6.0/ajax/core/ajfeatwrite.c |
546 |
@@ -43,7 +43,7 @@ |
547 |
|
548 |
#include <limits.h> |
549 |
#include <math.h> |
550 |
- |
551 |
+#include <string.h> |
552 |
|
553 |
static AjPRegexp featoutRegUfoFmt = NULL; |
554 |
static AjPRegexp featoutRegUfoFile = NULL; |
555 |
--- EMBOSS-6.6.0/ajax/core/ajpdbio.c |
556 |
+++ EMBOSS-6.6.0/ajax/core/ajpdbio.c |
557 |
@@ -37,7 +37,7 @@ |
558 |
|
559 |
#include <limits.h> |
560 |
#include <math.h> |
561 |
- |
562 |
+#include <string.h> |
563 |
|
564 |
|
565 |
|
566 |
--- EMBOSS-6.6.0/ajax/core/ajreg.c |
567 |
+++ EMBOSS-6.6.0/ajax/core/ajreg.c |
568 |
@@ -32,6 +32,7 @@ |
569 |
#include "ajlib.h" |
570 |
|
571 |
#include "ajreg.h" |
572 |
+#include <string.h> |
573 |
|
574 |
|
575 |
|
576 |
--- EMBOSS-6.6.0/ajax/core/ajseqtype.c |
577 |
+++ EMBOSS-6.6.0/ajax/core/ajseqtype.c |
578 |
@@ -32,7 +32,7 @@ |
579 |
#include "ajfeat.h" |
580 |
#include "ajfile.h" |
581 |
#include "ajreg.h" |
582 |
- |
583 |
+#include <string.h> |
584 |
|
585 |
|
586 |
|
587 |
--- EMBOSS-6.6.0/nucleus/embindex.c |
588 |
+++ EMBOSS-6.6.0/nucleus/embindex.c |
589 |
@@ -35,6 +35,7 @@ |
590 |
#include "ajnam.h" |
591 |
|
592 |
#include <errno.h> |
593 |
+#include <string.h> |
594 |
|
595 |
#define BTENTRYFILE ".ent" |
596 |
#define KWLIMIT 12 |
597 |
--- EMBOSS-6.6.0/nucleus/embword.c |
598 |
+++ EMBOSS-6.6.0/nucleus/embword.c |
599 |
@@ -36,7 +36,7 @@ |
600 |
#include "ajutil.h" |
601 |
|
602 |
#include <math.h> |
603 |
- |
604 |
+#include <string.h> |