[Libreoffice-commits] core.git: external/libxml2 external/Module_external.mk libxml2/ExternalPackage_xml2.mk libxml2/ExternalProject_xml2.mk libxml2/libxml2-aix.patch libxml2/libxml2-android.patch libxml2/libxml2-configure.patch libxml2/libxml2-global-symbols.patch libxml2/libxml2-gnome599717.patch libxml2/libxml2-latin.patch libxml2/libxml2-long-path.patch libxml2/libxml2-mingw.patch libxml2/libxml2-vc10.patch libxml2/libxml2-xpath.patch libxml2/Makefile libxml2/Module_libxml2.mk libxml2/README libxml2/UnpackedTarball_xml2.mk RepositoryModule_build.mk RepositoryModule_host.mk

Khaled Hosny khaledhosny at eglug.org
Sat Oct 19 00:41:11 PDT 2013


 RepositoryModule_build.mk                     |    1 
 RepositoryModule_host.mk                      |    1 
 external/Module_external.mk                   |    1 
 external/libxml2/ExternalPackage_xml2.mk      |   43 +++++++
 external/libxml2/ExternalProject_xml2.mk      |   52 ++++++++
 external/libxml2/Makefile                     |    7 +
 external/libxml2/Module_libxml2.mk            |   18 +++
 external/libxml2/README                       |    1 
 external/libxml2/UnpackedTarball_xml2.mk      |   27 ++++
 external/libxml2/libxml2-aix.patch            |   21 +++
 external/libxml2/libxml2-android.patch        |   27 ++++
 external/libxml2/libxml2-configure.patch      |  152 ++++++++++++++++++++++++++
 external/libxml2/libxml2-global-symbols.patch |   59 ++++++++++
 external/libxml2/libxml2-gnome599717.patch    |   20 +++
 external/libxml2/libxml2-latin.patch          |   32 +++++
 external/libxml2/libxml2-long-path.patch      |   34 +++++
 external/libxml2/libxml2-mingw.patch          |   11 +
 external/libxml2/libxml2-vc10.patch           |   23 +++
 external/libxml2/libxml2-xpath.patch          |   70 +++++++++++
 libxml2/ExternalPackage_xml2.mk               |   43 -------
 libxml2/ExternalProject_xml2.mk               |   52 --------
 libxml2/Makefile                              |    7 -
 libxml2/Module_libxml2.mk                     |   22 ---
 libxml2/README                                |    1 
 libxml2/UnpackedTarball_xml2.mk               |   27 ----
 libxml2/libxml2-aix.patch                     |   21 ---
 libxml2/libxml2-android.patch                 |   27 ----
 libxml2/libxml2-configure.patch               |  152 --------------------------
 libxml2/libxml2-global-symbols.patch          |   59 ----------
 libxml2/libxml2-gnome599717.patch             |   20 ---
 libxml2/libxml2-latin.patch                   |   32 -----
 libxml2/libxml2-long-path.patch               |   34 -----
 libxml2/libxml2-mingw.patch                   |   11 -
 libxml2/libxml2-vc10.patch                    |   23 ---
 libxml2/libxml2-xpath.patch                   |   70 -----------
 35 files changed, 598 insertions(+), 603 deletions(-)

New commits:
commit f2b51cdfd6fee45ff2062fa6fb46893eba56c02c
Author: Khaled Hosny <khaledhosny at eglug.org>
Date:   Fri Oct 18 22:25:22 2013 +0200

    fdo#70393: move libxml2 to a subdir of external
    
    Change-Id: Ifea928fc56239043f976ed1e0d2c986bc5cfb934
    Reviewed-on: https://gerrit.libreoffice.org/6339
    Reviewed-by: David Tardon <dtardon at redhat.com>
    Tested-by: David Tardon <dtardon at redhat.com>

