Commit Graph

302 Commits

Author SHA1 Message Date
Eric Engestrom b690c26aa2 docs: remove references to `mesontest`
`mesontest` is deprecated, and shouldn't be suggested to users anymore.
2017-10-31 10:10:57 +00:00
Félix Piédallu bb84c1d109 Add LibWmf as a specified dependency, and associated tests. 2017-10-31 01:05:46 +02:00
Jussi Pakkanen 68af8449d8
Merge pull request #2529 from leiflm/qt5-add-moc-extra-arguments-keyword
Qt5-Module: Add `moc_extra_arguments` keyword support.
2017-10-29 22:40:28 +02:00
Jon Turney 24549dbed5 Make sysconfdir, localstatedir and sharedstatedir defaults depend on prefix
Rather than requiring a bit of boilerplate in every meson.build, which is
only documented in a comment in mesoncore.py, use sensible defaults for
sysconfdir, localstatedir and sharedstatedir depending on the prefix.

Fixes #1637

v2:
For clarity, give get_builtin_option_default() a noneIfSuppress argument,
rather than overloading prefix '' and None with special meanings.
2017-10-28 23:27:36 +01:00
Leif Middelschulte a2478d4dab documentation: adds new keyword usage to the given example. 2017-10-27 08:46:25 +02:00
Leif Middelschulte f720e590b1 adds "since"-note for the new keyword to the documentation 2017-10-27 08:43:26 +02:00
Leif Middelschulte a46d05acf9 updates the documentation to follow the list-style to explain arguments.
As per to @jon-turney's and @jpakanne's suggestion [0], this commit
changes the "prosa" documentation to a list-style one.

[0] https://github.com/mesonbuild/meson/pull/2529#pullrequestreview-72265697
2017-10-27 08:38:15 +02:00
Mike Gilbert 426b258d91 docs: add pkgconfig to cross file example 2017-10-26 22:26:57 +03:00
Leif Middelschulte 050a56ad47 Qt5-Module: Add `moc_extra_arguments` keyword support.
This commit adds support for an additional `moc_extra_arguments` keyword.
It becomes especially handy, when `moc`-ed sources conditionally provide
`slots`, depending on compile time macros (i.e. defines).
2017-10-25 21:09:16 +02:00
Dylan Baker 9a43cb367a docs: Add a snippet for LLVM static linking support 2017-10-25 10:14:46 -07:00
Jay Sherby a3da9f77c4 Fix inconsistent header levels 2017-10-24 23:01:11 +03:00
Luis Menina 3dcc562e6d docs: Fix date being interpreted as an ordered list item 2017-10-24 22:59:56 +03:00
Kevin Anderson 562c50f229 Update references from mesonconf to meson configure
Fixes #2372
2017-10-23 18:43:39 +02:00
Luis Menina 92866d8d5f docs: Remove unnecessary trailing whitespaces 2017-10-23 18:43:04 +02:00
Luis Menina 36eb7bf0aa docs: Markdown headers don't need trailing hash signs
This is a cosmetic change because github seems to interpret those
correctly. Nonetheless, it adds unnecessary noise and makes people
modifying the pages think it might be needed.

