summaryrefslogtreecommitdiff
path: root/meson.build
Commit message (Collapse)AuthorAgeFilesLines
* Post-release version bump4.10.2_1Matthias Clasen2023-04-211-1/+1
|
* Post-release version bumpMatthias Clasen2023-03-141-1/+1
|
* Merge branch 'fix-msvc-older-glib' into 'main'Matthias Clasen2023-03-081-0/+7
|\ | | | | | | | | modules/media: Fix Visual Studio builds with older GLib (<= 2.74.x) See merge request GNOME/gtk!5605
| * modules/media: Fix Visual Studio builds with older GLibChun-wei Fan2023-03-071-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current definitions of the g_io_module_*() symbols do not build on Visual Studio when building against GLib earlier than 2.75.0 due to the way how these symbols are decorated in the GLib headers, as Visual Studio does not allow symbols that were previously marked with 'extern' (or so) to be marked with anything that is symantically different later. As a result, if we are using Visual Studio and glib-2.74.x or earlier, override _GLIB_EXTERN as appropriate in the modules/media sources before including the GIO headers. This sadly, means that we need a configure-time check as it would have been too late if we checked the GLib version using G_VERSION_CHECK macro, as the GIO headers would have been included already. There are similar items in the print backends, but we will not attempt to update these files as they are not meant to be built for Windows.
* | build: Handle introspection a bit betterMatthias Clasen2023-03-071-1/+6
|/ | | | | | | | Error out if introspection is requested, but g-ir-scanner isn't found. And if introspection isn't explicitly disabled but is required for building the docs, build it.
* meson: Mention testsuite in summaryMatthias Clasen2023-03-051-0/+1
| | | | | This was broken out from the 'tests' toggle, so list it separately.
* Post-release version bumpMatthias Clasen2023-03-041-1/+1
|
* 4.10.04.10.0Matthias Clasen2023-03-041-1/+1
|
* meson: Consolidate function checksMatthias Clasen2023-02-181-15/+12
| | | | | | | | | | Put all the function checks in one place. Remove functions we don't actually use, and add ones that we have #ifdefs for in in the code. Also add enough includes to make these checks actually work. Fixes: #5070
* Update dependencies for CPDB print backendtinytrebuchet2023-02-141-0/+4
| | | | Require cpdb-frontend 2.x for building CPDB print backend.
* Post-release version bumpMatthias Clasen2023-02-121-1/+1
|
* Post-release version bumpMatthias Clasen2023-02-041-1/+1
|
* Add a build-testsuite optionMatthias Clasen2023-01-131-0/+2
| | | | | This will let us run the testsuite in ci without having to build all the manual tests.
* build: Turn off tautological-constant-out-of-range-compare warningBenjamin Otte2023-01-061-0/+1
| | | | | | | | | | | | | | | | | This issues a warning when an enum value is compared to a value that is out of range for the enum. We do this a lot, either when using -1 for undefined values or when comparing array sizes to enum values like so: enum { ONE, TWO, THREE } some_enum_value; const char *names= { "one", "two", "three" }; g_assert (some_enum_value < G_N_ELEMENTS (names));
* meson.build: build introspection according to option onlyAlexander Kanavin2023-01-031-1/+1
| | | | | | | | | | | The way the check is written, if the build is native, then the introspection option has no effect. Particularly yocto project does want to disable introspection in native builds and enable it in cross builds (both via the option), and without this patch the former is not possible. Signed-off-by: Alexander Kanavin <alex@linutronix.de>
* build: Pass gobject_types=true to grapheneMatthias Clasen2023-01-021-1/+1
| | | | This is required for graphene-gobject to be built.
* build: Bump introspection dep to 1.72Matthias Clasen2023-01-021-1/+1
| | | | This should be kept in sync with glib.
* build: Bump graphene req to 1.10Matthias Clasen2023-01-021-3/+3
| | | | So we don't require an unstable version.
* Post-release version bumpMatthias Clasen2022-12-261-1/+1
|
* build: Drop the install-tests optionMatthias Clasen2022-12-191-1/+0
| | | | | | We no longer use installed tests in CI, so lets reap the benefit and simplify our build setup for tests.
* build: Lift gir and build_gir to toplevelMatthias Clasen2022-12-191-0/+5
| | | | | | build_gir is used in multiple subdirectories, so it is a bit nasty that it is defined in one too.
* meson: Fix find_program and subproject usageNirbheek Chauhan2022-12-191-5/+0
| | | | | | | | Dummy dependencies are not required to execute a subproject automatically for providing a program, nor do you need to explicitly call subproject() to do that. A `[provide]` section in the wrap file is enough.
* meson: Stop using fallback: kwarg for deps that don't need itNirbheek Chauhan2022-12-191-49/+18
| | | | | | | | | | | | | | | | Subprojects that use meson.override_dependency() do not require the caller to provide the dependency variable name inside the subproject. We also don't want to provide the *subproject* name, because the subproject name can be `pango-1.50.12` instead of `pango` when using wrap-file to download the tarball instead of using wrap-git. This causes the pango subproject to be executed twice when using gtk as a subproject inside gstreamer (which uses pango-1.50.12 as a wrap-file). All the dependencies we use can be switched in this way, but the remaining ones need to be changed to use meson.override_dependency() first.
* meson: Remove redundant, duplicate, harfbuzz checkNirbheek Chauhan2022-12-181-3/+0
|
* meson: Always look for both cmake and pkgconfig namesNirbheek Chauhan2022-12-181-11/+6
| | | | | | | | | | | | | | | The is_msvc_like change is wrong; it used a false correlation between "compiler being used" and "dependency method" by saying that on Windows, when building with MSVC, you will only use CMake to find png, jpeg, tiff. You can use pkgconfig to find these deps on Windows with MSVC -- when the deps have been built with Autotools or Meson (with MSVC). You can also find these deps using CMake on other platforms like macOS or Linux. The solution is simple: just search for both names on all platforms, and just search for the pkgconfig name first.
* Post-release version bumpMatthias Clasen2022-10-311-1/+1
|
* Revert "modules: Fix build on Visual Studio"Matthias Clasen2022-10-311-10/+6
| | | | | | | | | This reverts commit acd9c12667a021936b30e0fa8f43d3a8c7133cf7. This commit breaks the build with GLib main on all platforms, and defining _GLIB_EXTERN arguably invades the GLib namespace. A different fix for msvc will have to be found.
* Bump the GLib requirementMatthias Clasen2022-10-211-1/+1
| | | | | We now use GSignalGroup, which was introduced in GLib 2.72.
* Post-release version bumpMatthias Clasen2022-09-281-1/+1
| | | | | | | | | | This is an experiment to see if I can keep up with doing post-release version bumps, so git snapshots will always have a different version from released tarballs. This commit also marks the beginning of the 4.10 development cycle, as 4.8 has been branched.
* meson: Remove post-install scriptXavier Claessens2022-09-281-14/+5
| | | | GTK depends on Meson >= 0.60 so it was never used.
* Apply 1 suggestion(s) to 1 file(s)Matthias Clasen2022-09-271-3/+3
|
* Fix preprocessor conformance with MSVCWilliam Roy2022-09-261-0/+1
|
* Bump the meson requirementMatthias Clasen2022-09-241-1/+1
| | | | | GLib requires meson 0.60 nowadays, and it does not make much sense for us to support an older meson.
* build: fix gi-docgen detection in cross buildsMichal Vasilek2022-09-201-1/+2
| | | | | | | | | gi-docgen is supposed to be ran natively on the build machine, without native: true dependency() searches for gi-docgen on the host system. When it doesn't find it, it falls back to a subproject even if gi-docgen is available on the build machine. also make gtk_doc require introspection
* 4.8.14.8.1Matthias Clasen2022-09-161-1/+1
|
* 4.8.04.8.0Matthias Clasen2022-09-061-1/+1
|
* 4.7.24.7.2Matthias Clasen2022-08-111-1/+1
|
* build: Update Wayland to >= 1.21.0José Expósito2022-08-101-1/+1
|
* build: configure subproject sysprof with -Dagent=falseChristian Hergert2022-07-261-0/+2
| | | | | | | | | Sysprof has a new -Dagent=true build option which allows installing a /usr/bin/sysprof-agent program (simimlar to sysprof-cli). It provides a P2P D-Bus API to the process which can control subprocesses. It's used by IDE tooling to have more control across container boundaries. However, we do not need it for GTK CI.
* 4.7.14.7.1Matthias Clasen2022-07-121-1/+1
|
* wayland: Add support for xdg_toplevel.boundsJonas Ådahl2022-06-131-1/+1
| | | | | | | | | The GdkToplevelSize struct already has the concept of "bounds", which means the largest size a window should reasonably have. It's practically the equivalent of the monitor the window is intended to be mapped on, with the "struts" (e.g. panels) cut out. It's used by GTK to use this information to calculate a default window size that is "lagom" (swedish; not too large, not too small).
* Merge branch 'wip/chergert/fix-sysprof-wrapper' into 'main'Matthias Clasen2022-05-261-10/+10
|\ | | | | | | | | build: fix sysprof default options See merge request GNOME/gtk!4759
| * build: fix sysprof default optionsChristian Hergert2022-05-251-10/+10
| | | | | | | | | | Sysprof just recently cleaned up it's meson_options.txt and this makes the tracking of the master branch match the new values.
* | Meson: Simplify pkgconfig file generatorXavier Claessens2022-05-241-33/+14
|/ | | | | | | | | | Meson knows all private dependencies itself when passing the library as first positional argument, no need to specify them manually. Also simplify backend specific files by simply requiring gtk4, just like unix-print already did. This should fix generated gtk4-uninstalled.pc, see Meson bug report: https://github.com/mesonbuild/meson/issues/10415
* Merge branch 'wip/sophie-h/remove-properties-translation' into 'main'Matthias Clasen2022-05-161-1/+0
|\ | | | | | | | | l10n: Remove po/pot for dropped nicks/blurbs See merge request GNOME/gtk!4718
| * l10n: Remove po/pot for dropped nicks/blurbsSophie Herold2022-05-111-1/+0
| |
* | Add an explicit harfbuzz dependencyMatthias Clasen2022-05-151-0/+4
|/ | | | | We are using Harfbuzz api in the file chooser, so lets make this official.
* Remove the old doc shooter infrastructureMatthias Clasen2022-05-061-1/+0
| | | | This is no longer used.
* meson: use proper handling of wayland-protocols dependencyEli Schwartz2022-03-101-6/+2
| | | | | | | | | | | | | | | Ensure that resolution of the subproject occurs via the dependency interface, not the "poke at subprojects manually" interface, and make that actually work via --wrap-mode=forcefallback. There's no need to mark it as not-required and then manually invoke subproject(), since fallback should work correctly and it is always needed. However, if fallback was performed (or forced) it would error out since get_variable() was instructed to only use pkg-config while the relevant variable was exported by the subproject as an internal fallback dependency.
* Revert "Bump the wayland-protocols dep"Matthias Clasen2022-02-261-1/+1
| | | | | | | This reverts commit 6a7da779801e53bb4a213aa52edd2c67666f43c8. This is causing various build problems between wayland-protocols and wayland-scanner.