summaryrefslogtreecommitdiff
path: root/meson.build
Commit message (Collapse)AuthorAgeFilesLines
* Make test suite work with cross-related optionsJohn Ericson2021-05-231-2/+7
| | | | | | | | | | Because of skepticism I received in #224, I made this PR which keeps the testsuite and CI improvements but doesn't add any new build options. I hope this would be less controversial: - no new knobs - tests for those using existing build options - CI tests `build_introspection_data = false`
* version bumpChristoph Reiter2021-03-191-1/+1
|
* release1.68.0Christoph Reiter2021-03-191-1/+1
|
* Post-release version bump to 1.67.2Emmanuele Bassi2021-03-121-1/+1
|
* Release gobject-introspection 2.67.11.67.1Emmanuele Bassi2021-03-121-1/+1
|
* Require Python 3.6Christoph Reiter2020-11-121-1/+1
| | | | 3.5 is EOL now and we'd like to use newer typing features
* Require Python 3.5Christoph Reiter2020-11-071-1/+1
| | | | 3.4 is long EOL and we don't test it, so don't pretend that we support it.
* meson.build: exclude girepo_dep if introspection data is disabledAlexander Kanavin2020-10-201-1/+1
| | | | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
* Update NEWS and version bumpChristoph Reiter2020-09-121-1/+1
|
* Merge branch 'patch-1' into 'master'Christoph Reiter2020-07-141-0/+3
|\ | | | | | | | | [Win32] Fix gi-dump-types.c to build on Windows See merge request GNOME/gobject-introspection!218
| * meson: also build gi-dump-types on WindowsChristoph Reiter2020-05-191-0/+3
| |
* | meson.build: Fix generating pkg-config filesChun-wei Fan2020-06-241-2/+9
| | | | | | | | | | | | On Windows and Cygwin builds, we need to put the '.exe' for our entries into the pkg-config files for 'g-ir-compiler' and 'g-ir-generate', otherwise Meson will not be able to identify these programs correctly.
* | meson: fix include dir in .pc filesChristoph Reiter2020-05-191-0/+2
| | | | | | | | See !207
* | Merge branch 'pkgconfig' into 'master'Xavier Claessens2020-05-181-38/+32
|\ \ | |/ |/| | | | | Meson: Use pkgconfig generator See merge request GNOME/gobject-introspection!207
| * Meson: Use pkgconfig generatorXavier Claessens2020-04-231-38/+32
| |
* | Meson: Fix build as subprojectXavier Claessens2020-05-061-0/+2
| | | | | | | | | | meson.build_root() is the root of the main project, better use meson.current_build_dir() instead.
* | build: Bump version to 1.65Philip Chimento2020-04-261-1/+1
| | | | | | | | | | We are adding new API for 1.66, so bump the version number to the development series.
* | build: Check Python.h and fail early if not presentPhilip Chimento2020-04-261-0/+3
| | | | | | | | | | Checking the Python dependency doesn't ensure the header is present. That needs to be checked separately.
* | Meson: Override gobject-introspection-1.0 dependencyXavier Claessens2020-04-241-0/+18
| | | | | | | | | | | | | | | | | | | | | | When gobject-introspection-1.0 pkg-config is not found on the system, Meson can fallback to configure g-i as subproject and needs a dependency object to replace the pc file. The dependency file needs to ensure that typelibs are created before compiling any other gir and provide the girdir for files within build directory. It also need to provide glib dependencies required to compile girs.
* | Revert "Meson: Override gobject-introspection-1.0 dependency"Emmanuele Bassi2020-04-241-14/+1
|/ | | | | | This reverts commit d01a387475e2665275a6cd6b0059bf91121b8300. The nightly run time does not have Meson 0.54
* Meson: Override gobject-introspection-1.0 dependencyXavier Claessens2020-04-231-1/+14
| | | | | | | | | | | | | When gobject-introspection-1.0 pkg-config is not found on the system, Meson can fallback to configure g-i as subproject and needs a dependency object to replace the pc file. The dependency file needs to ensure that typelibs are created before compiling any other gir and provide the girdir for files within build directory. It also need to provide glib dependencies required to compile girs. Bump Meson version to 0.54.0 to use meson.override_dependency().
* version bumpChristoph Reiter2020-03-071-1/+1
|
* release1.64.0Christoph Reiter2020-03-071-1/+1
|
* version bumpChristoph Reiter2020-01-171-1/+1
|
* Visual Studio builds: Use -utf-8 where availableChun-wei Fan2020-01-151-0/+9
| | | | | | | | | | | | This avoids compilation erroring out on C4819 (Unicode handling issue in the Visual Studio compiler), notably when running on Chinese, Japanese and Korean (CJK) locales. This also applies -utf-8 into the cflags passed into the various g-ir-scanner command lines that are used to generate the *.gir files, where -utf-8 is available, so that we don't get flooded with C4819 warnings during the build, and therefore avoid potential mishaps, as C4819 is a real warning that warngs us the code may be incorrectly built.
* meson: address review commentsAlexander Kanavin2019-12-131-1/+8
| | | | | | | | | See here: https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/64 Particularly, options are renamed to make it more readable and clear. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
* meson.build: disable tests when cross-compilingAlexander Kanavin2019-12-131-1/+3
| | | | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
* meson_options.txt: add host-gi, gi-cross-wrapper, gi-ldd-wrapper, ↵Alexander Kanavin2019-12-131-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | introspection-data and pkgconfig-sysroot-path options With the first option, gobject-introspection tools (g-ir-doc-tool and g-ir-scanner) that are already installed in the host system will be used for building the source tree. With the second option, g-ir-scanner will be instructed to use an executable wrapper to run binaries it's producing, and g-ir-compiler will be run through the same wrapper (host system's g-ir-compiler cannot be used because it's producing architecture-specific output). With the third option, giscanner will be instructed to use a special ldd command instead of system's ldd (which does not work when the binary to inspect is compiled for a different architecture). With the fourth option, it is possible to disable building of introspection data (.gir and .typelib files), which may be difficult or impossible in cross-compilation environments, because of lack of emulation (or native hardware) for the target architecture on which the target binaries can be run. With the fifth option, paths returned by pkg-config are prefixed with the sysroot path (which is the destination path for cross-compiled items on the system where cross-compilation happens). These options are useful when cross-compiling for a different target architecture. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
* Fix build reproducibilityJoshua Watt2019-12-111-1/+0
| | | | | | | | | | | | ba744068 ("Make meson.override_find_program working on more complex use cases") made the build no longer reproducible by encoding a build system path into the output. This shouldn't be necessary anyway, since it should be possible to add new paths to search for gir files by setting the XDG_DATA_DIR environment variable. Closes #318 Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* version bumpChristoph Reiter2019-11-241-1/+1
|
* meson: add join_paths for windows "\"Håvard Graff2019-11-131-1/+1
|
* examples: Make self contained and add build system integration examplesChristoph Reiter2019-11-091-1/+0
| | | | | | | | | | The libgirepository example now is its own meson project. There now is a small library that is buildable with meson and autotools which creates a gir/typelib. Usefull for testing our build system integration and for small experiments. Fixes #287
* build: require meson 0.50.1Christoph Reiter2019-11-081-1/+1
| | | | See !186
* meson: change "doctool" from a boolean to a feature optionChristoph Reiter2019-09-301-1/+18
| | | | | | | Similar to !180 this should prevent devs from not running all tests by accident. This also adds some checks for the required doctool dependencies, mako and markdown.
* meson: change "cairo" from a boolean to a feature optionChristoph Reiter2019-09-281-7/+19
| | | | | | | | | We require cairo only to run all tests and thus default it to false. This usually results in developers not using it when working on changes and tests depending on cairo then failing in CI. This changes it to a feature option that defaults to auto, so that devs that have cairo headers installed will automatically use it.
* version bumpChristoph Reiter2019-09-091-1/+1
|
* version bumpChristoph Reiter2019-08-171-1/+1
|
* Make meson.override_find_program working on more complex use casesThibault Saunier2019-08-151-0/+1
| | | | | | | Add some missing `meson.override_find_program` And make sure that the `.gir` we build are found when used uninstalled as a concequence of `meson.override_find_program`.
* version bumpChristoph Reiter2019-08-081-1/+1
|
* meson: require 0.49.2Christoph Reiter2019-07-261-1/+1
| | | | | It's what we use for testing in CI (so not even sure older versions work) and glib master now also depends on this 0.49.
* meson: don't pass "install" to configure_file() unless really neededChristoph Reiter2019-07-261-2/+0
| | | | | | | | | | In our case it was never needed because it defaults to true if install_dir is set, which it always is for all calls. This avoids a warning when running with newer meson where it complains that install is only available with 0.50+. Fixes #298
* meson: use pkg-config directly for libffi cflags and libsAaron Boxer2019-07-231-2/+3
| | | | | meson 0.50.1 pkg-config API can't introspect clfags and libs, so we need to run pkg-config itself to get these
* build: Force-include msvc_recommended_pragmas.h on Visual StudioChun-wei Fan2019-04-301-0/+4
| | | | | | | | | | By doing so, we essentially cover the various compiler flags that we want to use for non-Visual Studio builds to check for warnings that might cause real concern. This also skips the checks for the various GCC-isque CFlag checks that are scattered in the various build files on Visual Studio builds, since they are essentially meaningless on Visual Studio builds.
* Update NEWS; version bumpChristoph Reiter2019-03-101-1/+1
|
* version bumpChristoph Reiter2019-03-041-1/+1
|
* version bumpChristoph Reiter2019-02-041-1/+1
|
* version bumpChristoph Reiter2019-01-081-1/+1
|
* meson: use underscore as a separator in build optionsChristoph Reiter2019-01-071-1/+1
| | | | This is what https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting suggests.
* meson: set libdir/bindir relative to exec_prefixChristoph Reiter2019-01-061-2/+2
| | | | To match what autotools produces
* meson: warn that not all tests will be run if building without cairo/doctoolChristoph Reiter2019-01-061-0/+7
|