See syntax guide at https://guides.github.com/features/mastering-markdown/
2017-10-23 18:43:04 +02:00
Luis Menina be36b05544 docs: Fix markdown in 'design rationale' page 2017-10-23 18:43:04 +02:00
Jonas Platte e43332318b Fix invalid example in Syntax.md 2017-10-23 18:42:16 +02:00
Jussi Pakkanen 3f18e3b89f Arguments, not flags. 2017-10-13 19:03:04 +03:00
Carlos Garcés f1c410fc98 Link to MesonPorting is not rendered as URL 2017-10-12 20:54:05 +03:00
Jon Turney 79b850dfcb Typo and grammar fixes for 0.43.0 release note 2017-10-11 00:09:46 +03:00
TingPing b5eb77ddff docs: Improve code snippets in release notes 2017-10-08 17:58:23 -04:00
Jussi Pakkanen b4fa4e37b9 Added release note page for 0.44. 2017-10-08 23:50:21 +03:00
Jussi Pakkanen 683947d943 Collated release note snippets to main file. 2017-10-08 22:36:06 +03:00
Rico Tzschichholz 8b8e1ee620 gnome: g-ir-scanner accepts multiple symbol-prefix arguments 2017-10-08 14:04:34 +03:00
TingPing fd774fcb43 docs: Use consistent whitespace for gnome kwargs 2017-10-05 12:11:03 -04:00
David Strauss 52a4f19832 Update to not use deprecated mesonconf 2017-10-04 21:52:23 +03:00
Nirbheek Chauhan 0c3d58baba Update Reference-manual.md 2017-10-03 06:57:46 +00:00
Nirbheek Chauhan f10b15930b Update Reference-manual.md
Fix documentation breakage from https://github.com/mesonbuild/meson/pull/2415
2017-10-03 05:49:24 +00:00
xarkes a28db4577a Fix typo and clarify library documentation 2017-10-03 01:15:30 +03:00
Jussi Pakkanen 9483875798 Merge pull request #2397 from mesonbuild/prebuilt
Better support for prebuilt shared libs
2017-10-02 19:09:08 +03:00
Mohammed Sadiq 35313c2a85 docs: Fix typo
Remove the quote before parens
2017-10-02 12:26:20 +01:00
Jussi Pakkanen ec45c29c9d Add rpath entries for all found libraries outside of system libraries. 2017-10-02 01:30:30 +03:00
Jussi Pakkanen cb3d980a1f Merge pull request #2282 from NickeZ/improve-boost
Improve boost
2017-10-02 00:09:04 +03:00
Patrick Griffis 893d101fff gnome: Add header kwarg to generate_gir()
This is a commonly used flag so lets make it more obvious.
2017-10-01 20:15:21 +03:00
Alexis Jeandet a9258923fa Added include directory argument for Qt's Moc which is needed to build plugins.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2017-10-01 20:12:25 +03:00
Niklas Claesson bbdba876af Boost: Improve search algorithm
The new implementation will correctly pick boost from 3 possible
locations on windows and two locations on posix compatible OSs.

The new search algorithm also differentiates between debug and
release builds of Boost and multi or single threading builds.

It was also decided to map "Meson modules" to Boost software libraries
and not Boost modules since it there are a lot of options regarding
linking. Some modules can even be used either as headers-only or with
dynamic linking.

This commit also fixes a bug that prevented header-only use on Windows.

Fixes: #2274 #2239 #1803 #669
2017-10-01 18:49:27 +02:00
Jussi Pakkanen 7d49d1d2d7 Merge pull request #2373 from leiflm/svn-wraps
introduce svn wrap support
2017-10-01 01:21:12 +03:00
Jussi Pakkanen b3362e350a Added release note snippet for prebuilt shared libs. 2017-09-30 18:25:33 +03:00
Niklas Claesson 68275b32e8 Implement capture for generators 2017-09-29 23:29:44 +03:00
Reverend Homer fd339759f2 fix typo? 2017-09-29 20:18:32 +03:00
Dylan Baker dda5e8cadb Allow CustomTarget's to be indexed
This allows a CustomTarget to be indexed, and the resulting indexed
value (a CustomTargetIndex type), to be used as a source in other
targets. This will confer a dependency on the original target, but only
inserts the source file returning by index the original target's
outputs. This can allow a CustomTarget that creates both a header and a
code file to have it's outputs split, for example.

Fixes #1470
2017-09-27 22:01:24 +03:00
Nirbheek Chauhan 92318c7660 docs: get_supported_arguments was added in 0.43.0
Closes https://github.com/mesonbuild/meson/issues/2371

[noci]
2017-09-26 10:00:28 +00:00
Leif Middelschulte 667d5d2d9f introduce svn wrap support 2017-09-25 22:26:42 +02:00
Jussi Pakkanen bea6b1a6f6 Merge pull request #2187 from centricular/fix-pcap-dependency
Fix pcap dependency, str.strip() now takes an argument, add cc.get_return_value()
2017-09-22 22:04:18 +03:00
Jussi Pakkanen 2ab4b397a8 Merge pull request #2350 from tintou/master
Add 'install' keyword to the gettext macro
2017-09-22 21:30:08 +03:00
Johan Bjäreholt 102c1d09fe Replaced references to 'mesontest'
'mesontest' is deprecated and is now 'meson test'

