[Libreoffice-commits] .: redland/raptor

2012-04-13 Thread David Tardon
 redland/raptor/makefile.mk |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0086c3fe17a004807b5a394dd6bef9f5e6f1
Author: David Tardon dtar...@redhat.com
Date:   Fri Apr 13 10:55:31 2012 +0200

oops, missed one for macosx

diff --git a/redland/raptor/makefile.mk b/redland/raptor/makefile.mk
index dacdfac..3d25291 100644
--- a/redland/raptor/makefile.mk
+++ b/redland/raptor/makefile.mk
@@ -196,7 +196,7 @@ BUILD_DIR=$(CONFIGURE_DIR)
 OUT2INC+=src$/raptor.h
 
 .IF $(OS)==MACOSX
-OUT2LIB+=src$/.libs$/libraptor.$(RAPTOR_MAJOR).dylib 
src$/.libs$/libraptor.dylib
+OUT2LIB+=src$/.libs$/libraptor-lo.$(RAPTOR_MAJOR).dylib 
src$/.libs$/libraptor.dylib
 OUT2BIN+=src/raptor-config
 .ELIF $(OS)==IOS
 OUT2LIB+=src$/.libs$/libraptor.a
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: redland/raptor redland/rasqal redland/redland

2012-04-13 Thread David Tardon
 redland/raptor/raptor-1.4.18.patch.dmake  |2 +-
 redland/rasqal/rasqal-0.9.16.patch.dmake  |2 +-
 redland/redland/redland-1.0.8.patch.dmake |2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 6bc4d28845db8d63faeaa9eac4ce7364f37e4d2e
Author: David Tardon dtar...@redhat.com
Date:   Fri Apr 13 15:49:11 2012 +0200

change redland dllnames on windows too

diff --git a/redland/raptor/raptor-1.4.18.patch.dmake 
b/redland/raptor/raptor-1.4.18.patch.dmake
index b017275..c81ed83 100644
--- a/redland/raptor/raptor-1.4.18.patch.dmake
+++ b/redland/raptor/raptor-1.4.18.patch.dmake
@@ -104,7 +104,7 @@
 +SHL1USE_EXPORTS=name
 +
 +#SHL1TARGET=  $(TARGET)$(DLLPOSTFIX)
-+SHL1TARGET=   $(TARGET)
++SHL1TARGET=   $(TARGET)-lo
 +SHL1IMPLIB= lib$(TARGET)
 +
 +#SHL1VERSIONMAP=../service/exports.map
diff --git a/redland/rasqal/rasqal-0.9.16.patch.dmake 
b/redland/rasqal/rasqal-0.9.16.patch.dmake
index 6795eb9..9d36867 100644
--- a/redland/rasqal/rasqal-0.9.16.patch.dmake
+++ b/redland/rasqal/rasqal-0.9.16.patch.dmake
@@ -78,7 +78,7 @@
 +SHL1USE_EXPORTS=name
 +
 +#SHL1TARGET=  $(TARGET)$(DLLPOSTFIX)
-+SHL1TARGET=   $(TARGET)
++SHL1TARGET=   $(TARGET)-lo
 +SHL1IMPLIB= lib$(TARGET)
 +
 +#SHL1VERSIONMAP=../service/exports.map
diff --git a/redland/redland/redland-1.0.8.patch.dmake 
b/redland/redland/redland-1.0.8.patch.dmake
index 34ba51d..2611fb1 100644
--- a/redland/redland/redland-1.0.8.patch.dmake
+++ b/redland/redland/redland-1.0.8.patch.dmake
@@ -92,7 +92,7 @@
 +SHL1OBJS=   $(SLOFILES)
 +
 +#SHL1TARGET=  $(TARGET)$(DLLPOSTFIX)
-+SHL1TARGET=   $(TARGET)
++SHL1TARGET=   $(TARGET)-lo
 +SHL1IMPLIB= $(TARGET)
 +SHL1USE_EXPORTS=name
 +
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: redland/raptor

2012-02-22 Thread Petr Mladek
 redland/raptor/makefile.mk  |3 
 redland/raptor/raptor-1.4.18.entities.patch |  383 
 2 files changed, 385 insertions(+), 1 deletion(-)

