# -*- 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/. # instsetoo_ULFLIST := ActionTe \ Control \ CustomAc \ Error \ LaunchCo \ Property \ RadioBut \ UIText $(eval $(call gb_CustomTarget_CustomTarget,instsetoo_native/install)) $(eval $(call gb_CustomTarget_register_targets,instsetoo_native/install,\ install.phony \ $(if $(filter TRUE,$(WINDOWS_BUILD_SIGNING)),msi_signing.done) \ $(if $(filter-out WNT,$(OS)),\ bin/find-requires-gnome.sh \ bin/find-requires-x11.sh) \ $(foreach ulf,$(instsetoo_ULFLIST),win_ulffiles/$(ulf).ulf) \ )) .PHONY: $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/install.phony $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/install.phony: \ $(SRCDIR)/solenv/bin/make_installer.pl \ $(foreach ulf,$(instsetoo_ULFLIST),$(call gb_CustomTarget_get_workdir,instsetoo_native/install)/win_ulffiles/$(ulf).ulf) \ $(if $(filter-out WNT,$(OS)),\ $(addprefix $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/,\ bin/find-requires-gnome.sh \ bin/find-requires-x11.sh) \ ) \ $(call gb_Postprocess_get_target,AllModulesButInstsetNative) $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/bin/find-requires-%.sh: $(SRCDIR)/instsetoo_native/inc_openoffice/unix/find-requires-%.sh cat $< | tr -d "\015" > $@ chmod a+x $@ $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/win_ulffiles/%.ulf: \ | $(call gb_Postprocess_get_target,AllModulesButInstsetNative) $(eval $(call gb_CustomTarget_ulfex_rule,\ $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/win_ulffiles/%.ulf,\ $(SRCDIR)/instsetoo_native/inc_openoffice/windows/msi_languages/%.ulf,\ $(foreach lang,$(gb_TRANS_LANGS),\ $(gb_POLOCATION)/$(lang)/instsetoo_native/inc_openoffice/windows/msi_languages.po))) export ENABLE_DOWNLOADSETS ?= TRUE ifeq ($(OS),LINUX) export DONT_REMOVE_PACKAGE := TRUE endif export instsetoo_OUT := $(WORKDIR)/installation export LOCAL_OUT := $(instsetoo_OUT) export LOCAL_COMMON_OUT := $(instsetoo_OUT) instsetoo_native_WITH_LANG := en-US $(filter-out en-US,$(gb_WITH_LANG)) PRODUCTNAME_no_spaces := $(subst $(WHITESPACE),,$(PRODUCTNAME)) ifeq (WNT,$(OS)) define instsetoo_native_msitemplates TEMPLATE_DIR=$(dir $@)msi_templates \ && rm -rf $${TEMPLATE_DIR} \ && mkdir -p $${TEMPLATE_DIR}/Binary \ && for I in $(SRCDIR)/instsetoo_native/inc_$(1)/windows/msi_templates/*.* ; do $(GREP) -v '^#' "$$I" > $${TEMPLATE_DIR}/`basename $$I` || true ; done \ && $(GNUCOPY) $(SRCDIR)/instsetoo_native/inc_common/windows/msi_templates/Binary/*.* $${TEMPLATE_DIR}/Binary endef else instsetoo_native_msitemplates := endif define instsetoo_native_install_command $(call instsetoo_native_msitemplates,$(1)) $(call gb_Helper_print_on_error, \ cd $(dir $@) \ $(foreach pkgformat,$(5),\ && $(if $(filter-out archive,$(pkgformat)),ENABLE_STRIP=1) $(PERL) -w $< \ -f $(BUILDDIR)/instsetoo_native/util/openoffice.lst \ -l $(subst $(WHITESPACE),$(COMMA),$(strip $(2))) \ -p $(PRODUCTNAME_no_spaces)$(3) \ -u $(instsetoo_OUT) \ -buildid $(if $(filter deb0 rpm0,$(pkgformat)$(LIBO_VERSION_PATCH)),1,$(LIBO_VERSION_PATCH)) \ $(if $(filter WNT,$(OS)), \ -msitemplate $(dir $@)msi_templates \ -msilanguage $(dir $@)win_ulffiles \ ) \ $(4) \ -format $(pkgformat) \ $(if $(verbose),-verbose,-quiet) \ ),$@.log) endef $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/install.phony: $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,2) $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),PRL) rm -rf $(instsetoo_OUT) ifeq (TRUE,$(LIBO_TEST_INSTALL)) $(call instsetoo_native_install_command,openoffice,en-US,,,archive) unzip -q -d $(TESTINSTALLDIR) $(instsetoo_OUT)/$(PRODUCTNAME_no_spaces)/archive/install/en-US/LibreOffice*_archive.zip mv $(TESTINSTALLDIR)/LibreOffice*_archive/LibreOffice*/* $(TESTINSTALLDIR)/ rmdir $(TESTINSTALLDIR)/LibreOffice*_archive/LibreOffice* rmdir $(TESTINSTALLDIR)/LibreOffice*_archive ifeq (ODK,$(filter ODK,$(BUILD_TYPE))) $(call instsetoo_native_install_command,sdkoo,en-US,_SDK,,archive) unzip -q -d $(TESTINSTALLDIR) $(instsetoo_OUT)/$(PRODUCTNAME_no_spaces)_SDK/archive/install/en-US/LibreOffice*_archive_sdk.zip mv $(TESTINSTALLDIR)/LibreOffice*_archive_sdk/LibreOffice*_SDK/sdk \ $(TESTINSTALLDIR)/ rmdir $(TESTINSTALLDIR)/LibreOffice*_archive_sdk/LibreOffice*_SDK rmdir $(TESTINSTALLDIR)/LibreOffice*_archive_sdk endif else # LIBO_TEST_INSTALL $(call instsetoo_native_install_command,openoffice,$(if $(filter WNT,$(OS)),$(instsetoo_native_WITH_LANG),en-US),,,$(PKGFORMAT)) ifeq (ODK,$(filter ODK,$(BUILD_TYPE))) $(call instsetoo_native_install_command,sdkoo,en-US,_SDK,,$(PKGFORMAT)) endif ifeq (HELP,$(filter HELP,$(BUILD_TYPE))$(filter MACOSX,$(OS))) $(foreach lang,$(gb_HELP_LANGS),\ $(call instsetoo_native_install_command,ooohelppack,$(lang),,-helppack,$(PKGFORMAT))) endif ifneq (WNT,$(OS)) $(foreach lang,$(instsetoo_native_WITH_LANG),\ $(call instsetoo_native_install_command,ooolangpack,$(lang),,-languagepack,$(PKGFORMAT))) endif endif # LIBO_TEST_INSTALL touch $@ $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),PRL) TIMESTAMPURL ?= "http://timestamp.globalsign.com/scripts/timestamp.dll" $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/msi_signing.done: \ $(if $(filter HELP,$(BUILD_TYPE)),$(call gb_CustomTarget_get_workdir,instsetoo_native/install)/msi_helppack_signing.done) \ $(if $(filter ODK,$(BUILD_TYPE)),$(call gb_CustomTarget_get_workdir,instsetoo_native/install)/msi_sdk_signing.done) \ $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/msi_main_signing.done $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,2) $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),PRL) touch $@ $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),PRL) $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/msi_helppack_signing.done \ $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/msi_sdk_signing.done \ $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/msi_main_signing.done \ : $(SRCDIR)/postprocess/signing/signing.pl $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/install.phony $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/msi_main_signing.done: $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,2) $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),PRL) $(PERL) $(SRCDIR)/postprocess/signing/signing.pl \ -l $(subst .done,_log.txt,$@) \ $(if $(verbose),-v) \ $(if $(PFXFILE),-f $(PFXFILE)) \ $(if $(PFXPASSWORD),-p $(PFXPASSWORD)) \ $(if $(TIMESTAMPURL),-t $(TIMESTAMPURL)) \ -d $(PRODUCTNAME)\ $(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH) \ $(WORKDIR)/installation/$(PRODUCTNAME)/msi/install/*/*.msi \ && touch $@ $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),PRL) $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/msi_helppack_signing.done: $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,2) $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),PRL) $(PERL) $(SRCDIR)/postprocess/signing/signing.pl \ -l $(subst .done,_log.txt,$@) \ $(if $(verbose),-v) \ $(if $(PFXFILE),-f $(PFXFILE)) \ $(if $(PFXPASSWORD),-p $(PFXPASSWORD)) \ $(if $(TIMESTAMPURL),-t $(TIMESTAMPURL)) \ -d $(PRODUCTNAME)\ $(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)\ Helppack \ $(WORKDIR)/installation/$(PRODUCTNAME)_helppack/msi/install/*/*.msi \ && touch $@ $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),PRL) $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/msi_sdk_signing.done: $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,2) $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),PRL) $(PERL) $(SRCDIR)/postprocess/signing/signing.pl \ -l $(subst .done,_log.txt,$@) \ $(if $(verbose),-v) \ $(if $(PFXFILE),-f $(PFXFILE)) \ $(if $(PFXPASSWORD),-p $(PFXPASSWORD)) \ $(if $(TIMESTAMPURL),-t $(TIMESTAMPURL)) \ -d $(PRODUCTNAME)\ $(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)\ SDK \ $(WORKDIR)/installation/$(PRODUCTNAME)_SDK/msi/install/*/*.msi \ && touch $@ $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),PRL) # vim: set noet sw=4 ts=4: LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/setup_native
AgeCommit message (Expand)Author
2014-09-09Make the "Mac-like" or "canonical" app bundle structure always used on OS XTor Lillqvist
2014-08-13warning C4189: local variable is initialized but not referencedThomas Arnhold
2014-08-07cppcheck: va_list 'args' was opened but not closed by va_end()Julien Nabet
2014-08-02setup_native, scp2: remove "regpatchactivex" MSI custom-action and libMichael Stahl
2014-07-11follow up fdo#81218 - update Copyright year in DEB filesJoren De Cuyper
2014-07-11fdo#81218 - update Copyright year in DEB filesJoren De Cuyper
2014-07-02Filter out all -fsanitize= args when building libgetuid.soStephan Bergmann
2014-06-09Use essentially the same OS X code signing script as in libreoffice-4-2Tor Lillqvist
2014-06-06fixincludeguards: fix include guardsThomas Arnhold
2014-05-30remove fsanitize=address from libgetuid.so makefileMarkus Mohrhard
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold
2014-05-01Many spelling fixes: directories r* - z*.Pedro Giffuni
2014-04-29Mismatch alloc/deallocJulien Nabet
2014-04-17remove executable bitAndras Timar
2014-04-15oox: generate data, not code for drawingML export adjustment valuesMiklos Vajna
2014-04-07scp2: move firebird into base.Andrzej Hunt
2014-02-26Remove visual noise from setup_nativeAlexander Wilms
2014-02-23Remove unneccessary commentsAlexander Wilms
2014-01-09fdo#70596 - fix version dependency for linux package - 2nd tryChristian Lohmaier
2013-12-27fdo#72945 sort languages in Windows custom install tree viewAndras Timar
2013-12-20typo fixesAndras Timar
2013-12-18Remove unnecessary macrosStephan Bergmann
2013-12-13Targetted text updates, with seasonable changes before l10n freeze.Michael Meeks
2013-12-12Looks like the Windows tag is still LANG_ORIYA, one moreStephan Bergmann
2013-12-11Related: rhbz#1040291 Change language name from 'Oriya' to 'Odia'Caolán McNamara
2013-11-24Add lo_LA (Lao) dictionary fdo#71939Andras Timar
2013-11-20setup_native: warning C4005: macro redefinitionMichael Stahl
2013-11-20Windows: Require at least Windows XP SP2Thomas Arnhold
2013-11-20fdo#70596 - fix version dependency for deb-packagesChristian Lohmaier
2013-11-19renamed ku* to kmr-Latn*, fdo#63460Eike Rathke
2013-11-18renamed ku* to kmr-Latn*, fdo#63460Eike Rathke
2013-10-31setup_native: remove Package_ulfMichael Stahl
2013-10-31setup_native: remove Package_scripts_generatedMichael Stahl
2013-10-31setup_native: Package_packinfo to INSTDIRMichael Stahl
2013-10-31setup_native: Package_misc to INSTDIRMichael Stahl
2013-10-31setup_native: find all static files in source/packinfoMichael Stahl
2013-10-31setup_native: deliver Package_scripts to INSTDIRMichael Stahl
2013-10-31setup_native: use various scripts directly from SRCDIRMichael Stahl
2013-10-31setup_native: remove obsolete scriptsMichael Stahl
2013-10-31setup_native: remove unused shellscripts*.txtMichael Stahl
2013-10-31setup_native: these 2 mac files are already hard-coded in installerMichael Stahl
2013-10-31setup_native: remove root[345].datMichael Stahl
2013-10-28gbuild: set Package default target to INSTDIRMichael Stahl
2013-10-25fdo#65102 respect user's choice not to install desktop iconAndras Timar
2013-10-18Remove *_Test product, so cppunittester can be NONE againStephan Bergmann
2013-10-14fdo#61950 De-extensionize presentation minimizerDavid Ostrovsky
2013-10-09fdo»67074 push the localized macinstall.ulf to solverAndras Timar
2013-10-08fdo#52004 set resolution of .dmg background image to 72DPIAndras Timar