Tim-Philipp Müller
7b6b3c7786
meson: gsk: use gnome.mkenums() to generate enum types
2017-05-03 15:10:53 +01:00
Tim-Philipp Müller
fed7d22df7
meson: gsk: generate gsk.resources.xml
2017-05-03 15:10:53 +01:00
Tim-Philipp Müller
95979f4d2f
meson: add vulkan bits
2017-05-03 15:10:53 +01:00
Tim-Philipp Müller
3ac88fa6b6
meson: examples: update
...
Mostly style changes. Don't create resource source files
with spaces in them, that's tempting our luck.
2017-05-03 15:10:53 +01:00
Tim-Philipp Müller
d276cd47a5
meson: tests: make tests find resources from the source dir
...
Should probably also do this in the autotools build, since
the same problem exists there as well if we use srcdir != builddir.
2017-05-03 15:10:53 +01:00
Tim-Philipp Müller
08153c3854
meson: tests: update and sync with Makefiles
2017-05-03 15:10:53 +01:00
Tim-Philipp Müller
b6722b0a36
meson: demos: update and sync up with Makefiles
2017-05-03 15:10:53 +01:00
Tim-Philipp Müller
b8a017b081
meson: use add_project_arguments() instead of add_global_arguments()
...
So Gtk+ can be used as a subproject.
2017-05-03 15:10:53 +01:00
Tim-Philipp Müller
d6a824476d
meson: gtk-demo: update and sync up with Makefile.am
2017-05-03 15:10:53 +01:00
Tim-Philipp Müller
37d5938561
meson: update list of sources for changes in git master
2017-05-03 15:10:53 +01:00
Tim-Philipp Müller
a23ce5c11c
meson: fix checks for maths and X11 funcs that need the right deps
2017-05-03 15:10:53 +01:00
Tim-Philipp Müller
917a6b0912
meson: work around meson/gcc bug detecting linux/* headers
2017-05-03 15:10:53 +01:00
Tim-Philipp Müller
a223294605
meson: set _GNU_SOURCE project wide
...
Easier, also means we don't have to define it for
checks. that will only succeed with it defind.
2017-05-03 15:10:53 +01:00
Tim-Philipp Müller
e675675b78
meson: testsuite: gdk: need to dep on gtk
...
Almost all of these tests include gtk/gtk.h so we need
to dep on libgtk not just libgdk. Otherwise compilation
fails because graphene.h include can't be found.
2017-05-03 15:10:52 +01:00
Tim-Philipp Müller
75fd87ce61
meson: gtk: generate gtk.gresource.xml
2017-05-03 15:10:52 +01:00
Tim-Philipp Müller
aa52cbeb11
meson: gtk: add missing source file
2017-05-03 15:10:52 +01:00
Tim-Philipp Müller
154ca1d1e4
meson: make sure gdk/gdkenumtypes.h is generated for users of libgtk_dep
...
Add libgdk_dep as dependency to the libgtk_dep declare_dependency(), so
that the generated gdk includes are generated before anything is built
that tries to include gtk headers (such as various tests that don't depend
on gdk directly).
2017-05-03 15:10:52 +01:00
Tim-Philipp Müller
55bbe0612e
Rename generated gtktypefuncs.c to gtktypefuncs.inc
...
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. And it's not actually a valid .c file anyway.
2017-05-03 15:10:52 +01:00
Tim-Philipp Müller
b08a9bac6f
meson: add graphene subproject that can be used as fallback
2017-05-03 15:10:52 +01:00
Timm Bäder
4fcca9945f
meson: update build files
2017-05-03 15:10:52 +01:00
Timm Bäder
409ed21594
meson: Sort input files by name
2017-05-03 15:10:52 +01:00
Timm Bäder
6dd6660c68
meson: Conditionally check for dependencies
2017-05-03 15:10:52 +01:00
Timm Bäder
02a250147f
meson: Check for more libraries
2017-05-03 15:10:52 +01:00
Timm Bäder
bfabaa0bd6
meson: build some more tests
2017-05-03 15:10:52 +01:00
Timm Bäder
09ad2f9d31
meson: build tests/visuals
2017-05-03 15:10:52 +01:00
Timm Bäder
0748c415da
meson: Build gtk utils
2017-05-03 15:10:52 +01:00
Timm Bäder
092f6d5c43
meson: Install libgtk and libgdk
2017-05-03 15:10:52 +01:00
Timm Bäder
d353924c3d
gtk/meson: Read dirs from options
2017-05-03 15:10:52 +01:00
Timm Bäder
8ae847e4fc
Build examples
2017-05-03 15:10:52 +01:00
Timm Bäder
8bf141b364
meson: Build all tests in tests/
2017-05-03 15:10:52 +01:00
Timm Bäder
d2ecd6e3c6
meson: Also check for sincos
2017-05-03 15:10:51 +01:00
Timm Bäder
fe29dbd9cc
meson.build: Add more required versions
...
...build tests/ and testsuite/, properly define gtk_version, etc.
2017-05-03 15:10:51 +01:00
Tim-Philipp Müller
1125e4d77c
meson: figure out wayland-protocols pkgdatadir via pkg-config
...
Instead of hardcoding the location.
2017-05-03 15:10:51 +01:00
Timm Bäder
abe80bb7c4
meson: Use -Bsymbolic
2017-05-03 15:10:51 +01:00
Timm Bäder
5116b2b612
meson: Require gtkmarshal_h before we build gtk
2017-05-03 15:10:51 +01:00
Timm Bäder
9e0c74b513
meson: Disable broadway build
2017-05-03 15:10:51 +01:00
Timm Bäder
2144b776b2
meson: Generate demos.h for gtk3-demo
2017-05-03 15:10:51 +01:00
Timm Bäder
fe42d645ad
meson: Build gtk3-demo
2017-05-03 15:10:51 +01:00
Timm Bäder
81ffccf79f
meson: build gtk/ again
2017-05-03 15:10:51 +01:00
Timm Bäder
294ebd70b3
build: Generate wayland protocol files
2017-05-03 15:10:51 +01:00
Timm Bäder
41d019851c
wayland: Include generated sources from builddir, not srcdir
2017-05-03 15:10:51 +01:00
Timm Bäder
c9016fb8a3
gentypefuncs.py: Use python3
2017-05-03 15:10:51 +01:00
Tim-Philipp Müller
0f7f4225de
meson: replace gentypefuncs.d with python script
2017-05-03 15:10:51 +01:00
Timm Bäder
88a2a571d5
gtk major version
2017-05-03 15:10:51 +01:00
Timm Bäder
3f62b935e5
meson: Use xrandr
2017-05-03 15:10:51 +01:00
Timm Bäder
df965304d4
meson: make gtk buildable
...
x11 only
2017-05-03 15:10:51 +01:00
Timm Bäder
082cf3553d
meson: Build gtk marshallers
...
And fix libgtk_dep/libgdk_dep to link_with the shared lib
2017-05-03 15:10:50 +01:00
Timm Bäder
1e8a606403
meson: Add unit test files
2017-05-03 15:10:50 +01:00
Timm Bäder
3b0709b6e5
gtk: Generate gresources file
2017-05-03 15:10:50 +01:00
Timm Bäder
7fff2901aa
meson: Add options for x/wayland/broadway backends
2017-05-03 15:10:50 +01:00