New commits:
commit cef1ba2d58cb8a6928055b322c88a79b5b5c0ad4
Author: Petr Mladek pmla...@suse.cz
Date:   Wed Feb 22 16:55:40 2012 +0100

Disable problematic reading of external entities in raptor

diff --git a/redland/raptor/makefile.mk b/redland/raptor/makefile.mk
index 214ee2d..292a340 100644
--- a/redland/raptor/makefile.mk
+++ b/redland/raptor/makefile.mk
@@ -58,7 +58,8 @@ OOO_PATCH_FILES= \
 $(TARFILE_NAME).patch.dmake \
 $(TARFILE_NAME).patch.win32 \
 $(TARFILE_NAME).patch.rindex \
-raptor-aix.patch
+raptor-aix.patch \
+$(TARFILE_NAME).entities.patch
 
 .IF $(CROSS_COMPILING)==YES
 OOO_PATCH_FILES += \
diff --git a/redland/raptor/raptor-1.4.18.entities.patch 
b/redland/raptor/raptor-1.4.18.entities.patch
new file mode 100644
index 000..4964dae
--- /dev/null
+++ b/redland/raptor/raptor-1.4.18.entities.patch
@@ -0,0 +1,383 @@
+--- misc/raptor-1.4.18/src/raptor.h.old2008-06-20 07:47:38.0 
+0200
 misc/build/raptor-1.4.18/src/raptor.h  2012-02-15 16:54:21.0 
+0100
+@@ -376,6 +376,7 @@ typedef struct {
+  * @RAPTOR_FEATURE_JSON_EXTRA_DATA: JSON serializer extra top-level data
+  * @RAPTOR_FEATURE_RSS_TRIPLES: Atom/RSS serializer writes extra RDF triples 
it finds (none, rdf-xml, atom-triples)
+  * @RAPTOR_FEATURE_ATOM_ENTRY_URI: Atom entry URI.  If given, generate an 
Atom Entry Document with the item having the given URI, otherwise generate an 
Atom Feed Document with any items found.
++ * @RAPTOR_FEATURE_LOAD_EXTERNAL_ENTITIES: When reading XML, load external 
entities.
+  * @RAPTOR_FEATURE_LAST: Internal
+  *
+  * Raptor parser, serializer or XML writer features.
+@@ -416,7 +417,8 @@ typedef enum {
+   RAPTOR_FEATURE_JSON_EXTRA_DATA,
+   RAPTOR_FEATURE_RSS_TRIPLES,
+   RAPTOR_FEATURE_ATOM_ENTRY_URI,
+-  RAPTOR_FEATURE_LAST=RAPTOR_FEATURE_ATOM_ENTRY_URI
++  RAPTOR_FEATURE_LOAD_EXTERNAL_ENTITIES,
++  RAPTOR_FEATURE_LAST=RAPTOR_FEATURE_LOAD_EXTERNAL_ENTITIES
+ } raptor_feature;
+ 
+ 
+--- misc/raptor-1.4.18/src/raptor_feature.c.old2008-06-05 
08:54:16.0 +0200
 misc/build/raptor-1.4.18/src/raptor_feature.c  2012-02-15 
16:55:09.0 +0100
+@@ -89,7 +89,8 @@ static const struct
+   { RAPTOR_FEATURE_JSON_CALLBACK , 6,  jsonCallback, JSON serializer 
callback },
+   { RAPTOR_FEATURE_JSON_EXTRA_DATA   , 6,  jsonExtraData, JSON serializer 
extra data },
+   { RAPTOR_FEATURE_RSS_TRIPLES   , 6,  rssTriples, Atom/RSS serializer 
writes extra RDF triples },
+-  { RAPTOR_FEATURE_ATOM_ENTRY_URI, 6,  atomEntryUri, Atom serializer 
Entry URI }
++  { RAPTOR_FEATURE_ATOM_ENTRY_URI, 6,  atomEntryUri, Atom serializer 
Entry URI },
++  { RAPTOR_FEATURE_LOAD_EXTERNAL_ENTITIES, 1, loadExternalEntities, Load 
external XML entities. }
+ };
+ 
+ 
+--- misc/raptor-1.4.18/src/raptor_internal.h.old   2008-06-03 
07:04:09.0 +0200
 misc/build/raptor-1.4.18/src/raptor_internal.h 2012-02-15 
