summaryrefslogtreecommitdiff
path: root/solenv/gbuild/Extension.mk
AgeCommit message (Collapse)Author
2015-06-23Revert "Typo: iff->if"Julien Nabet
This reverts commit cf92da3d6e1de14756efe3f1ee79f393a2f3787d. iff can mean "if and only if" so not a typo
2015-06-23Typo: iff->ifJulien Nabet
Change-Id: I3fc60856b5a56e71d70b55c89323be074bdec3b3
2015-03-25correctly rebuild extension desc. l10ns when langs changeDavid Tardon
Change-Id: I4fb99c446f1ea0892d9210885d9d93f3dfe24ceb
2014-12-18avoid exceeding commandline limitsChristian Lohmaier
don't use "zip -@" to read from stdin, as that expects one file per line also zip doesn't like the dos-lineend, so strip that using tr Change-Id: Ib5c9040a66390119aa7a46225f2d0c8f635bf39a
2014-11-10avoid exceeding commandline limitsChristian Lohmaier
by using make's file function via the var2file wrapper instead of using loooooong echo statements Change-Id: Ie81007ad7de8c4e9f4d07724fba3cbe0e93f821d
2014-09-12Use $(LIBO_SHARE_FOLDER) instead of hardcoded 'share'Tor Lillqvist
Change-Id: I073d44c0e3e8c6eff0e885f827fa661e3c8e5206
2014-04-11gbuild: More crude hacking to fix over-evalutation of gb_Extension_*COMMANDsStephan Bergmann
...in the spirit of 3e70e26cbc96667e2968cd325737053bf8bffb78 "gbuild: fix over- evaluation in gb_ExternalExecutable__set_internal" Change-Id: Ica0f8a029e18f66c470afb6a038a4746c919a8d6
2013-12-16Rebuild .oxt when manifest.xml changesStephan Bergmann
Change-Id: Iecd054809109368e2305b3fd4183e53a57a1ec45
2013-11-08gbuild: Extension: avoid re-build on missing translation description.xmlMichael Stahl
Change-Id: I6292f4ec235f8880176c2671ec7c8533168cdbeb
2013-11-04gbuild: fix gb_Extension_use_default_descriptionMichael Stahl
Passing a target local variable like $(LOCATION) to gb_Extension_add_file does not result in an actual dependency on the file. Change-Id: Ide77ab81f19877267056bf8e50d69c9cfedcda79
2013-10-31solver doesn't solve anything...Michael Stahl
... it is an abbreviation of "Solar Version". Since nobody can remember that: remove OUTDIR OUTDIR_FOR_BUILD SOLARVER SOLARVERSION solarpath and any mention thereof. Change-Id: Idb3031c4f25a76ac05b22ec67e3ca3e1e8e512ad Reviewed-on: https://gerrit.libreoffice.org/6515 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-10-26swext: fix wiki-publisher / apache-commons buildMichael Stahl
gb_Extension_use_package is inherently broken because it creates cyclic dependencies with gb_Extension_add_file. Fortunately it's not necessary because the added file is a target by virtue of being in the Package. There is another cyclic dependency that can be avoided by not using the Package in gb_ExternalProject__use_commons-logging. Change-Id: Id4ddd4f78d819e47882387533a2d64693b2879ea
2013-10-25stop using apache-commons jars from OUTDIR tooMichael Stahl
Change-Id: I0d9282cd3a267ad2d25b43adbf995365aaa56fa1
2013-10-24xmlhelp: remove Package_xslMichael Stahl
Change-Id: Id0a5213b39886e2f6929f7ff2c014ed861d1da91
2013-10-11do not copy testing extensions to instdirDavid Tardon
Change-Id: Ibd2f18a8998b3e182d8d5b8af9c9f74a8ac00744
2013-10-11copy extensions to instdirDavid Tardon
Change-Id: I67c74295beab25120effdc9373c7d74f225e9d5b
2013-09-22gbuild: remove libraries from OUTDIR and WORKDIRMichael Stahl
Refactor everything to find and link libraries directly in INSTDIR. - add gb_LinkTarget_get_linksearchpath_for_layer, and use it to set up -L paths for T_LDFLAGS in such a way that only allowed libraries can be linked against; i.e. it's not possible to link URE linktargets against OOO or not-installed libraries - gb_Library_get_target is now same as the gb_LinkTarget_get_target (TODO: this needs cleanup) - since a pattern rule won't work for linking libraries in INSTDIR, add a separate per-file rule for every INSTDIR lib - pattern rule can't find link target in the clean target any more so add a LINKTARGET variable - disable gb_Library_add_auxtarget, no auxtargets need to be copied - tweak the call to gb_Library_Library_platform to pass in a path in sdk/lib for the versioned URE libs - fix the Library clean target - add LAYER parameter to gb_LinkTarget_LinkTarget - adjust platform link commands - MSVC link command now uses explicit -manifestfile and -pdb parameters to keep misc. files out of INSTDIR - remove gb_Helper_OUTDIR_FOR_BUILDLIBDIR - adjust Extension, CppunitTest, JunitTest, PythonTest, Gallery, various CustomTargets to search INSTDIR - remove SDK library symlinks and import libs from odk/Package_lib - on Mac OS X, put .dylib symlinks into sdk/lib even though those are not packaged and would be created by the SDK configury; we need these to be somewhere for linking anyway - add a (unfortunately cyclic) dependency on Package ure_install to sal Change-Id: I70d88742f8c8232ad7b9521416275c67b64fe6cf
2013-09-22Revert "fdo#51115: gb_Extension_add_file: fix Windows build:"Michael Stahl
This actually should no longer be necessary since AUXTARGETS were fixed in 85b6a93cf41fb05e726027e34fcd805330e20414. This reverts commit e818f8fa1f79c2eb2d647678333b8d12599dda69.
2013-06-07One more gbuild $ -> $$ fixStephan Bergmann
Change-Id: I907e383f117044ef5d105e91991cdcf7ef1f4c9c
2013-06-07gbuild: fix library paths in gb_Extension__compile_help_onelangMichael Stahl
Apparently *COMMAND are evaluated once too much so the $ are lost. Change-Id: Iefc2a945b9ce708bc0f0f5490e1c2f2f7bba1616
2013-06-07gbuild: install extension directly from workdirMatúš Kukan
Also kill ExtensionTarget indirection causing duplication. Change-Id: I24f7e6d85df6acf2ededaade20dd1a788d916594
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-03-07Make gb_Extension_use_default_description/license explicitStephan Bergmann
...as a prerequisite for gbuild'ifying desktop/test/deployment/passive/, which builds a test extension that does not match those default description/license settings. Change-Id: I200ff0ceb9750ed4b1c187305f10469f789d29cb
2013-03-06Dead codeStephan Bergmann
Change-Id: Ie54e11da130d563e52a87b924b556966d055b73f
2012-12-10userfriendly make targets for build and cleanLuboš Luňák
So that now it's possible to do just 'make CppunitTest_sw_macros_test' instead of 'make /home/llunak/build/src/l2/workdir/unxlngx6/CppunitTest/sw_macros_test.test' Change-Id: Ibd1e9ef4fc825043a71bd669b2f5c37ffec68e33 Reviewed-on: https://gerrit.libreoffice.org/1253 Reviewed-by: Peter Foley <jpfoley2@gmail.com> Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2012-10-25gbuild: Extension: remove ugly "nodefaults" mode againMichael Stahl
Change-Id: I723f70224a00972993d5b8592dd5e3834be7fd84
2012-10-24make l10n of extensions work againDavid Tardon
Change-Id: I156f6bdf04d64abfdf482fd2bee13136528bff9b
2012-10-23gbuild: make ct2n module workMichael Stahl
- add a preparation target to ExtensionTarget so added files can depend on unpacked tarball or custom target - add a "nodefaults" mode to Extension to disable some stuff Change-Id: I1fce6e948cef0a6d976e2e6555ef5c5f8e90cffb
2012-10-01fdo#50163 move definition of PLATFORMID into configure.inAndras Timar
Change-Id: Iea8385aa9213ccde7e6650cb934361597d508250
2012-09-10add help.tree files to extensions' helpBence Babati
Change-Id: I2decf0178dea2722a752291f21e97cae4aab8074
2012-08-31fdo#53009: Compile extension help in gbuildStephan Bergmann
...as had been done in the old build system (solenv/inc/extension_helplink.mk). Especially for bundled extensions, this removes the need to compile the help data per user on first start. gb_Extension_add_helpfile(s) replaces gb_Extension_localize_help, and takes care of all the steps (localization, compilation, inclusion in .oxt), even for the en-US data (which was handled with additional gb_Extension_add_file calls before). Change-Id: Ie4bab66d3cad2b713780a23bf2606ca56cfff37f
2012-08-09change handling of description-LANG.txtDavid Tardon
Change-Id: Iecd7760af418f6e9ff7c9502e27011ee03962705
2012-08-09change handling of license fileDavid Tardon
This is a preparation for gbuildizing dictionaries, which does not contain registration/LICENSE like regular extensions. Change-Id: I9b186d101627872b522be0432f6daf21250eb497
2012-08-09refactor ExtensionDavid Tardon
Change-Id: Ie0fd71b6547d9e04a55ae9690b137579e581e006
2012-06-26fdo#51115: gb_Extension_add_file: fix Windows build:Michael Stahl
The DLL is not actually a make target, but is handled via the AUXTARGETS mechanism in LinkTarget.mk; add an ugly hack here to hopefully make adding libraries to extensions work. Change-Id: I85ee891fe8b7d470e09d9cb1d5a48d8b11b50d6e
2012-06-25gbuild: add gb_Extension_add_executableMichael Stahl
This is not really necessary, but consistent. Change-Id: Ic0249efac26c9977ede7ef591d517cc03542b002
2012-06-25fdo#51115: fix sdext extensions on Windows:Michael Stahl
The sdext extensions contain the .lib link stub instead of DLLs; add gb_Extension_add_library to get the correct DLL filename on Windows, and use it in presenter screen, presentation minimizer and PDF import extensions. Change-Id: Ie8113a6002f9038e4df798edc255208977ba9497
2012-05-17remove duplicated dependencyDavid Tardon
Change-Id: I4cfe3ce7b7dab5d3fb2d3ddfa28f0fa263593667
2012-05-16gbuild: fix build executable dependencies:Michael Stahl
Rules that invoke generated executables should have dependencies on those executables.
2012-05-09gbuild: remove gb_Helper_abbreviate_dirs_nativeMatúš Kukan
Change-Id: I0a3ad6553692fc21eaf96cf35e9c343b4d716c21
2012-05-09gbuild: use mixed paths on cygwinMatúš Kukan
make 3.82 understands mixed paths, so use them. This allows us to get rid of evil in BuildDirs.mk. Hopefully, life will be simpler now. Change-Id: I I I641f28c6af1948963f7004f8071af62e21caabb3
2012-05-05propmerge is not executable, only a scriptMatúš Kukan
Change-Id: I35c88dc5ffe1b4082d0ef9611dd2c698c0d4217e
2012-05-04do not handle description-* as special caseDavid Tardon
2012-05-04fdo#49136 install description-*.txtDavid Tardon
2012-05-04fix for cross-compilationDavid Tardon
2012-04-25fix extension help localization on WindowsAndras Timar
2012-04-09gbuild: simplify and unify gb_Helper_*native*Matúš Kukan
2012-04-08gbuild: "use" vs. "add":Michael Stahl
Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target)
2012-03-13missing $: announce only if something is happeningMatúš Kukan
2012-03-08quick hack to fix building sdext with l10nDavid Tardon