summaryrefslogtreecommitdiff
path: root/meson.build
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 41.rc41.rcFlorian Müllner2021-09-051-1/+1
| | | | | | Update NEWS. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1987>
* build: Check NEWS for versionFlorian Müllner2021-09-051-0/+1
| | | | | | | | | I don't think this ever happened to me, but it can't hurt enforcing that every release has a corresponding NEWS entry. (The script has been copied from Polari, thus the metainfo support) Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1980>
* tests: Add MetaOrientationManager tests via SensorsProxy mockMarco Trevisan (Treviño)2021-09-041-0/+11
| | | | | | | | | | | | | | | | | | | | Create a test system bus and use it to run all the tests, add a mock SensorsProxy (via dbusmock template) server that implements the net.hadess.SensorProxy interface. To make testing easier, the service is created on request of a proxy for it, whose lifetime controls the mock service lifetime as well. This is done using a further mock service that is used to manage the others, using python-dbusmock to simplify the handling. Add basic tests for the orientation manager. As per the usage dbusmock, we're now launching all the tests under such wrapper, so that local dbus environment won't ever considered, and there's no risk that it may affect the tests results both locally and in CI. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1233>
* build: Add CI test setup to run tests as the CI would doMarco Trevisan (Treviño)2021-09-041-0/+11
| | | | | | | | This allows to just use meson test _build --setup=CI to run tests with the same environment of CI, plus allows to handle wrappers better for debugging purposes. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1233>
* meson: Add optional libsystemd dependencyNishal Kulkarni2021-09-021-1/+4
| | | | | | | | | | | To utilize the API provided by libsystemd it would be better to create a separate HAVE_LIBSYSTEMD configuration option instead of having to rely on HAVE_NATIVE_BACKEND. For now this will be utilized for getting the control group of a MetaWindow. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1960>
* build: Stop using source_root()/build_root()Florian Müllner2021-08-221-0/+3
| | | | | | They were deprecated in meson 0.56. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1957>
* build: Switch to meson's summary commandFlorian Müllner2021-08-221-49/+31
| | | | | | | This is more concise and produces output that is more consistent with other meson output (and between projects). Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1957>
* Bump version to 41.beta41.betaFlorian Müllner2021-08-171-1/+1
| | | | Update NEWS.
* xwayland-grab-keyboard: Switch to g_pattern_spec_match_string()Jonas Ådahl2021-08-121-1/+1
| | | | | | | The g_pattern_match_string() variant is deprecated, switch to the properly namespaced one. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1941>
* meson: Bump required libinput version to 1.18.0Robert Mader2021-07-161-1/+1
| | | | | | This is needed for https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1763 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1933>
* build: Add xdg-activation to buildCarlos Garnacho2021-07-091-1/+1
| | | | Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1845>
* Post-release version bumpFlorian Müllner2021-05-141-1/+1
|
* meson: Add udev_dir optionMichel Dänzer2021-05-041-1/+5
| | | | | | | Same as in gnome-settings-daemon, allows overriding where to install udev rules files. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1844>
* Post-release version bumpFlorian Müllner2021-03-201-1/+1
|
* Post-release version bumpFlorian Müllner2021-03-151-1/+1
|
* tests: Add tests for virtual screen cast sourceJonas Ådahl2021-03-121-0/+3
| | | | | | | | | | | Tests that creating and starting a virtual screen cast monitor works, and that at least one one buffer is processed. Currently the content of the buffer isn't checked more than it can be mmap():ed. Only MemFd buffers are tested for for now, as DMA buffers would need a surfaceless EGL context to check properly. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1698>
* tests: Add headless native backend testJonas Ådahl2021-03-121-0/+7
| | | | | | | | | | It doesn't do anything more than construct and tear down, but it's a start. Don't run the test as part of CI yet, as doesn't have the DRM devices needed. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1698>
* Post-release version bumpFlorian Müllner2021-02-221-1/+1
|
* build: Bump pipewire dependencyGeorges Basile Stavracas Neto2021-02-081-1/+1
| | | | | | | | | | The 0.3.21 release includes busy buffers, which are a requirement for us to switch to cogl_framebuffer_flush() in the next commit. Bump pipewire dependency to 0.3.21, and adjust CI to build it from the corresponding tag. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1701>
* Change all g_memdup() to g_memdup2()Jonas Ådahl2021-02-041-1/+1
| | | | | | | | Using g_memdup() is dangerous due to the type of the size argument. See https://gitlab.gnome.org/GNOME/glib/-/issues/2319 and https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1926 for details. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1708>
* xwayland: Check for listenfd optionOlivier Fourdan2021-01-221-0/+11
| | | | | | | | | | | Current Xwayland has marked the command line option "-listen" as deprecated in favor of "-listenfd". Use the pkg-config variable "have_listenfd" (if available) from Xwayland to determine if we should use that option, to avoid a deprecation warning when spawning Xwayland. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1682>
* xwayland: Check X11 clients prior to terminate XwaylandOlivier Fourdan2021-01-181-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, mutter checks for the presence of X11 windows to decide whether or not Xwayland can be terminated, when Xwayland is started on demand. Unfortunately, not all X11 clients will map a window all the time, an X11 client may keep the X11 connection opened after closing all its windows. In that case, we may terminate Xwayland while there are some X11 client connected still, and terminating Xwayland will also kill those X11 clients. To avoid that issue, check the X11 clients actually connected using the XRes extension. The XRes extension provides the PID of the (local) X11 clients connected to the Xserver, so we need to match that against the actual executable names, and compare with a list of known executables that we can safely ignore, such as ibus-x11 or gsd-xsettings. We also check against our own executable name, considering that the X11 window manager is also an X11 client connected to the Xserver. Also, XRes returning the PID of local clients only is not a problem considering that Xwayland does not listen to remote connections. However, if the user spawns a client remotely on another system using ssh tunneling (ssh -X), only clients which actually map a window will be accounted for. Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/1537 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1671>
* Post-release version bump (again)Florian Müllner2021-01-141-1/+1
|
* Tag release 40.alpha.1.140.alpha.1.1Florian Müllner2021-01-141-1/+1
| | | | | | | Some GSettings schemas moved from g-s-d to gsettings-desktop-schemas in g-s-d 40.alpha. 40.alpha.1 didn't include the corresponding adjustment, so do a quick follow-up release to not abort on startup with the latest g-s-d release.
* build: Bump gsettings-desktop-schemas dependencyCarlos Garnacho2021-01-141-1/+1
| | | | | | | We will depend on new settings there, ensure we build depend on it, and CI pulls the dependency. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1416>
* Post-release version bumpFlorian Müllner2021-01-141-1/+1
|
* Change upcoming version (again)Florian Müllner2020-12-251-1/+1
| | | | | The extension website doesn't handle the chosen scheme correctly, so use 40.alpha.1 instead.
* build: Change upcoming version to 40.alpha2Florian Müllner2020-12-221-1/+1
| | | | | | | I messed up and released 40.alpha at the same time as 3.38.2, when it's supposed to be in January. In order to re-align with the schedule, change the upcoming version to 40.alpha2 so we don't have to skip a release and will be back on track in time of 40.beta.
* build: Use Xwayland pkg-config if availableOlivier Fourdan2020-12-151-4/+16
| | | | | | | | | | | | | Xwayland in its main development branch now provides a pkg-config file which can be used to determine Xwayland installation path and various options enabled at build time. Change mutter build system to optionally use that mechanism if available. If not (as with Xwayland from the current stable branch), keep the fallback mechanisms (basically search for the Xwayland and parse its command line options to determine if initfd is available). Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1635>
* Post-release version bumpFlorian Müllner2020-12-021-1/+1
|
* build: Bump pango version to 1.46.0Jonas Dreßler2020-11-221-1/+1
| | | | | | | We're going to use new APIs from Pango like pango_attr_list_equal(), so bump the version requirement to 1.46.0. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1050>
* wayland: Set IO error exit handlerwip/carlosg/xwayland-non-fatal-io-errorsCarlos Garnacho2020-10-211-0/+8
| | | | | | | | If this call is available, we can turn libX11 IO errors (fatal by definition) into something we can recover from. Try to dispose all X11 resources and close the display instead, so the compositor can survive the event. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1447
* backends: add support for scroll button lockingPeter Hutterer2020-10-141-1/+1
| | | | | | | | | | | | | Where enabled, the first click of the scroll button sets the button logically down, the second click sets the button logically up. This is an accessibility feature, it doesn't require users to keep holding the button down while scrolling which is hard or impossible for some users. gsettings-desktop-schemas merge request: https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/-/merge_requests/39 https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1432
* meson: Fail if initfd is enabled but Xwayland doesn't support itBastien Nocera2020-10-141-1/+4
| | | | | | | | | | | Fedora's mutter is built with --auto-features=enabled which enables -initfd support. But the current meson code doesn't check whether -initfd is available in Xwayland, leading to the wayland session not starting up. Check for -initfd's availability before enabling it. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1103
* build: Bump graphene requirement to 1.10.2Georges Basile Stavracas Neto2020-10-061-1/+1
| | | | | | We will depend on various graphene_matrix_* APIs introduced by 1.10.2. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1439
* Bump version to 40.alphaFlorian Müllner2020-10-061-2/+2
| | | | | | | | | | | | The GNOME project has adopted a new versioning scheme[0], and GNOME 3.38 will be followed by GNOME 40. Open the new development cycle by switching to the new scheme, as well as to post-release bumps as recommended. [0] https://discourse.gnome.org/t/new-gnome-versioning-scheme/4235 https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1473
* plugin: Drop version informationFlorian Müllner2020-10-061-2/+0
| | | | | | | | | Mutter itself is versioned now, so passing the version information to the plugin is redunant now: The version is already determined by linking to a particular API version (gnome-shell) or by installing to a versioned plugin path (external plugins). https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1473
* Bump version to 3.38.13.38.1Florian Müllner2020-10-051-1/+1
| | | | Update NEWS.
* backends: force enable modifiers on tagged devicesKarol Herbst2020-09-281-0/+2
| | | | | | | | | | | Some devices can't scanout to linear buffers directly as the hw is not capable of eg rendering into a linear depth buffer. Add code to force kms-modifiers on udev taged devices. Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/1408 https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1443
* Bump version to 3.38.03.38.0Florian Müllner2020-09-141-1/+1
| | | | Update NEWS.
* Bump version to 3.37.923.37.92Florian Müllner2020-09-051-1/+1
| | | | Update NEWS.
* build: Bump libgbm requirementGeorges Basile Stavracas Neto2020-09-011-1/+1
| | | | | | | Mutter is already using functions that depend on newer versions of libgbm. Formalize this by bumping the required version. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1421
* Bump version to 3.37.913.37.91Florian Müllner2020-08-241-1/+1
| | | | Update NEWS.
* Bump version to 3.37.903.37.90Florian Müllner2020-08-111-1/+1
| | | | Update NEWS.
* wayland/shm: Advertise support for 64 half point RGBA formatsJonas Ådahl2020-08-071-1/+1
| | | | | | | | | | Now that cogl understands them, hook wl_shm up so they can be used. This also bumps the wayland-server version dependency to 1.17.90, which corresponds to the master branch of wayland. The new formats will be available in 1.18.0. https://gitlab.gnome.org/GNOME/mutter/merge_requests/804
* build: bump ABI to sysprof-capture-4Christian Hergert2020-07-281-3/+16
| | | | | | | | | | | GLib will now be linking against sysprof-capture-4.a. To support that, sysprof had to remove the GLib dependency from sysprof-capture-4 which had the side-effect of breaking ABi. This bumps the dependency and includes a fallback to compile just the libsysprof-capture-4.a using a subproject wrap. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1352
* build: Depend on an up-to-date gsettings-desktop-schemasCarlos Garnacho2020-07-211-1/+1
| | | | | | | | Update the dependency as we use newer settings there. Related: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3004 https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1376
* Bump version to 3.37.33.37.3Florian Müllner2020-07-071-1/+1
| | | | Update NEWS.
* Bump version to 3.37.23.37.2Florian Müllner2020-06-031-1/+1
| | | | Update NEWS.
* build: Add configuration summary line about coverage being enabledMarco Trevisan (Treviño)2020-05-071-0/+1
| | | | https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1236