diff --git a/examples.meson.build b/examples.meson.build index b738157..4f3156e 100644 --- a/examples.meson.build +++ b/examples.meson.build @@ -1,28 +1,18 @@ # Client examples are now available from a separate repository, # https://gitlab.freedesktop.org/wlroots/wlr-clients project( - 'wlroots-examples', - 'c', - meson_version: '>=0.58.0', - default_options: [ - 'c_std=c11', - 'warning_level=2', - 'werror=false', - ], + 'wlroots-examples', + 'c', + meson_version: '>=0.58.0', + default_options: [ + 'c_std=c11', + 'warning_level=2', + 'werror=false', + ], ) -add_project_arguments([ - '-D_POSIX_C_SOURCE=200809L', - '-DWLR_USE_UNSTABLE', -], language: 'c') - cc = meson.get_compiler('c') - -add_project_arguments(cc.get_supported_arguments([ - '-Wno-missing-braces', - '-Wno-missing-field-initializers', - '-Wno-unused-parameter' -]), language: 'c') +add_global_arguments('-DWLR_USE_UNSTABLE', language : 'c') cairo = dependency('cairo') drm = dependency('libdrm') @@ -39,7 +29,7 @@ wayland_scanner = find_program( native: true, ) wayland_server = dependency('wayland-server') -wlroots = dependency('wlroots-0.20') +wlroots = dependency('wlroots-0.18') xkbcommon = dependency('xkbcommon') wl_protocol_dir = wayland_protos.get_variable('pkgdatadir') @@ -47,6 +37,9 @@ wl_protocol_dir = wayland_protos.get_variable('pkgdatadir') protocols = { # Stable upstream protocols 'xdg-shell': wl_protocol_dir / 'stable/xdg-shell/xdg-shell.xml', + + # Unstable upstream protocols + 'fullscreen-shell-unstable-v1': wl_protocol_dir / 'unstable/fullscreen-shell/fullscreen-shell-unstable-v1.xml', } protocols_code = {} @@ -101,6 +94,10 @@ compositors = { 'output-layout': { 'src': ['output-layout.c', 'cat.c'], }, + 'fullscreen-shell': { + 'src': 'fullscreen-shell.c', + 'proto': ['fullscreen-shell-unstable-v1'], + }, 'scene-graph': { 'src': 'scene-graph.c', 'proto': ['xdg-shell'], diff --git a/sources b/sources index c7cac09..84a6c9a 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (wlroots-0.20.2.tar.gz) = 634345e23d0b6c28cb501c0dd0ef9c50d529a92ae5c8455e99e876f3f37ee244ac19dd097f76416b2ae4fd7c3f02e39a92a9322cf5a0caf8da21c31cd900e508 -SHA512 (wlroots-0.20.2.tar.gz.sig) = e74dc0abfabed7f40ba4f0e5edfc30ef92b95ebcf4a6aca3b2a605b04b5f2345a6a842cdf56819ce1f050c6181b646eae19dbef835354df7b09562cebbdaa474 +SHA512 (wlroots-0.19.2.tar.gz) = 8228bdd463f3b79c02cc36311f93eb3a2fe2c8406222316a9996abebfbefa39cc4a9587ea800d677961d59b27c82ae906e538dceaf565403bbb3f2b1ae19eff1 +SHA512 (wlroots-0.19.2.tar.gz.sig) = c9f2bc6413c19e1fd52f151779a80513a72f0b9d1df706ad3d77df74f0736c22e12122fe08c3f24c908649ca1f3adad5aee8f8cc65fa0b24155353ca66f6e240 diff --git a/wlroots.spec b/wlroots.spec index 0ce3b16..f5aab06 100644 --- a/wlroots.spec +++ b/wlroots.spec @@ -1,15 +1,14 @@ # Version of the .so library -%global abi_ver 0.20 +%global abi_ver 0.19 # libliftoff does not bump soname on API changes %global liftoff_ver 0.5.0 +%global tag 0.19.2 Name: wlroots -Version: 0.20.2 -Release: 2%{?dist} +Version: 0.19.2 +Release: 1%{?dist} Summary: A modular Wayland compositor library -%global tag %{gsub %{version} ~ -} - # Source files/overall project licensed as MIT, but # - HPND-sell-variant # * protocol/drm.xml @@ -50,21 +49,21 @@ BuildRequires: meson >= 1.3 BuildRequires: (pkgconfig(libliftoff) >= %{liftoff_ver} with pkgconfig(libliftoff) < 0.6) BuildRequires: pkgconfig(egl) -BuildRequires: pkgconfig(gbm) >= 21.1 +BuildRequires: pkgconfig(gbm) >= 17.1.0 BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig(hwdata) BuildRequires: pkgconfig(lcms2) -BuildRequires: pkgconfig(libdisplay-info) >= 0.2.0 -BuildRequires: pkgconfig(libdrm) >= 2.4.129 +BuildRequires: pkgconfig(libdisplay-info) +BuildRequires: pkgconfig(libdrm) >= 2.4.122 BuildRequires: pkgconfig(libinput) >= 1.21.0 BuildRequires: pkgconfig(libseat) BuildRequires: pkgconfig(libudev) -BuildRequires: pkgconfig(pixman-1) >= 0.46.0 +BuildRequires: pkgconfig(pixman-1) >= 0.43.0 BuildRequires: pkgconfig(vulkan) >= 1.2.182 BuildRequires: pkgconfig(wayland-client) -BuildRequires: pkgconfig(wayland-protocols) >= 1.47 +BuildRequires: pkgconfig(wayland-protocols) >= 1.41 BuildRequires: pkgconfig(wayland-scanner) -BuildRequires: pkgconfig(wayland-server) >= 1.24.0 +BuildRequires: pkgconfig(wayland-server) >= 1.23.1 BuildRequires: pkgconfig(x11-xcb) BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xcb-composite) @@ -77,9 +76,9 @@ BuildRequires: pkgconfig(xcb-render) BuildRequires: pkgconfig(xcb-renderutil) BuildRequires: pkgconfig(xcb-res) BuildRequires: pkgconfig(xcb-shm) -BuildRequires: pkgconfig(xcb-xfixes) >= 1.15 +BuildRequires: pkgconfig(xcb-xfixes) BuildRequires: pkgconfig(xcb-xinput) -BuildRequires: pkgconfig(xkbcommon) >= 1.8.0 +BuildRequires: pkgconfig(xkbcommon) BuildRequires: pkgconfig(xwayland) # libliftoff does not bump soname on API changes Requires: libliftoff%{?_isa} >= %{liftoff_ver} @@ -122,7 +121,6 @@ MESON_OPTIONS=( %install %{meson_install} -install -pm0644 -Dt '%{buildroot}/%{_pkgdocdir}/examples' examples/*.[ch] install -pm0644 -D '%{SOURCE3}' '%{buildroot}/%{_pkgdocdir}/examples/meson.build' @@ -143,33 +141,6 @@ install -pm0644 -D '%{SOURCE3}' '%{buildroot}/%{_pkgdocdir}/examples/meson.build %changelog -* Fri Jul 17 2026 Fedora Release Engineering - 0.20.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild - -* Tue Jul 07 2026 Aleksei Bavshin - 0.20.2-1 -- Update to 0.20.2 (#2497891) - -* Tue May 19 2026 Aleksei Bavshin - 0.20.1-1 -- Update to 0.20.1 (#2480014) - -* Thu Mar 26 2026 Aleksei Bavshin - 0.20.0-1 -- Update to 0.20.0 (#2435845) - -* Thu Mar 19 2026 Aleksei Bavshin - 0.20.0~rc5-1 -- Update to 0.20.0-rc5 - -* Sat Feb 14 2026 Aleksei Bavshin - 0.20.0~rc2-1 -- Update to 0.20.0-rc2 - -* Thu Feb 12 2026 Aleksei Bavshin - 0.19.2-4 -- Apply upstream patch for libinput 1.31 compatibility - -* Sat Jan 24 2026 Aleksei Bavshin - 0.19.2-3 -- Rebuild for libdisplay-info 0.3.0 - -* Sat Jan 17 2026 Fedora Release Engineering - 0.19.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild - * Tue Oct 21 2025 Aleksei Bavshin - 0.19.2-1 - Update to 0.19.2 (#2405567)