[Libreoffice-commits] core.git: Repository.mk

Thorsten Behrens Thorsten.Behrens at CIB.de
Sat Feb 18 23:37:51 UTC 2017


 Repository.mk |   18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

New commits:
commit a807f90b08292d5e7841725d9de0ce65bb7728db
Author: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Date:   Sat Feb 18 23:49:38 2017 +0100

    Fix headless build
    
    Change-Id: I160186438a8ffbd942d38770c469454f1ed741b5
    Reviewed-on: https://gerrit.libreoffice.org/34419
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/Repository.mk b/Repository.mk
index 4a73a42..a1587f9 100644
--- a/Repository.mk
+++ b/Repository.mk
@@ -168,7 +168,9 @@ $(eval $(call gb_Helper_register_executables_for_install,OOO,ooo, \
 	gengal \
 	$(if $(filter WNT,$(OS)),,uri-encode) \
 	$(if $(ENABLE_MACOSX_SANDBOX),, \
-		ui-previewer \
+		$(if $(ENABLE_HEADLESS),, \
+			ui-previewer \
+		) \
 	) \
 	$(if $(filter WNT,$(OS)), \
 		senddoc \
@@ -315,7 +317,9 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
 	canvastools \
 	chartcore \
 	chartcontroller \
-	chartopengl \
+	$(if $(ENABLE_HEADLESS),, \
+		chartopengl \
+	) \
 	$(call gb_Helper_optional,OPENCL,clew) \
 	$(if $(filter $(OS),WNT),,cmdmail) \
 	cppcanvas \
@@ -930,7 +934,9 @@ $(eval $(call gb_Helper_register_packages_for_install,ooo,\
 	wizards_basicsrvtutorials \
 	wizards_basicusr \
 	xmlsec \
-	chart2_opengl_shader \
+	$(if $(ENABLE_HEADLESS),, \
+		chart2_opengl_shader \
+	) \
 	vcl_opengl_shader \
 	$(if $(filter WNT,$(OS)), \
 		vcl_opengl_blacklist \
@@ -971,7 +977,11 @@ $(eval $(call gb_Helper_register_packages_for_install,xsltfilter,\
 $(eval $(call gb_Helper_register_packages_for_install,brand,\
 	desktop_branding \
 	$(if $(CUSTOM_BRAND_DIR),desktop_branding_custom) \
-	$(if $(and $(filter-out MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),desktop_soffice_sh) \
+	$(if $(and $(filter-out MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),\
+		$(if $(ENABLE_HEADLESS),, \
+			desktop_soffice_sh \
+		) \
+	) \
 	readlicense_oo_files \
 	$(if $(filter WNT,$(OS)),readlicense_oo_license) \
 	$(call gb_Helper_optional,DESKTOP,setup_native_packinfo) \


More information about the Libreoffice-commits mailing list