Compare commits

...
Sign in to create a new pull request.

83 commits

Author SHA1 Message Date
Fedora Release Engineering
e479909c1d Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:52:15 +00:00
b7b643804e
Update to 0.20.2 (#2497891) 2026-07-07 20:03:34 -07:00
9e3cf5a0cf
Update to 0.20.1 (#2480014) 2026-05-19 22:46:13 -07:00
460ac43350
Update to 0.20.0 (#2435845) 2026-03-26 19:27:15 -07:00
07351d6b73
Update to 0.20.0~rc5 2026-03-19 19:10:08 -07:00
75918f6d7d
Update to 0.20.0-rc2 2026-02-16 01:02:35 -08:00
5035af13d4
Apply upstream patch for libinput 1.31 compatibility 2026-02-12 19:15:32 -08:00
2ea14ebe8e
Rebuild for libdisplay-info 0.3.0 2026-01-24 16:45:59 -08:00
Fedora Release Engineering
6d290402fb Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 20:18:14 +00:00
Yaakov Selkowitz
4b409cc451 Fix discarded const qualifier warnings with GCC 15
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5203
2025-12-22 23:45:46 -05:00
69922850bd
Update to 0.19.2 (#2405567) 2025-10-21 23:14:08 -07:00
a034b0be85
Apply upstream patch for crash on disabling outputs 2025-09-28 14:39:43 -07:00
00b7c19be8
Update to 0.19.1 (#2397203) 2025-09-21 14:52:42 -07:00
Fedora Release Engineering
b11c779550 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 20:29:00 +00:00
6442a76f36
Update to 0.19.0 (#2359256) 2025-05-16 18:32:23 -07:00
Sam Day
6eb9ee5920 Add MR!4985 backport patch needed by phoc 0.45
This patch has already merged into mainline and the 0.18 branch
upstream, but has not yet been released. It can be dropped in 0.18.3

Signed-off-by: Sam Day <me@samcday.com>
2025-02-15 16:17:03 +01:00
f55f4ba70e Rebuild for libdisplay-info 0.2.0
Rebuild for libdisplay-info 0.2.0
2025-02-10 09:59:49 -05:00
Fedora Release Engineering
373ca6b1b1 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 15:08:37 +00:00
8826828a2a
Update to 0.18.2 (#2331871) 2024-12-11 16:55:49 -08:00
ebd7df88f6
Update to 0.18.1 (#2313753) 2024-09-20 07:37:51 -07:00
a00f488860
Update to 0.18.0 (#2297921) 2024-08-08 21:06:11 -07:00
Fedora Release Engineering
135263e28d Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 09:26:58 +00:00
17b823e3fa
Update to 0.17.4 (#2294793) 2024-06-30 20:56:17 -07:00
06e8851845
Update to 0.17.3 2024-04-26 12:07:13 -07:00
82fa7cf455
Update to 0.17.2 (#2269046) 2024-03-11 18:25:01 -07:00
Fedora Release Engineering
5167a5eda8 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 08:58:43 +00:00
bf56e9526c
Apply patch for GCC 14 -Werror=calloc-transposed-args 2024-01-18 00:20:43 -08:00
99aa7067f0
Update to 0.17.1 (#2255547) 2023-12-21 17:04:14 -08:00
bb0224f81e
Apply patches from 0.17.x bugfix branch 2023-12-07 21:06:32 -08:00
000c5dbb93
Update to 0.17.0 (#2250885) 2023-12-02 22:24:52 -08:00
0a1c111cc7
Use xcb-errors util library 2023-12-02 22:24:26 -08:00
Fedora Release Engineering
23ecf089bf Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 18:17:22 +00:00
1a73f49d48
Apply upstream patch to remove hardcoded Vulkan validation layers 2023-04-16 17:30:02 -07:00
592cea998f
Update to 0.16.2 (#2168992) 2023-02-10 18:04:40 -08:00
Fedora Release Engineering
6bef925b32 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 06:54:22 +00:00
b32c37f87e
Update to 0.16.1 2022-12-25 08:14:54 -08:00
4a23fc87a5
Sync examples.meson.build with upstream
Include all available examples
2022-12-02 22:27:24 -08:00
83a52a2862
Add patch for compatibility with older libdrm 2022-12-02 22:06:59 -08:00
3993c57fb9
Update to 0.16.0 (#2142159) 2022-12-02 22:06:32 -08:00
b335d4dcb8
Backport upstream crash fix (#2142447)
Convert license to SPDX
2022-11-14 22:12:28 -08:00
Fedora Release Engineering
1a00ea2887 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 12:31:39 +00:00
7d27b16e6f
Add patches required for phoc 0.20 2022-06-25 21:36:34 -07:00
f6055261c4
Drop patches for wayland 1.19 compatibility 2022-06-01 23:03:15 -07:00
dd99a05c7c
Update to 0.15.1 (#2050408) 2022-02-05 12:14:54 -08:00
85be0c54f5
Backport fix for permission popups in Firefox 2022-01-25 21:58:24 -08:00
Fedora Release Engineering
1cfc160ee9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 04:34:11 +00:00
bb8828c42e
Update to 0.15.0 (#2033651)
Update upstream URL to gitlab.freedesktop.org
Backport some patches from 0.15.1 milestone
2022-01-16 12:15:13 -08:00
6e6fd8595c
Add patch for disappearing cursor issue (#2027431) 2021-12-12 23:23:09 -08:00
Fedora Release Engineering
efcd328a64 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 21:02:27 +00:00
56f8584382
Update to 0.14.1 2021-07-08 18:30:03 -07:00
308144da42
Add patch for a few more issues with cursors, multi-GPUs and nouveau 2021-07-06 20:51:39 -07:00
951089d063
Add upstream patch for cursor issues on scaled outputs 2021-07-02 19:31:12 -07:00
cce4bb6f04
Update to 0.14.0 2021-06-23 13:10:01 +00:00
73a757baf6
Update upstream gpg key.
Verified key from <contact@emersion.fr>.
2021-06-23 12:52:17 +00:00
78482a2e9b
Enable libseat session backend 2021-06-02 04:23:58 +00:00
3f0980914c
Update to 0.13.0 2021-04-08 02:59:49 +00:00
Fedora Release Engineering
e0af634394 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 23:35:08 +00:00
b71becc897
Updated to version 0.12.0 2020-11-08 22:40:59 +00:00
Fedora Release Engineering
7acdd30c66 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 14:14:01 +00:00
Aleksei Bavshin
d95a381cb9
Updated to version 0.11.0 2020-07-15 23:04:59 +00:00
Aleksei Bavshin
a31064cd7f
Add source verification and update build dependencies 2020-07-09 02:24:07 +00:00
Till Hofmann
740b663d5f Add patch from upstream #2167 to fix #1829212 2020-05-31 09:40:35 +02:00
Nikhil Jha
174059980c Updated to version 0.10.1 (https://github.com/swaywm/wlroots/releases/tag/0.10.1) 2020-03-25 09:37:29 -07:00
Jan Staněk
7b0365d35c
Propagate mesa-libEGL-devel workaround to -devel requirements
The manual BR for mesa-libEGL-devel does not propagate by default
to Requires of the devel subpackage.
As a result, the worked-around issue manifests again
in the wlroots dependents,
unless the Requires is also added manually.
2020-02-10 12:26:28 +01:00
Simone Caronni
413632768e RDP backend is no longer in wlroots 0.10 2020-02-08 16:35:23 +01:00
Simone Caronni
0ac0c0b9ab Rebuild for updated FreeRDP 2020-02-07 18:32:21 +01:00
Jan Staněk
d9f0c321d1
Disable -Werror compilation flag on s390x
Upstream issue: https://github.com/swaywm/wlroots/issues/2018
2020-02-04 16:25:47 +01:00
Jan Staněk
43813c3a3d
Backport fix for compilation with GCC 10
- Remove extra whitespace from sources
2020-01-29 12:37:19 +01:00
grumpey
728e4bb7c6 Correcting Date and removing roootson option 2020-01-28 21:12:34 -05:00
grumpey
a351d847fd update to version 0.10.0 2020-01-28 07:12:27 -05:00
grumpey
1b7871d6fe update to version 0.10.0 2020-01-28 06:41:08 -05:00
Jan Staněk
d700f0340f
Clean spec file
- Remove remnants of packaging arbitrary git checkouts
- Rename api_ver to abi_ver (since SONAME tracks ABI changes)
- Use simpler GitHub release URL
- Remove dependency-resolution comments from BR, sort BR
- Replace hard devel dependency for xcb-icccm with softer Recommends
- Replace as much macro-magic as possible
2019-09-12 10:47:14 +02:00
Jeff Peeler
16b0257175 0.7.0-1 - Update to 0.7.0
BZ#1747057
2019-08-29 20:40:42 -04:00
Fedora Release Engineering
a01fb9f94f - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 03:35:46 +00:00
Jan Pokorný
1a4ed19cb5 0.6.0-1 - Updated to version 0.6.0
(see https://github.com/swaywm/wlroots/releases/tag/0.6.0)
- Overhaul dependencies and shipped examples in -devel

Signed-off-by: Jan Pokorný <jpokorny@fedoraproject.org>
2019-06-23 11:02:05 +02:00
Adam Williamson
807d42174d Rebuild with Meson fix for #1699099 2019-04-16 13:13:53 -07:00
Jan Pokorný
2f20d880c8
0.5.0-1 (rev.1) - forgotten tarball refresh
Signed-off-by: Jan Pokorný <jpokorny@fedoraproject.org>
2019-03-14 02:47:20 +01:00
Jan Pokorný
ee3c8dd7c5
0.5.0-1 - Updated to version 0.5.0 (0.2, 0.3, 0.4, 0.4.1 skipped)
- Avoid building some parts that are not shipped in binary form, anyway
- Minor spec cleanup (clarify the licensing comment, licensecheck's NTP ~ MIT,
  ldconfig_scriptlets no longer relevant, arch-specific tweak no longer needed)

Signed-off-by: Jan Pokorný <jpokorny@fedoraproject.org>
2019-03-14 02:43:24 +01:00
Fedora Release Engineering
0b73d08bbf - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 11:49:35 +00:00
Jan Pokorný
1c44ecf247
0.1-4 - Fix Firefox crash around text selection/clipboard
(https://github.com/swaywm/wlroots/pull/1380)

Signed-off-by: Jan Pokorný <jpokorny@fedoraproject.org>
2018-11-28 00:23:01 +01:00
Jan Pokorný
946341d8f5
0.1-3 - Make Firefox run smoother
(https://github.com/swaywm/wlroots/pull/1384)

Signed-off-by: Jan Pokorný <jpokorny@fedoraproject.org>
2018-11-27 22:37:32 +01:00
Jan Pokorný
160d7ba3ff
0.1-2 - Fix incorrect "pkgconfig" version
Signed-off-by: Jan Pokorný <jpokorny@fedoraproject.org>
2018-11-07 12:15:32 +01:00
Jan Pokorný
51693178e6
0.1-1 - Updated to historically first official release
- Turned off implicit enablement of all 'auto' build features under Meson,
  since xcb-errors is not available at this time
- Added BR: libpng
- Expanding spec comment on source files not covered with MIT license

Signed-off-by: Jan Pokorný <jpokorny@fedoraproject.org>
2018-11-01 20:47:39 +01:00
6 changed files with 517 additions and 78 deletions

4
.gitignore vendored
View file

@ -1,2 +1,2 @@
/wlroots-0.0.1-20180102git767df15.tar.gz
/wlroots-0.0.1-20180106git03faf17.tar.gz
/wlroots-*.tar.gz
/wlroots-*.tar.gz.sig

View file

@ -0,0 +1,33 @@
From e021326f7de0505fcae85f5732885848b21edf9c Mon Sep 17 00:00:00 2001
From: Aleksei Bavshin <alebastr89@gmail.com>
Date: Sat, 25 Jun 2022 21:22:08 -0700
Subject: [PATCH] Revert "layer-shell: error on 0 dimension without anchors"
This reverts commit 8dec751a6d84335fb04288b8efab6dd5c90288d3.
---
types/wlr_layer_shell_v1.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/types/wlr_layer_shell_v1.c b/types/wlr_layer_shell_v1.c
index 2d838498..c3c50d78 100644
--- a/types/wlr_layer_shell_v1.c
+++ b/types/wlr_layer_shell_v1.c
@@ -358,6 +358,7 @@ static void layer_surface_role_client_commit(struct wlr_surface *wlr_surface) {
uint32_t anchor = surface->pending.anchor;
+#if 0
const uint32_t horiz = ZWLR_LAYER_SURFACE_V1_ANCHOR_LEFT |
ZWLR_LAYER_SURFACE_V1_ANCHOR_RIGHT;
if (surface->pending.desired_width == 0 && (anchor & horiz) != horiz) {
@@ -375,6 +376,7 @@ static void layer_surface_role_client_commit(struct wlr_surface *wlr_surface) {
"height 0 requested without setting top and bottom anchors");
return;
}
+#endif
if ((anchor & surface->pending.exclusive_edge) != surface->pending.exclusive_edge) {
wlr_surface_reject_pending(wlr_surface, surface->resource,
--
2.49.0

139
examples.meson.build Normal file
View file

@ -0,0 +1,139 @@
# 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',
],
)
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')
cairo = dependency('cairo')
drm = dependency('libdrm')
egl = dependency('egl')
glesv2 = dependency('glesv2')
# Only needed for drm_fourcc.h
libdrm = dependency('libdrm').partial_dependency(compile_args: true, includes: true)
wayland_client = dependency('wayland-client')
wayland_egl = dependency('wayland-egl')
wayland_protos = dependency('wayland-protocols', version: '>=1.27')
wayland_scanner_dep = dependency('wayland-scanner', native: true)
wayland_scanner = find_program(
wayland_scanner_dep.get_variable('wayland_scanner'),
native: true,
)
wayland_server = dependency('wayland-server')
wlroots = dependency('wlroots-0.20')
xkbcommon = dependency('xkbcommon')
wl_protocol_dir = wayland_protos.get_variable('pkgdatadir')
protocols = {
# Stable upstream protocols
'xdg-shell': wl_protocol_dir / 'stable/xdg-shell/xdg-shell.xml',
}
protocols_code = {}
protocols_server_header = {}
protocols_client_header = {}
foreach name, path : protocols
code = custom_target(
name.underscorify() + '_c',
input: path,
output: '@BASENAME@-protocol.c',
command: [wayland_scanner, 'private-code', '@INPUT@', '@OUTPUT@'],
)
server_header = custom_target(
name.underscorify() + '_server_h',
input: path,
output: '@BASENAME@-protocol.h',
command: [wayland_scanner, 'server-header', '@INPUT@', '@OUTPUT@'],
)
client_header = custom_target(
name.underscorify() + '_client_h',
input: path,
output: '@BASENAME@-client-protocol.h',
command: [wayland_scanner, 'client-header', '@INPUT@', '@OUTPUT@'],
build_by_default: false,
)
protocols_code += { name: code }
protocols_server_header += { name: server_header }
protocols_client_header += { name: client_header }
endforeach
compositors = {
'simple': {
'src': 'simple.c',
},
'pointer': {
'src': 'pointer.c',
},
'touch': {
'src': ['touch.c', 'cat.c'],
},
'tablet': {
'src': 'tablet.c',
},
'rotation': {
'src': ['rotation.c', 'cat.c'],
},
'output-layout': {
'src': ['output-layout.c', 'cat.c'],
},
'scene-graph': {
'src': 'scene-graph.c',
'proto': ['xdg-shell'],
},
'output-layers': {
'src': 'output-layers.c',
'proto': [
'xdg-shell',
],
},
'cairo-buffer': {
'src': 'cairo-buffer.c',
'dep': cairo,
},
'embedded': {
'src': [
'embedded.c',
protocols_code['xdg-shell'],
protocols_client_header['xdg-shell'],
],
'dep': [wayland_client, wayland_egl, egl, glesv2],
},
}
foreach name, info : compositors
extra_src = []
foreach p : info.get('proto', [])
extra_src += protocols_server_header[p]
endforeach
executable(
name,
[info.get('src'), extra_src],
dependencies: [libdrm, wlroots, wayland_server, xkbcommon, info.get('dep', [])],
)
endforeach

BIN
gpgkey-0FDE7BE0E88F5E48.gpg Normal file

Binary file not shown.

View file

@ -1 +1,2 @@
SHA512 (wlroots-0.0.1-20180106git03faf17.tar.gz) = 77f4bc01327dd6dd669ca9467531a127f34a1e90308236a5a9f70f9e403c995905731239fdb56c18d8c60b455afc6ae1cb5a4e409f93aed542f3522572717071
SHA512 (wlroots-0.20.2.tar.gz) = 634345e23d0b6c28cb501c0dd0ef9c50d529a92ae5c8455e99e876f3f37ee244ac19dd097f76416b2ae4fd7c3f02e39a92a9322cf5a0caf8da21c31cd900e508
SHA512 (wlroots-0.20.2.tar.gz.sig) = e74dc0abfabed7f40ba4f0e5edfc30ef92b95ebcf4a6aca3b2a605b04b5f2345a6a842cdf56819ce1f050c6181b646eae19dbef835354df7b09562cebbdaa474

View file

@ -1,46 +1,88 @@
%{!?_pkgdocdir:%global _pkgdocdir %_defaultdocdir/%{name}-%{version}}
%global commit 03faf17942432027aaeb12e624e089de7673c209
%global gitdate 20180106
%global scommit %(c=%{commit}; echo ${c:0:7})
%global gitrel .%{gitdate}git%{scommit}
%global gitver -%{gitdate}git%{scommit}
%global api_ver 0
# Version of the .so library
%global abi_ver 0.20
# libliftoff does not bump soname on API changes
%global liftoff_ver 0.5.0
Name: wlroots
Version: 0.0.1
Release: 0.9%{?gitrel}%{?dist}
Summary: Pluggable, composable modules for building a Wayland compositor
Version: 0.20.2
Release: 2%{?dist}
Summary: A modular Wayland compositor library
# All files in the sources are licensed as MIT, but
# * protocol/server-decoration.xml [LGPL (v2.1 or later)]
# * protocol/gamma-control.xml [NTP (legal disclaimer)]
#
# Those files are processed to c-compilable files by the
# `wayland-scanner` binary during build and don't alter the
# main license of the binaries linking with them by the
# underlying licenses.
%global tag %{gsub %{version} ~ -}
# Source files/overall project licensed as MIT, but
# - HPND-sell-variant
# * protocol/drm.xml
# * protocol/wlr-data-control-unstable-v1.xml
# * protocol/wlr-foreign-toplevel-management-unstable-v1.xml
# * protocol/wlr-gamma-control-unstable-v1.xml
# * protocol/wlr-input-inhibitor-unstable-v1.xml
# * protocol/wlr-layer-shell-unstable-v1.xml
# * protocol/wlr-output-management-unstable-v1.xml
# - LGPL-2.1-or-later
# * protocol/server-decoration.xml
# Those files are processed to C-compilable files by the
# `wayland-scanner` binary during build and don't alter
# the main license of the binaries linking with them by
# the underlying licenses.
License: MIT
URL: https://github.com/swaywm/%{name}
Source0: %{url}/archive/%{commit}.tar.gz#/%{name}-%{version}%{?gitver}.tar.gz
URL: https://gitlab.freedesktop.org/wlroots/wlroots
Source0: %{url}/-/releases/%{tag}/downloads/%{name}-%{tag}.tar.gz
Source1: %{url}/-/releases/%{tag}/downloads/%{name}-%{tag}.tar.gz.sig
# 0FDE7BE0E88F5E48: emersion <contact@emersion.fr>
Source2: https://emersion.fr/.well-known/openpgpkey/hu/dj3498u4hyyarh35rkjfnghbjxug6b19#/gpgkey-0FDE7BE0E88F5E48.gpg
# this file is a modification of examples/meson.build so as to:
# - make it self-contained
# - only has targets for examples known to compile well (cf. "examples) global)
Source3: examples.meson.build
# Upstream patches
# Fedora patches
# Following patch is required for phoc.
Patch: Revert-layer-shell-error-on-0-dimension-without-anch.patch
BuildRequires: gcc
BuildRequires: libcap-devel
BuildRequires: libinput-devel
BuildRequires: libxkbcommon-devel
BuildRequires: mesa-libEGL-devel
BuildRequires: mesa-libGLES-devel
BuildRequires: mesa-libgbm-devel
BuildRequires: mesa-libwayland-egl-devel
BuildRequires: meson
BuildRequires: pixman-devel
BuildRequires: systemd-devel
BuildRequires: wayland-devel
BuildRequires: wayland-protocols-devel
BuildRequires: xcb-util-image-devel
BuildRequires: xcb-util-wm-devel
BuildRequires: glslang
BuildRequires: gnupg2
BuildRequires: meson >= 1.3
BuildRequires: (pkgconfig(libliftoff) >= %{liftoff_ver} with pkgconfig(libliftoff) < 0.6)
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(gbm) >= 21.1
BuildRequires: pkgconfig(glesv2)
BuildRequires: pkgconfig(hwdata)
BuildRequires: pkgconfig(lcms2)
BuildRequires: pkgconfig(libdisplay-info) >= 0.2.0
BuildRequires: pkgconfig(libdrm) >= 2.4.129
BuildRequires: pkgconfig(libinput) >= 1.21.0
BuildRequires: pkgconfig(libseat)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(pixman-1) >= 0.46.0
BuildRequires: pkgconfig(vulkan) >= 1.2.182
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-protocols) >= 1.47
BuildRequires: pkgconfig(wayland-scanner)
BuildRequires: pkgconfig(wayland-server) >= 1.24.0
BuildRequires: pkgconfig(x11-xcb)
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xcb-composite)
BuildRequires: pkgconfig(xcb-dri3)
BuildRequires: pkgconfig(xcb-errors)
BuildRequires: pkgconfig(xcb-ewmh)
BuildRequires: pkgconfig(xcb-icccm)
BuildRequires: pkgconfig(xcb-present)
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-xinput)
BuildRequires: pkgconfig(xkbcommon) >= 1.8.0
BuildRequires: pkgconfig(xwayland)
# libliftoff does not bump soname on API changes
Requires: libliftoff%{?_isa} >= %{liftoff_ver}
%description
%{summary}.
@ -48,70 +90,294 @@ BuildRequires: xcb-util-wm-devel
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} == %{version}-%{release}
Requires: libinput-devel%{?_isa}
Requires: libxcb-devel%{?_isa}
Requires: libxkbcommon-devel%{?_isa}
Requires: mesa-libEGL-devel%{?_isa}
Requires: pixman-devel%{?_isa}
Requires: systemd-devel%{?_isa}
Requires: wayland-devel%{?_isa}
Requires: xcb-util-wm-devel%{?_isa}
# not required per se, so not picked up automatically by RPM
Recommends: pkgconfig(xcb-icccm)
# for examples
Suggests: gcc
Suggests: meson >= 0.58.0
Suggests: pkgconfig(wayland-egl)
%description devel
Development files for %{name}.
%prep
%autosetup -n %{name}-%{commit} -p 1
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%autosetup -N -n %{name}-%{tag}
# apply unconditional patches (0..99)
%autopatch -p1 -M99
# apply conditional patches (100..)
%build
%ifarch %{arm} %{ix86}
export CFLAGS="%{optflags} -Wno-error=format="
export CXXFLAGS="%{optflags} -Wno-error=format="
%endif
%meson
%meson_build
MESON_OPTIONS=(
# Disable options requiring extra/unpackaged dependencies
-Dexamples=false
)
%{meson} "${MESON_OPTIONS[@]}"
%{meson_build}
%install
%meson_install
# %%doc && examples.
%{__mkdir} -p %{buildroot}%{_pkgdocdir}
%{__cp} -pr README.md examples %{buildroot}%{_pkgdocdir}
# Cleanup.
for f in '.*ignore*' meson.build; do
%{_bindir}/find %{buildroot} -type f -name "$f" -print -delete
done
%{meson_install}
install -pm0644 -Dt '%{buildroot}/%{_pkgdocdir}/examples' examples/*.[ch]
install -pm0644 -D '%{SOURCE3}' '%{buildroot}/%{_pkgdocdir}/examples/meson.build'
%check
%meson_test
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%{meson_test}
%files
%doc %dir %{_pkgdocdir}
%doc %{_pkgdocdir}/README.md
%license LICENSE
%{_libdir}/lib%{name}.so.%{api_ver}*
%doc README.md
%{_libdir}/libwlroots-%{abi_ver}.so
%files devel
%files devel
%doc %{_pkgdocdir}/examples
%{_includedir}/wlr
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%{_includedir}/wlroots-%{abi_ver}/wlr
%{_libdir}/pkgconfig/wlroots-%{abi_ver}.pc
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Tue Jul 07 2026 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.20.2-1
- Update to 0.20.2 (#2497891)
* Tue May 19 2026 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.20.1-1
- Update to 0.20.1 (#2480014)
* Thu Mar 26 2026 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.20.0-1
- Update to 0.20.0 (#2435845)
* Thu Mar 19 2026 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.20.0~rc5-1
- Update to 0.20.0-rc5
* Sat Feb 14 2026 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.20.0~rc2-1
- Update to 0.20.0-rc2
* Thu Feb 12 2026 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.19.2-4
- Apply upstream patch for libinput 1.31 compatibility
* Sat Jan 24 2026 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.19.2-3
- Rebuild for libdisplay-info 0.3.0
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Tue Oct 21 2025 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.19.2-1
- Update to 0.19.2 (#2405567)
* Sun Sep 28 2025 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.19.1-2
- Apply upstream patch for crash on disabling outputs
* Sun Sep 21 2025 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.19.1-1
- Update to 0.19.1 (#2397203)
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Fri May 16 2025 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.19.0-1
- Update to 0.19.0 (#2359256)
* Sat Feb 15 2025 Sam Day <me@samcday.com> - 0.18.2-4
- Add wlroots!4985 patch needed by phoc 0.45.0
* Mon Feb 10 2025 Neal Gompa <ngompa@fedoraproject.org> - 0.18.2-3
- Rebuild for libdisplay-info 0.2.0
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Wed Dec 11 2024 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.18.2-1
- Update to 0.18.2 (#2331871)
* Fri Sep 20 2024 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.18.1-1
- Update to 0.18.1 (#2313753)
* Thu Aug 08 2024 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.18.0-1
- Update to 0.18.0 (#2297921)
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat Jun 29 2024 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.17.4-1
- Update to 0.17.4 (#2294793)
* Fri Apr 26 2024 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.17.3-1
- Update to 0.17.3
* Mon Mar 11 2024 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.17.2-1
- Update to 0.17.2 (#2269046)
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Dec 21 2023 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.17.1-1
- Update to 0.17.1 (#2255547)
* Tue Nov 21 2023 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.17.0-1
- Update to 0.17.0 (#2250885)
- Use xcb-errors util library
- Apply patches from 0.17.x bugfix branch
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sun Apr 16 2023 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.16.2-2
- Apply upstream patch to remove hardcoded Vulkan validation layers
* Fri Feb 10 2023 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.16.2-1
- Update to 0.16.2 (#2168992)
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sun Dec 25 2022 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.16.1-1
- Update to 0.16.1
* Fri Dec 02 2022 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.16.0-1
- Update to 0.16.0 (#2142159)
- Add patch for compatibility with older libdrm
- Sync examples.meson.build with upstream, include all available examples
* Mon Nov 14 2022 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.15.1-5
- Backport upstream crash fix (#2142447)
- Convert license to SPDX
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sun Jun 26 2022 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.15.1-3
- Add patches required for phoc 0.20
* Wed Jun 01 2022 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.15.1-2
- Drop patches for wayland 1.19 compatibility
* Sat Feb 05 2022 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.15.1-1
- Update to 0.15.1 (#2050408)
* Tue Jan 25 2022 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.15.0-3
- Backport fix for permission popups in Firefox
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sun Jan 16 2022 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.15.0-1
- Update to 0.15.0 (#2033651)
- Update upstream URL to gitlab.freedesktop.org
- Backport some patches from 0.15.1 milestone
* Mon Dec 13 2021 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.14.1-3
- Add patch for disappearing cursor issue (#2027431)
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu Jul 08 2021 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.14.1-1
- Update to wlroots 0.14.1
* Wed Jul 07 2021 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.14.0-2
- Add patch for a few more issues with cursors, multi-GPUs and nouveau
* Wed Jun 23 2021 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.14.0-1
- Update to 0.14.0
- Add upstream patch for cursor issues on scaled outputs
* Tue Jun 01 2021 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.13.0-2
- Enable libseat session backend
* Wed Apr 07 2021 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.13.0-1
- Update to 0.13.0 (#1947218)
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sun Nov 08 2020 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.12.0-1
- Updated to version 0.12.0
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 15 2020 Aleksei Bavshin <alebastr89@gmail.com> - 0.11.0-1
- Updated to version 0.11.0
* Sat May 09 2020 Till Hofmann <thofmann@fedoraproject.org> - 0.10.1-2
- Add patch from upstream #2167 to fix #1829212
* Tue Mar 24 2020 Nikhil Jha <hi@nikhiljha.com> - 0.10.1-1
- Updated to version 0.10.1 (https://github.com/swaywm/wlroots/releases/tag/0.10.1)
* Mon Feb 10 2020 Jan Staněk <jstanek@redhat.com> - 0.10.0-6
- Propagate mesa-libEGL-devel workaround to -devel requirements
* Sat Feb 08 2020 Simone Caronni <negativo17@gmail.com> - 0.10.0-5
- RDP backend is no longer in wlroots 0.10.
* Fri Feb 07 2020 Simone Caronni <negativo17@gmail.com> - 0.10.0-4
- Rebuild for updated FreeRDP.
* Tue Feb 04 2020 Jan Staněk <jstanek@redhat.com> - 0.10.0-3
- Disable -Werror compilation flag on s390x
(https://github.com/swaywm/wlroots/issues/2018)
* Wed Jan 29 2020 Jan Staněk <jstanek@redhat.com> - 0.10.0-2
- Backport fix for compilation with GCC 10
* Tue Jan 28 2020 Joe Walker <grumpey0@gmail.com> - 0.10.0
- Updated to version 0.10.0 (https://github.com/swaywm/wlroots/releases/tag/0.10.0)
Mon Jan 20 2020 Jan Staněk <jstanek@redhat.com> - 0.9.1-1
- Upgrade to version 0.9.1 (https://github.com/swaywm/wlroots/releases/tag/0.9.1)
* Thu Sep 12 2019 Jan Staněk <jstanek@redhat.com> - 0.7.0-2
- Spec file cleanup
* Thu Aug 29 2019 Jeff Peeler <jpeeler@redhat.com> - 0.7.0-1
- Updated to version 0.7.0
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu May 09 2019 Jan Pokorný <jpokorny+rpm-wlroots@fedoraproject.org> - 0.6.0-1
- Updated to version 0.6.0
(see https://github.com/swaywm/wlroots/releases/tag/0.6.0)
- Overhaul dependencies and shipped examples in -devel
* Tue Apr 16 2019 Adam Williamson <awilliam@redhat.com> - 0.5.0-2
- Rebuild with Meson fix for #1699099
* Thu Mar 14 2019 Jan Pokorný <jpokorny+rpm-wlroots@fedoraproject.org> - 0.5.0-1
- Updated to version 0.5.0 (0.2, 0.3, 0.4, 0.4.1 releases effectively skipped)
- Avoid building some parts that are not shipped in binary form, anyway
- Minor spec cleanup (clarify the licensing comment, licensecheck's NTP ~ MIT,
ldconfig_scriptlets no longer relevant, arch-specific tweak no longer needed)
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Nov 27 2018 Jan Pokorný <jpokorny+rpm-wlroots@fedoraproject.org> - 0.1-4
- Fix Firefox crash around text selection/clipboard
(https://github.com/swaywm/wlroots/pull/1380)
* Tue Nov 27 2018 Jan Pokorný <jpokorny+rpm-wlroots@fedoraproject.org> - 0.1-3
- Make Firefox run smoother (https://github.com/swaywm/wlroots/pull/1384)
* Wed Nov 07 2018 Jan Pokorný <jpokorny+rpm-wlroots@fedoraproject.org> - 0.1-2
- Fix incorrect "pkgconfig" version
* Wed Oct 31 2018 Jan Pokorný <jpokorny+rpm-wlroots@fedoraproject.org> - 0.1-1
- Updated to historically first official release
- Turned off implicit enablement of all 'auto' build features under Meson,
since xcb-errors is not available at this time
- Added BR: libpng
- Expanding spec comment on source files not covered with MIT license
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.1-0.9.20180106git03faf17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild