summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ci: Only run the gobject-introspection test suitewip/ciEmmanuele Bassi2018-03-101-1/+1
| | | | | We don't need to run the GLib test suite, in case we're building GLib as a subproject.
* ci: Disable -WerrorEmmanuele Bassi2018-03-101-1/+1
| | | | We're going to need some more iterations before we can re-enable it.
* ci: Add more dependencies for the Docker imageEmmanuele Bassi2018-03-101-0/+11
| | | | | Use the Fedora build dependencies for the gobject-introspection package as a source.
* ci: Update the Docker image dependenciesEmmanuele Bassi2018-03-101-1/+13
| | | | | If we end up building GLib as a subproject, we're going to need all the GLib dependencies.
* Update the wrap files for subprojectsEmmanuele Bassi2018-03-101-2/+1
| | | | They still reference git://git.gnome.org URIs.
* ci: Add GitEmmanuele Bassi2018-03-101-1/+4
| | | | | We need Git in order to check out the subprojects, in case the dependencies do not match with the system ones.
* Add CI environment for gobject-introspectionEmmanuele Bassi2018-03-103-0/+48
| | | | | Based on the GLib and GTK equivalent CI environment, with a Docker container used to run the build.
* 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-102-3/+3
|
* meson: Rebase on top of latest master and bump versionNirbheek Chauhan2018-03-101-1/+1
|
* meson: add ffi_libdir to glib_libpaths and glib_commandHavard Graff2018-03-101-1/+6
| | | | To make it build using libffi as a subproject on Linux.
* giscanner: Maintain python2 compat in annotationparserMikhail Fludkov2018-03-101-4/+4
| | | | | | Mixing ** and explicit keyword arguments is not allowed in Python 2. Signed-off-by: Nirbheek Chauhan <nirbheek@centricular.com>
* meson: Sort globbed files before printingNirbheek Chauhan2018-03-101-1/+4
| | | | | | | | | | | This ensures stability in the output, because the underlying implementation uses readdir() and the output will depend on the filesystem. This also works around a bug where g-ir-scanner's source scanner was #include-ing gmarshal.h before any other header which resulted in all marshaling symbols to be skipped from the introspection because of syntax errors.
* giscanner: Fix minor python3 compatibility issueNirbheek Chauhan2018-03-101-1/+1
| | | | | | dict.items() returns a tuple in Python2 but it returns an iterator in Python3. This is usually fine, except that in this place we also try to index the return value which won't work with iterators.
* meson: Prefer source annotations for gir generationNirbheek Chauhan2018-03-101-4/+24
| | | | | | Otherwise we will see the fallback annotations provided in glib-2.0.c etc and use them instead of the up-to-date annotations in glib's source code.
* giscanner: Fix GtkDocAnnotations implementationNirbheek Chauhan2018-03-101-4/+4
| | | | | | | | Lesson to be learnt: *NEVER* have a try..except block that catches all exceptions and turns them into warnings that are silenced by default. There was a syntax error in this class implementation that made all annotation parsing fail silently.
* 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
* The third parameter of assertion_message is an integer.Danny 'Guru' Forghieri2018-03-101-1/+1
| | | | Signed-off-by: Nirbheek Chauhan <nirbheek@centricular.com>
* Revert "meson: Handle spaces in the full python path"Nirbheek Chauhan2018-03-101-5/+0
| | | | | | | | | | This reverts commit f473d3b3ede94639f8d68fe618cc4cd287053181. This can cause Meson to run g-ir-scanner with the wrong python; for instance if you built gobject-introspection with a 64-bit Python but you have a 32-bit Python in your PATH. The correct fix is https://github.com/mesonbuild/meson/pull/2708.
* meson: Handle spaces in the full python pathNirbheek Chauhan2018-03-101-0/+5
| | | | | | If there is a space in the path to python, we cannot use it in the shebang since there is no way to quote spaces. Use the basename instead since we pass it to /usr/bin/env anyway.
* meson: Remove gir_build hack optionNirbheek Chauhan2018-03-102-10/+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-102-5/+3
| | | | | | 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: Use symbol visibility for giscanner moduleEmmanuele Bassi2018-03-102-2/+2
| | | | | | | | Remove the existing TODO and avoid playing games with the linker. We already have a mechanism in place for controlling he visibility of our symbols. 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: Have a single place to set the subproject directoryNirbheek Chauhan2018-03-101-8/+13
| | | | | This is a hack for use by people who use a different subproject directory than the default.
* giscanner: Fix options in the preprocessor groupNirbheek Chauhan2018-03-101-4/+7
| | | | | | | | | | | | | The way we were parsing cflags was causing cpp_includes, cpp_defines, cpp_undefines to always be empty because we would consume all arguments with --cflags-begin's callback. Now, we make a copy of the 'remaining arguments' and parse those to populate the cflags independent of cpp_* flags that are used for building the scanner executable. This fixes the build when glib and friends aren't available in the system prefix.
* meson: Fix build without pkg-config or any system libsNirbheek Chauhan2018-03-101-12/+40
| | | | | | When building from scratch on Windows using subprojects, we have neither pkg-config nor any system libraries so we need to link to gio/glib/etc manually.
* meson: typelib build depends on GObject-2.0.GirDanny 'Guru' Forghieri2018-03-101-0/+1
| | | | Signed-off-by: Nirbheek Chauhan <nirbheek@centricular.com>
* meson: Fix include dir for gir and typelib genDanny 'Guru' Forghieri2018-03-101-1/+6
| | | | | | | Both the source and the build dir are needed because some files are read from the source and others are read after they are built. Signed-off-by: Nirbheek Chauhan <nirbheek@centricular.com>
* meson: Explicitly use python3 for running g-ir-scannerNirbheek Chauhan2018-03-101-0/+1
| | | | | | Otherwise it won't run on Windows because it doesn't have a .py suffix and it isn't an executable. Meson should probably detect this case and automatically insert python3.
* meson: Use giounix_dep from glib instead of libgio_depNirbheek Chauhan2018-03-101-1/+1
| | | | This needs the latest commit from glib master.
* meson: Try to use win_flex and win_bison if availableNirbheek Chauhan2018-03-101-2/+2
| | | | These are the native windows versions of flex and bison.
* g-ir-scanner: Don't require SRCDIR and BUILDDIR env varsNirbheek Chauhan2018-03-105-23/+62
| | | | | | | | | | | | | When building with Meson, we cannot set environment variables while running custom targets and our builddir layout is different from Autotools anyway. Now g-ir-scanner and friends can autodetect when they're being run uninstalled by Meson and will find _giscanner.so and the giscanner python files in the build directory. This is very similar to what gdbus-codegen uses in glib/gio. Same for girepository/gdump.c.
* giscanner: Remove custom collections implementationNirbheek Chauhan2018-03-109-482/+6
| | | | | | | We already require python 2.7, and it has OrderedDict and Counter. Besides cleaning up unmaintained code, this change found and fixed a Python 3 bug where we were iterating over a dict while changing it.
* meson: Rewrite glib gir generationNirbheek Chauhan2018-03-103-123/+214
| | | | | | | | | | | | | | 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-104-22/+19
| | | | | | 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-106-5/+31
| | | | 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
|
* meson: Set default values for some optionsNirbheek Chauhan2018-03-101-3/+3
|
* Allow setting custom cairo-gobject libnamePatrick Griffis2018-03-102-3/+7
|
* Build docsPatrick Griffis2018-03-103-0/+49
|
* Fix dependency on giscanner's python modulePatrick Griffis2018-03-102-5/+6
|
* Declaration to export functions in girepository.dll/.lib, flag for skipping ↵Danny 'Guru' Forghieri2018-03-102-3/+16
| | | | the build of the gir files.
* Windows: compile with /DYY_NO_UNISTD_HDanny 'Guru' Forghieri2018-03-102-1/+7
|
* Initial work on meson portPatrick Griffis2018-03-1013-8/+748
|
* Release 1.55.21.55.2Rico Tzschichholz2018-02-221-2/+2
|