summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* mkenums: pass string for re.sub() for realignatenko/mkenum-criticalIgor Gnatenko2017-07-151-1/+1
| | | | Signed-off-by: Igor Gnatenko <ignatenko@src.gnome.org>
* mkenums: don't try to call undefined functionIgor Gnatenko2017-07-151-3/+0
| | | | | | argparse will take care about everything Signed-off-by: Igor Gnatenko <ignatenko@src.gnome.org>
* mkenums: make string raw for real regexIgor Gnatenko2017-07-151-2/+2
| | | | Signed-off-by: Igor Gnatenko <ignatenko@src.gnome.org>
* mkenums: trivial style fixesIgor Gnatenko2017-07-151-27/+31
| | | | Signed-off-by: Igor Gnatenko <ignatenko@src.gnome.org>
* mkenums: fix main incompatibility with python2Igor Gnatenko2017-07-151-0/+2
| | | | Signed-off-by: Igor Gnatenko <ignatenko@src.gnome.org>
* meson: fix 'Unknown variable "gtester"' error on windowsTim-Philipp Müller2017-07-151-1/+1
| | | | With msys64/mingw.
* Use env for gdbus-codegen's scriptEmmanuele Bassi2017-07-141-1/+1
| | | | This allows us to build with Python 3 without using an absolute path.
* Use env to run the Python-based toolsEmmanuele Bassi2017-07-142-2/+2
| | | | | Otherwise overriding the Python interpreter with `--with-python` won't work correctly.
* meson: Substitute the Python shebangEmmanuele Bassi2017-07-143-2/+4
| | | | | Just like we do with Autotools. This allows building glib-mkenums and glib-genmarshal on older platforms that only have Python 2.
* meson: Use the appropriate libdir-relative pathsmeson-for-mergeEmmanuele Bassi2017-07-141-2/+2
|
* meson: Use the appropriate interface and binary agesEmmanuele Bassi2017-07-143-8/+11
| | | | | We need to build them out of the project version, and then propagate them.
* meson: Sync the version with AutotoolsEmmanuele Bassi2017-07-141-1/+1
|
* meson: fix remaining wrong #include's for gdbus_codegen filesThibault Saunier2017-07-132-3/+5
| | | | | | This is a follow up on 266bc1e510e154f7b5e793adb227d979ae655446 to fix building tests and examples when using GLib as a meson subproject.
* Fix glib-genmarshal build with mesonMatthias Clasen2017-07-132-5/+7
| | | | This is no longer built from a C source, but a python file.
* Add gopenuriportal.c to the meson buildMatthias Clasen2017-07-131-0/+6
| | | | This was added recently.
* meson: replace meson.current_source_dir() with files()Alessandro Decina2017-07-131-2/+2
| | | | | As the meson reference doc says, files() is preferred over building paths with current_source_dir().
* meson: fix wrong #include's for gdbus_codegen filesAlessandro Decina2017-07-131-2/+4
| | | | | | | | | | | | When building glib as a subproject, #include's for xdp-dbus.h from xdp-dbus.c and for gdbus-daemon-generated.h from gdbus-daemon-generated.c were generated as being prefixed with the subproject prefix, eg #include "subproject/glib/gio/gdbus-daemon-generated.h". That failed since the root of the build directory is obviously not part of the include path when building a subproject. Passing --output-directory @OUTDIR@ to gdbus-codegen and removing @OUTDIR@ from --generate-c-code fixes the issue.
* glib-mkenums: pick up /*< nick=xyz >*/ annotation againTim-Philipp Müller2017-07-131-1/+1
| | | | | | | | ... in glib-mkenums python port. Was parsed correctly but then skipped due to inverted condition. https://bugzilla.gnome.org/show_bug.cgi?id=779332
* meson: error out if atomic ops would be available with -march=i486Tim-Philipp Müller2017-07-131-0/+9
| | | | Same as autotools build.
* meson: Fix the build defining HAVE_RTLD_XThibault Saunier2017-07-132-0/+15
| | | | | | Otherwise RTLD_XXX get redefined. https://bugzilla.gnome.org/show_bug.cgi?id=784133
* meson: Fix building as a subprojectThibault Saunier2017-07-131-1/+1
| | | | | | | | meson.source_root() returns the toplevel source directory of the toplevel project, thus the paths were wrong when using it. Simply using files() gets us the right path https://bugzilla.gnome.org/show_bug.cgi?id=784133
* meson: Defining MAJOR_IN_ as done by AC_HEADER_MAJORThibault Saunier2017-07-132-0/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=784133
* meson: gio tests need to link against gobject as wellTim-Philipp Müller2017-07-131-12/+14
| | | | | | | With meson from git dependencies of dependencies are no longer added automatically and recursively to the linker lines. Meaning dependencies that are used have to be passed directly and explicitly or we'll get linker errors.
* meson: docs: make gtk-doc find the gobject.types fileTim-Philipp Müller2017-07-131-1/+1
| | | | | | Should really use files('gobject.types') instead, but that seems to get expanded to the build path for some reason: https://github.com/mesonbuild/meson/issues/1875
* meson add missing gio/tests subdirectory/fileTim-Philipp Müller2017-07-131-0/+8
|
* glib-mkenums: add back missing --fprod optionMatej Knopp2017-07-131-0/+2
| | | | | | | ... in glib-mkenums python port. https://bugzilla.gnome.org/show_bug.cgi?id=779332 https://bugzilla.gnome.org/show_bug.cgi?id=783198
* glib-mkenums: Fix parsing of multiline commentsMatej Knopp2017-07-131-2/+2
| | | | | | | ... in glib-mkenums python port. https://bugzilla.gnome.org/show_bug.cgi?id=779332 https://bugzilla.gnome.org/show_bug.cgi?id=783198
* meson: Install missing guuid.h headerSebastian Dröge2017-07-131-0/+1
|
* glib-mkenums: fix parsing of /*< flags >*/ annotationTim-Philipp Müller2017-07-131-5/+5
| | | | | | | | | | | | | | | | | | | | Fixes get_type function generation for: - GMountMountFlags - GDriveStartFlags - GResourceLookupFlags - GSocketMsgFlags - GTlsDatabaseVerifyFlags - GTestDBusFlags which were registered as enum types before, which broke some unit tests. Problem is that the flags annotation has no value, so options.get('flags') would always return None even if it was present. https://bugzilla.gnome.org/show_bug.cgi?id=779332
* meson: rebase on top of master ~2.53.1Tim-Philipp Müller2017-07-133-24/+61
| | | | From 2.51.2
* meson: add tests/gobject and tests/refcountTim-Philipp Müller2017-07-134-1/+104
|
* meson: gio/tests: remove some leftover rubbishTim-Philipp Müller2017-07-131-40/+0
|
* meson: gio/tests: add more gio testsTim-Philipp Müller2017-07-136-11/+96
| | | | | | | | | Need to fix up some of the tests a little, because the test binary will not necessarily be run from the current build sub-directory, and the build directory structure might not always be a mirror of the source directory structure, so pass location of glib-mkenums and glib-compile-scheme and such directly.
* meson: Use glib-mkenums directly instead of via build_mkenum.pyNirbheek Chauhan2017-07-132-31/+8
| | | | | This is no longer needed because we use templates and custom targets can capture output just fine on all platforms.
* glib-mkenums: misc fixes to python portNirbheek Chauhan2017-07-131-1/+1
|
* Add zlib, libffi, and proxy-libintl subproject wrapsNirbheek Chauhan2017-07-134-1/+13
| | | | | This allows you to clone glib and just build it anywhere without any extra dependencies besides Python 3 and Meson itself (and maybe git).
* meson: Use Python port of glib-mkenumsNirbheek Chauhan2017-07-135-583/+579
| | | | | | | | | | | | | This reduces the build-time dependencies of glib to only Python 3, Meson, and git. Git is also optional if you provide a tarball in which the subproject directories already exist. The Python port was done by Jussi Pakkanen on bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=779332 This version contains some fixes from that and also changes all instances of `@` to `\u0040` because Meson does not yet provide a configure_file() mode that ignores unknown @MACRO@ values.
* meson: Use proxy-libintl if gettext is not foundNirbheek Chauhan2017-07-135-15/+23
| | | | | | | | | This is a stub-only library that can be used while building against MSVC and contains no i18n machinery at all. The dependencies added indirectly use the libintl.h header, and when built as a subproject, the header won't be in a path known the pre-processor.
* meson: Only require libmount on LinuxNirbheek Chauhan2017-07-131-1/+1
| | | | | It's not available on other platforms, so don't require the user to explicitly disable it there.
* meson: Allow using libffi and zlib as subprojectsNirbheek Chauhan2017-07-131-10/+4
| | | | Also use the python3 module to find python3, and require Meson 0.37.1
* meson: Print output for more compiler checksNirbheek Chauhan2017-07-131-7/+7
| | | | | | | When no 'name:' kwarg is specified for cc.run, no output is printed. This makes it difficult to figure out what is causing a pause in the configure process.
* meson: Detect with-docs and with-man automaticallyNirbheek Chauhan2017-07-135-131/+42
| | | | | | | | By default, only build man pages and gtk-doc if the build-deps were found. To force-enable, pass -Dwith-docs=yes and -Dwith-man=yes. Also use a foreach loop for man pages instead of listing them all manually
* meson: Rebase and update to 2.51.2Nirbheek Chauhan2017-07-131-1/+1
|
* tests: gio/tests: add gdbus testsTim-Philipp Müller2017-07-131-14/+116
|
* meson: gio/tests: add more gresource testsTim-Philipp Müller2017-07-132-2/+72
|
* meson: add -fvisibility=hidden explicitly to selected targetsTim-Philipp Müller2017-07-139-11/+13
| | | | | | Don't use it project-wide for building everything. Otherwise symbols for shared modules won't be exposed, e.g. in the resourceplugin used by the gio resource unit test.
* meson: use add_project_arguments() instead of add_global_arguments()Tim-Philipp Müller2017-07-131-3/+1
| | | | | add_global_arguments() doesn't work if the project is used as a subproject.
* meson: gio/tests: add more missing testsTim-Philipp Müller2017-07-135-67/+163
|
* gio: tests: rename generated giotypefunc.c to giotypefuncs.incTim-Philipp Müller2017-07-133-5/+5
| | | | | | This is needed for the Meson port, a file name .c that's included and shouldn't be compiled into an object is difficult to manage otherwise.
* meson: gio, gobject: use files() for headers listTim-Philipp Müller2017-07-132-10/+10
| | | | | Since these variables are referenced from other directories such as the tests/ subdir as well.