Ravenports generated: 12 Mar 2018 00:11
[ravenports.git] / bucket_08 / libxml2
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               libxml2
4 VERSION=                2.9.8
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.8.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.8
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 0b74e51595654f958148759cfef0993114ddccccbb6f31aee018f3558e8e2732      5469097 gnome2/libxml2-2.9.8.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    2018-03-05 15:54:18 UTC
140 +++ Makefile.in
141 @@ -1247,7 +1247,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 @@ -1733,7 +1733,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 @@ -1801,7 +1801,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:270:patches/patch-configure]
171 --- configure.orig      2018-03-05 15:54:16 UTC
172 +++ configure
173 @@ -15524,6 +15524,8 @@ fi
174                fi
175            fi
176         ;;
177 +       *freebsd*|*dragonfly*) THREAD_LIBS=""
178 +       ;;
179      esac
180      if test "$WITH_THREADS" = "1" ; then
181         THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
182
183
184 [FILE:440:patches/patch-libxml-2.0-uninstalled.pc.in]
185 --- libxml-2.0-uninstalled.pc.in.orig   2016-06-07 10:04:14 UTC
186 +++ libxml-2.0-uninstalled.pc.in
187 @@ -8,5 +8,5 @@ Name: libXML
188  Version: @VERSION@
189  Description: libXML library version2.
190  Requires:
191 -Libs: -L${libdir} -lxml2 @ICU_LIBS@ @THREAD_LIBS@ @Z_LIBS@ @LZMA_LIBS@ @ICONV_LIBS@ @M_LIBS@ @LIBS@
192 +Libs: -L${libdir} -lxml2 @THREAD_LIBS@ @Z_LIBS@ @LZMA_LIBS@ @ICONV_LIBS@ @M_LIBS@ @LIBS@
193  Cflags: -I${includedir} @XML_INCLUDEDIR@ @XML_CFLAGS@
194
195
196 [FILE:432:patches/patch-libxml-2.0.pc.in]
197 --- libxml-2.0.pc.in.orig       2016-06-07 10:04:14 UTC
198 +++ libxml-2.0.pc.in
199 @@ -9,5 +9,5 @@ Version: @VERSION@
200  Description: libXML library version2.
201  Requires:
202  Libs: -L${libdir} -lxml2
203 -Libs.private: @ICU_LIBS@ @THREAD_LIBS@ @Z_LIBS@ @LZMA_LIBS@ @ICONV_LIBS@ @M_LIBS@ @WIN32_EXTRA_LIBADD@ @LIBS@
204 +Libs.private: @THREAD_LIBS@ @Z_LIBS@ @LZMA_LIBS@ @ICONV_LIBS@ @M_LIBS@ @WIN32_EXTRA_LIBADD@ @LIBS@
205  Cflags: @XML_INCLUDEDIR@ @XML_CFLAGS@
206
207
208 [FILE:984:patches/patch-python_Makefile.in]
209 --- python/Makefile.in.orig     2018-03-05 15:54:19 UTC
210 +++ python/Makefile.in
211 @@ -490,7 +490,7 @@ top_srcdir = @top_srcdir@
212  
213  # Makefile for libxml2 python library
214  AUTOMAKE_OPTIONS = 1.4 foreign
215 -SUBDIRS = . tests
216 +SUBDIRS = .
217  docsdir = $(datadir)/doc/libxml2-python-$(LIBXML_VERSION)
218  dist_docs_DATA = TODO
219  EXTRA_DIST = \
220 @@ -510,7 +510,7 @@ EXTRA_DIST = \
221  @WITH_PYTHON_TRUE@python_LTLIBRARIES = libxml2mod.la
222  @WITH_PYTHON_TRUE@libxml2mod_la_SOURCES = libxml.c libxml_wrap.h libxml2-py.h libxml2-py.c types.c
223  @WITH_PYTHON_TRUE@libxml2mod_la_LDFLAGS = $(CYGWIN_EXTRA_LDFLAGS) $(WIN32_EXTRA_LDFLAGS) -module -avoid-version \
224 -@WITH_PYTHON_TRUE@        $(top_builddir)/libxml2.la $(CYGWIN_EXTRA_PYTHON_LIBADD) $(WIN32_EXTRA_PYTHON_LIBADD) $(PYTHON_LIBS)
225 +@WITH_PYTHON_TRUE@        -lxml2 $(CYGWIN_EXTRA_PYTHON_LIBADD) $(WIN32_EXTRA_PYTHON_LIBADD) $(PYTHON_LIBS)
226  
227  @WITH_PYTHON_TRUE@BUILT_SOURCES = libxml2-export.c libxml2-py.h libxml2-py.c
228  @WITH_PYTHON_TRUE@dist_python_DATA = \
229
230
231 [FILE:419:patches/patch-python_tests_Makefile.in]
232 --- python/tests/Makefile.in.orig       2018-03-05 15:54:19 UTC
233 +++ python/tests/Makefile.in
234 @@ -386,7 +386,7 @@ target_alias = @target_alias@
235  top_build_prefix = @top_build_prefix@
236  top_builddir = @top_builddir@
237  top_srcdir = @top_srcdir@
238 -exampledir = $(datadir)/doc/libxml2-python-$(LIBXML_VERSION)/examples
239 +exampledir = $(datadir)/examples/py-libxml2
240  dist_example_DATA = $(PYTESTS) $(XMLS)
241  PYTESTS = \
242      build.py   \
243
244
245 [FILE:828:patches/patch-uri.c]
246 Revert the following commit, it makes the freebsd doc chain fail.
247
248 From 8eb55d782a2b9afacc7938694891cc6fad7b42a5 Mon Sep 17 00:00:00 2001
249 From: Dennis Filder <d.filder@web.de>
250 Date: Fri, 13 Jun 2014 14:56:14 +0800
251 Subject: xmlSaveUri() incorrectly recomposes URIs with rootless paths
252
253 For https://bugzilla.gnome.org/show_bug.cgi?id=731063
254
255 xmlSaveUri() of libxml2 (snapshot 2014-05-31 and earlier) returns
256 bogus values when called with URIs that have rootless paths
257 (e.g. "urx:b:b" becomes "urx://b%3Ab" where "urx:b%3Ab" would be
258 correct)
259
260 --- uri.c.orig  2017-10-26 07:54:40 UTC
261 +++ uri.c
262 @@ -1199,6 +1199,8 @@ xmlSaveUri(xmlURIPtr uri) {
263                  if (temp == NULL) goto mem_error;
264                  ret = temp;
265             }
266 +           ret[len++] = '/';
267 +           ret[len++] = '/';
268         }
269         if (uri->path != NULL) {
270             p = uri->path;
271
272
273 [FILE:338:patches/patch-xml2Conf.sh.in]
274 --- xml2Conf.sh.in.orig 2009-07-30 15:24:35 UTC
275 +++ xml2Conf.sh.in
276 @@ -1,6 +1,12 @@
277  #
278  # Configuration file for using the XML library in GNOME applications
279  #
280 +
281 +prefix=@prefix@
282 +exec_prefix=@exec_prefix@
283 +includedir=@includedir@
284 +libdir=@libdir@
285 +
286  XML2_LIBDIR="@XML_LIBDIR@"
287  XML2_LIBS="@XML_LIBS@"
288  XML2_INCLUDEDIR="@XML_INCLUDEDIR@"
289