Niklas Hambüchen
d5457d1b14
build: Don't hardcode shared_library() in meson.
...
Instead, use the standard library().
This is a meson best practice.
Fixes #2248 .
Fixes -Ddefault_library=static not having any effect.
Cherry-Picked-From: bb9c07d8fe
2019-11-18 03:31:20 +01:00
Christoph Reiter
31a57fe389
Drop the mir backend
...
It depends on libcontent-hub-glib which was dropped from Ubuntu in mid 2017:
https://bugs.launchpad.net/ubuntu/+source/content-hub/+bug/1712874
It was patched downstream to still build until it was disabled at the beginning
of 2018: https://launchpad.net/ubuntu/+source/gtk+3.0/3.22.28-1ubuntu3
This likely means no one has built gtk with mir in 2 years, and there is no plan
to change that, so just remove it.
2019-08-25 22:46:28 +02:00
Jeremy Tan
ff21730d8e
Fix gdkconfig.h generation for GDK_WINDOWING_QUARTZ
2019-07-20 15:10:34 +08:00
Christoph Reiter
94555371f5
meson: print disabled backends in the final build summary
...
It's easy to miss what's not getting build otherwise
2019-06-17 17:50:42 +00:00
Christian Hergert
ef67eb0b3c
gdk: backport GdkProfiler
...
This is a backport of the GdkProfiler from master. It does not include
the pixel bandwidth numbers that come from gdkdrawcontext.c since there
does not seem to be an analog in 3.x.
Additionally, this implements the recent changes for SYsprof's D-Bus
profiler API which adds a Capabilities property and an options hash-table
to the D-Bus interface for forward portability.
2019-06-06 17:17:20 -07:00
Emmanuele Bassi
a04fef4b9e
meson: Preserve compatibility with Autotools build
...
The Meson build is missing the libtool versioning of the shared
libraries.
2019-04-11 19:33:25 +01:00
Christoph Reiter
068f7f7423
meson: set the soversion to just '0' everywhere
...
This is what glib did for the meson port, so can't be that wrong.
This also makes the DLL names match the autotools Windows DLLs.
2019-04-11 16:45:37 +02:00
Christoph Reiter
b5a8bd5fe3
meson: Don't depend on meson 0.50
...
The install arg doesn't add anything here anyway.
2019-04-11 16:45:37 +02:00
Christoph Reiter
59055fd9f7
meson: set interface age; pass soversion to libgdk as well
2019-04-11 16:45:36 +02:00
Christoph Reiter
74f6832001
meson: add fribidi dep
2019-04-11 16:45:36 +02:00
Chun-wei Fan
1cd99d63d1
meson: Build the .rc files on Windows
...
This will ensure that the version info is easily visible from the
GDK/GTK+ DLLs, and ensure that the print dialogs will have a more modern
look and feel.
2019-04-11 16:45:36 +02:00
Chun-wei Fan
ac1f66a35b
gdk/meson.build: Force-export gdk_win32_display_manager_get_type()
...
...on Visual Studio builds, as it seems that the linker is optimizing
that symbol out (hence it is not exported in the DLL). This is to
ensure that the introspection files for GdkWin32 build.
2019-04-11 16:45:36 +02:00
Chun-wei Fan
2912363104
gdk/meson.build: Fix typo for GdkWin32 Introspection
...
It is gdk_win32_gir, not gdk_x11_gir...
2019-04-11 16:45:36 +02:00
Nirbheek Chauhan
20c29fd8c0
meson: Fix introspection generation on Linux
2019-04-11 16:45:36 +02:00
Philippe Normand
215c2be76f
meson: Set the compatibility version correctly on macOS
...
And bump to Meson 0.48 as this feature requires it.
2019-04-11 16:45:36 +02:00
Philippe Normand
89d5c543ac
meson: Build fixes for macOS
2019-04-11 16:45:36 +02:00
Nirbheek Chauhan
a4fe15d9f0
meson: Sync build files with master and update to 3.24
2019-04-11 16:45:27 +02:00
Nirbheek Chauhan
8ec004cc08
Import meson build files from an 3.22
...
Specifically, from 6dd6660c68
2019-04-11 16:40:33 +02:00