16:52:08.0 +0100
+@@ -983,6 +983,14 @@ struct raptor_sax2_s {
+ 
+   /* base URI for resolving relative URIs or xml:base URIs */
+   raptor_uri* base_uri;
++
++  /* call SAX2 handlers if non-0 */
++  int enabled;
++
++  /* FEATURE: 
++   * non 0 if XML entities should be loaded
++   */
++  int feature_load_external_entities;
+ };
+ 
+ int raptor_sax2_init(void);
+--- misc/raptor-1.4.18/src/raptor_libxml.c.old 2008-06-14 05:35:27.0 
+0200
 misc/build/raptor-1.4.18/src/raptor_libxml.c   2012-02-15 
16:52:08.0 +0100
+@@ -142,18 +142,115 @@ raptor_libxml_hasExternalSubset (void* u
+ 
+ static xmlParserInputPtr
+ raptor_libxml_resolveEntity(void* user_data, 
+-const xmlChar *publicId, const xmlChar *systemId) 
{
+-  raptor_sax2* sax2=(raptor_sax2*)user_data;
+-  return libxml2_resolveEntity(sax2-xc, publicId, systemId);
++const xmlChar *publicId, const xmlChar *systemId)
++{
++  raptor_sax2* sax2 = (raptor_sax2*)user_data;
++  xmlParserCtxtPtr ctxt = sax2-xc;
++  const unsigned char *uri_string = NULL;
++  xmlParserInputPtr entity_input;
++  int load_entity = 0;
++
++  if(ctxt-input)
++uri_string = (const unsigned char *)ctxt-input-filename;
++
++  if(!uri_string)
++uri_string = (const unsigned char *)ctxt-directory;
++
++  load_entity = sax2-feature_load_external_entities;
++
++  if(load_entity) {
++entity_input = xmlLoadExternalEntity((const char*)uri_string,
++ (const char*)publicId,
++ ctxt);
++  } else {
++RAPTOR_DEBUG4(Not loading entity URI %s by policy for publicId '%s' 
systemId '%s'\n, uri_string, publicId, systemId);
++  }
++  
++  return entity_input;
+ }
+ 
+ 
+ static xmlEntityPtr
+-raptor_libxml_getEntity(void* user_data, const xmlChar *name) {
+-  

[Libreoffice-commits] .: redland/raptor

2011-11-03 Thread Tor Lillqvist
 redland/raptor/makefile.mk |9 +
 1 file changed, 9 insertions(+)

New commits:
commit 7a17b2b9d0e9bc0a95ba8bee72c2b24fb529005b
Author: Tor Lillqvist tlillqv...@suse.com
Date:   Thu Nov 3 15:12:26 2011 +0200

Use xml2-config and xslt-config from our own copies if not using system ones

diff --git a/redland/raptor/makefile.mk b/redland/raptor/makefile.mk
index d437a4d..6ddeef1 100644
--- a/redland/raptor/makefile.mk
+++ b/redland/raptor/makefile.mk
@@ -146,6 +146,15 @@ CONFIGURE_FLAGS=--disable-static
 .ENDIF
 # do not enable grddl parser (#i93768#)
 CONFIGURE_FLAGS+= --disable-gtk-doc --with-threads --with-openssl-digests 
--with-xml-parser=libxml --enable-parsers=rdfxml ntriples turtle trig guess 
rss-tag-soup --without-bdb --without-sqlite --without-mysql 
--without-postgresql --without-threestore   --with-regex-library=posix 
--with-decimal=none --with-www=xml
+
+.IF $(SYSTEM_LIBXML) != YES
+CONFIGURE_FLAGS+=--with-xml2-config=$(SOLARVER)/$(INPATH)/bin/xml2-config
+.ENDIF
+
+.IF $(SYSTEM_LIBXSLT) != YES
+CONFIGURE_FLAGS+=--with-xslt-config=$(SOLARVER)/$(INPATH)/bin/xslt-config
+.ENDIF
+
 .IF $(CROSS_COMPILING)==YES
 CONFIGURE_FLAGS+= --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)
 .ENDIF
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits