summaryrefslogtreecommitdiff
path: root/meson.build
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* version bumpChristoph Reiter2019-01-041-1/+1
|
* meson: build libregress with cairo supportChristoph Reiter2018-12-311-0/+14
| | | | | The cairo dependency fallback code is copied from pygobject. I assume that will work for msvc users (cairo is disabled by default anyway)
* meson: add default compiler warning flags and enable -Werror on CIChristoph Reiter2018-12-181-0/+46
| | | | | | | | This enables various compiler warnings project wide and disables the triggered ones for each library/executable. This should give us roughly the same behaviour as with autotools. Tested with gcc8 and clang7.
* meson: Require 0.47Emmanuele Bassi2018-12-181-1/+1
| | | | | We should probably require a newer stable release, but this should be enough to remove the warnings.
* version bumpChristoph Reiter2018-12-161-1/+1
|
* version bumpChristoph Reiter2018-12-161-1/+1
|
* girepository: Add version macros and functions. Fixes #200Christoph Reiter2018-12-161-0/+5
| | | | | | | | | | | This adds the following macros and functions: GI_MAJOR_VERSION, GI_MICRO_VERSION, GI_MINOR_VERSION, GI_CHECK_VERSION, gi_get_major_version,gi_get_micro_version, gi_get_minor_version. Since we share a prefix with glib we have to namespace these by using the gi_ prefix. g_gi would also work but we already export symbols with gi_ like gi_cclosure_marshal_generic(), gi_type_tag_get_ffi_type() and gi_type_info_extract_ffi_return_value(), so let's not add another naming scheme.
* Drop Python 2 support, require Python 3.4+Christoph Reiter2018-11-051-0/+6
| | | | | | glib did the same thing this cycle, see https://gitlab.gnome.org/GNOME/glib/merge_requests/196 for details
* build: Make girdir in .pc files relative to ${datadir} by defaultCarlos Garnacho2018-10-101-3/+7
| | | | | | | | | | This was the de facto behavior, and is already relied upon. If gir-dir-prefix is specified, the gir dir will rely on the more generic ${prefix} location. Also, avoid expanding the path unless necessary in the autotools build. https://gitlab.gnome.org/GNOME/gobject-introspection/issues/236
* meson: add option 'gir-dir-prefix'Kai Kang2018-10-081-1/+7
| | | | | | | Add option 'gir-dir-prefix' for meson to make the installation path of .gir files could be configured which has been done for autoconf. Signed-off-by: Kai Kang <kai.kang@windriver.com>
* version bumpChristoph Reiter2018-09-071-1/+1
|
* Release 1.58.01.58.0Rico Tzschichholz2018-08-311-2/+2
|
* version bumpChristoph Reiter2018-08-181-1/+1
|
* version bumpChristoph Reiter2018-08-171-1/+1
|
* Bump to 1.57.2Rico Tzschichholz2018-07-201-2/+2
|
* meson: Add a "python" option to make the python to build against configurableChristoph Reiter2018-07-111-3/+3
| | | | | | | | This allows us to build with Python 2 and run tests with it. This requires the new "python" meson module which was added in 0.46.0 so bump the required meson version (glib needs a newer one anyway). Also fixes a small test error under Python 2.
* Bump requirement on glib >= 2.57.1Rico Tzschichholz2018-05-231-1/+1
|
* tests: expose variables in meson.buildMathieu Duponchelle2018-04-201-2/+1
| | | | | | | pygobject uses sources from gi's tests folder to build libraries to test against, with autotools it worked by obtaining gidatadir from pkg-config, but this is explicitly prevented by meson's sandbox when gi is built as a subproject.
* meson: Do not depend on a non-existing version of GLibEmmanuele Bassi2018-03-101-2/+3
| | | | | We have already bumped the version of G-I, but GLib hasn't bumped its version, yet.
* Post-branch bump to 1.57.1Emmanuele Bassi2018-03-101-1/+1
|
* meson: Rebase on top of latest master and bump versionNirbheek Chauhan2018-03-101-1/+1
|
* meson: Don't look for gio-unix-2.0 on WindowsNirbheek Chauhan2018-03-101-3/+11
| | | | | | | | As reported by guruDanny76[1], this was causing meson to always clone the glib subproject and fruitlessly try to find gio-unix-2.0, so just don't even try. 1. https://github.com/wingtk/gvsbuild/issues/22#issuecomment-348139054
* meson: Remove gir_build hack optionNirbheek Chauhan2018-03-101-6/+2
| | | | | gir generation now works in-tree, so we do not need to bootstrap g-i by installing to a prefix first.
* meson: Fix including of config.hNirbheek Chauhan2018-03-101-5/+1
| | | | | | We must use include_directories: to pass that so that it's not overriden by include paths from internal dependencies which will very commonly also have their own config.h in one of their include paths.
* meson: Bump up the Meson versionEmmanuele Bassi2018-03-101-1/+1
| | | | | | Use the old-stable (at the time of this commit). Signed-off-by: Nirbheek Chauhan <nirbheek@centricular.com>
* meson: Update symbol visibility rulesEmmanuele Bassi2018-03-101-14/+14
| | | | | | Follow the existing best practices. Signed-off-by: Nirbheek Chauhan <nirbheek@centricular.com>
* meson: Use giounix_dep from glib instead of libgio_depNirbheek Chauhan2018-03-101-1/+1
| | | | This needs the latest commit from glib master.
* meson: Rewrite glib gir generationNirbheek Chauhan2018-03-101-0/+1
| | | | | | | | | | | | | | The previous build files had a bunch of problems: 1. It assumed that glib would only be sourced via pkg-config 2. It was using the system gobject-introspection-1.0.pc file while building GIRepository-1.0.gir 3. It wasn't ignoring the *-autocleanup.h headers properly Now you can build glib as a subproject and generate girs against the in-tree sources. This also yields more accurate girs because they document platform-specific features that are actually enabled in the glib build we are linking against.
* meson: Fix configuration when libffi is a subprojectNirbheek Chauhan2018-03-101-2/+9
|
* meson: Use glib_dep and configinc for girepositoryNirbheek Chauhan2018-03-101-0/+4
| | | | | | glib_dep is what is actually needed to #include <glib.h>, not gobject_dep. It works incidentally with system gobject/glib but not when built via subprojects.
* meson: Add fallbacks for all dependenciesNirbheek Chauhan2018-03-101-5/+10
| | | | Also add wrap files in subprojects/
* meson: Set glib version from the project versionNirbheek Chauhan2018-03-101-4/+8
| | | | This is how the bumping is always done in autotools.
* meson: Use ${prefix} in pkg-config filesNirbheek Chauhan2018-03-101-4/+4
| | | | | | This allows the pkg-config files to be relocated at on Windows by moving the entire prefix and pkg-config will automatically set the value of prefix.
* meson: Set EXEEXT for pkg-config filesNirbheek Chauhan2018-03-101-1/+7
|
* Declaration to export functions in girepository.dll/.lib, flag for skipping ↵Danny 'Guru' Forghieri2018-03-101-3/+12
| | | | the build of the gir files.
* Windows: compile with /DYY_NO_UNISTD_HDanny 'Guru' Forghieri2018-03-101-1/+1
|
* Initial work on meson portPatrick Griffis2018-03-101-0/+91