summaryrefslogtreecommitdiff
path: root/setup_native
AgeCommit message (Collapse)AuthorFilesLines
2024-03-21Drop C/C++ DEBUG macroStephan Bergmann4-4/+4
...(that was defined iff OSL_DEBUG_LEVEL >= 2) and replace its uses with OSL_DEBUG_LEVEL directly Change-Id: I807c15a02cc8ced9852287df0afb4808761d19d2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165067 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-03-13tdf#160180: bump copyright year to 2024Julien Nabet8-90/+90
Change-Id: I466b8f86e8a53a238ed2ce2d2b053dc519ff8eed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164794 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2023-11-18tdf#157716 - Rename "Language settings" to "Languages and Locales"t-aswath1-1/+1
Change-Id: Idd31b18c87998b03d884e7aa17197c459241abf9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159315 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
2023-11-09loplugin:unnecessarygetstr (clang-cl)Stephan Bergmann1-7/+7
(Thanks to Mike Kaganski for noticing the gotcha here that a naive replacement with > std::wstring(const wstring& str, size_type pos) would do something rather different than > std::wstring(const wchar_t* s, size_type n) does.) Change-Id: I78837c014cdc154f276db1a11a87aaf74319a9fc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159114 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-25small steps to getting ASAN on Windows workingNoel Grandin12-0/+12
Change-Id: Ie8941a7cc87cb5c5dba62e9356e960e45f5560d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158416 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-07-26tdf#144053 Compare version to ProductKey entry in bootstraprcPatrick Luby1-2/+2
Using the mdls command fails if macOS Spotlight is disabled for the path selected by the user. So, instead, check if the path contains a matching "ProductKey=<version>" line in its Contents/Resources/bootstraprc file. Change-Id: Idbf8e2712b9fae8efa0997cf5c5c0f3fa6e68658 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154718 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Patrick Luby <plubius@neooffice.org>
2023-06-09improve dictionary package descriptionsAndras Timar1-55/+55
Change-Id: I490b8a9b99dae76b92de3b5ed22bb27a9df21591
2023-01-01Bump copyright year to 2023Adolfo Jayme Barrientos8-90/+90
Change-Id: I699112a3e554013bab75b82d1eae00098216c886 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144893 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-09-07tdf#147021 Use std::size() instead of SAL_N_ELEMENTS() macroTomoyuki Kubota1-4/+1
Change-Id: Ibd3f56f6e669a3bb1c1926aa4affdcc46623c81e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131855 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-08-27Add Persian (fa-IR) dictionary to installsetAron Budea2-0/+16
Change-Id: I7abf38be5c8d8c8bfb7eb3a756695054b4275f9f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138892 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Jenkins
2022-05-18tdf#149106 Remove RenamePrgFolder and RemovePrgFolder custom msi actionsSamuel Mehrbrodt3-143/+0
This duplicates MSI functionality - if a folder cannot be written, MSI should request a reboot automatically. See https://bugs.documentfoundation.org/show_bug.cgi?id=149106#c17 for details. Change-Id: I65f295ff6e3bb22afc616feb2ba529413f3e24c0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134513 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> Tested-by: Jenkins
2022-05-11Add error handling to RenamePrgFolder and RemovePrgFolderSamuel Mehrbrodt1-4/+18
These routines can fail during MSI installation (seen leftover program_old folders, with program folder missing). We at least want to see the error in the MSI log file when this doesn't succeed. This outputs error messages like: MSI (s) (C4:5C) [10:47:54:280]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI37B4.tmp, Entrypoint: RemovePrgFolder CustomAction RemovePrgFolder returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox) Action ended 10:47:54: RemovePrgFolder. Return value 3. Change-Id: I4ce4099eeb3e0ee79eb4a2e1d3887f9810fd9669 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134160 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
2022-04-26Drop unused LanguageTool extensionGabor Kelemen1-15/+0
Do not bundle LanguageTool which is at a 10 year old version (1.7) while upstream has a lot of new releases (now at version 5.5.x) It is not bundled by any downstream distributions so it makes no much sense to keep it integrated here. Change-Id: Icd2ef151b1b8d0252ffa3db0caaba576f2783fa9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133356 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2022-04-26Drop unused CT2N extensionGabor Kelemen1-15/+0
It is not bundled by any downstream distributions so it makes no much sense to keep it integrated here. Change-Id: I80180e53e050b8b3cd1b173ef01b51e8d706f295 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133355 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2022-04-10loplugin:emptyStephan Bergmann1-1/+1
Change-Id: Ib52d0d4db0f50ba7551eadcb3db2920008596b59 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132761 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-02-14Adding Central Kurdish(ckb) Spell Checker & DictionaryOlivier Hallot2-0/+16
Part II (core) Dictionary packaging Based on https://gerrit.libreoffice.org/c/core/+/59882 Change-Id: Ib60553acf1764743918e666d4e6308c1976c6813 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129120 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
2022-01-29use mktemp for FAKEDBRPMCaolán McNamara1-1/+1
Change-Id: I53d0f027b60d681e16298531e3d890fafc43aea6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129062 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-28use mktemp for outdirCaolán McNamara1-2/+1
Change-Id: I2aa04ab31c0966167dee47b1c0ea6d2228e262da Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129065 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-28use mktemp for UNPACKDIRCaolán McNamara1-3/+1
Change-Id: If87fb28193f42e60419aa30b5ba7e4af6e05bbcf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129057 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-01-01Bump copyright year to 2021Adolfo Jayme Barrientos8-89/+89
Change-Id: Icbb000677066127fa67e8c22fb0ab6880acc0169
2021-10-29Fix misuses of NULL across Windows-only codeStephan Bergmann1-2/+2
...which defines NULL as a plain 0 integer literal instead of the GNU __null extension, so clang-cl's -Wnull-conversion cannot kick in. These findings are from an experimental build done with clang-cl and a modified > --- a/clang/lib/Headers/stddef.h > +++ b/clang/lib/Headers/stddef.h > @@ -83,6 +83,10 @@ typedef __WCHAR_TYPE__ wchar_t; > # if !defined(__MINGW32__) && !defined(_MSC_VER) > # define NULL __null > # else > -# define NULL 0 > +# if __cplusplus >= 201103L > +# define NULL nullptr > +# else > +# define NULL 0 > +# endif > # endif > #else > # define NULL ((void*)0) However, that build also ran into lots of places where 3rd-party code in external/ and Windows system headers caused issues when NULL is nullptr (which I worked around with various hacky patches for that build), so this is unfortunately not something that can easily be enabled generally. Change-Id: I10674464498a9bc63578d9e6cc32ddde23ab4f30 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124419 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-08-20Make some scripts more portableIlmari Lauhakangas3-3/+3
Change-Id: Ia89059eea51ca396a7c74143625ac9a6706de198 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120773 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2021-08-06Fix and simplify "any bundled extensions installed" checkStephan Bergmann1-6/+5
First, Extension_nlpsolver is not unconditionally covered by --with-java, but by a dedicated --enable-ext-nlpsolver (which requires --with-java). (I had overlooked that the whole Module_nlpsolver is conditional in RepositoryModule_host.mk.) So the check for Extension_nlpsolver should instead check for NLPSOLVER in BUILD_TYPE. Second, the check for --enable-ext-numbertext could check for NUMBERTEXT in BUILD_TYPE instead of checking for NUMBERTEXT_EXTENSION_PACK, as --enable-ext-numbertext sets both (cf. m4/libo_check_extension.m4). And third, any --enable-ext-* will set WITH_EXTRA_EXTENSIONS (cf. m4/libo_check_extension.m4), so all those various BUILD_TYPE checks can all be subsumed by a single WITH_EXTRA_EXTENSIONS check. (Which nicely reduces the maintenance burden mentioned in the commit message of f267340d300da6318435ed1b2ae48b9f4275e2c4 "Remove unused $(LIBO_SHARE_FOLDER)/extensions/package.txt.") Change-Id: Ifdf8b59febd49661500292ab2003c792d8cb60a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120104 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-08-06gb_Package_Package must specify a directoryStephan Bergmann1-1/+1
...even if unused, as otherwise a minimal --without-java build (i.e., where the ifeq in setup_native/Package_packinfo.mk actually triggers) failed with > setup_native/Package_packinfo.mk:18: *** gb_Package__check: Package setup_native_packinfo has not been defined. Stop. Change-Id: I0fa3640448da333294ee2ab25183df1ffee22533 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120094 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-08-05Remove unused $(LIBO_SHARE_FOLDER)/extensions/package.txtStephan Bergmann2-3/+9
There had originally been some back-and-forth among 134ae5da1cc6a5dfa4432063f930235c1a872bc0 "jl154 #162868# remove basis/presets/bundled/bundled.ini, and create always share/extensions folder", 4c333e8ac7f6135fb4e62e4960c826b278e8cc63 "jl154 #162868# removing the package.txt from the extensions folder. Extensions folder will be created in a different way than installing a dummy file", and 8f4cf9a16eb9936ef1e862ecdec7d30c9e240987 "jl154 #162868# guarantee existence of extensions folder" whether or not that dummy file was necessary to ensure creation of the (otherwise potentially empty) $(LIBO_SHARE_FOLDER)/extensions/ directory. That is no longer necessary with gb_Package_add_empty_directory (though the logic that had to be added to setup_native/Package_packinfo.mk now is a bit unfortunate, and will need to be updated whenever the list of potential bundled extensions changes). (And that dummy package.txt file is apparently not used to track whether per- user extension information needs to be updated when the contents of $(LIBO_SHARE_FOLDER)/extensions/ changes. That is rather done by comparing the status of the $(LIBO_SHARE_FOLDER)/extensions/ directory itself against user/extensions/bundled/lastsynchronized in the UserInstallation, see needToSyncRepository in desktop/source/deployment/misc/dp_misc.cxx.) Change-Id: I5b9956c508288945f32a88afaef57ac0b63dc27f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120081 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-04-27Add Mongolian dictionaryAndras Timar2-0/+16
Change-Id: I4613d2e5b77374cbc8fb72033b3dfcd8e2702712 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114733 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
2021-04-19Updated README.md filesHossein1-0/+3
* Updated README.md contents to fix various issues * Fixed source links by using [git:], processed by mkdocs scripts * Added README.md for ios, setup_native, unotest * Fixed issues with "underline" and "less than" sign Change-Id: I3e52a1d3372586c390ee6c42a2ef48bbabc81398 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114248 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2021-04-11Add Esperanto dictionariesAndras Timar2-0/+16
Change-Id: I22d73bb5a6e4d215dc35acdd4ded47d29882671e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113941 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
2021-04-02add back sal/macros.h for SAL_N_ELEMENTSTomoyuki Kubota1-0/+3
Change-Id: I5edb0632976e69530af38aaa334085796c103058 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113476 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-03-16tdf#134607 use kMDItemFSName instead of _kMDItemDisplayNameWithExtensionsChristian Lohmaier1-2/+2
apparently the latter is not available on older versions of macOS. https://developer.apple.com/documentation/coreservices/kmditemfsname lists it as in version 10.4 and not flagged as deprecated, so keeping fingers crossed that it is not affected by user-settings or similar… Change-Id: I208d22f2abd628e7d95babc23ddb145a88bcf5cc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112385 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2021-03-09Resolves tdf#133373 - macOS installer imageHeiko Tietze1-0/+0
Arrow moved a few pixels to the left Change-Id: Id804ca75f88325a1457f5297994ac91c2cea94da Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112155 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-02-05tdf#134607 mac-langpacks: always query for full name with extensionChristian Lohmaier1-2/+2
kMDItemDisplayName has different values depending on the setting whether to show extensions for all filetypes in Finder, breaking the detection/validation of the installation target in case the user doesn't use the default setting. Change-Id: Ic9605abaaa1f070f1f5ec9940190fd1dd2555bdf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110479 Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2021-01-27packaging: remove resolve_variables_in_downloadnameChristian Lohmaier1-104/+0
OOODOWNLOADNAME was set in the global section of openoffice.lst, so the code always did set the target path with set_download_filename. Thus remove the superfluous sub and then also the no longer used OOODOWNLOADNAME variables In the same vein: the "script that extracts a tarball that is appended to it" method is no longer in use since many years, delete that as well. Change-Id: I43481a3ec09e064ef77138e1cbfc1dba6854f2d5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110017 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2021-01-19add --disable-librelogo to disable LibreLogo at build timeMichael Stahl1-0/+37
Annoyingly the packinfo_*.txt don't support conditionals but we can work-around that with a little duplication. Change-Id: Id00a6831effcc63a917fc21d2cd201474fdb559d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109569 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2021-01-19Community splash screen without EditionHeiko Tietze1-0/+0
macOS installer shows also just Community now Change-Id: Ia71d3b3a376f8e5e2254f2863ea61f065fb2d86f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109558 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2021-01-18mac: don't put script files into Contents/MacOS or framework-bin directoryChristian Lohmaier1-1/+1
Signing them as executable code would require external attributes, and those in turn break packaging into hfs+ dmg when building on apfs with Big Sur. It is not a new thing - the old Code Signing in Depth technote https://developer.apple.com/library/archive/technotes/tn2206/_index.html already reads: "Store Python, Perl, shell, and other script files and other non-Mach-O executables in your app's Contents/Resources directory. While it's possible to sign such executables and store them in Contents/MacOS, this is not recommended. […] Put another way, a properly-signed app that has all of its files in the correct places will not contain any signatures stored as extended attributes." The patch does exactly that for LO and the shipped python framework and adds symlinks for the moved files. Same applies for the Language pack applescript and the tarball - those are also moved into Contents/Resources Change-Id: Iab21e77b73f941248ca89c6e80703fdf67a1057c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109537 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2021-01-06Fix MSVC 2019 16.8.3 --with-latest-c++ two-phase name lookup issuesStephan Bergmann2-0/+8
> C:/lo/core/setup_native/source/win32/customactions/inst_msu/inst_msu.cxx(105): error C2660: '`anonymous-namespace'::WriteLogElem': function does not take 5 arguments > C:/lo/core/setup_native/source/win32/customactions/inst_msu/inst_msu.cxx(83): note: see declaration of '`anonymous-namespace'::WriteLogElem' > C:/lo/core/setup_native/source/win32/customactions/inst_msu/inst_msu.cxx(118): note: see reference to function template instantiation 'void `anonymous-namespace'::WriteLogElem<char,std::string>(MSIHANDLE,MSIHANDLE,std::ostringstream &,UINT,const Ch *,const std::string &)' being compiled > with > [ > Ch=char > ] > C:/lo/core/setup_native/source/win32/customactions/inst_msu/inst_msu.cxx(382): note: see reference to function template instantiation 'void `anonymous-namespace'::WriteLog<char[18],std::string>(MSIHANDLE,const char (&)[18],const std::string &)' being compiled > C:/lo/core/setup_native/source/win32/customactions/inst_msu/inst_msu.cxx(105): error C2660: '`anonymous-namespace'::WriteLogElem': function does not take 6 arguments > C:/lo/core/setup_native/source/win32/customactions/inst_msu/inst_msu.cxx(83): note: see declaration of '`anonymous-namespace'::WriteLogElem' > C:/lo/core/setup_native/source/win32/customactions/inst_msu/inst_msu.cxx(118): note: see reference to function template instantiation 'void `anonymous-namespace'::WriteLogElem<char,std::string,char[6]>(MSIHANDLE,MSIHANDLE,std::ostringstream &,UINT,const Ch *,const std::string &,const char (&)[6])' being compiled > with > [ > Ch=char > ] > C:/lo/core/setup_native/source/win32/customactions/inst_msu/inst_msu.cxx(516): note: see reference to function template instantiation 'void `anonymous-namespace'::WriteLog<char[19],std::string,char[6]>(MSIHANDLE,const char (&)[19],const std::string &,const char (&)[6])' being compiled and > C:/lo/core/setup_native/source/win32/customactions/reg_dlls/reg_dlls.cxx(104): error C2660: '`anonymous-namespace'::WriteLogElem': function does not take 5 arguments > C:/lo/core/setup_native/source/win32/customactions/reg_dlls/reg_dlls.cxx(82): note: see declaration of '`anonymous-namespace'::WriteLogElem' > C:/lo/core/setup_native/source/win32/customactions/reg_dlls/reg_dlls.cxx(117): note: see reference to function template instantiation 'void `anonymous-namespace'::WriteLogElem<char,std::wstring>(MSIHANDLE,MSIHANDLE,std::ostringstream &,UINT,const Ch *,const std::wstring &)' being compiled > with > [ > Ch=char > ] > C:/lo/core/setup_native/source/win32/customactions/reg_dlls/reg_dlls.cxx(159): note: see reference to function template instantiation 'void `anonymous-namespace'::WriteLog<char[27],std::wstring>(MSIHANDLE,const char (&)[27],const std::wstring &)' being compiled Change-Id: I7e8c121f8589ae847c9e4fd12e218408ea9e451e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108836 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-01-03Bump copyright year to 2021Adolfo Jayme Barrientos7-86/+86
Change-Id: I3159bfc21a35fc80aef57c7d809d8ea8c62a732e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108566 Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2020-12-17package Korean(ko-KR) dictionaries into installsetDaeHyun Sung2-1/+16
Change-Id: I30cc4bdf4283cefb5985dc5380e2db5660d7d6e5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106840 Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2020-11-19tdf#123936 Formatting files in module setup_native with clang-formatPhilipp Hofer2-9/+9
Change-Id: I40c25e54b1348a17d4e639a77a1834462c8a5c27 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105705 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins
2020-08-04Improved loplugin:staticanonymous -> redundantstatic redux, clang-clStephan Bergmann3-7/+7
Change-Id: Ie6dc22edbcfdf05ab8d7d668cb7cc33b5b747995 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100100 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-07-12Related: tdf#82184: consider installer language for UI list to installMike Kaganski1-0/+9
If user has a language set as user locale, and installer is shown in that language, it's likely that that language is needed for installation. Change-Id: I37fb959291262b772ec8e1b35c687d64e0ee76a9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98612 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-07-12tdf#134748: handle Kazakh language in langid_to_stringMike Kaganski1-0/+1
Change-Id: I8829597b7e90ea52dc4a4bdd88cd07730a0c4f12 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98600 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-07-02Add Turkish (tr) dictionaryMuhammet Kara2-0/+16
Change-Id: Ibc1e7505e6a7492f4d0714c848a6d1eebcdf4a0a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97661 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-16macOS fix langpack installer with manually selected .app directoryChristian Lohmaier1-3/+4
For cases when there are multiple matching apps where the Languagepack might be installed to, the "make sure to launch LO once before installing the langpack" mechanism can fail. Even if it is the call "tell application <selection> to activate" that fails, the error handler assumes that the untar operation didn't work and suggests to retry with admin privileges, modifying the .app bundle before having it started once (AKA verified by gatekeeper), breaking the app. Passing the full path to the application object should fix that. Change-Id: I47d61ad68e225fbdba191702ba85598164602e81 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96449 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2020-06-16mac langpack script: simplify mdfind call to not use wildcard matchChristian Lohmaier1-1/+1
I think this is leftover from very early development stages when it didn't have placeholders, but literal OpenOffice or similar at the time. Not matching for wildcard but for full LibreOffice/LibreOfficeDev string makes removing the languagepacks from the match superfluous It was wrong anyway, since kMDItemDisplayName has the name without the .app extension (you'd have to use _kMDItemDisplayNameWithExtensions for that) Change-Id: I37b1ed2d23ea18fd81a8844f35c9cb0d5dc34211 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96441 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2020-06-16tdf#133511 adjust langpack script for removal of CFBundleGetInfoStringChristian Lohmaier1-1/+1
3a028418190790c3bbaf6e505ff55b7bb8c0b474 removed the string from Info.plist, but the languagepack install script tried to use that to make sure whatever the user selects/is found is from the dame type (dev vs release and codeline/version). Instead of doing multiple greps/multiline ones (there are multiple version strings in that file, only one being from LO itself…) use mdls instead to pick the interesting properties to build a "PRODUCTNAME FULLVERSION" string again we can match against. --raw switch is nul separated, so add additional xargs -0 in there instead of trying to match a nul with grep (without --raw it is a nice human readable multiline string) Change-Id: I049a8425709a0c41b61aa09452490b481d39e4d9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96439 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2020-05-06Resolves tdf#132701 - macOS installer image must be 72dpiHeiko Tietze1-0/+0
See also 12b389e838743dec662c70c4772553a96ad4f9ac Change-Id: Ib46cd37e29beac4c18b2f9ce5a74b01f6c357cbe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93500 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2020-05-05Some improvements to About box and brandingHeiko Tietze1-0/+0
* Label left-aligned (tdf#132322) * Long build string cut at 25 chars * Extra text such as Tinderbox info wraps now at Misc * UI-Language shortened to just UI * More padding between about image and text * Splash screen uses Vegur font * Splash with small border * Non-TDF logos have a "Community Edition" text Change-Id: I1ec31e22052e365f28fe91de3e083252975911c8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93444 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2020-04-30Resolves tdf#130778 - Branding for 7.0Heiko Tietze1-0/+0
Remaining installer images added TDF tagline removed White background on all splash screens Change-Id: Iafde896fd3ed58957ec16ba43565c56e85db925c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93199 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>