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
Timm Bäder
5475768d32
Meson build v2
2017-05-03 15:10:50 +01:00
Emmanuele Bassi
7a90e06a3c
Add Meson build files
...
Original work by: Jussi Pakkanen <jpakkane@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=769881
2017-05-03 15:10:50 +01:00
Emmanuele Bassi
35c26d00d7
gsk: Include the private header
...
Both gskprivate.c and gskvulkanrenderer.c call `gsk_ensure_resources`
but fail in clude `gskprivate.h`, where the function is declared.
2017-05-03 15:00:12 +01:00
Emmanuele Bassi
71ad17cae1
Remove gdkkeysyms-compat.h
...
The compatibility header was needed after GTK+ 3.0 renamed the key
symbols from `GDK_*` to `GDK_KEY_*` to avoid collisions.
2017-05-03 14:54:37 +01:00
Timm Bäder
a9fdf49ed4
examples/drawing: Don't call gtk_main_quit
...
This is a GtkApplication so it will do the right thing when closing the
window.
2017-05-03 14:53:34 +01:00
Timm Bäder
5c79d65717
fallback-c89: Include config.h
...
It holds all the HAVE_<func> definitions.
2017-05-03 14:47:14 +01:00
Emmanuele Bassi
98b1075764
gdk: Remove GdkX11DisplayManager from the build
...
We don't instantiate it, and we don't use it any more.
2017-05-03 14:15:57 +01:00
Matthias Clasen
caacab13e9
Remove the gdk backend API too
...
The GTK+ level API for this is already gone.
2017-05-02 16:17:33 -04:00
Daniel Boles
e0a741c8ee
Scale: Improve documentation of set_has_origin()
...
Properly format the property name, and avoid saying scale so many times.
2017-05-02 12:39:04 +01:00
Daniel Boles
4d88dc44b6
Scale: Explain how to round value when !draw-value
...
Scale:digits is (now, again) ineffective if Scale:draw-value is FALSE.
To get rounding in that case, the base Range:round-digits must be used.
2017-05-02 12:39:04 +01:00
Emmanuele Bassi
73878e29fd
Recover assets rendering script
...
It was unintentionally removed by commit f6cbd076
.
2017-05-02 12:37:36 +01:00
Timm Bäder
2c174319ea
widget-factory: Fix listbox row alignment
2017-05-01 21:21:40 +02:00
Timm Bäder
5c4934cfc0
Chain up in size-allocate implementations
...
Otherwise we're not setting an allocation at all.
2017-05-01 21:21:40 +02:00
Matthias Clasen
92b0d2e8ea
Remove GtkWindow::hide-titlebar-when-maximized
...
This was only every implemented under X11, and with CSD,
this is clearly in the application realm. We should not
pretend that we can support it on the toolkit level.
https://bugzilla.gnome.org/show_bug.cgi?id=775061
2017-05-01 13:26:46 -04:00