summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* meson: replace meson.current_source_dir() with files()wip/mesonAlessandro Decina2017-07-121-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-121-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-06-261-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-06-261-0/+9
| | | | Same as autotools build.
* meson: Fix the build defining HAVE_RTLD_XThibault Saunier2017-06-232-0/+15
| | | | | | Otherwise RTLD_XXX get redefined. https://bugzilla.gnome.org/show_bug.cgi?id=784133
* meson: Fix building as a subprojectThibault Saunier2017-06-231-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-06-232-0/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=784133
* meson: gio tests need to link against gobject as wellTim-Philipp Müller2017-06-041-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-05-311-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-05-311-0/+8
|
* glib-mkenums: add back missing --fprod optionMatej Knopp2017-05-311-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-05-311-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-05-311-0/+1
|
* glib-mkenums: fix parsing of /*< flags >*/ annotationTim-Philipp Müller2017-05-311-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-05-313-24/+61
| | | | From 2.51.2
* meson: add tests/gobject and tests/refcountTim-Philipp Müller2017-05-314-1/+104
|
* meson: gio/tests: remove some leftover rubbishTim-Philipp Müller2017-05-311-40/+0
|
* meson: gio/tests: add more gio testsTim-Philipp Müller2017-05-316-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-05-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-05-131-1/+1
|
* Add zlib, libffi, and proxy-libintl subproject wrapsNirbheek Chauhan2017-05-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-05-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-05-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-05-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-05-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-05-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-05-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-05-131-1/+1
|
* tests: gio/tests: add gdbus testsTim-Philipp Müller2017-05-131-14/+116
|
* meson: gio/tests: add more gresource testsTim-Philipp Müller2017-05-132-2/+72
|
* meson: add -fvisibility=hidden explicitly to selected targetsTim-Philipp Müller2017-05-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-05-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-05-135-67/+163
|
* gio: tests: rename generated giotypefunc.c to giotypefuncs.incTim-Philipp Müller2017-05-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-05-132-10/+10
| | | | | Since these variables are referenced from other directories such as the tests/ subdir as well.
* meson: glib/tests: add missing testsTim-Philipp Müller2017-05-132-1/+31
|
* meson: add support for dtrace/systemtapTim-Philipp Müller2017-05-135-0/+101
| | | | Still at least one FIXME. And untested so far. It builds.
* meson: Add a comment about the gdbus-peer gio testNirbheek Chauhan2017-05-131-0/+1
| | | | So that it's not forgotten later.
* meson: Add missing termios.h checkNirbheek Chauhan2017-05-131-0/+1
| | | | | | Same change as d1d1aba3b4c024255b530b0f4f2dc9dd19a7086e https://bugzilla.gnome.org/show_bug.cgi?id=775517
* tests: autoptr test can be run on gcc, clang, intelNirbheek Chauhan2017-05-132-2/+2
| | | | | The only place where it won't work, is MSVC and maybe Sun Studio, but we'd need someone to test Sun Studio first.
* build: Remove function checks for unused functionsNirbheek Chauhan2017-05-132-4/+2
| | | | These were removed several years ago.
* meson: Derive defines from header, struct, function namesNirbheek Chauhan2017-05-131-142/+146
| | | | This is what Autoconf macros do too, so no need to hard-code the names.
* meson: Add tls-interaction test, and fix giomodule testNirbheek Chauhan2017-05-134-4/+32
| | | | | | giomodule test needed symbol visibility pragmas added. This is needed on Windows anyway, so it's better to do it this way rather than disabling -fvisibility=hidden for the test modules.
* meson: Port to latest master (2.51.0)Nirbheek Chauhan2017-05-136-27/+99
| | | | | | | Also remove headers from some gio sources. Headers do not need to be added to the list of sources. + various smaller self-explanatory fixes.
* meson: Minor modernizationsPatrick Griffis2017-05-1312-144/+158
|
* meson: Match upstream gtkdoc changesPatrick Griffis2017-05-133-17/+3
|
* meson: Build all docsPatrick Griffis2017-05-1310-2/+512
|
* meson: Match soname version of autotoolsPatrick Griffis2017-05-131-1/+1
|
* meson: More build fixesPatrick Griffis2017-05-136-12/+178
| | | | | - Fix installing various data files - Build translations
* meson: Improve MSVC and MinGW support and fix dependencies everywhereNirbheek Chauhan2017-05-1326-706/+981
| | | | | | | | | | | | | | | | Disable gio tests on Windows, fix .gitignore to not ignore config.h.meson, and add more things to it. Rename the library file naming and versioning to match what Autotools outputs, e.g., libglib-2.0.so.0.5000.2 on Linux, libglib-2.0-0.dll and glib-2.0-0.dll on Windows with MSVC. Several more tiny fixes, more executables built and installed, install pkg-config and m4 files, fix building of gobject tests. Changes to gdbus-codegen to support out-of-tree builds without environment variables set (which you can't in Meson). We now add the build directory to the Python module search path.