# -*- 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/. # #- Env ------------------------------------------------------------------------ IOSGEN = $(BUILDDIR)/workdir/CustomTarget/ios IOSRES = $(IOSGEN)/resources IOSDIRS = $(IOSGEN) \ $(IOSGEN)/Debug_x86_64 \ $(IOSGEN)/Debug_arm64 \ $(IOSGEN)/Release_x86_64 \ $(IOSGEN)/Release_arm64 \ $(IOSRES) \ $(IOSRES)/services \ $(IOSRES)/program \ $(IOSRES)/share \ $(IOSRES)/config \ $(IOSRES)/share/filter #- Top level ----------------------------------------------------------------- $(eval $(call gb_CustomTarget_CustomTarget,ios/iOS_setup)) $(call gb_CustomTarget_get_target,ios/iOS_setup): $(IOSGEN)/native-code.h #- create directories -------------------------------------------------------- $(IOSDIRS): $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),MKD,2) $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),MKD) mkdir -p $(IOSDIRS) $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),MKD) #- Generate resources -------------------------------------------------------- $(IOSGEN)/native-code.h: $(BUILDDIR)/config_host.mk \ $(SRCDIR)/ios/CustomTarget_iOS_setup.mk \ $(SRCDIR)/solenv/bin/native-code.py \ $(IOSGEN) \ $(IOSDIRS) $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),EN2,2) $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),EN2) $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),EN2) # generate native-code.h (used by LibreOffice.c) xcrun python3 $(SRCDIR)/solenv/bin/native-code.py \ -C -g core -g writer -g calc -g draw -g edit \ > $(IOSGEN)/native-code.h # copy resource files used to start/run LibreOffice cp $(WORKDIR)/UnpackedTarball/icu/source/data/in/icudt$(ICU_MAJOR)l.dat $(IOSRES)/icudt$(ICU_MAJOR)l.dat cp $(INSTDIR)/program/types.rdb $(IOSRES)/udkapi.rdb cp $(INSTDIR)/program/types/offapi.rdb $(IOSRES) cp $(INSTDIR)/program/types/oovbaapi.rdb $(IOSRES) cp $(INSTDIR)/program/services/services.rdb $(IOSRES)/services cp $(INSTDIR)/program/services.rdb $(IOSRES) if test -d $(INSTDIR)/program/resource; then \ cp -R $(INSTDIR)/program/resource $(IOSRES)/program; \ fi mkdir -p $(IOSRES)/share/config cp -R $(INSTDIR)/share/config/soffice.cfg $(IOSRES)/share/config cp $(INSTDIR)/share/filter/oox-drawingml-adj-names $(IOSRES)/share/filter cp $(INSTDIR)/share/filter/oox-drawingml-cs-presets $(IOSRES)/share/filter cp $(INSTDIR)/share/filter/vml-shape-types $(IOSRES)/share/filter cp -R $(INSTDIR)/share/registry $(IOSRES)/share cp $(INSTDIR)/share/config/*zip $(IOSRES)/share/config cp -R $(INSTDIR)/share/liblangtag $(IOSRES)/share cp -R $(INSTDIR)/share/theme_definitions $(IOSRES)/share cp -R $(INSTDIR)/share/template $(IOSRES)/share mkdir -p $(IOSRES)/share/fonts cp -R $(INSTDIR)/share/fonts/truetype $(IOSRES)/share/fonts cp -R $(INSTDIR)/share/gallery $(IOSRES)/share mkdir -p $(IOSRES)/share/spell $(IOSRES)/share/thes # Install the Swiss German dictionary and use it for Liechtenstein, too. # Install also thesauruses. if test -d $(INSTDIR)/share/extensions/dict-de; then \ cp $(INSTDIR)/share/extensions/dict-de/de_CH_frami.aff $(IOSRES)/share/spell/de_CH.aff; \ cp $(INSTDIR)/share/extensions/dict-de/de_CH_frami.dic $(IOSRES)/share/spell/de_CH.dic; \ cp $(INSTDIR)/share/extensions/dict-de/de_CH_frami.aff $(IOSRES)/share/spell/de_LI.aff; \ cp $(INSTDIR)/share/extensions/dict-de/de_CH_frami.dic $(IOSRES)/share/spell/de_LI.dic; \ cp $(INSTDIR)/share/extensions/*/th_*_v2.* $(IOSRES)/share/thes; \ cp $(INSTDIR)/share/extensions/dict-en/th_en_US_v2.dat $(IOSRES)/share/thes/th_en_GB_v2.dat; \ cp $(INSTDIR)/share/extensions/dict-en/th_en_US_v2.idx $(IOSRES)/share/thes/th_en_GB_v2.idx; \ fi cp -R $(INSTDIR)/share/palette $(IOSRES)/share cp -R $(INSTDIR)/share/fingerprint $(IOSRES)/share cp $(SRCDIR)/ios/welcome.odt $(IOSRES) # Set up rc (the "inifile", fundamentalrc, unorc, bootstraprc and versionrc. (echo '[Bootstrap]' \ && echo 'URE_BOOTSTRAP=file://$$APP_DATA_DIR/fundamentalrc' \ && echo 'HOME=$$SYSUSERHOME' \ ) > $(IOSRES)/rc (echo '[Bootstrap]' \ && echo 'BRAND_BASE_DIR=file://$$APP_DATA_DIR' \ && echo 'BRAND_INI_DIR=file:://$$APP_DATA_DIR' \ && echo 'BRAND_SHARE_SUBDIR=$(LIBO_SHARE_FOLDER)' \ && echo 'BRAND_SHARE_RESOURCE_SUBDIR=$(LIBO_SHARE_RESOURCE_FOLDER)' \ && echo 'CONFIGURATION_LAYERS=xcsxcu:$${BRAND_BASE_DIR}/share/registry ' \ 'res:$${BRAND_BASE_DIR}/share/registry' \ && echo 'LO_LIB_DIR=file://$$APP_DATA_DIR/lib/' \ && echo 'UNO_TYPES=file://$$APP_DATA_DIR/udkapi.rdb ' \ 'file://$$APP_DATA_DIR/offapi.rdb' \ && echo 'UNO_SERVICES=file://$$APP_DATA_DIR/services.rdb ' \ 'file://$$APP_DATA_DIR/services/services.rdb' \ && echo 'OSL_SOCKET_PATH=$$APP_DATA_DIR/cache' \ ) > $(IOSRES)/fundamentalrc; echo '[Bootstrap]' > $(IOSRES)/unorc # bootstraprc must be in $BRAND_BASE_DIR/program (echo '[Bootstrap]' \ && echo 'InstallMode=' \ && echo "ProductKey=LibreOffice $(PRODUCTVERSION)" \ && echo 'UserInstallation=$$SYSUSERHOME' \ ) > $(IOSRES)/program/bootstraprc (echo '[Version]' \ && echo 'AllLanguages=en-US' \ && echo "buildid=$(shell git -C $(SRCDIR) log -1 --format=%H)" \ ) > $(IOSRES)/program/versionrc $(SRCDIR)/bin/lo-all-static-libs | sed -e 's/ /\ /g' >$(IOSGEN)/ios-all-static-libs.list #- clean ios ----------------------------------------------------------------- $(call gb_CustomTarget_get_clean_target,ios/iOS_setup): $(call gb_Output_announce,$(subst $(WORKDIR)/Clean/,,$@),$(false),ENV,2) rm -rf $(IOSRES)/* $(IOSGEN)/native-code.h $(IOSGEN) # vim: set noet sw=4 ts=4: ce-4-1-6+backports LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/reportbuilder
7
AgeCommit message (Expand)Author
2016-02-05Fix typosAndrea Gelmini
2016-02-04coverity#1326386 Dereference null return valueCaolán McNamara
2016-02-03reportbuilder: tdf#92720: add loext namespaceMichael Stahl
2016-01-21coverity#1326438 Dereference null return valueCaolán McNamara
2016-01-21coverity#1326551 Dereference before null checkCaolán McNamara
sal: clean up public headers with include-what-you-useMichael Stahl
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini
2014-07-08No atlsd.lib in VS 2013Tor Lillqvist
2014-05-30fdo#68849: Add header guards to all include filesJens Carl
2014-05-22Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part19Julien Nabet
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold
2014-05-10remove globally disabled warnings from source filesThomas Arnhold
2014-04-15cppu::OMultiTypeInterfaceContainerHelperVar hashImpl param is unusedStephan Bergmann
2014-03-10embedserv: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann
2014-02-26Remove visual noise from embedservAlexander Wilms
2014-02-23Remove unneccessary commentsAlexander Wilms
2014-01-29bool improvementsStephan Bergmann
2013-12-20typo fixesAndras Timar
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann
2013-12-06Default OMultiTypeInferfaceContainerHelperVar equalImpl parameterStephan Bergmann
2013-11-28clean up some COM initializationMichael Stahl
2013-11-20Use <windows.h> with a lower-case 'w' for cross-compilation goodnessTor Lillqvist
2013-11-20Windows: Require at least Windows XP SP2Thomas Arnhold
2013-11-19fdo#66232 fix opening files via COM serverAndras Timar
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin
2013-11-19remove most use of RTL_CONSTASCII_USTRINGPARAM macroNoel Grandin
2013-11-14embedserv: unused codeAndras Timar
2013-11-11remove unnecessary use of OUString constructorNoel Grandin
2013-10-23clean up some include guardsThomas Arnhold
2013-09-04WaE: C4723: potential divide by 0Tor Lillqvist
2013-09-01Make it possible to build without ATLNiklas Johansson
2013-07-26more liblibreoffice pieces.Michael Meeks
2013-06-29remove OUString wrap for string literalsThomas Arnhold