Replaced all references to 'mesontest' with 'meson test' and added a note of the change in the bottom of the page
2017-09-22 21:29:20 +03:00
Johan Bjäreholt e129cf7278 Replaced references to 'mesonconf'
mesonconf is deprecated and all references of it has been replaced with 'meson configure'
2017-09-22 21:29:20 +03:00
Corentin Noël 34c6cccde2 Update i18n markdown page to add the new install parameter 2017-09-22 01:08:10 +02:00
Nirbheek Chauhan 751d59d952 Update Reference-manual.md
Add notes about not using full_path() unless absolutely necessary.
2017-09-20 21:05:50 +00:00
Nirbheek Chauhan 6c38b1f281 docs: Document the new str.strip() feature 2017-09-20 13:39:24 +05:30
Nirbheek Chauhan 140c463b01 Add detail to the command: kwarg of custom targets 2017-09-20 06:55:54 +00:00
Ola x Nilsson 307b69b69a Fix table in Compiler-properties
hotdoc requires a pipe character for the right edge
2017-09-19 21:45:40 +03:00
Jussi Pakkanen 076f3c53bd Merge pull request #2263 from ximion/dlang
d: Add an easy way to use D-specific features
2017-09-18 20:23:56 +03:00
tense-du 0b0448f8f2 Fix getting meson page (#2341)
* Replaced obsolete tt tag
2017-09-18 20:13:46 +03:00
tense-du bbda3c7adb Replaced obsolete tt tag 2017-09-18 18:41:16 +03:00
Jussi Pakkanen b9154dd07c Added a page for reference tables. 2017-09-18 18:28:10 +03:00
Matthias Klumpp c3c37fac38 docs: Document the D support 2017-09-17 21:36:23 +02:00
Martin Blanchard 26e731c7ca get-unquoted: Queue a release note entry mentioning the new method 2017-09-15 23:24:15 +02:00
Martin Blanchard 777cd24063 get-unquoted: Mention get_unquoted() in reference manual 2017-09-15 22:43:01 +02:00
tense-du a59175d1f3 Fix videos page (#2321)
* Removed duplicate title in doc theme.

* Removed stray lower than tag.

* Replaced obsolete frameborder attribute.
2017-09-15 11:34:47 +05:30
Jussi Pakkanen 7de61aac12 Clarify that MESONINTROSPECT may have multiple parts. 2017-09-12 21:20:29 +03:00
Iñigo Martínez 540c928e30 gnome: Docbook generation for gdbus_codegen()
Add new 'docbook' argument which generates Docbook documentation for
each D-Bus interface. The docbook argument will be used as prefix
in `PREFIX`-NAME.xml pattern, and NAME will be replaced by the D-Bus
interfaces.
2017-09-12 20:29:24 +03:00
Jussi Pakkanen 72a6683c6f Permit overriding find_program from the cross file. 2017-09-04 22:47:12 +03:00
Patrick Griffis 04b2c67b7d gnome.gdbus_codegen(): Add annotations keyword
Fixes #2123
2017-09-04 19:26:04 +03:00
Jan Niklas Hasse c9d97a58c5 --unity flag needs {on,off,subprojects} parameter 2017-09-04 18:49:56 +05:30
Patrick Griffis 2acf737b4b pkgconfig: Document url keyword
Closes #2272
2017-09-03 13:23:37 +03:00
Daniel Stone 552c15b978 Alphabetize compiler.compiles() 2017-08-31 20:24:21 +01:00
Daniel Stone e1ffae0580 Add Compiler.get_supported_arguments()
Add a helper for the common pattern of:
  args_to_use = []
  foreach arg : candidate_args
    if cc.has_argument(arg)
      args_to_use += arg
    endif
  endforeach

Replaced with:
  args_to_use = cc.get_supported_arguments(candidate_args)
2017-08-31 20:24:20 +01:00
Iñigo Martínez 35ef236c43 add support for cups dependencies (#2255)
* add support for cups dependencies

libcups has its own cups-config tool rather than using pkg-config.
This adds support for cups-config, based on pcap-config and
sdl2-config implementations.

This change also includes the unit test case and documentation for
cups dependency object implementation, and libcups2 dep to CI image.
2017-08-31 21:38:15 +03:00
Jussi Pakkanen a415fafe56 Rewrapped more files. 2017-08-26 23:41:53 +03:00
Jussi Pakkanen 90c7b5ea58 Rewrapped some markdown files. 2017-08-24 17:51:44 +03:00
Jussi Pakkanen f381284969 A full example for using the conf object. Closes #2235. 2017-08-22 23:08:44 +03:00
Jussi Pakkanen 3ff76f62a2 Clarify immutability description. Closes #2234. 2017-08-22 23:00:26 +03:00
Jussi Pakkanen 9b5a5c2e61 Wrapped and alphabetized the remaining modules. 2017-08-21 00:22:33 +03:00
Jussi Pakkanen 55dfe75fd7 Rewrapped and alphabetized the Gnome module. 2017-08-21 00:18:33 +03:00
Jussi Pakkanen f19ae54974 Rewrapped lines of a few more files. 2017-08-21 00:08:28 +03:00
Jussi Pakkanen 01effa7178 Rewrap the rest of reference manual. 2017-08-21 00:02:47 +03:00
Jussi Pakkanen bb67d64c8d The last of the alphabetization. 2017-08-20 23:58:54 +03:00
Jussi Pakkanen 04d87c7b5d And a few more alphas. 2017-08-20 23:39:40 +03:00
Jussi Pakkanen b7b66fe516 More alphabetization. 2017-08-20 23:32:06 +03:00
Jussi Pakkanen 2d575757d6 Put some keyword arguments into alphabetical order to improve readability. 2017-08-20 23:16:27 +03:00
David Seifert ece243d9ab Add warning about `sources` in declare_dependency 2017-08-19 21:32:20 +03:00
TingPing 8a636052bd docs: Clarify project() no longer requires a language 2017-08-19 14:31:47 -04:00
Mohammed Sadiq 747c3af52c docs: fix typo 2017-08-18 10:29:05 -04:00
Jussi Pakkanen 62aabb5a8b Missing version info added. 2017-08-17 15:28:59 +03:00
Jussi Pakkanen e76ed84677 Documented the merge_from method. 2017-08-17 15:25:05 +03:00
Nirbheek Chauhan e2cf999ad4 Users.md: link to the Meson Porting GNOME goal 2017-08-17 10:57:13 +00:00
Florian Zwoch 3fda1ba3ed docs: fix generator code sample 2017-08-17 00:21:42 +03:00
Konstantin Mochalov 6bf65d8763 Documentation: fix broken link (now in docs)
Was [external link on github wiki](https://github.com/mesonbuild/wrapweb/wiki), now markdown file in docs
2017-08-15 22:10:36 +05:30
Jussi Pakkanen 30bb55df3d Missing dots are fun. 2017-08-15 02:06:53 +03:00
Jussi Pakkanen 244ef43651 Bumped version number for new development. 2017-08-15 01:54:07 +03:00
Jussi Pakkanen a629642f1e Bump numbers for new release. 2017-08-15 00:43:54 +03:00
Tim-Philipp Müller 4e476c82f3 gnome: add mkenums_simple()
99% of all mkenums uses in C libraries use the same basic template,
so add a mkenums_simple() function that takes care of everything for
us based on that template.

Features:
 - optional function declaration decorator such as GLIB_AVAILABLE
 - optional extra header prefix (e.g. for include needed for decorator)
 - optional extra body prefix (e.g. for additional includes)
 - optional function name prefix (e.g. to add leading underscores)

Fixes issue #1384
2017-08-14 19:40:36 +03:00
Jussi Pakkanen 55165ba504 Added documentation for pcap dependency. 2017-08-13 23:42:38 +03:00
Tim-Philipp Müller 60b83a5f0a gnome: add 'ignore_headers' to permitted kwarg list for gnome.gtkdoc() 2017-08-13 21:17:04 +03:00
Nirbheek Chauhan ca4778a500 Update wrap-mode FAQ 2017-08-10 10:40:02 +00:00
Nirbheek Chauhan b663937f8c Clarify what an "external dependency" is
And add a link to the Dependencies.md page.
2017-08-09 10:32:25 +00:00
Jussi Pakkanen d94e06db21 Merged singleexe branch. 2017-08-06 17:00:51 +03:00
Jussi Pakkanen 06f195e9ec Merged exclude_dir branch. 2017-08-06 13:09:46 +03:00
Elliott Sales de Andrade 5cb1d00537 Allow excluding files from `install_subdir`
The install_subdir command now accepts a new `exclude` keyword argument
that allows specified files to be excluded from the installed
subdirectory.
2017-08-06 03:58:35 -04:00