You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
161 lines
8.2 KiB
161 lines
8.2 KiB
8 years ago
|
From 08f105a770ac20641cd287f9e999dc70eaafa343 Mon Sep 17 00:00:00 2001
|
||
|
From: Jaskaran Singh <jvsg1303@gmail.com>
|
||
|
Date: Fri, 24 Jun 2016 19:53:11 +0530
|
||
|
Subject: [PATCH] Switch from orcus-0.11 to orcus-0.12
|
||
|
|
||
|
Change-Id: I837ed3a30fae6fbe6cb658f1feecce1e88279ae0
|
||
|
(cherry picked from commit 92be10ca0669fc05565507c4e62c674c5224e49f)
|
||
|
---
|
||
|
RepositoryExternal.mk | 4 ++--
|
||
|
configure.ac | 2 +-
|
||
|
download.lst | 4 ++--
|
||
|
.../liborcus/0001-workaround-a-linking-problem-on-windows.patch | 4 ++--
|
||
|
external/liborcus/ExternalPackage_liborcus.mk | 8 ++++----
|
||
|
external/liborcus/ExternalProject_liborcus.mk | 4 ++--
|
||
|
external/liborcus/Library_orcus-parser.mk | 3 +++
|
||
|
external/liborcus/Library_orcus.mk | 1 +
|
||
|
8 files changed, 17 insertions(+), 13 deletions(-)
|
||
|
|
||
|
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
|
||
|
index 0fc7d25..6094333 100644
|
||
|
--- a/RepositoryExternal.mk
|
||
|
+++ b/RepositoryExternal.mk
|
||
|
@@ -3108,7 +3108,7 @@ $(call gb_LinkTarget_set_include,$(1),\
|
||
|
)
|
||
|
|
||
|
$(call gb_LinkTarget_add_libs,$(1),\
|
||
|
- -L$(call gb_UnpackedTarball_get_dir,liborcus)/src/liborcus/.libs -lorcus-0.11 \
|
||
|
+ -L$(call gb_UnpackedTarball_get_dir,liborcus)/src/liborcus/.libs -lorcus-0.12 \
|
||
|
)
|
||
|
|
||
|
$(if $(SYSTEM_BOOST), \
|
||
|
@@ -3127,7 +3127,7 @@ $(call gb_LinkTarget_set_include,$(1),\
|
||
|
)
|
||
|
|
||
|
$(call gb_LinkTarget_add_libs,$(1),\
|
||
|
- -L$(call gb_UnpackedTarball_get_dir,liborcus)/src/parser/.libs -lorcus-parser-0.11 \
|
||
|
+ -L$(call gb_UnpackedTarball_get_dir,liborcus)/src/parser/.libs -lorcus-parser-0.12 \
|
||
|
)
|
||
|
|
||
|
endef
|
||
|
diff --git a/configure.ac b/configure.ac
|
||
|
index d271db2..8421640 100644
|
||
|
--- a/configure.ac
|
||
|
+++ b/configure.ac
|
||
|
@@ -9173,7 +9173,7 @@ if test -z "$enable_orcus" -o "$enable_orcus" != no; then
|
||
|
ENABLE_ORCUS="TRUE"
|
||
|
AC_DEFINE(ENABLE_ORCUS)
|
||
|
|
||
|
- libo_CHECK_SYSTEM_MODULE([orcus],[ORCUS],[liborcus-0.11 >= 0.11.2])
|
||
|
+ libo_CHECK_SYSTEM_MODULE([orcus],[ORCUS],[liborcus-0.12 >= 0.12.0])
|
||
|
if test "$with_system_orcus" != "yes"; then
|
||
|
if test "$SYSTEM_BOOST" = "TRUE"; then
|
||
|
# ===========================================================
|
||
|
diff --git a/download.lst b/download.lst
|
||
|
index 7632f99..19e4752 100644
|
||
|
--- a/download.lst
|
||
|
+++ b/download.lst
|
||
|
@@ -118,8 +118,8 @@ export OPENCOLLADA_TARBALL := OpenCOLLADA-master-6509aa13af.tar.bz2
|
||
|
export OPENLDAP_TARBALL := 804c6cb5698db30b75ad0ff1c25baefd-openldap-2.4.31.tgz
|
||
|
export OPENSSL_MD5SUM := 9392e65072ce4b614c1392eefc1f23d0
|
||
|
export OPENSSL_TARBALL := openssl-1.0.2h.tar.gz
|
||
|
-export ORCUS_MD5SUM := 205badaee72adf99422add8c4c49d669
|
||
|
-export ORCUS_TARBALL := liborcus-0.11.2.tar.gz
|
||
|
+export ORCUS_MD5SUM := b3b3efc8d6c92bb8016464e42cab3d06
|
||
|
+export ORCUS_TARBALL := b3b3efc8d6c92bb8016464e42cab3d06-liborcus-0.12.0.tar.gz
|
||
|
export OWNCLOUD_ANDROID_LIB_MD5SUM := 593f0aa47bf2efc0efda2d28fae063b2
|
||
|
export OWNCLOUD_ANDROID_LIB_TARBALL := owncloud-android-library-0.9.4-no-binary-deps.tar.gz
|
||
|
export PAGEMAKER_MD5SUM := 5c4985a68be0b79d3f809da5e12b143c
|
||
|
diff --git a/external/liborcus/0001-workaround-a-linking-problem-on-windows.patch b/external/liborcus/0001-workaround-a-linking-problem-on-windows.patch
|
||
|
index 5710877..308e51c 100644
|
||
|
--- a/external/liborcus/0001-workaround-a-linking-problem-on-windows.patch
|
||
|
+++ b/external/liborcus/0001-workaround-a-linking-problem-on-windows.patch
|
||
|
@@ -24,7 +24,7 @@ index b6e3f83..8027f25 100644
|
||
|
typedef const char* xmlns_id_t;
|
||
|
|
||
|
-ORCUS_PSR_DLLPUBLIC extern const xmlns_id_t XMLNS_UNKNOWN_ID;
|
||
|
-+const xmlns_id_t XMLNS_UNKNOWN_ID = NULL;
|
||
|
++const xmlns_id_t XMLNS_UNKNOWN_ID = nullptr;
|
||
|
ORCUS_PSR_DLLPUBLIC extern const xml_token_t XML_UNKNOWN_TOKEN;
|
||
|
ORCUS_PSR_DLLPUBLIC extern const size_t index_not_found;
|
||
|
ORCUS_PSR_DLLPUBLIC extern const size_t unspecified;
|
||
|
@@ -36,7 +36,7 @@ index be4e304..0a1b4a7 100644
|
||
|
|
||
|
namespace orcus {
|
||
|
|
||
|
--const xmlns_id_t XMLNS_UNKNOWN_ID = NULL;
|
||
|
+-const xmlns_id_t XMLNS_UNKNOWN_ID = nullptr;
|
||
|
const xml_token_t XML_UNKNOWN_TOKEN = 0;
|
||
|
|
||
|
const size_t index_not_found = std::numeric_limits<size_t>::max();
|
||
|
diff --git a/external/liborcus/ExternalPackage_liborcus.mk b/external/liborcus/ExternalPackage_liborcus.mk
|
||
|
index 56debe9..4a8b5f8 100644
|
||
|
--- a/external/liborcus/ExternalPackage_liborcus.mk
|
||
|
+++ b/external/liborcus/ExternalPackage_liborcus.mk
|
||
|
@@ -12,11 +12,11 @@ $(eval $(call gb_ExternalPackage_ExternalPackage,liborcus,liborcus))
|
||
|
$(eval $(call gb_ExternalPackage_use_external_project,liborcus,liborcus))
|
||
|
|
||
|
ifeq ($(OS),MACOSX)
|
||
|
-$(eval $(call gb_ExternalPackage_add_file,liborcus,$(LIBO_LIB_FOLDER)/liborcus-0.11.0.dylib,src/liborcus/.libs/liborcus-0.11.0.dylib))
|
||
|
-$(eval $(call gb_ExternalPackage_add_file,liborcus,$(LIBO_LIB_FOLDER)/liborcus-parser-0.11.0.dylib,src/parser/.libs/liborcus-parser-0.11.0.dylib))
|
||
|
+$(eval $(call gb_ExternalPackage_add_file,liborcus,$(LIBO_LIB_FOLDER)/liborcus-0.12.0.dylib,src/liborcus/.libs/liborcus-0.12.0.dylib))
|
||
|
+$(eval $(call gb_ExternalPackage_add_file,liborcus,$(LIBO_LIB_FOLDER)/liborcus-parser-0.12.0.dylib,src/parser/.libs/liborcus-parser-0.12.0.dylib))
|
||
|
else ifeq ($(DISABLE_DYNLOADING),)
|
||
|
-$(eval $(call gb_ExternalPackage_add_file,liborcus,$(LIBO_LIB_FOLDER)/liborcus-0.11.so.0,src/liborcus/.libs/liborcus-0.11.so.0.0.0))
|
||
|
-$(eval $(call gb_ExternalPackage_add_file,liborcus,$(LIBO_LIB_FOLDER)/liborcus-parser-0.11.so.0,src/parser/.libs/liborcus-parser-0.11.so.0.0.0))
|
||
|
+$(eval $(call gb_ExternalPackage_add_file,liborcus,$(LIBO_LIB_FOLDER)/liborcus-0.12.so.0,src/liborcus/.libs/liborcus-0.12.so.0.0.0))
|
||
|
+$(eval $(call gb_ExternalPackage_add_file,liborcus,$(LIBO_LIB_FOLDER)/liborcus-parser-0.12.so.0,src/parser/.libs/liborcus-parser-0.12.so.0.0.0))
|
||
|
endif
|
||
|
|
||
|
# vim: set noet sw=4 ts=4:
|
||
|
diff --git a/external/liborcus/ExternalProject_liborcus.mk b/external/liborcus/ExternalProject_liborcus.mk
|
||
|
index 580ef847..dce7d63 100644
|
||
|
--- a/external/liborcus/ExternalProject_liborcus.mk
|
||
|
+++ b/external/liborcus/ExternalProject_liborcus.mk
|
||
|
@@ -113,8 +113,8 @@ $(call gb_ExternalProject_get_state_target,liborcus,build) :
|
||
|
$(MAKE) \
|
||
|
$(if $(filter MACOSX,$(OS)),\
|
||
|
&& $(PERL) $(SRCDIR)/solenv/bin/macosx-change-install-names.pl shl OOO \
|
||
|
- $(gb_Package_SOURCEDIR_liborcus)/src/liborcus/.libs/liborcus-0.11.0.dylib \
|
||
|
- $(gb_Package_SOURCEDIR_liborcus)/src/parser/.libs/liborcus-parser-0.11.0.dylib \
|
||
|
+ $(gb_Package_SOURCEDIR_liborcus)/src/liborcus/.libs/liborcus-0.12.0.dylib \
|
||
|
+ $(gb_Package_SOURCEDIR_liborcus)/src/parser/.libs/liborcus-parser-0.12.0.dylib \
|
||
|
) \
|
||
|
)
|
||
|
|
||
|
diff --git a/external/liborcus/Library_orcus-parser.mk b/external/liborcus/Library_orcus-parser.mk
|
||
|
index 28af14e..4c2ca7f 100644
|
||
|
--- a/external/liborcus/Library_orcus-parser.mk
|
||
|
+++ b/external/liborcus/Library_orcus-parser.mk
|
||
|
@@ -39,12 +39,15 @@ $(eval $(call gb_Library_add_generated_exception_objects,orcus-parser,\
|
||
|
UnpackedTarball/liborcus/src/parser/css_types \
|
||
|
UnpackedTarball/liborcus/src/parser/csv_parser_base \
|
||
|
UnpackedTarball/liborcus/src/parser/exception \
|
||
|
+ UnpackedTarball/liborcus/src/parser/json_global \
|
||
|
UnpackedTarball/liborcus/src/parser/json_parser_base \
|
||
|
+ UnpackedTarball/liborcus/src/parser/json_parser_thread \
|
||
|
UnpackedTarball/liborcus/src/parser/parser_base \
|
||
|
UnpackedTarball/liborcus/src/parser/parser_global \
|
||
|
UnpackedTarball/liborcus/src/parser/pstring \
|
||
|
UnpackedTarball/liborcus/src/parser/sax_parser_base \
|
||
|
UnpackedTarball/liborcus/src/parser/sax_token_parser \
|
||
|
+ UnpackedTarball/liborcus/src/parser/sax_token_parser_thread \
|
||
|
UnpackedTarball/liborcus/src/parser/stream \
|
||
|
UnpackedTarball/liborcus/src/parser/string_pool \
|
||
|
UnpackedTarball/liborcus/src/parser/tokens \
|
||
|
diff --git a/external/liborcus/Library_orcus.mk b/external/liborcus/Library_orcus.mk
|
||
|
index e49adca..adc43cb 100644
|
||
|
--- a/external/liborcus/Library_orcus.mk
|
||
|
+++ b/external/liborcus/Library_orcus.mk
|
||
|
@@ -65,6 +65,7 @@ $(eval $(call gb_Library_add_generated_exception_objects,orcus,\
|
||
|
UnpackedTarball/liborcus/src/liborcus/measurement \
|
||
|
UnpackedTarball/liborcus/src/liborcus/odf_helper \
|
||
|
UnpackedTarball/liborcus/src/liborcus/odf_namespace_types \
|
||
|
+ UnpackedTarball/liborcus/src/liborcus/odf_number_formatting_context \
|
||
|
UnpackedTarball/liborcus/src/liborcus/odf_para_context \
|
||
|
UnpackedTarball/liborcus/src/liborcus/odf_styles_context \
|
||
|
UnpackedTarball/liborcus/src/liborcus/odf_styles \
|
||
|
--
|
||
|
2.9.3
|
||
|
|