summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2013-10-18 22:25:22 +0200
committerDavid Tardon <dtardon@redhat.com>2013-10-19 07:40:52 +0000
commitf2b51cdfd6fee45ff2062fa6fb46893eba56c02c (patch)
tree5cbcaa583dc98e965ae83d2b68bc5c17212a5b1f
parent27d0ddf6b4526ffdf2e166e20a03a4c40a0f9936 (diff)
fdo#70393: move libxml2 to a subdir of external
Change-Id: Ifea928fc56239043f976ed1e0d2c986bc5cfb934 Reviewed-on: https://gerrit.libreoffice.org/6339 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
-rw-r--r--RepositoryModule_build.mk1
-rw-r--r--RepositoryModule_host.mk1
-rw-r--r--external/Module_external.mk1
-rw-r--r--external/libxml2/ExternalPackage_xml2.mk (renamed from libxml2/ExternalPackage_xml2.mk)0
-rw-r--r--external/libxml2/ExternalProject_xml2.mk (renamed from libxml2/ExternalProject_xml2.mk)0
-rw-r--r--external/libxml2/Makefile (renamed from libxml2/Makefile)2
-rw-r--r--external/libxml2/Module_libxml2.mk (renamed from libxml2/Module_libxml2.mk)4
-rw-r--r--external/libxml2/README (renamed from libxml2/README)0
-rw-r--r--external/libxml2/UnpackedTarball_xml2.mk (renamed from libxml2/UnpackedTarball_xml2.mk)20
-rw-r--r--external/libxml2/libxml2-aix.patch (renamed from libxml2/libxml2-aix.patch)0
-rw-r--r--external/libxml2/libxml2-android.patch (renamed from libxml2/libxml2-android.patch)0
-rw-r--r--external/libxml2/libxml2-configure.patch (renamed from libxml2/libxml2-configure.patch)0
-rw-r--r--external/libxml2/libxml2-global-symbols.patch (renamed from libxml2/libxml2-global-symbols.patch)0
-rw-r--r--external/libxml2/libxml2-gnome599717.patch (renamed from libxml2/libxml2-gnome599717.patch)0
-rw-r--r--external/libxml2/libxml2-latin.patch (renamed from libxml2/libxml2-latin.patch)0
-rw-r--r--external/libxml2/libxml2-long-path.patch (renamed from libxml2/libxml2-long-path.patch)0
-rw-r--r--external/libxml2/libxml2-mingw.patch (renamed from libxml2/libxml2-mingw.patch)0
-rw-r--r--external/libxml2/libxml2-vc10.patch (renamed from libxml2/libxml2-vc10.patch)0
-rw-r--r--external/libxml2/libxml2-xpath.patch (renamed from libxml2/libxml2-xpath.patch)0
19 files changed, 12 insertions, 17 deletions
diff --git a/RepositoryModule_build.mk b/RepositoryModule_build.mk
index 70cf74fb9799..520f186ce078 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 cc3d4d66fcda..a23db02023eb 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 a583184d8d56..378e1aca4637 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
index 24dd5ef68835..24dd5ef68835 100644
--- a/libxml2/ExternalPackage_xml2.mk
+++ b/external/libxml2/ExternalPackage_xml2.mk
diff --git a/libxml2/ExternalProject_xml2.mk b/external/libxml2/ExternalProject_xml2.mk
index a2d613d8c8d6..a2d613d8c8d6 100644
--- a/libxml2/ExternalProject_xml2.mk
+++ b/external/libxml2/ExternalProject_xml2.mk
diff --git a/libxml2/Makefile b/external/libxml2/Makefile
index ccb1c85a04da..e4968cf85fb6 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
index b02934dfa1f1..f6bca3f80e4f 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
index 12d96977c44a..12d96977c44a 100644
--- a/libxml2/README
+++ b/external/libxml2/README
diff --git a/libxml2/UnpackedTarball_xml2.mk b/external/libxml2/UnpackedTarball_xml2.mk
index b0a80d627d28..796ff5e2eb35 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
index d187ea0f807f..d187ea0f807f 100644
--- a/libxml2/libxml2-aix.patch
+++ b/external/libxml2/libxml2-aix.patch
diff --git a/libxml2/libxml2-android.patch b/external/libxml2/libxml2-android.patch
index 06d5e57ad31d..06d5e57ad31d 100644
--- a/libxml2/libxml2-android.patch
+++ b/external/libxml2/libxml2-android.patch
diff --git a/libxml2/libxml2-configure.patch b/external/libxml2/libxml2-configure.patch
index d8515016df5c..d8515016df5c 100644
--- a/libxml2/libxml2-configure.patch
+++ b/external/libxml2/libxml2-configure.patch
diff --git a/libxml2/libxml2-global-symbols.patch b/external/libxml2/libxml2-global-symbols.patch
index 20cd273d745c..20cd273d745c 100644
--- a/libxml2/libxml2-global-symbols.patch
+++ b/external/libxml2/libxml2-global-symbols.patch
diff --git a/libxml2/libxml2-gnome599717.patch b/external/libxml2/libxml2-gnome599717.patch
index cc6617d0e699..cc6617d0e699 100644
--- a/libxml2/libxml2-gnome599717.patch
+++ b/external/libxml2/libxml2-gnome599717.patch
diff --git a/libxml2/libxml2-latin.patch b/external/libxml2/libxml2-latin.patch
index d1744138497e..d1744138497e 100644
--- a/libxml2/libxml2-latin.patch
+++ b/external/libxml2/libxml2-latin.patch
diff --git a/libxml2/libxml2-long-path.patch b/external/libxml2/libxml2-long-path.patch
index d1596301ef99..d1596301ef99 100644
--- a/libxml2/libxml2-long-path.patch
+++ b/external/libxml2/libxml2-long-path.patch
diff --git a/libxml2/libxml2-mingw.patch b/external/libxml2/libxml2-mingw.patch
index 1dda894cb6e0..1dda894cb6e0 100644
--- a/libxml2/libxml2-mingw.patch
+++ b/external/libxml2/libxml2-mingw.patch
diff --git a/libxml2/libxml2-vc10.patch b/external/libxml2/libxml2-vc10.patch
index f29858029b27..f29858029b27 100644
--- a/libxml2/libxml2-vc10.patch
+++ b/external/libxml2/libxml2-vc10.patch
diff --git a/libxml2/libxml2-xpath.patch b/external/libxml2/libxml2-xpath.patch
index 107de91ed862..107de91ed862 100644
--- a/libxml2/libxml2-xpath.patch
+++ b/external/libxml2/libxml2-xpath.patch