summaryrefslogtreecommitdiff
path: root/solenv/gbuild/extensions
AgeCommit message (Collapse)Author
2018-09-09gbuildtojson ide-integration: unblacklist most of modulesMike Kaganski
This unblacklistes following modules: connectivity compilerplugins dictionaries bridges helpcompiler helpcontent2 icon-themes javaunohelper lingucomponent odk solenv stoc translations udkapi unoidl Change-Id: I482f4256dd72bea1ed4a370aca41e0bd1829961c Reviewed-on: https://gerrit.libreoffice.org/60213 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-08-27rename ENABLE_HEADLESS option to DISABLE_GUINoel Grandin
since it has nothing to do with the headless command line option, so use the name it has in the configure.ac file Change-Id: Ibf0615ed02695d6e48a797f5632e4f417c010c70 Reviewed-on: https://gerrit.libreoffice.org/59611 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-11gbuildtojson: unblacklist i18npool scaddins toolsMike Kaganski
Change-Id: I26a41fa7afb2fd374103e7a4a321be35b4bf22a1 Reviewed-on: https://gerrit.libreoffice.org/51081 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-03-10gbuildtojson ide-integration: unblacklist sal cppu cppuhelper cpputoolsMike Kaganski
Change-Id: I329c643a564af7559e6c2f5cae79875266fec09c Reviewed-on: https://gerrit.libreoffice.org/51039 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-03-02gbuild-to-json: unblacklist shellMike Kaganski
Change-Id: I42f8a69c5deba1f83f6203f19e5f2fcfad837dea Reviewed-on: https://gerrit.libreoffice.org/50597 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-02-22solenv: Update gb_PackageInfo_emit_l10n_for_one_langRico Tzschichholz
Add cjk_*, ctl_* and ctlseqcheck_$LANG.xcd files to install list Change-Id: I2c56cf2af3cc444cb7075740a981b6954950e5f5 Reviewed-on: https://gerrit.libreoffice.org/50182 Reviewed-by: Rico Tzschichholz <ricotz@ubuntu.com> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2018-02-22solenv: Fix gb_MoTarget_get_install_target argumentRico Tzschichholz
This fixes l10n-*.files generation of packageinfo and makes "install-packages-l10n-*" targets work again. Change-Id: Ib4d726f1079360cade8d5f398b1f5144d6693152 Reviewed-on: https://gerrit.libreoffice.org/49528 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Rico Tzschichholz <ricotz@ubuntu.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-02-04gbuild-to-json: unblacklist extensionsMike Kaganski
Change-Id: I6accb1b363804a2935c92d471f7baff31771b5a0 Reviewed-on: https://gerrit.libreoffice.org/49202 Reviewed-by: jan iversen <jani@libreoffice.org> Tested-by: jan iversen <jani@libreoffice.org>
2017-11-24gbuild: handle GENCXXCLROBJECTS in gbuildtojsonMichael Stahl
Change-Id: Ib5808a715e4ba0e0a5d9eea8260ea72fd85ccda2
2017-10-25res files and .ui translations are goneDavid Tardon
Change-Id: I3d468ac495c37f8b155f14943bd0a0ac10bd9d06
2017-07-21migrate to boost::gettextCaolán McNamara
* 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
2017-04-14remove the old collaboration feature based on telepathyMarkus Mohrhard
Change-Id: I1f08d6ef43b76e7bae41ac33bb954f506ae7c485 Reviewed-on: https://gerrit.libreoffice.org/36542 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-02-21When building with clang-cl on Windows, build CLR code with MSVCStephan Bergmann
...as clang-cl doesn't support the /clr switch. * In configure.ac, capture the MSCV version (that would be used if CC hadn't been overridden to use clang-cl) into MSVC_CXX. * The logic which flags to pass into gb_CObject__command_pattern is coded into the platform-agnostic LinkTarget.mk, so it's too late to try and filter all relevant flags in com_GCC_class.mk, depending on whether a given .cxx file is a normal one built with the normal $CXX or a special /clr one built with $MSVC_CXX. Thus, a new CxxClrObject class had to be introduced that captures this information early. * When building with clang-cl, the generated config_host/config_*.h files contain values suitable for clang-cl, but not for MSVC. But the .cxx files compiled with MSVC happen to include config_global.h, and would fail. Hack around that problem for now by introducing a hard-coded, minimal solenv/clang-cl/config_global.h that is found first when buliding such a CxxClrObject. Needs cleaning-up properly. Change-Id: Iff8aac51c0b4fa906b14503c692640dda0996d33 Reviewed-on: https://gerrit.libreoffice.org/34509 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-01-26gbuildtojson support for yacc files.jan Iversen
added support for add_grammars macro Change-Id: I17955bd1534d9f43e1953691d985a18ee8241d38
2017-01-26gbuildtojson, added support for lex filesjan Iversen
added add_scanner macro Finalized the move around in gbuild-to-ide, to signal which generators are actively supported. Change-Id: I11699cd4380d49efc3b541abb7780b5136162433
2017-01-16post_GbuildToJson.mk, extended with extra file typesjan Iversen
Extended the call to gbuildtojson, with extra file types. Some filetypes still need data collection, this is noted in the file as todo. Change-Id: I3e832f82656236d42d1d7b59bf3ac2925c5b1568
2017-01-16gbuildtojson prepare for new filetypes.jan Iversen
gbuild-to-ide now contains a dict with json name -> file extension post_GbuildToJson.ml contains a todo list (missing files, new arguments) gbuildtojson.cxx made resistent (no extra argument list to maintain) Change-Id: I7f346f606ed5fba0a1eaffdd38454b484cecfcf5
2017-01-12gbuild: make 3.81 doesn't currently work with gbuildtojsonMichael Stahl
There is some problem with the pattern rule in post_GbuildToJson.mk being ignored, causing spurious workdir/GbuildToJson/Library/lib*.exports files with bogus content to be written; rather than trying to adapt that to 3.81 pattern rule evaluation, just refuse to run with 3.81, which is obsolete anyway. Change-Id: I492866464b309f8c475e34e8f311e42bf8736247
2017-01-12gbuild: fix "make gbuildtojson" on Mac OS XMichael Stahl
Fails because library has dep on GeneratedPackage_python3, so nerf the dep like the others. Change-Id: I050a0f50996ce4231eb966fb6b624908d2f1788c
2016-12-30Fix GbuildToJson for tests: Set source files correctlyMatúš Kukan
Need newline in gb_LinkTarget_add_foo_object. With that we can avoid direct gb_Executable_foo and gb_Library_foo. Change-Id: I1e2b1ef2f2a3e15f4bb81170f23265186ef47733 Reviewed-on: https://gerrit.libreoffice.org/32503 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-12-19lets always have at least dbtoolsCaolán McNamara
Change-Id: I72f768ad760fd9fa1e3ec988e5217672bca9c824 Reviewed-on: https://gerrit.libreoffice.org/32175 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-17also read Library check targetsBjoern Michaelsen
this should fix libscqahelper ending up with a wrong MAKEFILE, which then confuses gbuild-to-ide Change-Id: Ibf030b3d9dbf3ba92b7e119e847d7cd6104dedb2 Reviewed-on: https://gerrit.libreoffice.org/32107 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-12-14update to gbuildtojson for osxjan Iversen
Added extra gb_ macros, which seems to be used only for osx Removed second jurt in BLACKLIST (assuming it is not like "not not True") Change-Id: I989eb2e6de6f0edde7902b51f829442bd598eec2
2016-12-01tdf#97803: gbuild: Check that resource targets are registeredMatúš Kukan
And replace gb_AllLangResTarget_ALLTARGETS with gb_AllLangResTarget_REGISTERED which should have the same content and is already used. This actually helped to find a problem, fixed in 52d409f0d657f314a53f945c9ffb5b8025bea034 Change-Id: Iae551d7be221c5655dee1bc9ad273c8822d45178
2016-11-30gbuild: Prevent wrong use of gb_Helper_optional_for_hostMatúš Kukan
It's empty, unless gb_Side=build. This fixes commit 1193443b15b0e38cbfb41573b31acf9a8d90ce2c Change-Id: I83efad36d8f40c460d09ee1bd1addd7fb26c177b Reviewed-on: https://gerrit.libreoffice.org/31419 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-11-28de-blacklist writerfilter from gbuildtojsonBjoern Michaelsen
Change-Id: Ic3454a1fb7f32998ba468273ae7265ea7814debd Reviewed-on: https://gerrit.libreoffice.org/31310 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-11-28add cppunit tests to gbuildtojsonMarkus Mohrhard
Change-Id: I655190464e2b4289f5c51b194821f9288272d301 Reviewed-on: https://gerrit.libreoffice.org/31271 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-11-25fix around cornercases with cxxobjectsBjoern Michaelsen
Change-Id: Ibd5dad8ca69fa952e4751af961ad957017fbbe40 Reviewed-on: https://gerrit.libreoffice.org/31181 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-11-25rename foo target to something more meaningfulBjoern Michaelsen
- also use gb_Helper_MISCDUMMY were possible (this might fix the 'circular deps' warnings Change-Id: I419f39973b5c785c1d8ccba9f8ed75a77f08ffa2 Reviewed-on: https://gerrit.libreoffice.org/31117 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-11-25store makefile for targets in json tooBjoern Michaelsen
Change-Id: Iae2f497da5d0ee4f8961a5655573e45a562dd76d Reviewed-on: https://gerrit.libreoffice.org/31116 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-11-25rename the core parts of this from gbuildtoide to gbuildtojsonBjoern Michaelsen
- the json stuff is universal and not limited in use to IDEs - the IDE stuff should keep its gbuildtoide name Change-Id: If4f190fc6dffba219334d57a53c826515ed57c34 Reviewed-on: https://gerrit.libreoffice.org/31093 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-11-25Revert "Revert "improvements to gbuildtoide""Bjoern Michaelsen
This reverts commit ab9c578ed17cfd9c9a49f22d83f33b0546faedba, except for the problematic copy-all-SRCDIR top-level test. Change-Id: Ie9c2fd725199768ec04852a9bc09b09a331ce6ad Reviewed-on: https://gerrit.libreoffice.org/31092 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-11-22Revert "improvements to gbuildtoide"Michael Stahl
This reverts commit 294bfdfaada9ba85ddcf853650a8da9c10f25281. Unfortunately this shutil.copytree(self.srcdirnative, self.tempsrc) copies the entire SOURCEROOT into /tmp, with WORKDIR too if it's not an out-of-tree build, which is quite an excessive use of space, tmpfs or otherwise, and will no doubt make CI very happy.
2016-11-22improvements to gbuildtoideBjoern Michaelsen
- move supported module selection from the test directly into gbuild, it should not be possible now to have 'make gbuildtoide' failing, it should skip problematic parts - move from whitelisting to blacklisting bad modules - toplevel 'make gbuildtoide' should work now, so add test (limit to non-Windows for now, as Windows is stupid and slow) - remove spurious debug output in test Change-Id: I9838dd2fa091e5fb3e56f414f60164086e8f2076 Reviewed-on: https://gerrit.libreoffice.org/31072 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-11-08typo fix: ressource -> resourceAndras Timar
Change-Id: Id8d1c01b17e711a057a9f3f20e1d0f955b2ea6c8 Reviewed-on: https://gerrit.libreoffice.org/30690 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2016-10-31also stubify generated object addersBjoern Michaelsen
- This should unbreak vcl when configured with KDE/TDE CustomTargets Change-Id: I239e97b90174f3daef39e4a806a126cafba9d8e0 Reviewed-on: https://gerrit.libreoffice.org/30436 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-10-31populate library path to gbuildtojson in testsBjoern Michaelsen
the test environment clears LD_LIBRARY_PATH as it seems to cause trouble for make in ASAN. "make gbuildtoide" only runs the gbuildtojson exe, so make sure it gets the LD_LIBRARY_PATH that was filtered out from the make that starts it. Change-Id: I69ee0024232092aebcd1e8e11b002d6f7eb55c84 Reviewed-on: https://gerrit.libreoffice.org/30433 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-10-26add test for running gbuildtoide on non-build modulesBjoern Michaelsen
- do concat for json in C++, everything else seems fragile on Windows - have APPEND vars separately - check that gbuildtoide work on modules without a full build (modulo some blacklisted "creative" ones) Change-Id: I6fe267fee7d1b77d758072303729387dfeb8e6c8 Reviewed-on: https://gerrit.libreoffice.org/30293 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-10-26gbuild: missing emacs mode-linesMichael Stahl
Change-Id: Id767a98be85a7f3f4abb28891d0a5cac2057b0e0
2016-10-26i18nlangtag must presumably be dropped from Library_merged.mkStephan Bergmann
...after 475e4b477c6d7ae114c3ae51ba4872882af67a68 "Move i18nlangtag lib to URELIB"? Change-Id: I45c5d997ed30757157109c67f30b91c4073c6b0a
2016-10-24solenv: force gbuildtoide test to use the same "make" as the callerMichael Stahl
Possibly mis-matching make binaries could be the reason behind failures that have been observed on Jenkins: make[3]: Entering directory '/home/tdf/lode/jenkins/workspace/lo_gerrit/Config/windows_msc_dbgutil_32/solenv/qa/python/selftest' make[3]: *** internal error: invalid --jobserver-fds string 'gmake_semaphore_5488'. Stop. Also, to enable this: Revert "Revert "prep WinResTarget for WNT in testdir"" This reverts commit 6e261cb19e5751eb0553ad0c5b357b1a5747518c. Change-Id: Idb858b5eeced91f19c9dd5600c4fdc5370b73cc5 Reviewed-on: https://gerrit.libreoffice.org/30226 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-10-20Revert "prep WinResTarget for WNT in testdir"Giuseppe Castagno
Still random failures in Gerrit Windows builds. This reverts commit f5c54089b50718abf7c35aa81b150c509809d5c4. Change-Id: Iec48d2388691577ccd675b9a73941cedceebd527 Reviewed-on: https://gerrit.libreoffice.org/30103 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu> Tested-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-10-18prep WinResTarget for WNT in testdirBjoern Michaelsen
Change-Id: I04c050dca1212d247c9b11a996ba8f37c0a6492f Reviewed-on: https://gerrit.libreoffice.org/29825 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-10-14add gbuildtoide support for exesBjoern Michaelsen
Change-Id: I320ee341651dd0c92de5176c10aa5290afea1d38
2016-10-13Don't hard-code Library directory because of ExtensionLibraryMichael Stahl
Change-Id: I71a2e87279611a1a8f65ec86c47d26bbd5bd5f3b Reviewed-on: https://gerrit.libreoffice.org/29800 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-10-13gbuildtoide does not need depsBjoern Michaelsen
Change-Id: I806b8f445fad02e7dceff6263828fe9d8667341e
2016-10-13remove needless cascaded definesBjoern Michaelsen
Change-Id: Ie76dd70a6a0960ee49df6e31a171761fdaf88f53
2016-10-13add initial json export for gbuild dataBjoern Michaelsen
- also add gbuild selftest to test this (and possibly more later) Change-Id: Ia4ef41095613e596f39d107df700e929579ba45f Reviewed-on: https://gerrit.libreoffice.org/29744 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-08-18screenshots: add new global make targetArmin Le Grand
Up to now the screenshot creation was added/dependent of target slowcheck. Since quite some modules have added screenshot creations now, I added an own target 'screenshot' to allow to keep current slowcheck and screenshot creation separated Change-Id: I80a49a0db607edf8e0405672d570f624d29912e7
2016-07-11Fix --enable-mergelibs build.Jan Holesovsky
Change-Id: I839b9f8769508b8b4cc4e766db51188353767b0c