summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Drop autotools build systemwip/no-autotoolsEmmanuele Bassi2017-04-3076-9814/+0
| | | | We use Meson, now.
* build: Update autotools for API reference changeswip/mesonEmmanuele Bassi2017-04-303-67/+54
|
* build: Add Meson-related files to the autotools distEmmanuele Bassi2017-04-281-1/+16
| | | | | This way, a tarball generated via autotools will also allow building GTK+ via Meson.
* build: Use link_whole for GDK backendsEmmanuele Bassi2017-04-281-1/+1
| | | | | When linking libgdk4 to each backend's static library, we want to use the whole-archive support.
* build: Define G_LOG_USE_STRUCTURED in GDKEmmanuele Bassi2017-04-282-2/+6
| | | | We want to use the new structured logging support in GLib.
* build: Add common flags to GDK backendsEmmanuele Bassi2017-04-283-3/+10
| | | | | | The common compiler and linker flags control, among other things, the default visibility of symbols; without them, we leak symbols that ought to be private.
* build: Fix the introspection buildEmmanuele Bassi2017-04-282-6/+9
| | | | | | | | | | | | | GSK has various enumeration types that are currently not used; while they may go away, currently they are built and introspected. If we want the introspection machinery to work, and still use static libraries to build GDK and GSK into the GTK shared library, then we need to reference the get_type() function of these enumeration types somewhere, to avoid the linker discarding it, and thus breaking the build. As luck would have it, we have an autogenerated bit of C that refers to all the get_type() functions in the library; if we add the GSK types to it, then we get the reference we're looking for, and the build succeeds.
* build: Depend on Meson 0.40 at leastEmmanuele Bassi2017-04-281-1/+1
|
* build: Initial attempt at fixing the docs buildEmmanuele Bassi2017-04-284-9/+19
| | | | | | We need to reference the types file directly, because it won't be copied into the builddir by Meson — except for GTK, which needs to generate its own types file using configure_file().
* build: Use get_pkgconfig_variable()Emmanuele Bassi2017-04-282-22/+20
| | | | There's no need to run pkg-config ourselves.
* build: Improve consistency of the "coding" styleEmmanuele Bassi2017-04-2810-276/+278
| | | | | | We're mixing a lot of styles in the Meson build files. This is an attempt at making everything slightly more consistent in terms of whitespace and indentation.
* build: Clean up print backends Meson rulesEmmanuele Bassi2017-04-286-26/+53
|
* build: Put the xkbcommon required version into a variableEmmanuele Bassi2017-04-281-2/+4
| | | | We use it in two places.
* build: Ensure that Vulkan shaders are rebuilt if glslc is foundEmmanuele Bassi2017-04-281-40/+51
| | | | | | If glslc is found, rebuild the shaders from GLSL to SPIR-V; otherwise, we're just going to use the built files we have committed in the source repository.
* build: Add post-install scriptEmmanuele Bassi2017-04-282-0/+31
| | | | | | When building GTK+ straight from the repository without any assistance from packaging tools, we need to trigger system-wide updates, like the icon theme cache update, or the schema compilation.
* build: Clean up Wayland protocol code generationEmmanuele Bassi2017-04-282-36/+48
| | | | | | | We can build the name of the input and output files for the Wayland protocols we use from the protocol name, stability, and version. This is similar to how the autotools build does it, except much more clear and without shelling out twice to sed just to resolve the Makefile rule.
* build: Add Meson options for quartz/win32 backendsEmmanuele Bassi2017-04-281-0/+4
|
* build: Disable introspection generationEmmanuele Bassi2017-04-281-1/+1
| | | | | | Currently gobject-introspection is badly borked with Meson. This will need to be reverted.
* build: Rename GSK resource generator scriptEmmanuele Bassi2017-04-283-4/+4
| | | | | Maintain the naming convention, since we have similar scripts for GDK and GTK already.
* build: Generate the API references (WIP)Emmanuele Bassi2017-04-2811-1/+306
| | | | Still a work in progress.
* build: Add the appropriate inclusion paths for libgtkEmmanuele Bassi2017-04-281-1/+1
|
* build: Disable deprecation warnings for input methodsEmmanuele Bassi2017-04-281-0/+1
|
* docs: Rename files to match type and versionEmmanuele Bassi2017-04-283-1/+1
| | | | | | The main GDK API reference index is XML, not SGML. The overrides file is for GDK 4.x, not 3.x.
* Remove gdkkeysyms-compat.hEmmanuele Bassi2017-04-286-2343/+12
| | | | | The compatibility header was needed after GTK+ 3.0 renamed the key symbols from `GDK_*` to `GDK_KEY_*` to avoid collisions.
* build: Add introspection generationEmmanuele Bassi2017-04-282-7/+68
| | | | | Currently, no platform-specific introspection is generated; there will be a follow-up commit.
* build: Use the common linker flags in GDK and GSKEmmanuele Bassi2017-04-282-3/+4
| | | | Instead of hard-coding `-Bsymbolic`.
* gsk: Include the private headerEmmanuele Bassi2017-04-282-0/+3
| | | | | Both gskprivate.c and gskvulkanrenderer.c call `gsk_ensure_resources` but fail in clude `gskprivate.h`, where the function is declared.
* build: Use the appropriate linker flagsEmmanuele Bassi2017-04-282-2/+20
| | | | | | We need to check if the linker flags we use are available, depending on the platform, and we need to ensure that the shared library is versioned appropriately.
* build: Bump version and C standardEmmanuele Bassi2017-04-281-2/+3
| | | | GTK+ 4.0 uses C99.
* build: Add missing symbol visibility flagsEmmanuele Bassi2017-04-281-0/+16
| | | | | | | GTK symbols are not visible by default, and only the ones annotated with _GDK_EXTERN (and wrapper macros) are exported. We need to define _GDK_EXTERN during the configuration, depending on the platform and compiler we use.
* build: Add compiler warnings and errorsEmmanuele Bassi2017-04-284-7/+80
| | | | We don't want to build buggy code.
* build: Depend on graphene-gobject-1.0Emmanuele Bassi2017-04-281-1/+1
| | | | | We use the GObject types with Graphene, so we need to check that the library has been built with them.
* build: Some whitespace cleanupsEmmanuele Bassi2017-04-281-7/+6
|
* build: Generate the appropriate GLib versioning checksEmmanuele Bassi2017-04-281-3/+17
| | | | | | The autotools build checks the version of GLib we are depending on in order to generate the appropriate GLIB_VERSION values for the min-required/max-allowed defines.
* build: Add the appropriate paths in the configuration headerEmmanuele Bassi2017-04-283-5/+8
| | | | Instead of injecting them into the C compiler arguments.
* build: Use the appropriate quotingEmmanuele Bassi2017-04-282-7/+11
| | | | There's no need for string concatenation.
* build: Do not mix private and public GDK headersEmmanuele Bassi2017-04-281-2/+3
| | | | | The type generation script inside gtk/ will use the `gdk_headers` variable, and that must not contain private headers.
* meson: gdk: fix static library namesTim-Philipp Müller2017-04-286-6/+6
| | | | Fix double lib prefix in filenames (liblibgdk-xyz.a)
* meson: build input modulesTim-Philipp Müller2017-04-288-9/+154
| | | | | | | | | We have to work around some ordering problems here. We still manage to keep most of the guts in modules/input/meson.build, so it's not too ugly overall. (The autotools build solves this with a 'make -C ../../input/modules' inside gtk/Makefile, but that's not something we can or want to do.)
* meson: check for xineramaTim-Philipp Müller2017-04-283-4/+19
|
* meson: fix XIAllowTouchEvents checkTim-Philipp Müller2017-04-281-4/+6
| | | | | Need to link against dep/lib to check for function in it. Also misc fixes to surrounding xi-related checks.
* meson: remove duplicate libm variableTim-Philipp Müller2017-04-283-4/+2
| | | | Only need one of libm and mlib
* meson: check for more missing config.h definesTim-Philipp Müller2017-04-283-49/+25
| | | | | Lots of them are unused and can be removed. For others we add a check.
* meson: simplify function checksTim-Philipp Müller2017-04-281-22/+24
| | | | | Because we can. We don't need to specify the right header anymore to check for functions.
* meson: simplify header checksTim-Philipp Müller2017-04-281-28/+22
| | | | | | | Remove workaround for gcc bug (Meson does that now), and construct the right config.h defines for the headers on the fly instead of listing them in the build file, which is more error prone.
* Set glib min/max versionsMatthias Clasen2017-04-281-1/+4
|
* meson: fix GETTEXT_PACKAGETim-Philipp Müller2017-04-281-1/+1
|
* Don't require glslc for vulkanMatthias Clasen2017-04-281-7/+2
| | | | The compiled shaders are checked into git.
* meson: move colord checks into cups printbackendTim-Philipp Müller2017-04-283-2/+12
| | | | Which is the only user of it. Also add option to enable/disable.
* meson: gtk: set GTK_PRINT_BACKENDS define properlyTim-Philipp Müller2017-04-283-1/+4
|