summaryrefslogtreecommitdiffstats
path: root/bin/run
Commit message (Collapse)AuthorAgeFilesLines
* bin/run: missing exedir for macOSStephan Bergmann2019-11-171-0/+1
| | | | | | | | | | | | ...but even the you still get a failure > $ bin/run vcldemo > 2019-11-17 10:37:53.159 vcldemo[18891:7736267] No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting Change-Id: I7c11ee5a02c4a71cf3c79dc7b5b180c3e28c059b Reviewed-on: https://gerrit.libreoffice.org/83015 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Refactor bin/runJan-Marek Glogowski2018-12-191-48/+21
| | | | | | | | | Just merges some common code into setdefaults. Change-Id: I2ba2c06425bcfe569fa147af713a064a145a2018 Reviewed-on: https://gerrit.libreoffice.org/65367 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
* Buildsystem changes to recognize Haiku.Kacper Kasper2018-02-191-0/+22
| | | | | | | Change-Id: I219d556f8e124cfe426cc1ac3c54da34eb7ef790 Reviewed-on: https://gerrit.libreoffice.org/49925 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Jenkins <ci@libreoffice.org>
* migrate to boost::gettextCaolán McNamara2017-07-211-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * all .ui files go from <interface> to <interface domain="MODULE"> e.g. vcl * all .src files go away and the english source strings folded into the .hrc as NC_("context", "source string") * ResMgr is dropped in favour of std::locale imbued by boost::locale::generator pointed at matching MODULE .mo files * UIConfig translations are folded into the module .mo, so e.g. UIConfig_cui goes from l10n target to normal one, so the res/lang.zips of UI files go away * translation via Translation::get(hrc-define-key, imbued-std::locale) * python can now be translated with its inbuilt gettext support (we keep the name strings.hrc there to keep finding the .hrc file uniform) so magic numbers can go away there * java and starbasic components can be translated via the pre-existing css.resource.StringResourceWithLocation mechanism * en-US res files go away, their strings are now the .hrc keys in the source code * remaining .res files are replaced by .mo files * in .res/.ui-lang-zip files, the old scheme missing translations of strings results in inserting the english original so something can be found, now the standard fallback of using the english original from the source key is used, so partial translations shrink dramatically in size * extract .hrc strings with hrcex which backs onto xgettext -C --add-comments --keyword=NC_:1c,2 --from-code=UTF-8 --no-wrap * extract .ui strings with uiex which backs onto xgettext --add-comments --no-wrap * qtz for gettext translations is generated at runtime as ascii-ified crc32 of content + "|" + msgid * [API CHANGE] remove deprecated binary .res resouce loader related uno apis com::sun::star::resource::OfficeResourceLoader com::sun::star::resource::XResourceBundleLoader com::sun::star::resource::XResourceBundle when translating strings via uno apis com.sun.star.resource.StringResourceWithLocation can continue to be used Change-Id: Ia2594a2672b7301d9c3421fdf31b6cfe7f3f8d0a
* bin/run: fix LO_TRACE on WindowsMiklos Vajna2015-08-141-1/+1
| | | | | | | | | | exedir has to be in the c:/foo form, instead of /cygdrive/c/foo, otherwise a native wrapper set by LO_TRACE won't understand it. With this, it's possible to use DrMemory on executables invoked by bin/run. Change-Id: I5332342fdbf7d9e4859360dd7fbd3d74c149b2dc
* bin/run: Survive files with spaces in filenames.Jan Holesovsky2015-04-081-3/+3
| | | | Change-Id: Ifeeb839f82891057fe8e3e8fd6d537861d99f69f
* bin/run: fix indentationMiklos Vajna2015-03-071-44/+46
| | | | | | | Change-Id: I97d58f0e6780986356479279f91eba46951b1be0 Reviewed-on: https://gerrit.libreoffice.org/14783 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
* Make bin/run work better on OS XTor Lillqvist2015-01-191-4/+7
| | | | | | | The app bundle in instdir is called either LibreOffice.app or LibreOfficeDev.app. Change-Id: I2e21656324cc7c52380fc86023bb95c848bb3962
* bin/run LO_TRACE hookStephan Bergmann2014-12-101-3/+3
| | | | | | (similar to our CPPUNITTRACE hook) Change-Id: Iec4e8d4246ba7fca0afe5f9be6f6bcd9e0289e49
* bin/run: add WNT supportMichael Stahl2014-12-041-1/+23
| | | | Change-Id: I9dd1ae23d27c5733770314ca907b5d36b749fd74
* bin/run: Adapt to run on Debian so-called GNU/Linux systems tooMichael Stahl2014-12-041-2/+2
| | | | | | | | Amazingly Debian does not ship the realpath(1) from coreutils but has a separate source package for it, and it's not installed by default. Use readlink -f instead. Change-Id: I6e97c851e6ab96dac08771145e2ab39dd9c11c22
* Fold URE: Linux ure/lib/* -> program/Stephan Bergmann2014-11-281-1/+1
| | | | | | | The ../../../program/ links in the URE jar Class-Paths are a temporary kludge (and juh.jar had lacked adaption for Mac OS X). Change-Id: I2542d8a582866485dd61c05df3fc6b4b39a8403d
* No need to cd into instdir/programStephan Bergmann2014-11-181-1/+0
| | | | | | | (and it is confusing if you pass a relative pathname argument to the program you call via bin/run) Change-Id: If8baef6d76e1f9ad7e5f2d361bd9b93fcbb76f7a
* bin/run: add a license headerMichael Stahl2014-11-171-0/+7
| | | | Change-Id: I5461a0d4e372260623ebb8833d60a9dc318757dd
* Adapt bin/run for OS XStephan Bergmann2014-11-121-0/+23
| | | | | | ...which does not have realpath(1), so just require CWD to match BUILDDIR there Change-Id: I245241299d650c541f86cf440d3b57308c86d3fb
* bin/run: add a convenient shell wrapper to run executables from workdirMichael Stahl2014-10-311-0/+24
Change-Id: Ide3361fd5eba6462095cc45c0c99b1ab27a16262