postprocess: convert to gbuild
Change-Id: I6c81fa0f1b8d7273541d5d9883b5fc96a5091bbd Reviewed-on: https://gerrit.libreoffice.org/1080 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
This commit is contained in:
parent
cc036a9b11
commit
e37eb6345d
20 changed files with 1125 additions and 1277 deletions
|
@ -140,6 +140,7 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\
|
|||
packimages \
|
||||
padmin \
|
||||
$(call gb_Helper_optional,POSTGRESQL,postgresql) \
|
||||
postprocess \
|
||||
psprint_config \
|
||||
$(call gb_Helper_optional,PYTHON,python3) \
|
||||
$(call gb_Helper_optional,PYUNO,pyuno) \
|
||||
|
|
|
@ -54,12 +54,10 @@ $(eval $(call gb_Module_add_targets,avmedia,\
|
|||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(OS),WNT)
|
||||
ifneq ($(ENABLE_DIRECTX),)
|
||||
$(eval $(call gb_Module_add_targets,avmedia,\
|
||||
Library_avmediawin \
|
||||
))
|
||||
endif
|
||||
endif
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
|
|
@ -43,16 +43,12 @@ $(eval $(call gb_Module_add_targets,canvas,\
|
|||
))
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(OS)),WNT)
|
||||
ifneq ($(strip $(ENABLE_DIRECTX)),)
|
||||
|
||||
ifneq ($(ENABLE_DIRECTX),)
|
||||
$(eval $(call gb_Module_add_targets,canvas,\
|
||||
Library_directx9canvas \
|
||||
Library_gdipluscanvas \
|
||||
StaticLibrary_directxcanvas \
|
||||
))
|
||||
|
||||
endif
|
||||
endif
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
|
22
postprocess/CustomTarget_config.mk
Normal file
22
postprocess/CustomTarget_config.mk
Normal file
|
@ -0,0 +1,22 @@
|
|||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
|
||||
$(eval $(call gb_CustomTarget_CustomTarget,postprocess/config))
|
||||
|
||||
$(eval $(call gb_CustomTarget_register_targets,postprocess/config,\
|
||||
uiconfig.zip \
|
||||
))
|
||||
|
||||
.PHONY: $(call gb_CustomTarget_get_workdir,postprocess/config)/uiconfig.zip
|
||||
|
||||
$(call gb_CustomTarget_get_workdir,postprocess/config)/uiconfig.zip : $(SRCDIR)/postprocess/packconfig/packconfig.pl
|
||||
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,2)
|
||||
$(PERL) $< -i $(OUTDIR)/xml/uiconfig -o $(dir $@)
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
639
postprocess/CustomTarget_registry.mk
Normal file
639
postprocess/CustomTarget_registry.mk
Normal file
|
@ -0,0 +1,639 @@
|
|||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
|
||||
$(eval $(call gb_CustomTarget_CustomTarget,postprocess/registry))
|
||||
|
||||
#
|
||||
# Variables
|
||||
#
|
||||
|
||||
postprocess_XCS := registry/schema/org/openoffice
|
||||
postprocess_XCU := registry/data/org/openoffice
|
||||
postprocess_MOD := registry/spool
|
||||
postprocess_DRIVERS :=
|
||||
|
||||
postprocess_XCDS := \
|
||||
base.xcd \
|
||||
calc.xcd \
|
||||
cjk.xcd \
|
||||
ctl.xcd \
|
||||
ctlseqcheck.xcd \
|
||||
draw.xcd \
|
||||
graphicfilter.xcd \
|
||||
impress.xcd \
|
||||
korea.xcd \
|
||||
librelogo.xcd \
|
||||
lingucomponent.xcd \
|
||||
main.xcd \
|
||||
math.xcd \
|
||||
palm.xcd \
|
||||
pocketexcel.xcd \
|
||||
pocketword.xcd \
|
||||
pyuno.xcd \
|
||||
writer.xcd \
|
||||
xsltfilter.xcd
|
||||
|
||||
postprocess_DEPS_base := main
|
||||
postprocess_FILES_base := \
|
||||
$(postprocess_MOD)/fcfg_database_filters.xcu \
|
||||
$(postprocess_MOD)/fcfg_database_others.xcu \
|
||||
$(postprocess_MOD)/fcfg_database_types.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Common-base.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Setup-base.xcu
|
||||
|
||||
postprocess_DEPS_calc := main
|
||||
postprocess_FILES_calc := \
|
||||
$(postprocess_XCS)/Office/UI/CalcCommands.xcs \
|
||||
$(postprocess_XCS)/Office/UI/CalcWindowState.xcs \
|
||||
$(postprocess_XCU)/Office/UI/CalcCommands.xcu \
|
||||
$(postprocess_XCU)/Office/UI/CalcWindowState.xcu \
|
||||
$(postprocess_MOD)/fcfg_calc_filters.xcu \
|
||||
$(postprocess_MOD)/fcfg_calc_types.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Common-calc.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Embedding-calc.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Setup-calc.xcu
|
||||
|
||||
ifeq (DBCONNECTIVITY,$(filter DBCONNECTIVITY,$(BUILD_TYPE)))
|
||||
postprocess_FILES_calc += \
|
||||
$(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-calc.xcu
|
||||
postprocess_DRIVERS += calc
|
||||
endif
|
||||
|
||||
postprocess_DEPS_cjk := main
|
||||
postprocess_FILES_cjk := \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Common-cjk.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Writer-cjk.xcu
|
||||
|
||||
postprocess_DEPS_ctl := main
|
||||
postprocess_FILES_ctl := \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Common-ctl.xcu
|
||||
|
||||
postprocess_DEPS_draw := main
|
||||
postprocess_FILES_draw := \
|
||||
$(postprocess_XCS)/Office/UI/DrawWindowState.xcs \
|
||||
$(postprocess_XCU)/Office/UI/DrawWindowState.xcu \
|
||||
$(postprocess_MOD)/fcfg_draw_filters.xcu \
|
||||
$(postprocess_MOD)/fcfg_draw_types.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Common-draw.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Embedding-draw.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Setup-draw.xcu
|
||||
|
||||
postprocess_DEPS_graphicfilter := main
|
||||
postprocess_FILES_graphicfilter := \
|
||||
$(postprocess_MOD)/fcfg_drawgraphics_filters.xcu \
|
||||
$(postprocess_MOD)/fcfg_drawgraphics_types.xcu \
|
||||
$(postprocess_MOD)/fcfg_impressgraphics_filters.xcu \
|
||||
$(postprocess_MOD)/fcfg_impressgraphics_types.xcu
|
||||
|
||||
postprocess_DEPS_impress := main
|
||||
postprocess_FILES_impress := \
|
||||
$(postprocess_XCS)/Office/PresenterScreen.xcs \
|
||||
$(postprocess_XCS)/Office/UI/Effects.xcs \
|
||||
$(postprocess_XCS)/Office/UI/ImpressWindowState.xcs \
|
||||
$(postprocess_XCU)/Office/PresenterScreen.xcu \
|
||||
$(postprocess_XCU)/Office/UI/Effects.xcu \
|
||||
$(postprocess_XCU)/Office/UI/ImpressWindowState.xcu \
|
||||
$(postprocess_MOD)/fcfg_impress_filters.xcu \
|
||||
$(postprocess_MOD)/fcfg_impress_types.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Common-impress.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Embedding-impress.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Jobs-impress.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/ProtocolHandler-impress.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Setup-impress.xcu
|
||||
|
||||
postprocess_DEPS_librelogo := main writer
|
||||
postprocess_FILES_librelogo := \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Addons-librelogo.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/UI/WriterWindowState-librelogo.xcu
|
||||
|
||||
postprocess_DEPS_korea := main
|
||||
postprocess_FILES_korea := \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Common-korea.xcu
|
||||
|
||||
postprocess_DEPS_lingucomponent := main
|
||||
postprocess_FILES_lingucomponent := \
|
||||
$(postprocess_XCU)/Office/Linguistic-lingucomponent-hyphenator.xcu \
|
||||
$(postprocess_XCU)/Office/Linguistic-lingucomponent-spellchecker.xcu \
|
||||
$(postprocess_XCU)/Office/Linguistic-lingucomponent-thesaurus.xcu \
|
||||
|
||||
postprocess_FILES_main := \
|
||||
$(postprocess_XCS)/FirstStartWizard.xcs \
|
||||
$(postprocess_XCS)/Inet.xcs \
|
||||
$(postprocess_XCS)/Interaction.xcs \
|
||||
$(postprocess_XCS)/LDAP.xcs \
|
||||
$(postprocess_XCS)/Office/Accelerators.xcs \
|
||||
$(postprocess_XCS)/Office/Addons.xcs \
|
||||
$(postprocess_XCS)/Office/Calc.xcs \
|
||||
$(postprocess_XCS)/Office/CalcAddIns.xcs \
|
||||
$(postprocess_XCS)/Office/Canvas.xcs \
|
||||
$(postprocess_XCS)/Office/Chart.xcs \
|
||||
$(postprocess_XCS)/Office/Commands.xcs \
|
||||
$(postprocess_XCS)/Office/Common.xcs \
|
||||
$(postprocess_XCS)/Office/Compatibility.xcs \
|
||||
$(postprocess_XCS)/Office/DataAccess/Drivers.xcs \
|
||||
$(postprocess_XCS)/Office/DataAccess.xcs \
|
||||
$(postprocess_XCS)/Office/Draw.xcs \
|
||||
$(postprocess_XCS)/Office/Embedding.xcs \
|
||||
$(postprocess_XCS)/Office/Events.xcs \
|
||||
$(postprocess_XCS)/Office/ExtendedColorScheme.xcs \
|
||||
$(postprocess_XCS)/Office/ExtensionDependencies.xcs \
|
||||
$(postprocess_XCS)/Office/ExtensionManager.xcs \
|
||||
$(postprocess_XCS)/Office/FormWizard.xcs \
|
||||
$(postprocess_XCS)/Office/Histories.xcs \
|
||||
$(postprocess_XCS)/Office/Impress.xcs \
|
||||
$(postprocess_XCS)/Office/Java.xcs \
|
||||
$(postprocess_XCS)/Office/Jobs.xcs \
|
||||
$(postprocess_XCS)/Office/Labels.xcs \
|
||||
$(postprocess_XCS)/Office/Linguistic.xcs \
|
||||
$(postprocess_XCS)/Office/Logging.xcs \
|
||||
$(postprocess_XCS)/Office/Math.xcs \
|
||||
$(postprocess_XCS)/Office/OOoImprovement/Settings.xcs \
|
||||
$(postprocess_XCS)/Office/OptionsDialog.xcs \
|
||||
$(postprocess_XCS)/Office/Paths.xcs \
|
||||
$(postprocess_XCS)/Office/ProtocolHandler.xcs \
|
||||
$(postprocess_XCS)/Office/Recovery.xcs \
|
||||
$(postprocess_XCS)/Office/SFX.xcs \
|
||||
$(postprocess_XCS)/Office/Scripting.xcs \
|
||||
$(postprocess_XCS)/Office/Security.xcs \
|
||||
$(postprocess_XCS)/Office/Substitution.xcs \
|
||||
$(postprocess_XCS)/Office/TabBrowse.xcs \
|
||||
$(postprocess_XCS)/Office/TableWizard.xcs \
|
||||
$(postprocess_XCS)/Office/TypeDetection.xcs \
|
||||
$(postprocess_XCS)/Office/UI/BaseWindowState.xcs \
|
||||
$(postprocess_XCS)/Office/UI/BasicIDECommands.xcs \
|
||||
$(postprocess_XCS)/Office/UI/BasicIDEWindowState.xcs \
|
||||
$(postprocess_XCS)/Office/UI/BibliographyCommands.xcs \
|
||||
$(postprocess_XCS)/Office/UI/BibliographyWindowState.xcs \
|
||||
$(postprocess_XCS)/Office/UI/Category.xcs \
|
||||
$(postprocess_XCS)/Office/UI/ChartCommands.xcs \
|
||||
$(postprocess_XCS)/Office/UI/ChartWindowState.xcs \
|
||||
$(postprocess_XCS)/Office/UI/Commands.xcs \
|
||||
$(postprocess_XCS)/Office/UI/Controller.xcs \
|
||||
$(postprocess_XCS)/Office/UI/DbBrowserWindowState.xcs \
|
||||
$(postprocess_XCS)/Office/UI/DbQueryWindowState.xcs \
|
||||
$(postprocess_XCS)/Office/UI/DbRelationWindowState.xcs \
|
||||
$(postprocess_XCS)/Office/UI/DbTableDataWindowState.xcs \
|
||||
$(postprocess_XCS)/Office/UI/DbTableWindowState.xcs \
|
||||
$(postprocess_XCS)/Office/UI/DbuCommands.xcs \
|
||||
$(postprocess_XCS)/Office/UI/DrawImpressCommands.xcs \
|
||||
$(postprocess_XCS)/Office/UI/Factories.xcs \
|
||||
$(postprocess_XCS)/Office/UI/GenericCategories.xcs \
|
||||
$(postprocess_XCS)/Office/UI/GenericCommands.xcs \
|
||||
$(postprocess_XCS)/Office/UI/GlobalSettings.xcs \
|
||||
$(postprocess_XCS)/Office/UI/StartModuleCommands.xcs \
|
||||
$(postprocess_XCS)/Office/UI/StartModuleWindowState.xcs \
|
||||
$(postprocess_XCS)/Office/UI/WindowContentFactories.xcs \
|
||||
$(postprocess_XCS)/Office/UI/WindowState.xcs \
|
||||
$(postprocess_XCS)/Office/UI.xcs \
|
||||
$(postprocess_XCS)/Office/Views.xcs \
|
||||
$(postprocess_XCS)/Office/WebWizard.xcs \
|
||||
$(postprocess_XCS)/Office/Writer.xcs \
|
||||
$(postprocess_XCS)/Office/WriterWeb.xcs \
|
||||
$(postprocess_XCS)/Setup.xcs \
|
||||
$(postprocess_XCS)/System.xcs \
|
||||
$(postprocess_XCS)/TypeDetection/Filter.xcs \
|
||||
$(postprocess_XCS)/TypeDetection/GraphicFilter.xcs \
|
||||
$(postprocess_XCS)/TypeDetection/Misc.xcs \
|
||||
$(postprocess_XCS)/TypeDetection/Types.xcs \
|
||||
$(postprocess_XCS)/TypeDetection/UISort.xcs \
|
||||
$(postprocess_XCS)/UserProfile.xcs \
|
||||
$(postprocess_XCS)/VCL.xcs \
|
||||
$(postprocess_XCS)/ucb/Configuration.xcs \
|
||||
$(postprocess_XCS)/ucb/Hierarchy.xcs \
|
||||
$(postprocess_XCS)/ucb/InteractionHandler.xcs \
|
||||
$(postprocess_XCS)/ucb/Store.xcs \
|
||||
$(postprocess_XCU)/FirstStartWizard.xcu \
|
||||
$(postprocess_XCU)/Inet.xcu \
|
||||
$(postprocess_XCU)/Interaction.xcu \
|
||||
$(postprocess_XCU)/Office/Accelerators.xcu \
|
||||
$(postprocess_XCU)/Office/Calc.xcu \
|
||||
$(postprocess_XCU)/Office/Canvas.xcu \
|
||||
$(postprocess_XCU)/Office/Common.xcu \
|
||||
$(postprocess_XCU)/Office/Compatibility.xcu \
|
||||
$(postprocess_XCU)/Office/DataAccess.xcu \
|
||||
$(postprocess_XCU)/Office/Embedding.xcu \
|
||||
$(postprocess_XCU)/Office/ExtensionDependencies.xcu \
|
||||
$(postprocess_XCU)/Office/ExtensionManager.xcu \
|
||||
$(postprocess_XCU)/Office/FormWizard.xcu \
|
||||
$(postprocess_XCU)/Office/Histories.xcu \
|
||||
$(postprocess_XCU)/Office/Impress.xcu \
|
||||
$(postprocess_XCU)/Office/Jobs.xcu \
|
||||
$(postprocess_XCU)/Office/Labels.xcu \
|
||||
$(postprocess_XCU)/Office/Logging.xcu \
|
||||
$(postprocess_XCU)/Office/Math.xcu \
|
||||
$(postprocess_XCU)/Office/Paths.xcu \
|
||||
$(postprocess_XCU)/Office/ProtocolHandler.xcu \
|
||||
$(postprocess_XCU)/Office/SFX.xcu \
|
||||
$(postprocess_XCU)/Office/Scripting.xcu \
|
||||
$(postprocess_XCU)/Office/Security.xcu \
|
||||
$(postprocess_XCU)/Office/TableWizard.xcu \
|
||||
$(postprocess_XCU)/Office/UI/BaseWindowState.xcu \
|
||||
$(postprocess_XCU)/Office/UI/BasicIDECommands.xcu \
|
||||
$(postprocess_XCU)/Office/UI/BasicIDEWindowState.xcu \
|
||||
$(postprocess_XCU)/Office/UI/BibliographyCommands.xcu \
|
||||
$(postprocess_XCU)/Office/UI/ChartCommands.xcu \
|
||||
$(postprocess_XCU)/Office/UI/ChartWindowState.xcu \
|
||||
$(postprocess_XCU)/Office/UI/Controller.xcu \
|
||||
$(postprocess_XCU)/Office/UI/DbBrowserWindowState.xcu \
|
||||
$(postprocess_XCU)/Office/UI/DbQueryWindowState.xcu \
|
||||
$(postprocess_XCU)/Office/UI/DbRelationWindowState.xcu \
|
||||
$(postprocess_XCU)/Office/UI/DbTableDataWindowState.xcu \
|
||||
$(postprocess_XCU)/Office/UI/DbTableWindowState.xcu \
|
||||
$(postprocess_XCU)/Office/UI/DbuCommands.xcu \
|
||||
$(postprocess_XCU)/Office/UI/DrawImpressCommands.xcu \
|
||||
$(postprocess_XCU)/Office/UI/Factories.xcu \
|
||||
$(postprocess_XCU)/Office/UI/GenericCategories.xcu \
|
||||
$(postprocess_XCU)/Office/UI/GenericCommands.xcu \
|
||||
$(postprocess_XCU)/Office/UI/StartModuleCommands.xcu \
|
||||
$(postprocess_XCU)/Office/UI/StartModuleWindowState.xcu \
|
||||
$(postprocess_XCU)/Office/UI.xcu \
|
||||
$(postprocess_XCU)/Office/Views.xcu \
|
||||
$(postprocess_XCU)/Office/WebWizard.xcu \
|
||||
$(postprocess_XCU)/Office/Writer.xcu \
|
||||
$(postprocess_XCU)/Setup.xcu \
|
||||
$(postprocess_XCU)/System.xcu \
|
||||
$(postprocess_XCU)/TypeDetection/UISort.xcu \
|
||||
$(postprocess_XCU)/UserProfile.xcu \
|
||||
$(postprocess_XCU)/VCL.xcu \
|
||||
$(postprocess_XCU)/ucb/Configuration.xcu \
|
||||
$(postprocess_MOD)/fcfg_base_filters.xcu \
|
||||
$(postprocess_MOD)/fcfg_base_others.xcu \
|
||||
$(postprocess_MOD)/fcfg_base_types.xcu \
|
||||
$(postprocess_MOD)/fcfg_chart_filters.xcu \
|
||||
$(postprocess_MOD)/fcfg_chart_others.xcu \
|
||||
$(postprocess_MOD)/fcfg_chart_types.xcu \
|
||||
$(postprocess_MOD)/fcfg_internalgraphics_filters.xcu \
|
||||
$(postprocess_MOD)/fcfg_internalgraphics_types.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Embedding-chart.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Setup-start.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/TypeDetection/UISort-calc.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/TypeDetection/UISort-draw.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/TypeDetection/UISort-impress.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/TypeDetection/UISort-math.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/TypeDetection/UISort-writer.xcu
|
||||
ifeq (DBCONNECTIVITY,$(filter DBCONNECTIVITY,$(BUILD_TYPE)))
|
||||
postprocess_FILES_main += \
|
||||
$(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-dbase.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-flat.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-mysql.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-odbc.xcu
|
||||
postprocess_DRIVERS += dbase flat mysql odbc
|
||||
endif
|
||||
ifeq (MACOSX,$(OS))
|
||||
postprocess_FILES_main += \
|
||||
$(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-macab.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Inet-macosx.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Accelerators-macosx.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Common-macosx.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Paths-macosx.xcu
|
||||
# Inet-macosx.xcu must come after Inet.xcu
|
||||
postprocess_DRIVERS += macab
|
||||
else ifeq (unx,$(GUIBASE))
|
||||
postprocess_FILES_main += \
|
||||
$(postprocess_MOD)/org/openoffice/Inet-unixdesktop.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Accelerators-unxwnt.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Common-UseOOoFileDialogs.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Common-unixdesktop.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Common-unx.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Paths-unixdesktop.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Paths-unxwnt.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/UserProfile-unixdesktop.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/VCL-unixdesktop.xcu
|
||||
# Inet-unixdesktop.xcu must come after Inet.xcu
|
||||
# VCL-unixdesktop.xcu must come after VCL.xcu
|
||||
else ifeq (WNT,$(OS))
|
||||
postprocess_FILES_main += \
|
||||
$(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-ado.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Inet-wnt.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Accelerators-unxwnt.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Common-wnt.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Paths-unxwnt.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/ucb/Configuration-win.xcu
|
||||
# Inet-wnt.xcu must come after Inet.xcu
|
||||
postprocess_DRIVERS += ado
|
||||
endif
|
||||
ifeq ($(DISABLE_NEON),$(false))
|
||||
postprocess_FILES_main += $(postprocess_MOD)/org/openoffice/ucb/Configuration-neon.xcu
|
||||
endif
|
||||
ifeq ($(ENABLE_EVOAB2),TRUE)
|
||||
postprocess_FILES_main += $(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-evoab2.xcu
|
||||
postprocess_FILES_main += $(postprocess_MOD)/org/openoffice/Office/DataAccess-evoab2.xcu
|
||||
postprocess_DRIVERS += evoab
|
||||
endif
|
||||
ifeq ($(SOLAR_JAVA),TRUE)
|
||||
postprocess_FILES_main += \
|
||||
$(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-hsqldb.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-jdbc.xcu
|
||||
postprocess_DRIVERS += hsqldb jdbc
|
||||
endif
|
||||
ifeq ($(ENABLE_TDEAB),TRUE)
|
||||
postprocess_FILES_main += $(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-tdeab.xcu
|
||||
endif
|
||||
ifeq ($(ENABLE_KAB),TRUE)
|
||||
postprocess_FILES_main += $(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-kab.xcu
|
||||
postprocess_DRIVERS += kab
|
||||
endif
|
||||
|
||||
ifeq (WNT,$(OS))
|
||||
ifeq ($(WITH_MOZAB4WIN),YES)
|
||||
postprocess_FILES_main += $(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-mozab.xcu
|
||||
postprocess_DRIVERS += mozab
|
||||
endif
|
||||
else ifeq (DESKTOP,$(filter DESKTOP,$(BUILD_TYPE)))
|
||||
postprocess_FILES_main += $(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-mork.xcu
|
||||
postprocess_DRIVERS += mork
|
||||
endif
|
||||
|
||||
ifneq (,$(SYSTEM_LIBEXTTEXTCAT_DATA))
|
||||
postprocess_FILES_main += $(postprocess_MOD)/org/openoffice/Office/Paths-externallibexttextcatdata.xcu
|
||||
else
|
||||
postprocess_FILES_main += $(postprocess_MOD)/org/openoffice/Office/Paths-internallibexttextcatdata.xcu
|
||||
endif
|
||||
|
||||
postprocess_DEPS_math := main
|
||||
postprocess_FILES_math := \
|
||||
$(postprocess_XCS)/Office/UI/MathCommands.xcs \
|
||||
$(postprocess_XCS)/Office/UI/MathWindowState.xcs \
|
||||
$(postprocess_XCU)/Office/UI/MathCommands.xcu \
|
||||
$(postprocess_XCU)/Office/UI/MathWindowState.xcu \
|
||||
$(postprocess_MOD)/fcfg_math_filters.xcu \
|
||||
$(postprocess_MOD)/fcfg_math_types.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Common-math.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Embedding-math.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Setup-math.xcu
|
||||
|
||||
postprocess_DEPS_palm := main
|
||||
postprocess_FILES_palm := \
|
||||
$(postprocess_MOD)/fcfg_palm_filters.xcu \
|
||||
$(postprocess_MOD)/fcfg_palm_types.xcu
|
||||
|
||||
postprocess_DEPS_pocketexcel := main
|
||||
postprocess_FILES_pocketexcel := \
|
||||
$(postprocess_MOD)/fcfg_pocketexcel_filters.xcu \
|
||||
$(postprocess_MOD)/fcfg_pocketexcel_types.xcu
|
||||
|
||||
postprocess_DEPS_pocketword := main
|
||||
postprocess_FILES_pocketword := \
|
||||
$(postprocess_MOD)/fcfg_pocketword_filters.xcu \
|
||||
$(postprocess_MOD)/fcfg_pocketword_types.xcu
|
||||
|
||||
postprocess_DEPS_pyuno := main
|
||||
postprocess_FILES_pyuno := \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Scripting-python.xcu
|
||||
|
||||
postprocess_DEPS_writer := main
|
||||
postprocess_FILES_writer := \
|
||||
$(postprocess_XCS)/Office/UI/WriterCommands.xcs \
|
||||
$(postprocess_XCS)/Office/UI/WriterFormWindowState.xcs \
|
||||
$(postprocess_XCS)/Office/UI/WriterGlobalWindowState.xcs \
|
||||
$(postprocess_XCS)/Office/UI/WriterReportWindowState.xcs \
|
||||
$(postprocess_XCS)/Office/UI/WriterWebWindowState.xcs \
|
||||
$(postprocess_XCS)/Office/UI/WriterWindowState.xcs \
|
||||
$(postprocess_XCS)/Office/UI/XFormsWindowState.xcs \
|
||||
$(postprocess_XCU)/Office/UI/WriterCommands.xcu \
|
||||
$(postprocess_XCU)/Office/UI/WriterFormWindowState.xcu \
|
||||
$(postprocess_XCU)/Office/UI/WriterGlobalWindowState.xcu \
|
||||
$(postprocess_XCU)/Office/UI/WriterReportWindowState.xcu \
|
||||
$(postprocess_XCU)/Office/UI/WriterWebWindowState.xcu \
|
||||
$(postprocess_XCU)/Office/UI/WriterWindowState.xcu \
|
||||
$(postprocess_XCU)/Office/UI/XFormsWindowState.xcu \
|
||||
$(postprocess_MOD)/fcfg_global_filters.xcu \
|
||||
$(postprocess_MOD)/fcfg_global_types.xcu \
|
||||
$(postprocess_MOD)/fcfg_web_filters.xcu \
|
||||
$(postprocess_MOD)/fcfg_web_types.xcu \
|
||||
$(postprocess_MOD)/fcfg_writer_filters.xcu \
|
||||
$(postprocess_MOD)/fcfg_writer_types.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Common-writer.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Embedding-writer.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Setup-writer.xcu
|
||||
|
||||
postprocess_DEPS_xsltfilter := main
|
||||
postprocess_FILES_xsltfilter := \
|
||||
$(postprocess_MOD)/fcfg_xslt_filters.xcu \
|
||||
$(postprocess_MOD)/fcfg_xslt_types.xcu
|
||||
|
||||
ifeq ($(BUILD_POSTGRESQL_SDBC),YES)
|
||||
postprocess_XCDS += postgresqlsdbc.xcd
|
||||
postprocess_DEPS_postgresqlsdbc := main
|
||||
postprocess_FILES_postgresqlsdbc := $(postprocess_MOD)/org/openoffice/Office/DataAccess/Drivers-postgresql.xcu
|
||||
postprocess_DRIVERS += postgresql
|
||||
endif
|
||||
|
||||
ifeq (unx,$(GUIBASE))
|
||||
ifneq (,$(or $(filter TRUEYES,$(ENABLE_GCONF)$(ENABLE_LOCKDOWN))$(filter TRUE,$(ENABLE_GIO))))
|
||||
postprocess_XCDS += gnome.xcd
|
||||
postprocess_DEPS_gnome := main
|
||||
ifeq ($(ENABLE_GCONF)$(ENABLE_LOCKDOWN),TRUEYES)
|
||||
postprocess_FILES_gnome += \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Common-gconflockdown.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Recovery-gconflockdown.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/VCL-gconflockdown.xcu
|
||||
endif
|
||||
ifeq ($(ENABLE_GIO),TRUE)
|
||||
postprocess_FILES_gnome += \
|
||||
$(postprocess_MOD)/org/openoffice/ucb/Configuration-gio.xcu
|
||||
endif
|
||||
endif
|
||||
endif # unx == $(GUIBASE)
|
||||
|
||||
ifeq ($(ENABLE_ONLINE_UPDATE),TRUE)
|
||||
postprocess_XCDS += onlineupdate.xcd
|
||||
postprocess_DEPS_onlineupdate := main
|
||||
postprocess_FILES_onlineupdate := \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Addons-onlineupdate.xcu \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Jobs-onlineupdate.xcu
|
||||
endif
|
||||
|
||||
ifeq ($(ENABLE_OPENGL),TRUE)
|
||||
postprocess_XCDS += ogltrans.xcd
|
||||
postprocess_DEPS_ogltrans := main
|
||||
postprocess_FILES_ogltrans := \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Impress-ogltrans.xcu
|
||||
endif
|
||||
|
||||
ifeq ($(ENABLE_PDFIMPORT),TRUE)
|
||||
postprocess_XCDS += pdfimport.xcd
|
||||
postprocess_OPTDEPS_pdfimport := calc draw impress math writer
|
||||
# HACK: for all fcfg_X_types.xcu in filter/Configuration_filter.mk that
|
||||
# include pdf_Portable_Document_Format (i.e., X in calc, draw, global,
|
||||
# impress, math, web, writer), add optional dependencies on those XCDS that
|
||||
# include those fcfg_X_types.xcu
|
||||
postprocess_FILES_pdfimport := pdfimport/pdf_import_filter.xcu pdfimport/pdf_types.xcu
|
||||
endif
|
||||
|
||||
ifeq (WNT,$(OS))
|
||||
postprocess_XCDS += forcedefault.xcd
|
||||
postprocess_DEPS_forcedefault := main
|
||||
postprocess_FILES_forcedefault := \
|
||||
$(postprocess_MOD)/org/openoffice/Office/Linguistic-ForceDefaultLanguage.xcu
|
||||
endif
|
||||
|
||||
postprocess_DRIVERS := $(foreach driver,$(postprocess_DRIVERS),driver_$(driver))
|
||||
|
||||
#
|
||||
# Targets
|
||||
#
|
||||
|
||||
$(eval $(call gb_CustomTarget_register_targets,postprocess/registry,\
|
||||
$(postprocess_XCDS) \
|
||||
$(foreach lang,$(gb_Configuration_LANGS), \
|
||||
Langpack-$(lang).xcd \
|
||||
fcfg_langpack_$(lang).xcd \
|
||||
registry_$(lang).xcd \
|
||||
) \
|
||||
))
|
||||
|
||||
#
|
||||
# Dependencies
|
||||
#
|
||||
|
||||
define postprocess_xcd_deps
|
||||
$(call gb_CustomTarget_get_workdir,postprocess/registry)/$(1).xcd : \
|
||||
$(call gb_CustomTarget_get_workdir,postprocess/registry)/$(1).list
|
||||
|
||||
$(call gb_CustomTarget_get_workdir,postprocess/registry)/$(1).list : \
|
||||
$(foreach file,$(postprocess_FILES_$(1)),$(OUTDIR)/xml/$(file)) \
|
||||
$(SRCDIR)/postprocess/CustomTarget_registry.mk \
|
||||
| $(call gb_CustomTarget_get_workdir,postprocess/registry)/.dir
|
||||
|
||||
endef
|
||||
$(foreach xcd,$(postprocess_XCDS),$(eval $(call postprocess_xcd_deps,$(basename $(xcd)))))
|
||||
|
||||
define postprocess_lang_deps
|
||||
$(call gb_CustomTarget_get_workdir,postprocess/registry)/Langpack-$(1).xcd : \
|
||||
$(call gb_CustomTarget_get_workdir,postprocess/registry)/Langpack-$(1).list
|
||||
|
||||
$(call gb_CustomTarget_get_workdir,postprocess/registry)/Langpack-$(1).list : \
|
||||
$(call gb_XcuModuleTarget_get_outdir_target,Langpack-$(1).xcu) \
|
||||
| $(call gb_CustomTarget_get_workdir,postprocess/registry)/.dir
|
||||
|
||||
$(call gb_CustomTarget_get_workdir,postprocess/registry)/fcfg_langpack_$(1).xcd : \
|
||||
$(call gb_CustomTarget_get_workdir,postprocess/registry)/fcfg_langpack_$(1).list
|
||||
|
||||
$(call gb_CustomTarget_get_workdir,postprocess/registry)/fcfg_langpack_$(1).list : \
|
||||
$(call gb_Zip_get_target,fcfg_langpack_$(1)) \
|
||||
| $(call gb_CustomTarget_get_workdir,postprocess/registry)/fcfg_langpack_$(1).unzip/.dir
|
||||
|
||||
$(call gb_CustomTarget_get_workdir,postprocess/registry)/registry_$(1).xcd : \
|
||||
$(call gb_CustomTarget_get_workdir,postprocess/registry)/registry_$(1).list
|
||||
|
||||
$(call gb_CustomTarget_get_workdir,postprocess/registry)/registry_$(1).list : \
|
||||
$(call gb_Zip_get_target,registry_$(1)) \
|
||||
$(if $(filter DBCONNECTIVITY,$(BUILD_TYPE)), \
|
||||
$(foreach driver,$(postprocess_DRIVERS),$(call gb_Zip_get_target,$(driver)_$(1))) \
|
||||
) \
|
||||
$(if $(filter TRUE,$(ENABLE_ONLINE_UPDATE)), \
|
||||
$(call gb_Zip_get_target,updchk_$(1)) \
|
||||
) \
|
||||
| $(call gb_CustomTarget_get_workdir,postprocess/registry)/registry_$(1).unzip/.dir \
|
||||
$(if $(filter DBCONNECTIVITY,$(BUILD_TYPE)), \
|
||||
$(foreach driver,$(postprocess_DRIVERS), \
|
||||
$(call gb_CustomTarget_get_workdir,postprocess/registry)/$(driver)_$(1).unzip/.dir ) \
|
||||
) \
|
||||
$(if $(filter TRUE,$(ENABLE_ONLINE_UPDATE)), \
|
||||
$(call gb_CustomTarget_get_workdir,postprocess/registry)/updchk_$(1).unzip/.dir \
|
||||
)
|
||||
|
||||
endef
|
||||
$(foreach lang,$(gb_Configuration_LANGS),$(eval $(call postprocess_lang_deps,$(lang))))
|
||||
|
||||
#
|
||||
# Rules
|
||||
#
|
||||
|
||||
$(call gb_CustomTarget_get_workdir,postprocess/registry)/Langpack-%.xcd :
|
||||
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),XCD,3)
|
||||
$(call gb_Helper_abbreviate_dirs, \
|
||||
$(call gb_ExternalExecutable_get_command,xsltproc) --nonet --stringparam prefix $(call gb_XcuModuleTarget_get_outdir_target) -o $@ \
|
||||
$(SOLARENV)/bin/packregistry.xslt $< \
|
||||
)
|
||||
|
||||
$(call gb_CustomTarget_get_workdir,postprocess/registry)/Langpack-%.list :
|
||||
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ECH,2)
|
||||
echo '<list><dependency file="main"/><filename>Langpack-$*.xcu</filename></list>' > $@
|
||||
|
||||
$(call gb_CustomTarget_get_workdir,postprocess/registry)/fcfg_langpack_%.xcd :
|
||||
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),XCD,3)
|
||||
$(call gb_Helper_abbreviate_dirs, \
|
||||
$(call gb_ExternalExecutable_get_command,xsltproc) --nonet --stringparam prefix $(call gb_CustomTarget_get_workdir,postprocess/registry)/ \
|
||||
-o $@ $(SOLARENV)/bin/packregistry.xslt $< \
|
||||
)
|
||||
|
||||
# It can happen that localized fcfg_langpack_*.zip contains
|
||||
# zero-sized org/openoffice/TypeDectection/Filter.xcu; filter them out in the
|
||||
# find shell command below (see issue 110041):
|
||||
$(call gb_CustomTarget_get_workdir,postprocess/registry)/fcfg_langpack_%.list :
|
||||
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ECH,2)
|
||||
$(call gb_Helper_abbreviate_dirs, \
|
||||
cd $(call gb_CustomTarget_get_workdir,postprocess/registry)/fcfg_langpack_$*.unzip \
|
||||
&& rm -rf * \
|
||||
&& unzip $< \
|
||||
&& cd .. \
|
||||
&& echo '<list>' > $@ \
|
||||
&& find fcfg_langpack_$*.unzip -name *.xcu -size +0c -printf '<filename>%p</filename>\n' >> $@ \
|
||||
&& echo '</list>' >> $@ \
|
||||
)
|
||||
|
||||
$(call gb_CustomTarget_get_workdir,postprocess/registry)/registry_%.xcd :
|
||||
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),XCD,3)
|
||||
$(call gb_Helper_abbreviate_dirs, \
|
||||
$(call gb_ExternalExecutable_get_command,xsltproc) --nonet --stringparam prefix $(call gb_CustomTarget_get_workdir,postprocess/registry)/ \
|
||||
-o $@ $(SOLARENV)/bin/packregistry.xslt $< \
|
||||
)
|
||||
|
||||
$(call gb_CustomTarget_get_workdir,postprocess/registry)/registry_%.list :
|
||||
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ECH,2)
|
||||
echo '<list>' > $@
|
||||
# Add registry_*.zip content to *.list:
|
||||
$(call gb_Helper_abbreviate_dirs, \
|
||||
cd $(call gb_CustomTarget_get_workdir,postprocess/registry)/registry_$*.unzip \
|
||||
&& rm -rf * \
|
||||
&& unzip $(call gb_Zip_get_target,registry_$*) \
|
||||
&& cd .. \
|
||||
&& find registry_$*.unzip -name *.xcu -printf '<filename>%p</filename>\n' >> $@ \
|
||||
)
|
||||
ifeq (DBCONNECTIVITY,$(filter DBCONNECTIVITY,$(BUILD_TYPE)))
|
||||
# Add fcfg_drivers_*.zip content to *.list:
|
||||
$(call gb_Helper_abbreviate_dirs, \
|
||||
true \
|
||||
$(foreach driver,$(postprocess_DRIVERS), \
|
||||
&& cd $(call gb_CustomTarget_get_workdir,postprocess/registry)/$(driver)_$*.unzip \
|
||||
&& rm -rf * \
|
||||
&& unzip $(call gb_Zip_get_target,$(driver)_$*) \
|
||||
&& cd .. \
|
||||
&& find $(driver)_$*.unzip -name *.xcu -printf '<filename>%p</filename>\n' >> $@ \
|
||||
) \
|
||||
)
|
||||
endif
|
||||
ifeq ($(ENABLE_ONLINE_UPDATE),TRUE)
|
||||
# Add updchk_*.zip content to *.list:
|
||||
$(call gb_Helper_abbreviate_dirs, \
|
||||
cd $(call gb_CustomTarget_get_workdir,postprocess/registry)/updchk_$*.unzip \
|
||||
&& rm -rf * \
|
||||
&& unzip $(call gb_Zip_get_target,updchk_$*) \
|
||||
&& cd .. \
|
||||
&& find updchk_$*.unzip -name *.xcu -printf '<filename>%p</filename>\n' >> $@ \
|
||||
)
|
||||
endif
|
||||
echo '</list>' >> $@
|
||||
|
||||
$(call gb_CustomTarget_get_workdir,postprocess/registry)/%.xcd :
|
||||
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),XCD,3)
|
||||
$(call gb_Helper_abbreviate_dirs, \
|
||||
$(call gb_ExternalExecutable_get_command,xsltproc) --nonet --stringparam prefix $(OUTDIR)/xml/ \
|
||||
-o $@ $(SOLARENV)/bin/packregistry.xslt $< \
|
||||
)
|
||||
|
||||
$(call gb_CustomTarget_get_workdir,postprocess/registry)/%.list :
|
||||
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ECH,2)
|
||||
echo '<list>' $(foreach i,$(postprocess_DEPS_$*), '<dependency file="$i"/>') \
|
||||
$(foreach i,$(postprocess_OPTDEPS_$*), '<dependency file="$i" optional="true"/>') \
|
||||
$(foreach i,$(postprocess_FILES_$*), '<filename>$i</filename>') '</list>' > $@
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
42
postprocess/CustomTarget_signing.mk
Normal file
42
postprocess/CustomTarget_signing.mk
Normal file
|
@ -0,0 +1,42 @@
|
|||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
|
||||
$(eval $(call gb_CustomTarget_CustomTarget,postprocess/signing))
|
||||
|
||||
$(eval $(call gb_CustomTarget_register_targets,postprocess/signing,\
|
||||
signing.done \
|
||||
))
|
||||
|
||||
# PFXFILE and PFXPASSWORD should be set in environment
|
||||
TIMESTAMPURL ?= "http://timestamp.verisign.com/scripts/timstamp.dll"
|
||||
|
||||
$(call gb_CustomTarget_get_workdir,postprocess/signing)/signing.done: \
|
||||
$(SRCDIR)/postprocess/signing/signing.pl \
|
||||
$(SRCDIR)/postprocess/signing/no_signing.txt \
|
||||
|
||||
$(call gb_CustomTarget_get_workdir,postprocess/signing)/signing.done:
|
||||
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,2)
|
||||
ifeq ($(COM),MSC)
|
||||
ifeq ($(PRODUCT),full)
|
||||
$(PERL) $< -e $(SRCDIR)/postprocess/signing/no_signing.txt
|
||||
-l $(subst .done,_log.txt,$@) \
|
||||
-f $(PFXFILE) \
|
||||
-p $(PFXPASSWORD) \
|
||||
-t $(TIMESTAMPURL) \
|
||||
$(OUTDIR)/bin/*.dll $(OUTDIR)/bin/so/*.dll \
|
||||
$(OUTDIR)/bin/*.exe $(OUTDIR)/bin/so/*.exe \
|
||||
&& touch $@
|
||||
else
|
||||
@echo "Doing nothing on non product builds ..."
|
||||
endif
|
||||
else
|
||||
@echo "Nothing to do, signing is Windows (MSC) only."
|
||||
endif
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
14
postprocess/Makefile
Normal file
14
postprocess/Makefile
Normal file
|
@ -0,0 +1,14 @@
|
|||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
|
||||
module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
|
||||
|
||||
include $(module_directory)/../solenv/gbuild/partial_build.mk
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
32
postprocess/Module_postprocess.mk
Normal file
32
postprocess/Module_postprocess.mk
Normal file
|
@ -0,0 +1,32 @@
|
|||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
|
||||
$(eval $(call gb_Module_Module,postprocess))
|
||||
|
||||
# Do not add to tail_build!
|
||||
# At least CustomTarget_config and CustomTarget_signing would miss dependencies.
|
||||
|
||||
# UGLY: postprocess_XCDS variable from CustomTarget_registry
|
||||
# is reused in Package_registry!
|
||||
|
||||
$(eval $(call gb_Module_add_targets,postprocess,\
|
||||
CustomTarget_config \
|
||||
CustomTarget_registry \
|
||||
Package_config \
|
||||
Package_registry \
|
||||
Rdb_services \
|
||||
))
|
||||
|
||||
ifeq ($(WINDOWS_BUILD_SIGNING),TRUE)
|
||||
$(eval $(call gb_Module_add_targets,postprocess,\
|
||||
CustomTarget_signing \
|
||||
))
|
||||
endif
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
18
postprocess/Package_config.mk
Normal file
18
postprocess/Package_config.mk
Normal file
|
@ -0,0 +1,18 @@
|
|||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
|
||||
$(eval $(call gb_Package_Package,postprocess_config,$(call gb_CustomTarget_get_workdir,postprocess/config)))
|
||||
|
||||
$(eval $(call gb_Package_add_file,postprocess_config,bin/uiconfig.zip,uiconfig.zip))
|
||||
|
||||
$(eval $(call gb_Package_add_files,postprocess_config,bin,\
|
||||
$(foreach lang,$(gb_UITarget_LANGS),uiconfig_$(lang).zip) \
|
||||
))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
21
postprocess/Package_registry.mk
Normal file
21
postprocess/Package_registry.mk
Normal file
|
@ -0,0 +1,21 @@
|
|||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
|
||||
$(eval $(call gb_Package_Package,postprocess_registry,$(call gb_CustomTarget_get_workdir,postprocess/registry)))
|
||||
|
||||
$(eval $(call gb_Package_add_files,postprocess_registry,xml,\
|
||||
$(postprocess_XCDS) \
|
||||
$(foreach lang,$(gb_Configuration_LANGS), \
|
||||
Langpack-$(lang).xcd \
|
||||
fcfg_langpack_$(lang).xcd \
|
||||
registry_$(lang).xcd \
|
||||
) \
|
||||
))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
334
postprocess/Rdb_services.mk
Normal file
334
postprocess/Rdb_services.mk
Normal file
|
@ -0,0 +1,334 @@
|
|||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
|
||||
$(eval $(call gb_Rdb_Rdb,services))
|
||||
|
||||
$(eval $(call gb_Rdb_add_components,services,\
|
||||
animations/source/animcore/animcore \
|
||||
avmedia/util/avmedia \
|
||||
chart2/source/controller/chartcontroller \
|
||||
chart2/source/chartcore \
|
||||
canvas/source/factory/canvasfactory \
|
||||
canvas/source/simplecanvas/simplecanvas \
|
||||
canvas/source/vcl/vclcanvas \
|
||||
comphelper/util/comphelp \
|
||||
configmgr/source/configmgr \
|
||||
cppcanvas/source/uno/mtfrenderer \
|
||||
cui/util/cui \
|
||||
drawinglayer/drawinglayer \
|
||||
dtrans/util/mcnttype \
|
||||
embeddedobj/util/embobj \
|
||||
eventattacher/source/evtatt \
|
||||
fileaccess/source/fileacc \
|
||||
filter/source/config/cache/filterconfig1 \
|
||||
filter/source/flash/flash \
|
||||
filter/source/msfilter/msfilter \
|
||||
filter/source/odfflatxml/odfflatxml \
|
||||
filter/source/pdf/pdffilter \
|
||||
filter/source/placeware/placeware \
|
||||
filter/source/svg/svgfilter \
|
||||
filter/source/t602/t602filter \
|
||||
filter/source/textfilterdetect/textfd \
|
||||
filter/source/xmlfilteradaptor/xmlfa \
|
||||
filter/source/xmlfilterdetect/xmlfd \
|
||||
filter/source/xsltdialog/xsltdlg \
|
||||
filter/source/xsltfilter/xsltfilter \
|
||||
formula/util/for \
|
||||
fpicker/source/generic/fpicker \
|
||||
fpicker/source/office/fps_office \
|
||||
framework/util/fwk \
|
||||
framework/util/fwl \
|
||||
framework/util/fwm \
|
||||
hwpfilter/source/hwp \
|
||||
i18npool/source/search/i18nsearch \
|
||||
i18npool/util/i18npool \
|
||||
lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphen \
|
||||
lingucomponent/source/languageguessing/guesslang \
|
||||
lingucomponent/source/spellcheck/spell/spell \
|
||||
lingucomponent/source/thesaurus/libnth/lnth \
|
||||
linguistic/source/lng \
|
||||
lotuswordpro/util/lwpfilter \
|
||||
oox/util/oox \
|
||||
package/source/xstor/xstor \
|
||||
package/util/package2 \
|
||||
sax/source/expatwrap/expwrap \
|
||||
sax/source/fastparser/fastsax \
|
||||
sc/util/sc \
|
||||
sc/util/scd \
|
||||
sc/util/scfilt \
|
||||
scaddins/source/analysis/analysis \
|
||||
scaddins/source/datefunc/date \
|
||||
scaddins/source/pricing/pricing \
|
||||
sd/util/sd \
|
||||
sd/util/sdd \
|
||||
sd/util/sdfilt \
|
||||
sdext/source/presenter/presenter \
|
||||
sfx2/util/sfx \
|
||||
slideshow/util/slideshow \
|
||||
sot/util/sot \
|
||||
starmath/util/sm \
|
||||
starmath/util/smd \
|
||||
svl/source/fsstor/fsstorage \
|
||||
svl/source/passwordcontainer/passwordcontainer \
|
||||
svl/util/svl \
|
||||
svtools/source/hatchwindow/hatchwindowfactory \
|
||||
svtools/util/svt \
|
||||
svgio/svgio \
|
||||
svx/util/svx \
|
||||
svx/util/svxcore \
|
||||
svx/util/textconversiondlgs \
|
||||
sw/util/msword \
|
||||
sw/util/sw \
|
||||
sw/util/swd \
|
||||
toolkit/util/tk \
|
||||
ucb/source/sorter/srtrs1 \
|
||||
ucb/source/core/ucb1 \
|
||||
ucb/source/cacher/cached1 \
|
||||
ucb/source/ucp/cmis/ucpcmis1 \
|
||||
ucb/source/ucp/expand/ucpexpand1 \
|
||||
ucb/source/ucp/ext/ucpext \
|
||||
ucb/source/ucp/file/ucpfile1 \
|
||||
ucb/source/ucp/ftp/ucpftp1 \
|
||||
ucb/source/ucp/hierarchy/ucphier1 \
|
||||
ucb/source/ucp/package/ucppkg1 \
|
||||
ucb/source/ucp/tdoc/ucptdoc1 \
|
||||
UnoControls/util/ctl \
|
||||
unotools/util/utl \
|
||||
unoxml/source/rdf/unordf \
|
||||
unoxml/source/service/unoxml \
|
||||
uui/util/uui \
|
||||
xmloff/source/transform/xof \
|
||||
xmloff/util/xo \
|
||||
xmlscript/util/xmlscript \
|
||||
xmlsecurity/util/xmlsecurity \
|
||||
xmlsecurity/util/xsec_fw \
|
||||
$(if $(filter-out IOS,$(OS)), \
|
||||
sccomp/source/solver/solver \
|
||||
writerfilter/util/writerfilter \
|
||||
writerperfect/util/wpftwriter \
|
||||
writerperfect/util/wpftdraw \
|
||||
) \
|
||||
$(if $(filter MACOSX,$(OS)), \
|
||||
$(if $(filter-out X86_64,$(CPUNAME)), \
|
||||
avmedia/source/quicktime/avmediaQuickTime \
|
||||
) \
|
||||
connectivity/source/drivers/macab/macab1 \
|
||||
lingucomponent/source/spellcheck/macosxspell/MacOSXSpell \
|
||||
fpicker/source/aqua/fps_aqua \
|
||||
shell/source/backends/macbe/macbe1 \
|
||||
vcl/vcl.macosx \
|
||||
) \
|
||||
$(if $(filter WNT,$(OS)), \
|
||||
connectivity/source/drivers/ado/ado \
|
||||
dtrans/source/generic/dtrans \
|
||||
dtrans/util/dnd \
|
||||
dtrans/util/ftransl \
|
||||
dtrans/util/sysdtrans \
|
||||
fpicker/source/win32/fps \
|
||||
shell/source/backends/wininetbe/wininetbe1 \
|
||||
shell/source/win32/simplemail/smplmail \
|
||||
shell/source/win32/syssh \
|
||||
vcl/vcl.windows \
|
||||
$(if $(SOLAR_JAVA), \
|
||||
accessibility/bridge/org/openoffice/accessibility/java_uno_accessbridge \
|
||||
) \
|
||||
) \
|
||||
$(if $(filter headless,$(GUIBASE)), \
|
||||
vcl/vcl.headless \
|
||||
) \
|
||||
$(if $(DISABLE_ATL),, \
|
||||
embeddedobj/source/msole/emboleobj$(if $(filter WNT,$(OS)),.windows) \
|
||||
$(if $(filter WNT,$(OS)), \
|
||||
embedserv/util/emser \
|
||||
extensions/source/ole/oleautobridge \
|
||||
) \
|
||||
) \
|
||||
$(if $(DISABLE_NEON),, \
|
||||
ucb/source/ucp/webdav-neon/ucpdav1 \
|
||||
) \
|
||||
$(if $(DISABLE_PYTHON),, \
|
||||
pyuno/source/loader/pythonloader \
|
||||
) \
|
||||
$(if $(DISABLE_SCRIPTING),, \
|
||||
basctl/util/basctl \
|
||||
basic/util/sb \
|
||||
sc/util/vbaobj \
|
||||
scripting/source/basprov/basprov \
|
||||
scripting/source/dlgprov/dlgprov \
|
||||
scripting/source/protocolhandler/protocolhandler \
|
||||
scripting/source/pyprov/mailmerge \
|
||||
wizards/com/sun/star/wizards/fax/fax \
|
||||
wizards/com/sun/star/wizards/letter/letter \
|
||||
scripting/source/stringresource/stringresource \
|
||||
scripting/source/vbaevents/vbaevents \
|
||||
scripting/util/scriptframe \
|
||||
sw/util/vbaswobj \
|
||||
vbahelper/util/msforms \
|
||||
) \
|
||||
$(if $(ENABLE_CAIRO_CANVAS), \
|
||||
canvas/source/cairo/cairocanvas \
|
||||
) \
|
||||
$(if $(ENABLE_DIRECTX), \
|
||||
avmedia/source/win/avmediawin \
|
||||
canvas/source/directx/directx9canvas \
|
||||
canvas/source/directx/gdipluscanvas \
|
||||
) \
|
||||
$(if $(ENABLE_EVOAB2), \
|
||||
connectivity/source/drivers/evoab2/evoab \
|
||||
) \
|
||||
$(if $(ENABLE_GCONF), \
|
||||
shell/source/backends/gconfbe/gconfbe1 \
|
||||
) \
|
||||
$(if $(ENABLE_GIO), \
|
||||
shell/source/sessioninstall/losessioninstall \
|
||||
ucb/source/ucp/gio/ucpgio \
|
||||
) \
|
||||
$(if $(ENABLE_GNOMEVFS), \
|
||||
ucb/source/ucp/gvfs/ucpgvfs \
|
||||
) \
|
||||
$(if $(ENABLE_GSTREAMER), \
|
||||
avmedia/source/gstreamer/avmediagstreamer \
|
||||
) \
|
||||
$(if $(ENABLE_GSTREAMER_0_10), \
|
||||
avmedia/source/gstreamer/avmediagstreamer_0_10 \
|
||||
) \
|
||||
$(if $(ENABLE_KAB), \
|
||||
connectivity/source/drivers/kab/kab1 \
|
||||
) \
|
||||
$(if $(ENABLE_KDE), \
|
||||
shell/source/backends/kdebe/kdebe1 \
|
||||
) \
|
||||
$(if $(ENABLE_KDE4), \
|
||||
shell/source/backends/kde4be/kde4be1 \
|
||||
) \
|
||||
$(if $(ENABLE_ONLINE_UPDATE), \
|
||||
extensions/source/update/check/updchk.uno \
|
||||
extensions/source/update/ui/updchk \
|
||||
) \
|
||||
$(if $(ENABLE_OPENGL), \
|
||||
slideshow/source/engine/OGLTrans/ogltrans \
|
||||
) \
|
||||
$(if $(ENABLE_TDE), \
|
||||
shell/source/backends/kdebe/tdebe1 \
|
||||
) \
|
||||
$(if $(ENABLE_TDEAB), \
|
||||
connectivity/source/drivers/kab/tdeab1 \
|
||||
) \
|
||||
$(if $(SOLAR_JAVA), \
|
||||
xmerge/source/bridge/XMergeBridge \
|
||||
scripting/java/ScriptFramework \
|
||||
scripting/java/ScriptProviderForJava \
|
||||
wizards/com/sun/star/wizards/agenda/agenda \
|
||||
wizards/com/sun/star/wizards/form/form \
|
||||
connectivity/source/drivers/hsqldb/hsqldb \
|
||||
connectivity/source/drivers/jdbc/jdbc \
|
||||
wizards/com/sun/star/wizards/query/query \
|
||||
wizards/com/sun/star/wizards/report/report \
|
||||
wizards/com/sun/star/wizards/table/table \
|
||||
wizards/com/sun/star/wizards/web/web \
|
||||
) \
|
||||
))
|
||||
|
||||
ifeq (DBCONNECTIVITY,$(filter DBCONNECTIVITY,$(BUILD_TYPE)))
|
||||
|
||||
$(eval $(call gb_Rdb_add_components,services,\
|
||||
connectivity/source/drivers/calc/calc \
|
||||
dbaccess/source/ext/macromigration/dbmm \
|
||||
dbaccess/source/filter/xml/dbaxml \
|
||||
dbaccess/util/dba \
|
||||
dbaccess/util/dbu \
|
||||
dbaccess/util/sdbt \
|
||||
forms/util/frm \
|
||||
reportdesign/util/rpt \
|
||||
reportdesign/util/rptui \
|
||||
reportdesign/util/rptxml \
|
||||
connectivity/source/drivers/dbase/dbase \
|
||||
connectivity/source/cpool/dbpool2 \
|
||||
connectivity/source/dbtools/dbtools \
|
||||
connectivity/source/drivers/flat/flat \
|
||||
connectivity/source/drivers/mysql/mysql \
|
||||
connectivity/source/manager/sdbc2 \
|
||||
shell/source/backends/localebe/localebe1 \
|
||||
$(if $(filter-out ANDROID IOS,$(OS)),\
|
||||
connectivity/source/drivers/odbc/odbc \
|
||||
) \
|
||||
))
|
||||
|
||||
endif # DBCONNECTIVITY
|
||||
|
||||
ifeq (DESKTOP,$(filter DESKTOP,$(BUILD_TYPE)))
|
||||
|
||||
$(eval $(call gb_Rdb_add_components,services,\
|
||||
desktop/source/deployment/deployment \
|
||||
desktop/source/deployment/gui/deploymentgui \
|
||||
desktop/source/migration/services/migrationoo2 \
|
||||
desktop/source/migration/services/migrationoo3 \
|
||||
desktop/source/offacc/offacc \
|
||||
desktop/source/splash/spl \
|
||||
extensions/source/abpilot/abp \
|
||||
extensions/source/bibliography/bib \
|
||||
extensions/source/config/ldap/ldapbe2 \
|
||||
extensions/source/dbpilots/dbp \
|
||||
extensions/source/logging/log \
|
||||
extensions/source/propctrlr/pcr \
|
||||
extensions/source/resource/res \
|
||||
extensions/source/scanner/scn \
|
||||
extensions/source/update/feed/updatefeed \
|
||||
xmlhelp/source/treeview/tvhlp1 \
|
||||
xmlhelp/util/ucpchelp1 \
|
||||
xmlsecurity/util/xsec_xmlsec$(if $(filter WNT,$(OS)),.windows) \
|
||||
$(if $(filter-out WNT,$(OS)),\
|
||||
shell/source/cmdmail/cmdmail \
|
||||
shell/source/unix/exec/syssh \
|
||||
) \
|
||||
$(if $(filter-out MACOSX WNT,$(OS)), \
|
||||
desktop/unx/splash/splash \
|
||||
$(if $(filter-out headless,$(GUIBASE)), \
|
||||
shell/source/backends/desktopbe/desktopbe1 \
|
||||
vcl/vcl.unx \
|
||||
) \
|
||||
) \
|
||||
))
|
||||
|
||||
ifeq ($(OS),WNT)
|
||||
|
||||
ifeq ($(WITH_MOZAB4WIN),YES)
|
||||
$(eval $(call gb_Rdb_add_components,services,\
|
||||
connectivity/source/drivers/mozab/mozab \
|
||||
))
|
||||
else
|
||||
$(eval $(call gb_Rdb_add_components,services,\
|
||||
connectivity/source/drivers/mozab/bootstrap/mozbootstrap \
|
||||
))
|
||||
endif
|
||||
|
||||
else
|
||||
|
||||
$(eval $(call gb_Rdb_add_components,services,\
|
||||
connectivity/source/drivers/mork/mork \
|
||||
connectivity/source/drivers/mozab/bootstrap/mozbootstrap \
|
||||
))
|
||||
|
||||
endif # WNT
|
||||
|
||||
endif # DESKTOP
|
||||
|
||||
ifeq ($(ENABLE_NPAPI_FROM_BROWSER),YES)
|
||||
$(eval $(call gb_Rdb_add_components,services,\
|
||||
extensions/source/plugin/pl \
|
||||
))
|
||||
endif
|
||||
|
||||
ifeq ($(ENABLE_PDFIMPORT),TRUE)
|
||||
$(eval $(call gb_Rdb_add_components,services,\
|
||||
sdext/source/pdfimport/pdfimport \
|
||||
))
|
||||
endif
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
|
@ -1,131 +0,0 @@
|
|||
:
|
||||
eval 'exec perl -wS $0 ${1+"$@"}'
|
||||
if 0;
|
||||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
# This file incorporates work covered by the following license notice:
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed
|
||||
# with this work for additional information regarding copyright
|
||||
# ownership. The ASF licenses this file to you under the Apache
|
||||
# License, Version 2.0 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
#
|
||||
#
|
||||
#
|
||||
# check_xml.pl - check ui,xml,xcs,xcu files size, NULL character
|
||||
#
|
||||
|
||||
my
|
||||
$is_debug=0;
|
||||
my $err = 0;
|
||||
my $path = $ENV{'SOLARVERSION'} . '/' . $ENV{'INPATH'} . '/xml' . "$ENV{'UPDMINOREXT'}/";
|
||||
my $pck_path = $ENV{'SOLARVERSION'} . '/' . $ENV{'INPATH'} . '/pck' . "$ENV{'UPDMINOREXT'}/";
|
||||
my $unzipexe="unzip";
|
||||
|
||||
#Path of the directory from which the recursion starts (must have ending '/').
|
||||
print "Checking:$path\n";
|
||||
# Initiate the recursion
|
||||
&RecurseDirs($path);
|
||||
$err += &check_registry_zips($pck_path);
|
||||
if ($err > 0)
|
||||
{
|
||||
print "Error: $err damaged files encountered\n";
|
||||
exit(1); # stop dmake
|
||||
} else
|
||||
{
|
||||
print "ok.\n";
|
||||
}
|
||||
exit;
|
||||
|
||||
#### SUBROUTINES SECTION ####
|
||||
|
||||
# Function that recurses through the directory tree calling FileFunction on all files
|
||||
sub RecurseDirs {
|
||||
my ($path) = @_;
|
||||
my $file; #Variable for a file
|
||||
|
||||
opendir (DIRECTORY, $path) or
|
||||
die "Can't read $path\n";
|
||||
my @all_files = grep (!/^\.\.?$/, readdir (DIRECTORY)); #Read all the files except for '.' and '..'
|
||||
closedir (DIRECTORY);
|
||||
|
||||
foreach $file (@all_files) {
|
||||
if (-d "$path$file/") {
|
||||
&RecurseDirs("$path$file/");
|
||||
} else {
|
||||
&check($path, $file);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
############################################################################
|
||||
sub check #04.02.2005 13:40
|
||||
############################################################################
|
||||
{
|
||||
my $path = shift;
|
||||
my $file = shift;
|
||||
print "$path$file\n" if ((-e "$path$file") && $is_debug);
|
||||
return if ( $file !~ /.+\.(ui|xcu|xml|xcs)/ ); #check ui, xml and xcu files only
|
||||
if ( -z "$path$file" ) {
|
||||
print "Error: $path$file 0 Bytes!\n";
|
||||
$err++;
|
||||
} else
|
||||
{
|
||||
open( FH, "<$path$file" );
|
||||
while ( $line = <FH> ) {
|
||||
#print $line;
|
||||
if ( $line =~ /\000+/ ) {
|
||||
print "Error: NULL characters detected in $path$file\n";
|
||||
$err++;
|
||||
}
|
||||
}
|
||||
close(FH);
|
||||
}
|
||||
}
|
||||
|
||||
############################################################################
|
||||
sub check_registry_zips #20.04.2005 18:47
|
||||
############################################################################
|
||||
{
|
||||
my $path = shift;
|
||||
my $error = 0;
|
||||
my $commandargs;
|
||||
opendir (DIRECTORY, $path) or
|
||||
die "Can't read $path\n";
|
||||
my @all_files = grep (!/^\.\.?$/, readdir (DIRECTORY)); #Read all the files except for '.' and '..'
|
||||
closedir (DIRECTORY);
|
||||
foreach $file (@all_files) {
|
||||
if ( $file =~ /registry_.+\.zip$/ ) {
|
||||
$commandargs="$path$file";
|
||||
# Cygwin's perl needs escaped \ in system() and open( COMMAND ... )
|
||||
if ( "$^O" eq "cygwin" ) { $commandargs =~ s/\\/\\\\/g; }
|
||||
print "file=$commandargs\n" if ($is_debug);
|
||||
open(UNZIP,"$unzipexe -l $commandargs |");
|
||||
my $ferror = 0;
|
||||
while ( $line = <UNZIP> ) {
|
||||
#print $line;
|
||||
my @param = split(" ",$line);
|
||||
if ( $param[0] =~ /\d+/ ) {
|
||||
if ( $param[0] == 0 && $param[3] =~ /.+\.xcu$/)
|
||||
{
|
||||
$error++; $ferror=1;
|
||||
}
|
||||
}
|
||||
}
|
||||
if ( $ferror ) {
|
||||
print "Error: $commandargs contains files with 0 byte size\n";
|
||||
}
|
||||
close(UNZIP);
|
||||
}
|
||||
}
|
||||
|
||||
($error);
|
||||
} ##check_registry_zips
|
|
@ -1,33 +0,0 @@
|
|||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
# This file incorporates work covered by the following license notice:
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed
|
||||
# with this work for additional information regarding copyright
|
||||
# ownership. The ASF licenses this file to you under the Apache
|
||||
# License, Version 2.0 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
#
|
||||
PRJ=..
|
||||
|
||||
|
||||
|
||||
PRJNAME=postprocess
|
||||
TARGET=checkxml
|
||||
|
||||
.INCLUDE : settings.mk
|
||||
|
||||
.INCLUDE : target.mk
|
||||
|
||||
ALLTAR : $(MISC)$/checkxml.done
|
||||
|
||||
$(MISC)$/checkxml.done .PHONY:
|
||||
$(PERL) checkxml.pl
|
||||
|
|
@ -1,416 +0,0 @@
|
|||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
# This file incorporates work covered by the following license notice:
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed
|
||||
# with this work for additional information regarding copyright
|
||||
# ownership. The ASF licenses this file to you under the Apache
|
||||
# License, Version 2.0 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
#
|
||||
|
||||
PRJ = ..
|
||||
PRJNAME = postprocess
|
||||
TARGET = packcomponents
|
||||
|
||||
.INCLUDE: settings.mk
|
||||
|
||||
my_components = \
|
||||
component/animations/source/animcore/animcore \
|
||||
component/avmedia/util/avmedia \
|
||||
component/chart2/source/controller/chartcontroller \
|
||||
component/chart2/source/chartcore \
|
||||
component/canvas/source/factory/canvasfactory \
|
||||
component/canvas/source/simplecanvas/simplecanvas \
|
||||
component/canvas/source/vcl/vclcanvas \
|
||||
component/comphelper/util/comphelp \
|
||||
component/configmgr/source/configmgr \
|
||||
component/cppcanvas/source/uno/mtfrenderer \
|
||||
component/cui/util/cui \
|
||||
component/drawinglayer/drawinglayer \
|
||||
component/dtrans/util/mcnttype \
|
||||
component/embeddedobj/util/embobj \
|
||||
component/eventattacher/source/evtatt \
|
||||
component/fileaccess/source/fileacc \
|
||||
component/filter/source/config/cache/filterconfig1 \
|
||||
component/filter/source/flash/flash \
|
||||
component/filter/source/msfilter/msfilter \
|
||||
component/filter/source/odfflatxml/odfflatxml \
|
||||
component/filter/source/pdf/pdffilter \
|
||||
component/filter/source/placeware/placeware \
|
||||
component/filter/source/svg/svgfilter \
|
||||
component/filter/source/t602/t602filter \
|
||||
component/filter/source/textfilterdetect/textfd \
|
||||
component/filter/source/xmlfilteradaptor/xmlfa \
|
||||
component/filter/source/xmlfilterdetect/xmlfd \
|
||||
component/filter/source/xsltdialog/xsltdlg \
|
||||
component/filter/source/xsltfilter/xsltfilter \
|
||||
component/formula/util/for \
|
||||
component/fpicker/source/generic/fpicker \
|
||||
component/fpicker/source/office/fps_office \
|
||||
component/framework/util/fwk \
|
||||
component/framework/util/fwl \
|
||||
component/framework/util/fwm \
|
||||
component/hwpfilter/source/hwp \
|
||||
component/i18npool/source/search/i18nsearch \
|
||||
component/i18npool/util/i18npool \
|
||||
component/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphen \
|
||||
component/lingucomponent/source/languageguessing/guesslang \
|
||||
component/lingucomponent/source/spellcheck/spell/spell \
|
||||
component/lingucomponent/source/thesaurus/libnth/lnth \
|
||||
component/linguistic/source/lng \
|
||||
component/lotuswordpro/util/lwpfilter \
|
||||
component/oox/util/oox \
|
||||
component/package/source/xstor/xstor \
|
||||
component/package/util/package2 \
|
||||
component/sax/source/expatwrap/expwrap \
|
||||
component/sax/source/fastparser/fastsax \
|
||||
component/sc/util/sc \
|
||||
component/sc/util/scd \
|
||||
component/sc/util/scfilt \
|
||||
component/scaddins/source/analysis/analysis \
|
||||
component/scaddins/source/datefunc/date \
|
||||
component/scaddins/source/pricing/pricing \
|
||||
component/sd/util/sd \
|
||||
component/sd/util/sdd \
|
||||
component/sd/util/sdfilt \
|
||||
component/sdext/source/presenter/presenter \
|
||||
component/sfx2/util/sfx \
|
||||
component/slideshow/util/slideshow \
|
||||
component/sot/util/sot \
|
||||
component/starmath/util/sm \
|
||||
component/starmath/util/smd \
|
||||
component/svl/source/fsstor/fsstorage \
|
||||
component/svl/source/passwordcontainer/passwordcontainer \
|
||||
component/svl/util/svl \
|
||||
component/svtools/source/hatchwindow/hatchwindowfactory \
|
||||
component/svtools/util/svt \
|
||||
component/svgio/svgio \
|
||||
component/svx/util/svx \
|
||||
component/svx/util/svxcore \
|
||||
component/svx/util/textconversiondlgs \
|
||||
component/sw/util/msword \
|
||||
component/sw/util/sw \
|
||||
component/sw/util/swd \
|
||||
component/toolkit/util/tk \
|
||||
component/ucb/source/sorter/srtrs1 \
|
||||
component/ucb/source/core/ucb1 \
|
||||
component/ucb/source/cacher/cached1 \
|
||||
component/ucb/source/ucp/cmis/ucpcmis1 \
|
||||
component/ucb/source/ucp/expand/ucpexpand1 \
|
||||
component/ucb/source/ucp/ext/ucpext \
|
||||
component/ucb/source/ucp/file/ucpfile1 \
|
||||
component/ucb/source/ucp/ftp/ucpftp1 \
|
||||
component/ucb/source/ucp/hierarchy/ucphier1 \
|
||||
component/ucb/source/ucp/package/ucppkg1 \
|
||||
component/ucb/source/ucp/tdoc/ucptdoc1 \
|
||||
component/UnoControls/util/ctl \
|
||||
component/unotools/util/utl \
|
||||
component/unoxml/source/rdf/unordf \
|
||||
component/unoxml/source/service/unoxml \
|
||||
component/uui/util/uui \
|
||||
component/xmloff/source/transform/xof \
|
||||
component/xmloff/util/xo \
|
||||
component/xmlscript/util/xmlscript \
|
||||
component/xmlsecurity/util/xmlsecurity \
|
||||
component/xmlsecurity/util/xsec_fw \
|
||||
|
||||
.IF "$(BUILD_TYPE)" != "$(BUILD_TYPE:s/DBCONNECTIVITY//)"
|
||||
|
||||
my_components += \
|
||||
component/connectivity/source/drivers/calc/calc \
|
||||
component/dbaccess/source/ext/macromigration/dbmm \
|
||||
component/dbaccess/source/filter/xml/dbaxml \
|
||||
component/dbaccess/util/dba \
|
||||
component/dbaccess/util/dbu \
|
||||
component/dbaccess/util/sdbt \
|
||||
component/forms/util/frm \
|
||||
component/reportdesign/util/rpt \
|
||||
component/reportdesign/util/rptui \
|
||||
component/reportdesign/util/rptxml \
|
||||
component/connectivity/source/drivers/dbase/dbase \
|
||||
component/connectivity/source/cpool/dbpool2 \
|
||||
component/connectivity/source/dbtools/dbtools \
|
||||
component/connectivity/source/drivers/flat/flat \
|
||||
component/connectivity/source/drivers/mysql/mysql \
|
||||
component/connectivity/source/manager/sdbc2 \
|
||||
component/shell/source/backends/localebe/localebe1 \
|
||||
|
||||
.IF "$(OS)" != "ANDROID" && "$(OS)" != "IOS"
|
||||
my_components += \
|
||||
component/connectivity/source/drivers/odbc/odbc \
|
||||
|
||||
.ENDIF
|
||||
|
||||
.ENDIF
|
||||
|
||||
.IF "$(BUILD_TYPE)" != "$(BUILD_TYPE:s/DESKTOP//)"
|
||||
|
||||
my_components += \
|
||||
component/desktop/source/deployment/deployment \
|
||||
component/desktop/source/deployment/gui/deploymentgui \
|
||||
component/desktop/source/migration/services/migrationoo2 \
|
||||
component/desktop/source/migration/services/migrationoo3 \
|
||||
component/desktop/source/offacc/offacc \
|
||||
component/desktop/source/splash/spl \
|
||||
component/extensions/source/abpilot/abp \
|
||||
component/extensions/source/bibliography/bib \
|
||||
component/extensions/source/config/ldap/ldapbe2 \
|
||||
component/extensions/source/dbpilots/dbp \
|
||||
component/extensions/source/logging/log \
|
||||
component/extensions/source/propctrlr/pcr \
|
||||
component/extensions/source/resource/res \
|
||||
component/extensions/source/scanner/scn \
|
||||
component/extensions/source/update/feed/updatefeed \
|
||||
component/xmlhelp/source/treeview/tvhlp1 \
|
||||
component/xmlhelp/util/ucpchelp1 \
|
||||
|
||||
.IF "$(GUI)" == "UNX"
|
||||
my_components += \
|
||||
component/shell/source/unix/exec/syssh \
|
||||
|
||||
.ENDIF
|
||||
|
||||
.ENDIF
|
||||
|
||||
.IF "$(DISABLE_SCRIPTING)" != "TRUE"
|
||||
|
||||
my_components += \
|
||||
component/basctl/util/basctl \
|
||||
component/basic/util/sb \
|
||||
component/sc/util/vbaobj \
|
||||
component/scripting/source/basprov/basprov \
|
||||
component/scripting/source/dlgprov/dlgprov \
|
||||
component/scripting/source/protocolhandler/protocolhandler \
|
||||
component/scripting/source/pyprov/mailmerge \
|
||||
component/wizards/com/sun/star/wizards/fax/fax \
|
||||
component/wizards/com/sun/star/wizards/letter/letter \
|
||||
component/scripting/source/stringresource/stringresource \
|
||||
component/scripting/source/vbaevents/vbaevents \
|
||||
component/scripting/util/scriptframe \
|
||||
component/sw/util/vbaswobj \
|
||||
component/vbahelper/util/msforms \
|
||||
|
||||
.ENDIF
|
||||
|
||||
.IF "$(DISABLE_PYTHON)" != "TRUE"
|
||||
|
||||
my_components += \
|
||||
component/pyuno/source/loader/pythonloader \
|
||||
|
||||
.ENDIF
|
||||
|
||||
.IF "$(OS)" != "IOS"
|
||||
|
||||
my_components += \
|
||||
component/sccomp/source/solver/solver \
|
||||
component/writerfilter/util/writerfilter \
|
||||
component/writerperfect/util/wpftwriter \
|
||||
component/writerperfect/util/wpftdraw \
|
||||
|
||||
.ENDIF
|
||||
|
||||
.IF "$(OS)" != "WNT" && "$(OS)" != "MACOSX" && "$(OS)" != "IOS" && "$(OS)" != "ANDROID" && "$(GUIBASE)" != "headless"
|
||||
|
||||
my_components += \
|
||||
component/desktop/unx/splash/splash \
|
||||
|
||||
.ENDIF
|
||||
|
||||
.IF "$(DISABLE_ATL)" == ""
|
||||
.IF "$(OS)" == "WNT"
|
||||
my_components += component/embeddedobj/source/msole/emboleobj.windows
|
||||
.ELSE
|
||||
my_components += component/embeddedobj/source/msole/emboleobj
|
||||
.ENDIF
|
||||
.END
|
||||
|
||||
.IF "$(DISABLE_NEON)" != "TRUE"
|
||||
my_components += component/ucb/source/ucp/webdav-neon/ucpdav1
|
||||
.END
|
||||
|
||||
.IF "$(ENABLE_CAIRO_CANVAS)" == "TRUE"
|
||||
my_components += component/canvas/source/cairo/cairocanvas
|
||||
.END
|
||||
|
||||
.IF "$(ENABLE_GCONF)" != ""
|
||||
my_components += component/shell/source/backends/gconfbe/gconfbe1
|
||||
.END
|
||||
|
||||
.IF "$(ENABLE_GIO)" != ""
|
||||
my_components += \
|
||||
component/shell/source/sessioninstall/losessioninstall \
|
||||
component/ucb/source/ucp/gio/ucpgio
|
||||
.END
|
||||
|
||||
.IF "$(ENABLE_GNOMEVFS)" != ""
|
||||
my_components += component/ucb/source/ucp/gvfs/ucpgvfs
|
||||
.END
|
||||
|
||||
.IF "$(ENABLE_TDEAB)" != ""
|
||||
my_components += component/connectivity/source/drivers/kab/tdeab1
|
||||
.END
|
||||
|
||||
.IF "$(ENABLE_TDE)" != ""
|
||||
my_components += component/shell/source/backends/kdebe/tdebe1
|
||||
.END
|
||||
|
||||
.IF "$(ENABLE_KAB)" != ""
|
||||
my_components += component/connectivity/source/drivers/kab/kab1
|
||||
.END
|
||||
|
||||
.IF "$(ENABLE_KDE)" != ""
|
||||
my_components += component/shell/source/backends/kdebe/kdebe1
|
||||
.END
|
||||
|
||||
.IF "$(ENABLE_KDE4)" != ""
|
||||
my_components += component/shell/source/backends/kde4be/kde4be1
|
||||
.END
|
||||
|
||||
.IF "$(ENABLE_ONLINE_UPDATE)" == "TRUE"
|
||||
my_components += \
|
||||
component/extensions/source/update/check/updchk.uno \
|
||||
component/extensions/source/update/ui/updchk
|
||||
.END
|
||||
|
||||
.IF "$(ENABLE_OPENGL)" == "TRUE"
|
||||
my_components += component/slideshow/source/engine/OGLTrans/ogltrans
|
||||
.END
|
||||
|
||||
.IF "$(SOLAR_JAVA)" == "TRUE"
|
||||
my_components += \
|
||||
component/xmerge/source/bridge/XMergeBridge \
|
||||
component/scripting/java/ScriptFramework \
|
||||
component/scripting/java/ScriptProviderForJava \
|
||||
component/wizards/com/sun/star/wizards/agenda/agenda \
|
||||
component/wizards/com/sun/star/wizards/form/form \
|
||||
component/connectivity/source/drivers/hsqldb/hsqldb \
|
||||
component/connectivity/source/drivers/jdbc/jdbc \
|
||||
component/wizards/com/sun/star/wizards/query/query \
|
||||
component/wizards/com/sun/star/wizards/report/report \
|
||||
component/wizards/com/sun/star/wizards/table/table \
|
||||
component/wizards/com/sun/star/wizards/web/web
|
||||
.END
|
||||
|
||||
.IF "$(ENABLE_NPAPI_FROM_BROWSER)" == "YES"
|
||||
my_components += component/extensions/source/plugin/pl
|
||||
.END
|
||||
|
||||
.IF "$(ENABLE_PDFIMPORT)" == "TRUE"
|
||||
my_components += component/sdext/source/pdfimport/pdfimport
|
||||
.END
|
||||
|
||||
.IF "$(OS)" == "WNT"
|
||||
my_components += component/xmlsecurity/util/xsec_xmlsec.windows
|
||||
.ELIF "$(OS)" != "ANDROID" && "$(OS)" != "IOS" #FIXME, get nss&xmlsec building
|
||||
my_components += component/xmlsecurity/util/xsec_xmlsec
|
||||
.END
|
||||
|
||||
.IF "$(OS)" == "MACOSX"
|
||||
my_components += \
|
||||
component/connectivity/source/drivers/macab/macab1 \
|
||||
component/fpicker/source/aqua/fps_aqua \
|
||||
component/shell/source/backends/macbe/macbe1 \
|
||||
component/vcl/vcl.macosx
|
||||
.END
|
||||
|
||||
.IF "$(GUIBASE)" == "aqua"
|
||||
.IF "$(CPUNAME)" != "X86_64"
|
||||
my_components += \
|
||||
component/avmedia/source/quicktime/avmediaQuickTime
|
||||
.ENDIF
|
||||
my_components += \
|
||||
component/lingucomponent/source/spellcheck/macosxspell/MacOSXSpell
|
||||
.END
|
||||
|
||||
.IF "$(OS)" == "WNT"
|
||||
my_components += \
|
||||
component/connectivity/source/drivers/ado/ado \
|
||||
component/dtrans/source/generic/dtrans \
|
||||
component/dtrans/util/dnd \
|
||||
component/dtrans/util/ftransl \
|
||||
component/dtrans/util/sysdtrans \
|
||||
component/fpicker/source/win32/fps \
|
||||
component/shell/source/backends/wininetbe/wininetbe1 \
|
||||
component/shell/source/win32/simplemail/smplmail \
|
||||
component/shell/source/win32/syssh \
|
||||
component/vcl/vcl.windows
|
||||
.IF "$(SOLAR_JAVA)" == "TRUE"
|
||||
my_components += \
|
||||
component/accessibility/bridge/org/openoffice/accessibility/java_uno_accessbridge
|
||||
.END
|
||||
.END
|
||||
|
||||
.IF "$(GUIBASE)" == "headless"
|
||||
my_components += \
|
||||
component/vcl/vcl.headless
|
||||
.END
|
||||
|
||||
.IF "$(OS)" != "MACOSX" && "$(OS)" != "WNT" && "$(OS)" != "IOS" && "$(OS)" != "ANDROID" && "$(GUIBASE)" != "headless"
|
||||
my_components += \
|
||||
component/shell/source/backends/desktopbe/desktopbe1 \
|
||||
component/vcl/vcl.unx
|
||||
.END
|
||||
|
||||
.IF "$(OS)" == "WNT" && "$(DISABLE_ATL)" == ""
|
||||
my_components += \
|
||||
component/embedserv/util/emser \
|
||||
component/extensions/source/ole/oleautobridge
|
||||
.END
|
||||
|
||||
.IF "$(OS)" == "WNT" && "$(ENABLE_DIRECTX)" != ""
|
||||
my_components += \
|
||||
component/avmedia/source/win/avmediawin \
|
||||
component/canvas/source/directx/directx9canvas \
|
||||
component/canvas/source/directx/gdipluscanvas
|
||||
.END
|
||||
|
||||
.IF "$(OS)" == "WNT"
|
||||
.IF "$(WITH_MOZAB4WIN)" == "YES"
|
||||
my_components += component/connectivity/source/drivers/mozab/mozab
|
||||
.ELSE
|
||||
my_components += component/connectivity/source/drivers/mozab/bootstrap/mozbootstrap
|
||||
.END
|
||||
.ELIF "$(OS)" != "ANDROID" && "$(OS)" != "IOS"
|
||||
my_components += \
|
||||
component/connectivity/source/drivers/mork/mork \
|
||||
component/connectivity/source/drivers/mozab/bootstrap/mozbootstrap
|
||||
.END
|
||||
|
||||
.IF "$(OS)" != "WNT" && "$(OS)" != "ANDROID" && "$(OS)" != "IOS" && "$(OS)" != "headless"
|
||||
my_components += component/shell/source/cmdmail/cmdmail
|
||||
.END
|
||||
|
||||
.IF "$(OS)" != "WNT" && "$(ENABLE_EVOAB2)" != ""
|
||||
my_components += component/connectivity/source/drivers/evoab2/evoab
|
||||
.END
|
||||
|
||||
.IF "$(OS)" != "WNT" && "$(ENABLE_GSTREAMER)" != ""
|
||||
my_components += component/avmedia/source/gstreamer/avmediagstreamer
|
||||
.END
|
||||
|
||||
.IF "$(OS)" != "WNT" && "$(ENABLE_GSTREAMER_0_10)" != ""
|
||||
my_components += component/avmedia/source/gstreamer/avmediagstreamer_0_10
|
||||
.END
|
||||
|
||||
.INCLUDE: target.mk
|
||||
|
||||
ALLTAR : $(MISC)/services.rdb
|
||||
|
||||
$(MISC)/services.rdb .ERRREMOVE : $(SOLARENV)/bin/packcomponents.xslt \
|
||||
$(MISC)/services.input $(my_components:^"$(SOLARXMLDIR)/":+".component")
|
||||
$(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \
|
||||
$(SOLARENV)/bin/packcomponents.xslt $(MISC)/services.input
|
||||
|
||||
$(MISC)/services.input : makefile.mk
|
||||
echo \
|
||||
'<list>$(my_components:^"<filename>":+".component</filename>")</list>' \
|
||||
> $@
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
# This file incorporates work covered by the following license notice:
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed
|
||||
# with this work for additional information regarding copyright
|
||||
# ownership. The ASF licenses this file to you under the Apache
|
||||
# License, Version 2.0 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
#
|
||||
PRJ=..
|
||||
|
||||
|
||||
|
||||
PRJNAME=postprocess
|
||||
TARGET=uiconfig
|
||||
|
||||
.INCLUDE : settings.mk
|
||||
|
||||
.INCLUDE : target.mk
|
||||
|
||||
ALLTAR : $(BIN)$/uiconfig.zip
|
||||
|
||||
$(BIN)$/uiconfig.zip .PHONY:
|
||||
$(PERL) packconfig.pl -i $(SOLARXMLDIR)$/uiconfig -o $(BIN)$/
|
||||
|
|
@ -1,593 +0,0 @@
|
|||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
# This file incorporates work covered by the following license notice:
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed
|
||||
# with this work for additional information regarding copyright
|
||||
# ownership. The ASF licenses this file to you under the Apache
|
||||
# License, Version 2.0 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
#
|
||||
|
||||
PRJ = ..
|
||||
PRJNAME = postprocess
|
||||
TARGET = packregistry
|
||||
|
||||
MY_XCS = registry/schema/org/openoffice
|
||||
MY_XCU = registry/data/org/openoffice
|
||||
MY_MOD = registry/spool
|
||||
MY_DRIVERS =
|
||||
|
||||
MY_XCDS = \
|
||||
$(MISC)/base.xcd \
|
||||
$(MISC)/calc.xcd \
|
||||
$(MISC)/cjk.xcd \
|
||||
$(MISC)/ctl.xcd \
|
||||
$(MISC)/ctlseqcheck.xcd \
|
||||
$(MISC)/draw.xcd \
|
||||
$(MISC)/graphicfilter.xcd \
|
||||
$(MISC)/impress.xcd \
|
||||
$(MISC)/librelogo.xcd \
|
||||
$(MISC)/korea.xcd \
|
||||
$(MISC)/lingucomponent.xcd \
|
||||
$(MISC)/main.xcd \
|
||||
$(MISC)/math.xcd \
|
||||
$(MISC)/palm.xcd \
|
||||
$(MISC)/pocketexcel.xcd \
|
||||
$(MISC)/pocketword.xcd \
|
||||
$(MISC)/pyuno.xcd \
|
||||
$(MISC)/writer.xcd \
|
||||
$(MISC)/xsltfilter.xcd
|
||||
|
||||
MY_DEPS_base = main
|
||||
MY_FILES_base = \
|
||||
$(MY_MOD)/fcfg_database_filters.xcu \
|
||||
$(MY_MOD)/fcfg_database_others.xcu \
|
||||
$(MY_MOD)/fcfg_database_types.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Common-base.xcu \
|
||||
$(MY_MOD)/org/openoffice/Setup-base.xcu
|
||||
|
||||
MY_DEPS_calc = main
|
||||
MY_FILES_calc = \
|
||||
$(MY_XCS)/Office/UI/CalcCommands.xcs \
|
||||
$(MY_XCS)/Office/UI/CalcWindowState.xcs \
|
||||
$(MY_XCU)/Office/UI/CalcCommands.xcu \
|
||||
$(MY_XCU)/Office/UI/CalcWindowState.xcu \
|
||||
$(MY_MOD)/fcfg_calc_filters.xcu \
|
||||
$(MY_MOD)/fcfg_calc_types.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Common-calc.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Embedding-calc.xcu \
|
||||
$(MY_MOD)/org/openoffice/Setup-calc.xcu
|
||||
|
||||
.IF "$(BUILD_TYPE)" != "$(BUILD_TYPE:s/DBCONNECTIVITY//)"
|
||||
MY_FILES_calc += \
|
||||
$(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-calc.xcu
|
||||
MY_DRIVERS += calc
|
||||
.ENDIF
|
||||
|
||||
MY_DEPS_cjk = main
|
||||
MY_FILES_cjk = \
|
||||
$(MY_MOD)/org/openoffice/Office/Common-cjk.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Writer-cjk.xcu
|
||||
|
||||
MY_DEPS_ctl = main
|
||||
MY_FILES_ctl = \
|
||||
$(MY_MOD)/org/openoffice/Office/Common-ctl.xcu
|
||||
|
||||
MY_DEPS_draw = main
|
||||
MY_FILES_draw = \
|
||||
$(MY_XCS)/Office/UI/DrawWindowState.xcs \
|
||||
$(MY_XCU)/Office/UI/DrawWindowState.xcu \
|
||||
$(MY_MOD)/fcfg_draw_filters.xcu \
|
||||
$(MY_MOD)/fcfg_draw_types.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Common-draw.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Embedding-draw.xcu \
|
||||
$(MY_MOD)/org/openoffice/Setup-draw.xcu
|
||||
|
||||
MY_DEPS_graphicfilter = main
|
||||
MY_FILES_graphicfilter = \
|
||||
$(MY_MOD)/fcfg_drawgraphics_filters.xcu \
|
||||
$(MY_MOD)/fcfg_drawgraphics_types.xcu \
|
||||
$(MY_MOD)/fcfg_impressgraphics_filters.xcu \
|
||||
$(MY_MOD)/fcfg_impressgraphics_types.xcu
|
||||
|
||||
MY_DEPS_impress = main
|
||||
MY_FILES_impress = \
|
||||
$(MY_XCS)/Office/PresenterScreen.xcs \
|
||||
$(MY_XCS)/Office/UI/Effects.xcs \
|
||||
$(MY_XCS)/Office/UI/ImpressWindowState.xcs \
|
||||
$(MY_XCU)/Office/PresenterScreen.xcu \
|
||||
$(MY_XCU)/Office/UI/Effects.xcu \
|
||||
$(MY_XCU)/Office/UI/ImpressWindowState.xcu \
|
||||
$(MY_MOD)/fcfg_impress_filters.xcu \
|
||||
$(MY_MOD)/fcfg_impress_types.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Common-impress.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Embedding-impress.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Jobs-impress.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/ProtocolHandler-impress.xcu \
|
||||
$(MY_MOD)/org/openoffice/Setup-impress.xcu
|
||||
|
||||
MY_DEPS_librelogo = main writer
|
||||
MY_FILES_librelogo = \
|
||||
$(MY_MOD)/org/openoffice/Office/Addons-librelogo.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/UI/WriterWindowState-librelogo.xcu
|
||||
|
||||
MY_DEPS_korea = main
|
||||
MY_FILES_korea = \
|
||||
$(MY_MOD)/org/openoffice/Office/Common-korea.xcu
|
||||
|
||||
MY_DEPS_lingucomponent = main
|
||||
MY_FILES_lingucomponent = \
|
||||
$(MY_XCU)/Office/Linguistic-lingucomponent-hyphenator.xcu \
|
||||
$(MY_XCU)/Office/Linguistic-lingucomponent-spellchecker.xcu \
|
||||
$(MY_XCU)/Office/Linguistic-lingucomponent-thesaurus.xcu \
|
||||
|
||||
MY_FILES_main = \
|
||||
$(MY_XCS)/FirstStartWizard.xcs \
|
||||
$(MY_XCS)/Inet.xcs \
|
||||
$(MY_XCS)/Interaction.xcs \
|
||||
$(MY_XCS)/LDAP.xcs \
|
||||
$(MY_XCS)/Office/Accelerators.xcs \
|
||||
$(MY_XCS)/Office/Addons.xcs \
|
||||
$(MY_XCS)/Office/Calc.xcs \
|
||||
$(MY_XCS)/Office/CalcAddIns.xcs \
|
||||
$(MY_XCS)/Office/Canvas.xcs \
|
||||
$(MY_XCS)/Office/Chart.xcs \
|
||||
$(MY_XCS)/Office/Commands.xcs \
|
||||
$(MY_XCS)/Office/Common.xcs \
|
||||
$(MY_XCS)/Office/Compatibility.xcs \
|
||||
$(MY_XCS)/Office/DataAccess/Drivers.xcs \
|
||||
$(MY_XCS)/Office/DataAccess.xcs \
|
||||
$(MY_XCS)/Office/Draw.xcs \
|
||||
$(MY_XCS)/Office/Embedding.xcs \
|
||||
$(MY_XCS)/Office/Events.xcs \
|
||||
$(MY_XCS)/Office/ExtendedColorScheme.xcs \
|
||||
$(MY_XCS)/Office/ExtensionDependencies.xcs \
|
||||
$(MY_XCS)/Office/ExtensionManager.xcs \
|
||||
$(MY_XCS)/Office/FormWizard.xcs \
|
||||
$(MY_XCS)/Office/Histories.xcs \
|
||||
$(MY_XCS)/Office/Impress.xcs \
|
||||
$(MY_XCS)/Office/Java.xcs \
|
||||
$(MY_XCS)/Office/Jobs.xcs \
|
||||
$(MY_XCS)/Office/Labels.xcs \
|
||||
$(MY_XCS)/Office/Linguistic.xcs \
|
||||
$(MY_XCS)/Office/Logging.xcs \
|
||||
$(MY_XCS)/Office/Math.xcs \
|
||||
$(MY_XCS)/Office/OOoImprovement/Settings.xcs \
|
||||
$(MY_XCS)/Office/OptionsDialog.xcs \
|
||||
$(MY_XCS)/Office/Paths.xcs \
|
||||
$(MY_XCS)/Office/ProtocolHandler.xcs \
|
||||
$(MY_XCS)/Office/Recovery.xcs \
|
||||
$(MY_XCS)/Office/SFX.xcs \
|
||||
$(MY_XCS)/Office/Scripting.xcs \
|
||||
$(MY_XCS)/Office/Security.xcs \
|
||||
$(MY_XCS)/Office/Substitution.xcs \
|
||||
$(MY_XCS)/Office/TabBrowse.xcs \
|
||||
$(MY_XCS)/Office/TableWizard.xcs \
|
||||
$(MY_XCS)/Office/TypeDetection.xcs \
|
||||
$(MY_XCS)/Office/UI/BaseWindowState.xcs \
|
||||
$(MY_XCS)/Office/UI/BasicIDECommands.xcs \
|
||||
$(MY_XCS)/Office/UI/BasicIDEWindowState.xcs \
|
||||
$(MY_XCS)/Office/UI/BibliographyCommands.xcs \
|
||||
$(MY_XCS)/Office/UI/BibliographyWindowState.xcs \
|
||||
$(MY_XCS)/Office/UI/Category.xcs \
|
||||
$(MY_XCS)/Office/UI/ChartCommands.xcs \
|
||||
$(MY_XCS)/Office/UI/ChartWindowState.xcs \
|
||||
$(MY_XCS)/Office/UI/Commands.xcs \
|
||||
$(MY_XCS)/Office/UI/Controller.xcs \
|
||||
$(MY_XCS)/Office/UI/DbBrowserWindowState.xcs \
|
||||
$(MY_XCS)/Office/UI/DbQueryWindowState.xcs \
|
||||
$(MY_XCS)/Office/UI/DbRelationWindowState.xcs \
|
||||
$(MY_XCS)/Office/UI/DbTableDataWindowState.xcs \
|
||||
$(MY_XCS)/Office/UI/DbTableWindowState.xcs \
|
||||
$(MY_XCS)/Office/UI/DbuCommands.xcs \
|
||||
$(MY_XCS)/Office/UI/DrawImpressCommands.xcs \
|
||||
$(MY_XCS)/Office/UI/Factories.xcs \
|
||||
$(MY_XCS)/Office/UI/GenericCategories.xcs \
|
||||
$(MY_XCS)/Office/UI/GenericCommands.xcs \
|
||||
$(MY_XCS)/Office/UI/GlobalSettings.xcs \
|
||||
$(MY_XCS)/Office/UI/StartModuleCommands.xcs \
|
||||
$(MY_XCS)/Office/UI/StartModuleWindowState.xcs \
|
||||
$(MY_XCS)/Office/UI/WindowContentFactories.xcs \
|
||||
$(MY_XCS)/Office/UI/WindowState.xcs \
|
||||
$(MY_XCS)/Office/UI.xcs \
|
||||
$(MY_XCS)/Office/Views.xcs \
|
||||
$(MY_XCS)/Office/WebWizard.xcs \
|
||||
$(MY_XCS)/Office/Writer.xcs \
|
||||
$(MY_XCS)/Office/WriterWeb.xcs \
|
||||
$(MY_XCS)/Setup.xcs \
|
||||
$(MY_XCS)/System.xcs \
|
||||
$(MY_XCS)/TypeDetection/Filter.xcs \
|
||||
$(MY_XCS)/TypeDetection/GraphicFilter.xcs \
|
||||
$(MY_XCS)/TypeDetection/Misc.xcs \
|
||||
$(MY_XCS)/TypeDetection/Types.xcs \
|
||||
$(MY_XCS)/TypeDetection/UISort.xcs \
|
||||
$(MY_XCS)/UserProfile.xcs \
|
||||
$(MY_XCS)/VCL.xcs \
|
||||
$(MY_XCS)/ucb/Configuration.xcs \
|
||||
$(MY_XCS)/ucb/Hierarchy.xcs \
|
||||
$(MY_XCS)/ucb/InteractionHandler.xcs \
|
||||
$(MY_XCS)/ucb/Store.xcs \
|
||||
$(MY_XCU)/FirstStartWizard.xcu \
|
||||
$(MY_XCU)/Inet.xcu \
|
||||
$(MY_XCU)/Interaction.xcu \
|
||||
$(MY_XCU)/Office/Accelerators.xcu \
|
||||
$(MY_XCU)/Office/Calc.xcu \
|
||||
$(MY_XCU)/Office/Canvas.xcu \
|
||||
$(MY_XCU)/Office/Common.xcu \
|
||||
$(MY_XCU)/Office/Compatibility.xcu \
|
||||
$(MY_XCU)/Office/DataAccess.xcu \
|
||||
$(MY_XCU)/Office/Embedding.xcu \
|
||||
$(MY_XCU)/Office/ExtensionDependencies.xcu \
|
||||
$(MY_XCU)/Office/ExtensionManager.xcu \
|
||||
$(MY_XCU)/Office/FormWizard.xcu \
|
||||
$(MY_XCU)/Office/Histories.xcu \
|
||||
$(MY_XCU)/Office/Impress.xcu \
|
||||
$(MY_XCU)/Office/Jobs.xcu \
|
||||
$(MY_XCU)/Office/Labels.xcu \
|
||||
$(MY_XCU)/Office/Logging.xcu \
|
||||
$(MY_XCU)/Office/Math.xcu \
|
||||
$(MY_XCU)/Office/Paths.xcu \
|
||||
$(MY_XCU)/Office/ProtocolHandler.xcu \
|
||||
$(MY_XCU)/Office/SFX.xcu \
|
||||
$(MY_XCU)/Office/Scripting.xcu \
|
||||
$(MY_XCU)/Office/Security.xcu \
|
||||
$(MY_XCU)/Office/TableWizard.xcu \
|
||||
$(MY_XCU)/Office/UI/BaseWindowState.xcu \
|
||||
$(MY_XCU)/Office/UI/BasicIDECommands.xcu \
|
||||
$(MY_XCU)/Office/UI/BasicIDEWindowState.xcu \
|
||||
$(MY_XCU)/Office/UI/BibliographyCommands.xcu \
|
||||
$(MY_XCU)/Office/UI/ChartCommands.xcu \
|
||||
$(MY_XCU)/Office/UI/ChartWindowState.xcu \
|
||||
$(MY_XCU)/Office/UI/Controller.xcu \
|
||||
$(MY_XCU)/Office/UI/DbBrowserWindowState.xcu \
|
||||
$(MY_XCU)/Office/UI/DbQueryWindowState.xcu \
|
||||
$(MY_XCU)/Office/UI/DbRelationWindowState.xcu \
|
||||
$(MY_XCU)/Office/UI/DbTableDataWindowState.xcu \
|
||||
$(MY_XCU)/Office/UI/DbTableWindowState.xcu \
|
||||
$(MY_XCU)/Office/UI/DbuCommands.xcu \
|
||||
$(MY_XCU)/Office/UI/DrawImpressCommands.xcu \
|
||||
$(MY_XCU)/Office/UI/Factories.xcu \
|
||||
$(MY_XCU)/Office/UI/GenericCategories.xcu \
|
||||
$(MY_XCU)/Office/UI/GenericCommands.xcu \
|
||||
$(MY_XCU)/Office/UI/StartModuleCommands.xcu \
|
||||
$(MY_XCU)/Office/UI/StartModuleWindowState.xcu \
|
||||
$(MY_XCU)/Office/UI.xcu \
|
||||
$(MY_XCU)/Office/Views.xcu \
|
||||
$(MY_XCU)/Office/WebWizard.xcu \
|
||||
$(MY_XCU)/Office/Writer.xcu \
|
||||
$(MY_XCU)/Setup.xcu \
|
||||
$(MY_XCU)/System.xcu \
|
||||
$(MY_XCU)/TypeDetection/UISort.xcu \
|
||||
$(MY_XCU)/UserProfile.xcu \
|
||||
$(MY_XCU)/VCL.xcu \
|
||||
$(MY_XCU)/ucb/Configuration.xcu \
|
||||
$(MY_MOD)/fcfg_base_filters.xcu \
|
||||
$(MY_MOD)/fcfg_base_others.xcu \
|
||||
$(MY_MOD)/fcfg_base_types.xcu \
|
||||
$(MY_MOD)/fcfg_chart_filters.xcu \
|
||||
$(MY_MOD)/fcfg_chart_others.xcu \
|
||||
$(MY_MOD)/fcfg_chart_types.xcu \
|
||||
$(MY_MOD)/fcfg_internalgraphics_filters.xcu \
|
||||
$(MY_MOD)/fcfg_internalgraphics_types.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Embedding-chart.xcu \
|
||||
$(MY_MOD)/org/openoffice/Setup-start.xcu \
|
||||
$(MY_MOD)/org/openoffice/TypeDetection/UISort-calc.xcu \
|
||||
$(MY_MOD)/org/openoffice/TypeDetection/UISort-draw.xcu \
|
||||
$(MY_MOD)/org/openoffice/TypeDetection/UISort-impress.xcu \
|
||||
$(MY_MOD)/org/openoffice/TypeDetection/UISort-math.xcu \
|
||||
$(MY_MOD)/org/openoffice/TypeDetection/UISort-writer.xcu
|
||||
.IF "$(BUILD_TYPE)" != "$(BUILD_TYPE:s/DBCONNECTIVITY//)"
|
||||
MY_FILES_main += \
|
||||
$(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-dbase.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-flat.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-mysql.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-odbc.xcu
|
||||
MY_DRIVERS += dbase flat mysql odbc
|
||||
.ENDIF
|
||||
.IF "$(GUIBASE)" == "aqua"
|
||||
MY_FILES_main += \
|
||||
$(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-macab.xcu \
|
||||
$(MY_MOD)/org/openoffice/Inet-macosx.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Accelerators-macosx.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Common-macosx.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Paths-macosx.xcu
|
||||
# Inet-macosx.xcu must come after Inet.xcu
|
||||
MY_DRIVERS += macab
|
||||
.ELIF "$(GUIBASE)" == "unx"
|
||||
MY_FILES_main += \
|
||||
$(MY_MOD)/org/openoffice/Inet-unixdesktop.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Accelerators-unxwnt.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Common-UseOOoFileDialogs.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Common-unixdesktop.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Common-unx.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Paths-unixdesktop.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Paths-unxwnt.xcu \
|
||||
$(MY_MOD)/org/openoffice/UserProfile-unixdesktop.xcu \
|
||||
$(MY_MOD)/org/openoffice/VCL-unixdesktop.xcu
|
||||
# Inet-unixdesktop.xcu must come after Inet.xcu
|
||||
# VCL-unixdesktop.xcu must come after VCL.xcu
|
||||
.ELIF "$(GUIBASE)" == "WIN"
|
||||
MY_FILES_main += \
|
||||
$(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-ado.xcu \
|
||||
$(MY_MOD)/org/openoffice/Inet-wnt.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Accelerators-unxwnt.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Common-wnt.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Paths-unxwnt.xcu \
|
||||
$(MY_MOD)/org/openoffice/ucb/Configuration-win.xcu
|
||||
# Inet-wnt.xcu must come after Inet.xcu
|
||||
MY_DRIVERS += ado
|
||||
.ELIF "$(GUIBASE)" == "cocoatouch"
|
||||
# ?
|
||||
.ELIF "$(GUIBASE)" == "android"
|
||||
# ?
|
||||
.ELIF "$(GUIBASE)" == "headless"
|
||||
# ?
|
||||
.ELSE
|
||||
ERROR : unknown-GUIBASE
|
||||
.END
|
||||
.IF "$(DISABLE_NEON)" != "TRUE"
|
||||
MY_FILES_main += $(MY_MOD)/org/openoffice/ucb/Configuration-neon.xcu
|
||||
.END
|
||||
.IF "$(ENABLE_EVOAB2)" == "TRUE"
|
||||
MY_FILES_main += $(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-evoab2.xcu
|
||||
MY_FILES_main += $(MY_MOD)/org/openoffice/Office/DataAccess-evoab2.xcu
|
||||
MY_DRIVERS += evoab
|
||||
.END
|
||||
.IF "$(SOLAR_JAVA)" == "TRUE"
|
||||
MY_FILES_main += \
|
||||
$(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-hsqldb.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-jdbc.xcu
|
||||
MY_DRIVERS += hsqldb jdbc
|
||||
.END
|
||||
.IF "$(ENABLE_TDEAB)" == "TRUE"
|
||||
MY_FILES_main += $(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-tdeab.xcu
|
||||
.END
|
||||
.IF "$(ENABLE_KAB)" == "TRUE"
|
||||
MY_FILES_main += $(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-kab.xcu
|
||||
MY_DRIVERS += kab
|
||||
.END
|
||||
|
||||
.IF "$(OS)" == "WNT"
|
||||
.IF "$(WITH_MOZAB4WIN)" == "YES"
|
||||
MY_FILES_main += $(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-mozab.xcu
|
||||
MY_DRIVERS += mozab
|
||||
.END
|
||||
.ELIF "$(OS)" != "ANDROID" && "$(OS)" != "IOS"
|
||||
MY_FILES_main += $(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-mork.xcu
|
||||
MY_DRIVERS += mork
|
||||
.END
|
||||
|
||||
.IF "$(SYSTEM_LIBEXTTEXTCAT_DATA)" != ""
|
||||
MY_FILES_main += $(MY_MOD)/org/openoffice/Office/Paths-externallibexttextcatdata.xcu
|
||||
.ELSE
|
||||
MY_FILES_main += $(MY_MOD)/org/openoffice/Office/Paths-internallibexttextcatdata.xcu
|
||||
.END
|
||||
|
||||
MY_DEPS_math = main
|
||||
MY_FILES_math = \
|
||||
$(MY_XCS)/Office/UI/MathCommands.xcs \
|
||||
$(MY_XCS)/Office/UI/MathWindowState.xcs \
|
||||
$(MY_XCU)/Office/UI/MathCommands.xcu \
|
||||
$(MY_XCU)/Office/UI/MathWindowState.xcu \
|
||||
$(MY_MOD)/fcfg_math_filters.xcu \
|
||||
$(MY_MOD)/fcfg_math_types.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Common-math.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Embedding-math.xcu \
|
||||
$(MY_MOD)/org/openoffice/Setup-math.xcu
|
||||
|
||||
MY_DEPS_palm = main
|
||||
MY_FILES_palm = \
|
||||
$(MY_MOD)/fcfg_palm_filters.xcu \
|
||||
$(MY_MOD)/fcfg_palm_types.xcu
|
||||
|
||||
MY_DEPS_pocketexcel = main
|
||||
MY_FILES_pocketexcel = \
|
||||
$(MY_MOD)/fcfg_pocketexcel_filters.xcu \
|
||||
$(MY_MOD)/fcfg_pocketexcel_types.xcu
|
||||
|
||||
MY_DEPS_pocketword = main
|
||||
MY_FILES_pocketword = \
|
||||
$(MY_MOD)/fcfg_pocketword_filters.xcu \
|
||||
$(MY_MOD)/fcfg_pocketword_types.xcu
|
||||
|
||||
MY_DEPS_pyuno = main
|
||||
MY_FILES_pyuno = \
|
||||
$(MY_MOD)/org/openoffice/Office/Scripting-python.xcu
|
||||
|
||||
MY_DEPS_writer = main
|
||||
MY_FILES_writer = \
|
||||
$(MY_XCS)/Office/UI/WriterCommands.xcs \
|
||||
$(MY_XCS)/Office/UI/WriterFormWindowState.xcs \
|
||||
$(MY_XCS)/Office/UI/WriterGlobalWindowState.xcs \
|
||||
$(MY_XCS)/Office/UI/WriterReportWindowState.xcs \
|
||||
$(MY_XCS)/Office/UI/WriterWebWindowState.xcs \
|
||||
$(MY_XCS)/Office/UI/WriterWindowState.xcs \
|
||||
$(MY_XCS)/Office/UI/XFormsWindowState.xcs \
|
||||
$(MY_XCU)/Office/UI/WriterCommands.xcu \
|
||||
$(MY_XCU)/Office/UI/WriterFormWindowState.xcu \
|
||||
$(MY_XCU)/Office/UI/WriterGlobalWindowState.xcu \
|
||||
$(MY_XCU)/Office/UI/WriterReportWindowState.xcu \
|
||||
$(MY_XCU)/Office/UI/WriterWebWindowState.xcu \
|
||||
$(MY_XCU)/Office/UI/WriterWindowState.xcu \
|
||||
$(MY_XCU)/Office/UI/XFormsWindowState.xcu \
|
||||
$(MY_MOD)/fcfg_global_filters.xcu \
|
||||
$(MY_MOD)/fcfg_global_types.xcu \
|
||||
$(MY_MOD)/fcfg_web_filters.xcu \
|
||||
$(MY_MOD)/fcfg_web_types.xcu \
|
||||
$(MY_MOD)/fcfg_writer_filters.xcu \
|
||||
$(MY_MOD)/fcfg_writer_types.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Common-writer.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Embedding-writer.xcu \
|
||||
$(MY_MOD)/org/openoffice/Setup-writer.xcu
|
||||
|
||||
MY_DEPS_xsltfilter = main
|
||||
MY_FILES_xsltfilter = \
|
||||
$(MY_MOD)/fcfg_xslt_filters.xcu \
|
||||
$(MY_MOD)/fcfg_xslt_types.xcu
|
||||
|
||||
.IF "$(BUILD_POSTGRESQL_SDBC)" == "YES"
|
||||
MY_XCDS += $(MISC)/postgresqlsdbc.xcd
|
||||
MY_DEPS_postgresqlsdbc = main
|
||||
MY_FILES_postgresqlsdbc = $(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-postgresql.xcu
|
||||
MY_DRIVERS += postgresql
|
||||
.END
|
||||
|
||||
.IF "$(GUIBASE)" == "unx" && \
|
||||
(("$(ENABLE_GCONF)" == "TRUE" && "$(ENABLE_LOCKDOWN)" == "YES") || \
|
||||
"$(ENABLE_GIO)" == "TRUE")
|
||||
MY_XCDS += $(MISC)/gnome.xcd
|
||||
MY_DEPS_gnome = main
|
||||
.IF "$(ENABLE_GCONF)" == "TRUE" && "$(ENABLE_LOCKDOWN)" == "YES"
|
||||
MY_FILES_gnome += \
|
||||
$(MY_MOD)/org/openoffice/Office/Common-gconflockdown.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Recovery-gconflockdown.xcu \
|
||||
$(MY_MOD)/org/openoffice/VCL-gconflockdown.xcu
|
||||
.END
|
||||
.IF "$(ENABLE_GIO)" == "TRUE"
|
||||
MY_FILES_gnome += \
|
||||
$(MY_MOD)/org/openoffice/ucb/Configuration-gio.xcu
|
||||
.END
|
||||
.END
|
||||
|
||||
.IF "$(ENABLE_ONLINE_UPDATE)" == "TRUE"
|
||||
MY_XCDS += $(MISC)/onlineupdate.xcd
|
||||
MY_DEPS_onlineupdate = main
|
||||
MY_FILES_onlineupdate = \
|
||||
$(MY_MOD)/org/openoffice/Office/Addons-onlineupdate.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Jobs-onlineupdate.xcu
|
||||
.ENDIF
|
||||
|
||||
.IF "$(ENABLE_OPENGL)" == "TRUE"
|
||||
MY_XCDS += $(MISC)/ogltrans.xcd
|
||||
MY_DEPS_ogltrans = main
|
||||
MY_FILES_ogltrans = \
|
||||
$(MY_MOD)/org/openoffice/Office/Impress-ogltrans.xcu
|
||||
.END
|
||||
|
||||
.IF "$(ENABLE_PDFIMPORT)" == "TRUE"
|
||||
MY_XCDS += $(MISC)/pdfimport.xcd
|
||||
MY_OPTDEPS_pdfimport = calc draw impress math writer
|
||||
# HACK: for all fcfg_X_types.xcu in filter/Configuration_filter.mk that
|
||||
# include pdf_Portable_Document_Format (i.e., X in calc, draw, global,
|
||||
# impress, math, web, writer), add optional dependencies on those XCDS that
|
||||
# include those fcfg_X_types.xcu
|
||||
MY_FILES_pdfimport = pdfimport/pdf_import_filter.xcu pdfimport/pdf_types.xcu
|
||||
.END
|
||||
|
||||
.IF "$(GUIBASE)" == "WIN"
|
||||
MY_XCDS += $(MISC)/forcedefault.xcd
|
||||
MY_DEPS_forcedefault = main
|
||||
MY_FILES_forcedefault = \
|
||||
$(MY_MOD)/org/openoffice/Office/Linguistic-ForceDefaultLanguage.xcu
|
||||
.END
|
||||
|
||||
DRIVERS = driver_{$(MY_DRIVERS)}
|
||||
|
||||
.INCLUDE : settings.mk
|
||||
.INCLUDE : target.mk
|
||||
|
||||
ALLTAR : \
|
||||
$(MY_XCDS) \
|
||||
$(MISC)/lang/Langpack-{$(alllangiso)}.xcd \
|
||||
$(MISC)/lang/fcfg_langpack_{$(alllangiso)}.xcd \
|
||||
$(MISC)/lang/registry_{$(alllangiso)}.xcd
|
||||
|
||||
{$(MY_XCDS)} : $$(MY_FILES_$$(@:b):^"$(SOLARXMLDIR)/")
|
||||
|
||||
$(MISC)/%.xcd .ERRREMOVE : $(MISC)/%.list
|
||||
$(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \
|
||||
$(SOLARENV)/bin/packregistry.xslt $<
|
||||
|
||||
$(MISC)/%.list : makefile.mk
|
||||
- $(RM) $@
|
||||
echo '<list>' $(foreach,i,$(MY_DEPS_$(@:b)) '<dependency file="$i"/>') \
|
||||
$(foreach,i,$(MY_OPTDEPS_$(@:b)) \
|
||||
'<dependency file="$i" optional="true"/>') \
|
||||
$(foreach,i,$(MY_FILES_$(@:b)) '<filename>$i</filename>') '</list>' > $@
|
||||
|
||||
$(MISC)/lang/Langpack-{$(alllangiso)}.xcd : $(SOLARXMLDIR)/$(MY_MOD)/$$(@:b).xcu
|
||||
|
||||
$(MISC)/lang/Langpack-%.xcd .ERRREMOVE :
|
||||
$(MKDIRHIER) $(@:d)
|
||||
- $(RM) $(MISC)/$(@:b).list
|
||||
echo '<list><dependency file="main"/>' \
|
||||
'<filename>$(MY_MOD)/$(@:b).xcu</filename></list>' > $(MISC)/$(@:b).list
|
||||
$(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \
|
||||
$(SOLARENV)/bin/packregistry.xslt $(MISC)/$(@:b).list
|
||||
|
||||
$(MISC)/lang/fcfg_langpack_{$(alllangiso)}.xcd : $(SOLARPCKDIR)/$$(@:b).zip
|
||||
|
||||
# It can happen that localized $(SOLARPCKDIR)/fcfg_langpack_*.zip contain
|
||||
# zero-sized org/openoffice/TypeDectection/Filter.xcu; filter them out in the
|
||||
# find shell command below (see issue 110041):
|
||||
|
||||
$(MISC)/lang/fcfg_langpack_%.xcd .ERRREMOVE :
|
||||
$(MKDIRHIER) $(@:d)
|
||||
rm -rf $(MISC)/$(@:b).unzip
|
||||
mkdir $(MISC)/$(@:b).unzip
|
||||
cd $(MISC)/$(@:b).unzip && unzip $(SOLARPCKDIR)/$(@:b).zip
|
||||
- $(RM) $(MISC)/$(@:b).list
|
||||
# filter out filenames starting with "."
|
||||
echo '<list>' $(foreach,i,$(shell cd $(MISC) && \
|
||||
find $(@:b).unzip -name \[!.\]\*.xcu -size +0c -print) \
|
||||
'<filename>$i</filename>') '</list>' > $(MISC)/$(@:b).list
|
||||
$(XSLTPROC) --nonet --stringparam prefix $(PWD)/$(MISC)/ -o $@ \
|
||||
$(SOLARENV)/bin/packregistry.xslt $(MISC)/$(@:b).list
|
||||
|
||||
$(MISC)/lang/registry_{$(alllangiso)}.xcd : $(SOLARPCKDIR)/$$(@:b).zip
|
||||
|
||||
.IF "$(BUILD_TYPE)" != "$(BUILD_TYPE:s/DBCONNECTIVITY//)"
|
||||
$(MISC)/lang/registry_{$(alllangiso)}.xcd : $(SOLARPCKDIR)/{$(DRIVERS)}_$$(@:b:s/registry_//).zip
|
||||
.END
|
||||
|
||||
.IF "$(ENABLE_ONLINE_UPDATE)" == "TRUE"
|
||||
$(MISC)/lang/registry_{$(alllangiso)}.xcd : \
|
||||
$(SOLARPCKDIR)/updchk_$$(@:b:s/registry_//).zip
|
||||
.END
|
||||
|
||||
$(MISC)/lang/registry_%.xcd .ERRREMOVE :
|
||||
$(MKDIRHIER) $(@:d)
|
||||
- $(RM) $(MISC)/$(@:b).list
|
||||
echo '<list>' > $(MISC)/$(@:b).list
|
||||
# Add registry_*.zip content to *.list:
|
||||
rm -rf $(MISC)/$(@:b).unzip
|
||||
mkdir $(MISC)/$(@:b).unzip
|
||||
cd $(MISC)/$(@:b).unzip && unzip $(SOLARPCKDIR)/$(@:b).zip
|
||||
# Filter out filenames starting with ".":
|
||||
echo $(foreach,i,$(shell cd $(MISC) && \
|
||||
find $(@:b).unzip -name \[!.\]\*.xcu -print) \
|
||||
'<filename>$i</filename>') >> $(MISC)/$(@:b).list
|
||||
.IF "$(BUILD_TYPE)" != "$(BUILD_TYPE:s/DBCONNECTIVITY//)"
|
||||
# Add fcfg_drivers_*.zip content to *.list:
|
||||
rm -rf $(MISC)/{$(DRIVERS)}_$*.unzip
|
||||
mkdir $(MISC)/{$(DRIVERS)}_$*.unzip
|
||||
cd $(MISC) \
|
||||
$(foreach,driver,$(DRIVERS) \
|
||||
&& cd $(driver)_$*.unzip && \
|
||||
unzip $(SOLARPCKDIR)/$(driver)_$*.zip && \
|
||||
cd ..)
|
||||
echo $(foreach,i,$(shell cd $(MISC) && \
|
||||
find $(@:b).unzip {$(DRIVERS)}_$*.unzip -name \[!.\]\*.xcu -print) \
|
||||
'<filename>$i</filename>') >> $(MISC)/$(@:b).list
|
||||
.END
|
||||
.IF "$(ENABLE_ONLINE_UPDATE)" == "TRUE"
|
||||
# Add updchk_*.zip content to *.list:
|
||||
rm -rf $(MISC)/updchk_$*.unzip
|
||||
mkdir $(MISC)/updchk_$*.unzip
|
||||
cd $(MISC)/updchk_$*.unzip && unzip $(SOLARPCKDIR)/updchk_$*.zip
|
||||
# Filter out filenames starting with ".":
|
||||
echo $(foreach,i,$(shell cd $(MISC) && \
|
||||
find updchk_$*.unzip -name \[!.\]\*.xcu -print) \
|
||||
'<filename>$i</filename>') >> $(MISC)/$(@:b).list
|
||||
.END
|
||||
echo '</list>' >> $(MISC)/$(@:b).list
|
||||
$(XSLTPROC) --nonet --stringparam prefix $(PWD)/$(MISC)/ -o $@ \
|
||||
$(SOLARENV)/bin/packregistry.xslt $(MISC)/$(@:b).list
|
|
@ -1,7 +1,2 @@
|
|||
po postprocess :: CRASHREP:crashrep HELP:helpcontent2 ODK:odk MYSQLC:mysqlc DESKTOP:setup_native STLPORT:stlport sysui tail_build NULL
|
||||
po postprocess usr1 - all po_mkout NULL
|
||||
po postprocess\checkxml nmake - all po_checkxml NULL
|
||||
po postprocess\packconfig nmake - all po_packconfig po_checkxml NULL
|
||||
po postprocess\packregistry nmake - all po_packregistry NULL
|
||||
po postprocess\packcomponents nmake - all po_packcomponents NULL
|
||||
po postprocess\signing nmake - w,sign po_signing NULL
|
||||
po postprocess\prj nmake - all po_prj NULL
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
mkdir: %_DEST%\xml\ooo
|
||||
..\%__SRC%\bin\uiconfig*.zip %_DEST%\bin\
|
||||
..\%__SRC%\misc\*.xcd %_DEST%\xml\
|
||||
..\%__SRC%\misc\lang\*.xcd %_DEST%\xml\
|
||||
..\%__SRC%\misc\scriptproviderforbeanshell.rdb %_DEST%\xml\scriptproviderforbeanshell.rdb
|
||||
..\%__SRC%\misc\scriptproviderforjavascript.rdb %_DEST%\xml\scriptproviderforjavascript.rdb
|
||||
..\%__SRC%\misc\services.rdb %_DEST%\xml\services.rdb
|
|
@ -1,51 +0,0 @@
|
|||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
# This file incorporates work covered by the following license notice:
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed
|
||||
# with this work for additional information regarding copyright
|
||||
# ownership. The ASF licenses this file to you under the Apache
|
||||
# License, Version 2.0 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
#
|
||||
|
||||
PRJ=..
|
||||
|
||||
|
||||
PRJNAME=postprocess
|
||||
TARGET=signing
|
||||
|
||||
.INCLUDE : settings.mk
|
||||
|
||||
# PFXFILE has to be set elsewhere
|
||||
# PFXPASSWORD has to be set elsewhere
|
||||
|
||||
EXCLUDELIST=no_signing.txt
|
||||
LOGFILE=$(MISC)$/signing_log.txt
|
||||
IMAGENAMES=$(SOLARBINDIR)$/*.dll $(SOLARBINDIR)$/so$/*.dll $(SOLARBINDIR)$/*.exe $(SOLARBINDIR)$/so$/*.exe
|
||||
TIMESTAMPURL*="http://timestamp.verisign.com/scripts/timstamp.dll"
|
||||
|
||||
signing.done :
|
||||
.IF "$(WINDOWS_BUILD_SIGNING)"=="TRUE"
|
||||
.IF "$(COM)"=="MSC"
|
||||
.IF "$(product)"=="full"
|
||||
$(PERL) signing.pl -e $(EXCLUDELIST) -l $(LOGFILE) -f $(PFXFILE) -p $(PFXPASSWORD) -t $(TIMESTAMPURL) $(IMAGENAMES) && $(TOUCH) $(MISC)$/signing.done
|
||||
.ELSE # "$(product)"=="full"
|
||||
@echo Doing nothing on non product builds ...
|
||||
.ENDIF # "$(product)"=="full"
|
||||
.ELSE # "$(GUI)"=="MSC"
|
||||
@echo Nothing to do, signing is Windows \(MSC\) only.
|
||||
.ENDIF # "$(GUI)"=="MSC"
|
||||
.ELSE # "$(WINDOWS_BUILD_SIGNING)"=="TRUE"
|
||||
@echo Doing nothing. Windows build signing is disabled ...
|
||||
.ENDIF # "$(WINDOWS_BUILD_SIGNING)"=="TRUE"
|
||||
|
||||
.INCLUDE : target.mk
|
||||
|
Loading…
Reference in a new issue