summaryrefslogtreecommitdiff
path: root/data
Commit message (Collapse)AuthorAgeFilesLines
* syntax-highlighting: vim: add license header [skip ci]Liam Beguin2019-10-183-0/+3
| | | Add a license header before getting them in the Vim runtime.
* syntax-highlighting: vim: set comment stringLiam Beguin2019-10-141-0/+3
| | | | | | | Vim can automatically comment and format comments. Set the necessary variable to enable that feature. See `:help format-comments` for more information.
* Add is_disabler functionJames Hilliard2019-08-121-0/+1
| | | | | | This is useful if one needs to check if a variable is a disabler. Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
* Add alias_target() functionXavier Claessens2019-07-101-0/+1
|
* RPM Macros: Use `meson test` for %meson_testStephen Gallagher2019-04-281-1/+11
| | | | | | | | | | | | | | | Previously, this called out to the %ninja_test macro to run the tests, but that limits us to only the arguments that ninja can understand. In particular, it is not possible to add a test timeout multiplier (such as is sometimes needed when building for slow architectures such as armv7hl). With this patch, it will be possible to specify `%meson_test -t 5` in the RPM spec file without needing to patch the sources to extend the timeouts, making life easier for packagers. Related: https://github.com/mesonbuild/meson/issues/2037 Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
* Revert "rpm: Always set b_ndebug to true"Igor Gnatenko2019-04-081-1/+0
| | | | | | | | It turned out that it is not really good idea. This reverts commit da1bb49787b2f65ca3a4c3c3fb0d9eda822f3275. Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* rpm: Always set b_ndebug to trueIgor Gnatenko2019-03-261-0/+1
| | | | | | 'if-release' does not catch buildtype=plain, so we need to do this. Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* bash/zsh: drop completion for deprecated commandEric Engestrom2019-03-082-42/+1
|
* zsh: complete targetsEric Engestrom2019-02-201-2/+16
|
* add Bash completion scriptEric Engestrom2019-02-201-0/+441
|
* Remove argv2, which is not supported by polkit. Closes #4758.Jussi Pakkanen2019-01-151-1/+0
|
* rpm: remove manual printing of error logs on failureZbigniew Jędrzejewski-Szmek2019-01-041-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This effectively reverts 92219a2739ea69fa617cca74517b68ed5e1bcb7d. Back in the day, meson test would not print the logs on failure. But it now does that automatically, for the failed test. Printing all logs is annoying because it results in exteremely long output in some packages. Example output: + /usr/bin/ninja test -v -j4 -C x86_64-redhat-linux-gnu ninja: Entering directory `x86_64-redhat-linux-gnu' [0/1] /usr/bin/meson test --no-rebuild --print-errorlogs 1/16 test-script.sh OK 46.23 s ... 14/16 test-casync FAIL 1.17 s (exit status 1) 15/16 test-cautil OK 0.00 s 16/16 test-util OK 0.01 s Ok: 15 Expected Fail: 0 Fail: 1 Unexpected Pass: 0 Skipped: 0 Timeout: 0 The output from the failed tests: 14/16 test-casync FAIL 1.17 s (exit status 1) --- command --- /home/zbyszek/fedora/casync/casync-2/x86_64-redhat-linux-gnu/test-casync --- stdout --- error -------
* syntax-highlighting: vim: Allow overriding shiftwidth and softtabstopLaurent Pinchart2018-11-303-5/+17
| | | | | | | | | | | | | | The vim syntax indentation rules stored in indent/meson.vim set the local shiftwidth and softtabstop variables. As the file is loaded last, after ~/.vim/after/ftplugin/meson.vim (when present), this prevents overriding the default values for shiftwidth and softtabstop in a local configuration. Fix this by setting shiftwidth and softtabstop in ftplugin/meson.vim instead (as done by the python indentiation rules in upstream vim for instance) to allow local overrides. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
* Test that vim syntax highlighting is up-to-dateNirbheek Chauhan2018-08-071-0/+3
| | | | | | | Needs a `mock` kwarg to Interpreter to not do any parsing of build files, but only setup the builtins and functions. Also consolidate the documentation and data tests into one class.
* rpm: pass --auto-features=enabled [skip ci]Igor Gnatenko2018-07-251-0/+2
| | | | | | We really want to be explicit. Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* rpm: use %{shrink…} [skip ci]Igor Gnatenko2018-07-251-18/+18
| | | | | | Make logs look better! Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* rpm: use %set_build_flags [skip ci]Igor Gnatenko2018-07-251-5/+1
| | | | | | It has better name and should do the trick. Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* meson.vim: Add missing disabler() entry [skip ci]Nirbheek Chauhan2018-07-021-0/+1
|
* Add feature footerJuergen Hoetzel2018-06-301-0/+2
|
* Setup mode-specific `comment-start' and `'comment-end'Juergen Hoetzel2018-06-301-15/+2
| | | | Get rid of meson.comment-dwim workaround.
* Made install a top level Meson command.Jussi Pakkanen2018-06-181-2/+1
|
* Support installation via polkitRyan Gonzalez2018-05-171-0/+24
|
* Trivial update to meson vim syntax + typo in snippet [skip ci]Nirbheek Chauhan2018-04-111-0/+1
|
* new wrap-mode: forcefallbackMathieu Duponchelle2018-04-061-1/+1
| | | | | | | This can be useful to make sure that a project builds when its fallbacks are used on systems where external dependencies satisfy the version requirements, or to easily hack on the sources of a dependency for which a fallback exists.
* Re-link remaining github wiki urls to mesonbuild.com siteSami Kerola2018-02-111-2/+2
|
* A few small improvements to meson.elJon Turney2018-01-161-6/+5
| | | | | | | | Add some missing statements to list of keywords Derive from prog-mode, so any prog-mode hooks are run Automatically use this mode for meson.build files [ci skip]
* rpm: print testlog from subshellIgor Gnatenko2018-01-041-2/+2
| | | | | | | | false || { rc=$?; echo $rc; exit $rc } || : Exits current shell without possibility to prevent that. Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* vim: Add warning function to list of builtinsDylan Baker2017-12-141-0/+1
|
* _meson: Explicitly specify license to match the Z ShellArseny Maslennikov2017-11-111-0/+24
| | | | | The zsh completion script is explicitly licensed to eliminate any legal obstacles for its co-distribution with Z Shell itself.
* Move shell completions and text editor helpers to data/Arseny Maslennikov2017-11-116-0/+344
|
* Add zsh completion function for MesonArseny Maslennikov2017-11-111-0/+189
| | | | | | Deprecated Meson syntax is not supported. There are features not yet implemented, like completing build targets and build options; more on this in the comments.
* rpm: print test logs on failureZbigniew Jędrzejewski-Szmek2017-10-121-1/+6
| | | | | References: https://bugzilla.redhat.com/show_bug.cgi?id=1500248 Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* rpm: pass --wrap-mode=nodownload to %mesonIgor Gnatenko2017-04-281-0/+2
| | | With ability to change it if needed.
* add support for $sharedstatedirIgor Gnatenko2016-12-181-0/+1
| | | | Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* add support for $infodirIgor Gnatenko2016-12-181-0/+1
| | | | Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* add support for $sbindirIgor Gnatenko2016-12-181-0/+1
| | | | Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* rpm: use VPATH macroIgor Gnatenko2016-12-151-18/+16
| | | | | | | This is more or less standardized way to have one variable which will work for all buildsystems defined in redhat-rpm-config. Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* rpm: use __global_*flagsIgor Gnatenko2016-12-131-5/+5
| | | | | | | | | | | | | | Using RPM's %{optflags} is definitely nice, but not enough. LDFLAGS are not there, and idea of optflags is too generic. It is supposed to work under CC and CXX, but apparently someone forgot that there is difference between these two. %__global_*flags is not part of RPM itself, it's coming within redhat-rpm-config which makes our macros file not that portable, but anyway we already have %__global_ldflags and %ninja_build and no one complained. Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* rpm: use meson's syntax to specify sourcedir and builddirIgor Gnatenko2016-12-131-16/+14
| | | | | | | | | | | | | | | | When user uses %meson -Denable_cool_feature=true current macro fails because RPM adds flag after popd: ... pushd x86_64-redhat-linux-gnu /usr/bin/meson ... $OLDPWD/. popd -Denable_cool_feature Since meson can accept $srcdir and $builddir arugments we don't have this problem with pushd/popd. It also simplifies things a bit. Reported-by: Richard Hughes <richard@hughsie.com> References: https://bugzilla.redhat.com/show_bug.cgi?id=1401062 Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* add builtin support for localstatedirIgor Gnatenko2016-12-061-11/+12
| | | | | | Reported-by: Richard Hughes <richard@hughsie.com> Closes: https://github.com/mesonbuild/meson/issues/1142 Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
* fixup! fixup! rpm: couple of improvements and fixesIgor Gnatenko2016-10-081-3/+9
|
* fixup! rpm: couple of improvements and fixesIgor Gnatenko2016-10-081-1/+0
|
* rpm: couple of improvements and fixesIgor Gnatenko2016-10-081-20/+28
| | | | | | | | * Don't hardcode /usr/bin, use %{_bindir} * Implement %meson_build / %meson_install / %meson_test * Automatic handling of out-of-tree builds Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* macros.meson: override all supported options (#717)Igor Gnatenko2016-08-251-1/+10
| | | Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* rpm macros: export *FLAGSIgor Gnatenko2015-10-301-5/+5
| | | | Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* macros.meson: simplify RPM macros by using expandIgor Gnatenko2015-08-021-8/+9
| | | | Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* drop meson.lang for GtkSourceViewIgor Gnatenko2015-07-231-42/+0
| | | We want to drop this in favour to https://bugzilla.gnome.org/show_bug.cgi?id=752292
* Moved rpm macros to a subdirectory to reduce clutter.Jussi Pakkanen2015-03-231-0/+11
|
* Create simple Emacs major mode.Jussi Pakkanen2014-11-241-0/+43
|
* Highlight multiline string.Jussi Pakkanen2014-11-231-0/+5
|