Commit graph

18 commits

Author SHA1 Message Date
Federico Bruni
7094de03cf remove deprecated 'languages' parameter of gnome.yelp()
Since version 0.43 Meson automatically reads the LINGUAS file.
2018-09-28 17:40:34 +02:00
Jan Tojnar
beec7ff0fe
build: obtain iso-codes prefix from pkg-config 2018-08-09 15:18:33 +02:00
Michael James Gratton
a3662c8155 Fix libunwind native dep so Flatpak builds once again. 2018-07-04 15:57:47 +10:00
Rico Tzschichholz
20cd9823a7 bindings: Drop custom javascriptcore-4.0 and webkit2gtk-4.0 vapi 2018-06-04 12:55:59 +02:00
Michael James Gratton
fbc6671e16 Fix up GOA branch to build with meson. 2018-05-28 00:46:31 +10:00
Michael James Gratton
2b1f0e8a90 More dependency cleanup.
* debian/control: Remove version numbers from packages that aren't
  strictly required.

* meson.build: Fix dup sqlite3 dep, sort primary deps.
2018-05-21 10:41:35 +10:00
Michael James Gratton
386f9864c7 Revert "Merge branch 'wip/ricotz/webkit'. Fixes Bug 788113."
This reverts commit 43341cd3e3, reversing
changes made to ffb4befdd8.

This is causing segfault in Geary.JS.to_string_released() when running
client tests, so reverting until a solution is found.
2018-05-19 13:57:58 +10:00
Michael James Gratton
d4aaa3c551 Bump library dependency min versions to reflect reality.
Commit 43341cd3 basically means we require vala 0.38, which excludes
Debian 9 (stretch), Ubuntu 16.04 (artful) and Fedora 26. Hence bump
minimum versions (and tidy up the list of deps) to reflect this.
2018-05-19 10:32:45 +10:00
Rico Tzschichholz
f809febed3 Drop custom webkit2gtk bindings 2018-04-23 19:38:37 +02:00
Michael James Gratton
c7c138dbdf Fix meson warning about use of version kwarg in find_library(). 2018-04-14 22:18:00 +10:00
Michael James Gratton
5456dab49c Tidy up inclusion of libunwind in the Meson build.
* meson.build: Use libunwind and libunwind-generic to avoid having to
  search for the platform-specific lib.

* src/meson.build: Set UNW_LOCAL_ONLY define to get the most optimal
  unwind impl.
2018-01-12 18:21:26 +11:00
Michael James Gratton
147dd8e4c0 Fix target GLib version in Meson build. 2017-12-18 14:49:04 +11:00
Michael James Gratton
a972236bb2 Update WebKit and JSC dependencies in Meson build.
* bindings/meson.build: Declare a dependency for JSC that includes both
  the lib, VAPI and appropriate build directory. Update WK dependencies
  to reflect the same that their pkg-config files currently do, sort.

* meson.build: Rename top-level JSC deps to make it clear what they are
  for.

* src/engine/meson.build: Depend on JSC rather than WK, sort deps.
2017-12-18 14:49:04 +11:00
Michael James Gratton
f020791935 Revert "Treat POODLE and REF_TRACKING defines per others in Meson build."
This reverts commit c25f254de8.
2017-12-14 09:44:33 +11:00
Michael James Gratton
c25f254de8 Treat POODLE and REF_TRACKING defines per others in Meson build. 2017-12-12 15:56:31 +11:00
Michael James Gratton
763ccd2f7c Fix compiling and using GSettings schema when built by Meson.
* desktop/meson.build: Make sure the schema is re-compiled with the
  source XML changes.

* meson.build: Make compiling the schema mandatory, since both running
  the client locally and unit tests require it. Fix path to compiled
  schema so the client can find it.
2017-12-12 15:56:31 +11:00
Michael James Gratton
afb236517f Fix meson build when libmessaging-menu is available.
Since libmessaging-menu has a either a broken pkg_config file or a dumb
VAPI name, we need to detect the library and the VAPI in two steps, then
add them both as dependencies.
2017-12-12 15:56:31 +11:00
Niels De Graef
01c13f726f Port build system to Meson. Bug 777044.
Some remarks:

* Note that Meson adds a hard dependency on Python 3.

* All dependencies and defines are now listed together.

* Some build files were put in their respective subdirectories, e.g. the Geary
  engine library will be built from the Meson file in `src/engine`.

* `--fatal-warnings` is no longer an explicit flag, as Meson provides
  `-Dwerror=true` for this.

* An explicit resource file needs to be used. The issue to support this from
  Meson itself can be found at https://github.com/mesonbuild/meson/issues/706 .

* The `gnome.yelp()` function parses a LINGUAS file so we no longer need to keep
  track of all languages in our build system.

* There are no Debian scripts defined in the meson.build files to keep them
  clean, but they can be kept as separate scripts in `build-aux`.

* Left out the `dist` target as there is now `ninja dist`

* `geary-docs` is disabled by default, as valadoc-0.38.3 returns errors.

https://bugzilla.gnome.org/show_bug.cgi?id=777044
2017-12-12 00:27:46 +01:00