diff --git a/RepositoryModule_build.mk b/RepositoryModule_build.mk
index 70cf74f..520f186 100644
--- a/RepositoryModule_build.mk
+++ b/RepositoryModule_build.mk
@@ -87,7 +87,6 @@ $(eval $(call gb_Module_add_moduledirs,cross_toolset,\
 		helpcompiler \
 		xmlhelp \
 	) \
-	$(call gb_Helper_optional,LIBXML2,libxml2) \
 	$(call gb_Helper_optional,LIBXSLT,libxslt) \
 	$(call gb_Helper_optional,QADEVOOO,qadevOOo) \
 	$(call gb_Helper_optional,UCPP,ucpp) \
diff --git a/RepositoryModule_host.mk b/RepositoryModule_host.mk
index cc3d4d6..a23db02 100644
--- a/RepositoryModule_host.mk
+++ b/RepositoryModule_host.mk
@@ -71,7 +71,6 @@ $(eval $(call gb_Module_add_moduledirs,libreoffice,\
 	jvmfwk \
 	$(call gb_Helper_optional,LANGUAGETOOL,languagetool) \
 	librelogo \
-	$(call gb_Helper_optional,LIBXML2,libxml2) \
 	libxmlsec \
 	$(call gb_Helper_optional,LIBXSLT,libxslt) \
 	lingucomponent \
diff --git a/external/Module_external.mk b/external/Module_external.mk
index a583184..378e1ac 100644
--- a/external/Module_external.mk
+++ b/external/Module_external.mk
@@ -46,6 +46,7 @@ $(eval $(call gb_Module_add_moduledirs,external,\
 	$(call gb_Helper_optional,LIBEXTTEXTCAT,libexttextcat) \
 	$(call gb_Helper_optional,LIBLANGTAG,liblangtag) \
 	$(call gb_Helper_optional,LIBPNG,libpng) \
+	$(call gb_Helper_optional,LIBXML2,libxml2) \
 	$(call gb_Helper_optional,MSPUB,libmspub) \
 	$(call gb_Helper_optional,MWAW,libmwaw) \
 	$(call gb_Helper_optional,ODFGEN,libodfgen) \
diff --git a/libxml2/ExternalPackage_xml2.mk b/external/libxml2/ExternalPackage_xml2.mk
similarity index 100%
rename from libxml2/ExternalPackage_xml2.mk
rename to external/libxml2/ExternalPackage_xml2.mk
diff --git a/libxml2/ExternalProject_xml2.mk b/external/libxml2/ExternalProject_xml2.mk
similarity index 100%
rename from libxml2/ExternalProject_xml2.mk
rename to external/libxml2/ExternalProject_xml2.mk
diff --git a/libxml2/Makefile b/external/libxml2/Makefile
similarity index 71%
rename from libxml2/Makefile
rename to external/libxml2/Makefile
index ccb1c85..e4968cf 100644
--- a/libxml2/Makefile
+++ b/external/libxml2/Makefile
@@ -2,6 +2,6 @@
 
 module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
 
-include $(module_directory)/../solenv/gbuild/partial_build.mk
+include $(module_directory)/../../solenv/gbuild/partial_build.mk
 
 # vim: set noet sw=4 ts=4:
diff --git a/libxml2/Module_libxml2.mk b/external/libxml2/Module_libxml2.mk
similarity index 93%
rename from libxml2/Module_libxml2.mk
rename to external/libxml2/Module_libxml2.mk
index b02934d..f6bca3f 100644
--- a/libxml2/Module_libxml2.mk
+++ b/external/libxml2/Module_libxml2.mk
@@ -9,14 +9,10 @@
 
 $(eval $(call gb_Module_Module,libxml2))
 
-ifeq ($(SYSTEM_LIBXML),NO)
-
 $(eval $(call gb_Module_add_targets,libxml2,\
 	ExternalPackage_xml2 \
 	ExternalProject_xml2 \
 	UnpackedTarball_xml2 \
 ))
 
-endif
-
 # vim: set noet sw=4 ts=4:
diff --git a/libxml2/README b/external/libxml2/README
similarity index 100%
rename from libxml2/README
rename to external/libxml2/README
diff --git a/libxml2/UnpackedTarball_xml2.mk b/external/libxml2/UnpackedTarball_xml2.mk
similarity index 51%
rename from libxml2/UnpackedTarball_xml2.mk
rename to external/libxml2/UnpackedTarball_xml2.mk
index b0a80d6..796ff5e 100644
--- a/libxml2/UnpackedTarball_xml2.mk
+++ b/external/libxml2/UnpackedTarball_xml2.mk
@@ -12,16 +12,16 @@ $(eval $(call gb_UnpackedTarball_UnpackedTarball,xml2))
 $(eval $(call gb_UnpackedTarball_set_tarball,xml2,$(LIBXML_TARBALL),,libxml2))
 
 $(eval $(call gb_UnpackedTarball_add_patches,xml2,\
-	libxml2/libxml2-configure.patch \
-	libxml2/libxml2-gnome599717.patch \
-	libxml2/libxml2-xpath.patch \
-	libxml2/libxml2-global-symbols.patch \
-	libxml2/libxml2-aix.patch \
-	libxml2/libxml2-vc10.patch \
-	libxml2/libxml2-latin.patch \
-	$(if $(filter ANDROID,$(OS)),libxml2/libxml2-android.patch) \
-	$(if $(filter WNT,$(OS)),libxml2/libxml2-long-path.patch \
-	$(if $(filter GCC,$(COM)),libxml2/libxml2-mingw.patch)) \
+	external/libxml2/libxml2-configure.patch \
+	external/libxml2/libxml2-gnome599717.patch \
+	external/libxml2/libxml2-xpath.patch \
+	external/libxml2/libxml2-global-symbols.patch \
+	external/libxml2/libxml2-aix.patch \
+	external/libxml2/libxml2-vc10.patch \
+	external/libxml2/libxml2-latin.patch \
+	$(if $(filter ANDROID,$(OS)),external/libxml2/libxml2-android.patch) \
+	$(if $(filter WNT,$(OS)),external/libxml2/libxml2-long-path.patch \
+	$(if $(filter GCC,$(COM)),external/libxml2/libxml2-mingw.patch)) \
 ))
 
 # vim: set noet sw=4 ts=4:
diff --git a/libxml2/libxml2-aix.patch b/external/libxml2/libxml2-aix.patch
similarity index 100%
rename from libxml2/libxml2-aix.patch
rename to external/libxml2/libxml2-aix.patch
diff --git a/libxml2/libxml2-android.patch b/external/libxml2/libxml2-android.patch
similarity index 100%
rename from libxml2/libxml2-android.patch
rename to external/libxml2/libxml2-android.patch
diff --git a/libxml2/libxml2-configure.patch b/external/libxml2/libxml2-configure.patch
similarity index 100%
rename from libxml2/libxml2-configure.patch
rename to external/libxml2/libxml2-configure.patch
diff --git a/libxml2/libxml2-global-symbols.patch b/external/libxml2/libxml2-global-symbols.patch
similarity index 100%
rename from libxml2/libxml2-global-symbols.patch
rename to external/libxml2/libxml2-global-symbols.patch
diff --git a/libxml2/libxml2-gnome599717.patch b/external/libxml2/libxml2-gnome599717.patch
similarity index 100%
rename from libxml2/libxml2-gnome599717.patch
rename to external/libxml2/libxml2-gnome599717.patch
diff --git a/libxml2/libxml2-latin.patch b/external/libxml2/libxml2-latin.patch
similarity index 100%
rename from libxml2/libxml2-latin.patch
rename to external/libxml2/libxml2-latin.patch
diff --git a/libxml2/libxml2-long-path.patch b/external/libxml2/libxml2-long-path.patch
similarity index 100%
rename from libxml2/libxml2-long-path.patch
rename to external/libxml2/libxml2-long-path.patch
diff --git a/libxml2/libxml2-mingw.patch b/external/libxml2/libxml2-mingw.patch
similarity index 100%
rename from libxml2/libxml2-mingw.patch
rename to external/libxml2/libxml2-mingw.patch
diff --git a/libxml2/libxml2-vc10.patch b/external/libxml2/libxml2-vc10.patch
similarity index 100%
rename from libxml2/libxml2-vc10.patch
rename to external/libxml2/libxml2-vc10.patch
diff --git a/libxml2/libxml2-xpath.patch b/external/libxml2/libxml2-xpath.patch
similarity index 100%
rename from libxml2/libxml2-xpath.patch
rename to external/libxml2/libxml2-xpath.patch


More information about the Libreoffice-commits mailing list