Ravenports generated: 03 Nov 2017 14:42
[ravenports.git] / bucket_08 / libxml2
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               libxml2
4 VERSION=                2.9.7
5 KEYWORDS=               textproc
6 VARIANTS=               standard
7 SDESC[standard]=        XML parser library for GNOME
8 HOMEPAGE=               http://xmlsoft.org/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            http://xmlsoft.org/sources/
13                         ftp://xmlsoft.org/libxml2/
14                         ftp://gd.tuwien.ac.at/pub/libxml/
15 DISTFILE[1]=            libxml2-2.9.7.tar.gz:main
16 DIST_SUBDIR=            gnome2
17 DF_INDEX=               1
18 SPKGS[standard]=        single
19
20 OPTIONS_AVAILABLE=      none
21 OPTIONS_STANDARD=       none
22
23 USES=                   cpe gmake iconv libtool pkgconfig shebangfix
24
25 FPC_EQUIVALENT=         textproc/libxml2
26 SHEBANG_GLOB=           *.py
27
28 MUST_CONFIGURE=         gnu
29 CONFIGURE_ARGS=         --with-schemas
30                         --with-threads
31                         --with-iconv={{ICONV_PREFIX}}
32                         --with-html-dir={{PREFIX}}/share/doc
33                         --with-html-subdir=libxml2
34                         --without-icu
35                         --with-lzma=/usr
36                         --without-python
37
38 INSTALL_TARGET=         install-strip
39 INSTALL_REQ_TOOLCHAIN=  yes
40 PLIST_SUB=              LIBVERSION=2.9.7
41
42 post-patch:
43 .for d in . doc doc/devhelp doc/examples
44         @${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' \
45                 ${WRKSRC}/${d}/Makefile.in
46 .endfor
47 .for f in catalog.c xmlcatalog.c xmllint.c doc/xmllint.1
48         @${REINPLACE_CMD} -e \
49                 's|/etc/xml/catalog|${LOCALBASE}/share/xml/catalog|g; \
50                  s|/etc/sgml/catalog|${LOCALBASE}/share/sgml/catalog|g' \
51                 ${WRKSRC}/${f}
52 .endfor
53
54 post-install:
55         @${RM} -r ${STAGEDIR}${PREFIX}/share/gtk-doc
56
57 [FILE:313:descriptions/desc.single]
58 Libxml2 is the XML C parser and toolkit developed for the Gnome project
59 (but usable outside of the Gnome platform).  XML itself is a metalanguage
60 to design markup languages, i.e. text language where semantic and
61 structure are added to the content using extra "markup" information
62 enclosed between angle brackets.
63
64
65 [FILE:106:distinfo]
66 f63c5e7d30362ed28b38bfa1ac6313f9a80230720b7fb6c80575eeab3ff5900c      5467389 gnome2/libxml2-2.9.7.tar.gz
67
68
69 [FILE:887:manifests/plist.single]
70 bin/
71  xml2-config
72  xmlcatalog
73  xmllint
74 include/libxml2/libxml/
75  DOCBparser.h
76  HTMLparser.h
77  HTMLtree.h
78  SAX.h
79  SAX2.h
80  c14n.h
81  catalog.h
82  chvalid.h
83  debugXML.h
84  dict.h
85  encoding.h
86  entities.h
87  globals.h
88  hash.h
89  list.h
90  nanoftp.h
91  nanohttp.h
92  parser.h
93  parserInternals.h
94  pattern.h
95  relaxng.h
96  schemasInternals.h
97  schematron.h
98  threads.h
99  tree.h
100  uri.h
101  valid.h
102  xinclude.h
103  xlink.h
104  xmlIO.h
105  xmlautomata.h
106  xmlerror.h
107  xmlexports.h
108  xmlmemory.h
109  xmlmodule.h
110  xmlreader.h
111  xmlregexp.h
112  xmlsave.h
113  xmlschemas.h
114  xmlschemastypes.h
115  xmlstring.h
116  xmlunicode.h
117  xmlversion.h
118  xmlwriter.h
119  xpath.h
120  xpathInternals.h
121  xpointer.h
122 lib/cmake/libxml2/libxml2-config.cmake
123 lib/
124  libxml2.a
125  libxml2.so
126  libxml2.so.%%LIBVERSION%%
127  libxml2.so.2
128 lib/pkgconfig/libxml-2.0.pc
129  xml2Conf.sh
130 share/aclocal/libxml.m4
131 share/man/man1/
132  xml2-config.1.gz
133  xmlcatalog.1.gz
134  xmllint.1.gz
135 share/man/man3/libxml.3.gz
136
137
138 [FILE:1251:patches/patch-Makefile.in]
139 --- Makefile.in.orig    2017-09-04 12:59:46 UTC
140 +++ Makefile.in
141 @@ -1246,7 +1246,7 @@ distclean-compile:
142  @am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
143  
144  .c.lo:
145 -@am__fastdepCC_TRUE@   $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
146 +@am__fastdepCC_TRUE@   $(AM_V_CC)$(LTCOMPILE) -fPIC -DPIC -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
147  @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
148  @AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
149  @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
150 @@ -1732,7 +1732,7 @@ check-am: all-am
151         $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
152  check: $(BUILT_SOURCES)
153         $(MAKE) $(AM_MAKEFLAGS) check-recursive
154 -all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) \
155 +all-am: Makefile $(LTLIBRARIES) $(SCRIPTS) $(MANS) $(DATA) \
156                 config.h
157  install-binPROGRAMS: install-libLTLIBRARIES
158  
159 @@ -1800,7 +1800,7 @@ info: info-recursive
160  
161  info-am:
162  
163 -install-data-am: install-cmakeDATA install-data-local \
164 +install-data-am: install-cmakeDATA \
165         install-m4dataDATA install-man install-pkgconfigDATA
166  
167  install-dvi: install-dvi-recursive
168
169
170 [FILE:282:patches/patch-config.h.in]
171 --- config.h.in.orig    2017-09-04 12:59:46 UTC
172 +++ config.h.in
173 @@ -3,6 +3,9 @@
174  /* Type cast for the gethostbyname() argument */
175  #undef GETHOSTBYNAME_ARG_CAST
176  
177 +/* XXX */
178 +#define HAVE_VFSCANF
179 +
180  /* Define to 1 if you have the <ansidecl.h> header file. */
181  #undef HAVE_ANSIDECL_H
182  
183
184
185 [FILE:270:patches/patch-configure]
186 --- configure.orig      2017-09-04 12:59:45 UTC
187 +++ configure
188 @@ -15639,6 +15639,8 @@ fi
189                fi
190            fi
191         ;;
192 +       *freebsd*|*dragonfly*) THREAD_LIBS=""
193 +       ;;
194      esac
195      if test "$WITH_THREADS" = "1" ; then
196         THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
197
198
199 [FILE:440:patches/patch-libxml-2.0-uninstalled.pc.in]
200 --- libxml-2.0-uninstalled.pc.in.orig   2016-06-07 10:04:14 UTC
201 +++ libxml-2.0-uninstalled.pc.in
202 @@ -8,5 +8,5 @@ Name: libXML
203  Version: @VERSION@
204  Description: libXML library version2.
205  Requires:
206 -Libs: -L${libdir} -lxml2 @ICU_LIBS@ @THREAD_LIBS@ @Z_LIBS@ @LZMA_LIBS@ @ICONV_LIBS@ @M_LIBS@ @LIBS@
207 +Libs: -L${libdir} -lxml2 @THREAD_LIBS@ @Z_LIBS@ @LZMA_LIBS@ @ICONV_LIBS@ @M_LIBS@ @LIBS@
208  Cflags: -I${includedir} @XML_INCLUDEDIR@ @XML_CFLAGS@
209
210
211 [FILE:432:patches/patch-libxml-2.0.pc.in]
212 --- libxml-2.0.pc.in.orig       2016-06-07 10:04:14 UTC
213 +++ libxml-2.0.pc.in
214 @@ -9,5 +9,5 @@ Version: @VERSION@
215  Description: libXML library version2.
216  Requires:
217  Libs: -L${libdir} -lxml2
218 -Libs.private: @ICU_LIBS@ @THREAD_LIBS@ @Z_LIBS@ @LZMA_LIBS@ @ICONV_LIBS@ @M_LIBS@ @WIN32_EXTRA_LIBADD@ @LIBS@
219 +Libs.private: @THREAD_LIBS@ @Z_LIBS@ @LZMA_LIBS@ @ICONV_LIBS@ @M_LIBS@ @WIN32_EXTRA_LIBADD@ @LIBS@
220  Cflags: @XML_INCLUDEDIR@ @XML_CFLAGS@
221
222
223 [FILE:984:patches/patch-python_Makefile.in]
224 --- python/Makefile.in.orig     2017-09-04 12:59:46 UTC
225 +++ python/Makefile.in
226 @@ -489,7 +489,7 @@ top_srcdir = @top_srcdir@
227  
228  # Makefile for libxml2 python library
229  AUTOMAKE_OPTIONS = 1.4 foreign
230 -SUBDIRS = . tests
231 +SUBDIRS = .
232  docsdir = $(datadir)/doc/libxml2-python-$(LIBXML_VERSION)
233  dist_docs_DATA = TODO
234  EXTRA_DIST = \
235 @@ -509,7 +509,7 @@ EXTRA_DIST = \
236  @WITH_PYTHON_TRUE@python_LTLIBRARIES = libxml2mod.la
237  @WITH_PYTHON_TRUE@libxml2mod_la_SOURCES = libxml.c libxml_wrap.h libxml2-py.h libxml2-py.c types.c
238  @WITH_PYTHON_TRUE@libxml2mod_la_LDFLAGS = $(CYGWIN_EXTRA_LDFLAGS) $(WIN32_EXTRA_LDFLAGS) -module -avoid-version \
239 -@WITH_PYTHON_TRUE@        $(top_builddir)/libxml2.la $(CYGWIN_EXTRA_PYTHON_LIBADD) $(WIN32_EXTRA_PYTHON_LIBADD) $(PYTHON_LIBS)
240 +@WITH_PYTHON_TRUE@        -lxml2 $(CYGWIN_EXTRA_PYTHON_LIBADD) $(WIN32_EXTRA_PYTHON_LIBADD) $(PYTHON_LIBS)
241  
242  @WITH_PYTHON_TRUE@BUILT_SOURCES = libxml2-export.c libxml2-py.h libxml2-py.c
243  @WITH_PYTHON_TRUE@dist_python_DATA = \
244
245
246 [FILE:419:patches/patch-python_tests_Makefile.in]
247 --- python/tests/Makefile.in.orig       2017-09-04 12:59:46 UTC
248 +++ python/tests/Makefile.in
249 @@ -385,7 +385,7 @@ target_alias = @target_alias@
250  top_build_prefix = @top_build_prefix@
251  top_builddir = @top_builddir@
252  top_srcdir = @top_srcdir@
253 -exampledir = $(datadir)/doc/libxml2-python-$(LIBXML_VERSION)/examples
254 +exampledir = $(datadir)/examples/py-libxml2
255  dist_example_DATA = $(PYTESTS) $(XMLS)
256  PYTESTS = \
257      build.py   \
258
259
260 [FILE:828:patches/patch-uri.c]
261 Revert the following commit, it makes the freebsd doc chain fail.
262
263 From 8eb55d782a2b9afacc7938694891cc6fad7b42a5 Mon Sep 17 00:00:00 2001
264 From: Dennis Filder <d.filder@web.de>
265 Date: Fri, 13 Jun 2014 14:56:14 +0800
266 Subject: xmlSaveUri() incorrectly recomposes URIs with rootless paths
267
268 For https://bugzilla.gnome.org/show_bug.cgi?id=731063
269
270 xmlSaveUri() of libxml2 (snapshot 2014-05-31 and earlier) returns
271 bogus values when called with URIs that have rootless paths
272 (e.g. "urx:b:b" becomes "urx://b%3Ab" where "urx:b%3Ab" would be
273 correct)
274
275 --- uri.c.orig  2017-08-28 18:46:41 UTC
276 +++ uri.c
277 @@ -1199,6 +1199,8 @@ xmlSaveUri(xmlURIPtr uri) {
278                  if (temp == NULL) goto mem_error;
279                  ret = temp;
280             }
281 +           ret[len++] = '/';
282 +           ret[len++] = '/';
283         }
284         if (uri->path != NULL) {
285             p = uri->path;
286
287
288 [FILE:338:patches/patch-xml2Conf.sh.in]
289 --- xml2Conf.sh.in.orig 2009-07-30 15:24:35 UTC
290 +++ xml2Conf.sh.in
291 @@ -1,6 +1,12 @@
292  #
293  # Configuration file for using the XML library in GNOME applications
294  #
295 +
296 +prefix=@prefix@
297 +exec_prefix=@exec_prefix@
298 +includedir=@includedir@
299 +libdir=@libdir@
300 +
301  XML2_LIBDIR="@XML_LIBDIR@"
302  XML2_LIBS="@XML_LIBS@"
303  XML2_INCLUDEDIR="@XML_INCLUDEDIR@"
304