7 Commits

Author SHA256 Message Date
4cfa800ba5 Bump gcc for Leap 15.x 2025-09-17 14:07:50 +02:00
449fb3d34f freerdp2 for Leap 15.x 2025-09-17 12:30:02 +02:00
4886e9999e Replace freerdp2 with freerdp3
Co-authored-by: Bjørn Lie <iznogood@noreply.src.opensuse.org>
Co-committed-by: Bjørn Lie <iznogood@noreply.src.opensuse.org>
2025-09-17 12:28:32 +02:00
bfba446b00 Fix build with libdisplay-info 0.3.0 2025-08-20 15:29:56 +02:00
5e5358277f weston 14.0.2 2025-04-27 00:26:15 +02:00
58301fdb1c weston 14.0.1 2024-10-21 18:42:07 +02:00
499e88f732 weston 14 2024-10-08 19:41:22 +02:00
7 changed files with 88 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ea1566ab4f5ffce7e9fd4f7a1fca5b30caae4d50023bf459213994094e02b29a
size 1986684

Binary file not shown.

BIN
weston-14.0.2.tar.xz LFS Normal file

Binary file not shown.

BIN
weston-14.0.2.tar.xz.sig Normal file

Binary file not shown.

View File

@@ -0,0 +1,28 @@
From 394fcf054e3d1e94c254bf1915945fbb44551130 Mon Sep 17 00:00:00 2001
From: Christophe Marin <christophe@krop.fr>
Date: Wed, 20 Aug 2025 15:27:15 +0200
Subject: [PATCH] build: Allow libdisplay-info 0.3.0
There are no breaking changes for the high-level API that Weston uses.
Based on upstream change: https://gitlab.freedesktop.org/wayland/weston/-/commit/683eabb
---
libweston/backend-drm/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libweston/backend-drm/meson.build b/libweston/backend-drm/meson.build
index 002669e..a8f2ea5 100644
--- a/libweston/backend-drm/meson.build
+++ b/libweston/backend-drm/meson.build
@@ -4,7 +4,7 @@ endif
dep_libdisplay_info = dependency(
'libdisplay-info',
- version: ['>= 0.1.1', '< 0.3.0'],
+ version: ['>= 0.1.1', '< 0.4.0'],
fallback: ['display-info', 'di_dep'],
default_options: [
'werror=false',
--
2.50.1

View File

@@ -1,3 +1,36 @@
-------------------------------------------------------------------
Wed Sep 17 10:13:00 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Replace pkgconfig(freerdp2) with pkgconfig(freerdp3)
BuildRequires, weston supports both, use the newer one.
-------------------------------------------------------------------
Wed Aug 20 13:29:34 UTC 2025 - Christophe Marin <christophe@krop.fr>
- Add patch to allow usage of libdisplay 0.3.0:
* weston-libdisplay-info-0.3.0.patch
-------------------------------------------------------------------
Sat Apr 26 22:08:27 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 14.0.2
* Only build-relevant changes. (The VNC backend can be built with
a newer neatvnc library.)
-------------------------------------------------------------------
Mon Oct 21 16:36:16 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 14.0.1
* libweston: Send seat name before announcing devices
- Drop wsp-deps.patch (merged)
-------------------------------------------------------------------
Wed Sep 4 09:23:01 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 14
* Add support for FreeRDP 3.x
- Add wsp-deps.patch to resolve FTBFS
-------------------------------------------------------------------
Tue Apr 23 16:25:21 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package weston
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,10 +16,14 @@
#
%if 0%{?suse_version} < 1600
%define gcc_version 13
%endif
Name: weston
%define lname libweston0
%define major 13
Version: 13.0.1
%define major 14
Version: 14.0.2
Release: 0
Summary: Wayland Reference Compositor
License: CC-BY-SA-3.0 AND MIT
@@ -29,8 +33,10 @@ URL: https://wayland.freedesktop.org/
#Git-Web: https://cgit.freedesktop.org/wayland/weston/
Source: https://gitlab.freedesktop.org/wayland/weston/-/releases/%version/downloads/%name-%version.tar.xz
Source2: https://gitlab.freedesktop.org/wayland/weston/-/releases/%version/downloads/%name-%version.tar.xz.sig
# PATCH-FIX-UPSTREAM -- weston-libdisplay-info-0.3.0.patch
Patch0: weston-libdisplay-info-0.3.0.patch
BuildRequires: Mesa-libGLESv3-devel
BuildRequires: gcc-c++
BuildRequires: gcc%{?gcc_version}-c++ >= %gcc_version
BuildRequires: glibc-devel >= 2.27
BuildRequires: libjpeg-devel
BuildRequires: libxml2-tools
@@ -44,10 +50,15 @@ BuildRequires: pkgconfig(cairo-xcb)
BuildRequires: pkgconfig(colord) >= 0.1.27
BuildRequires: pkgconfig(dbus-1) >= 1.6
BuildRequires: pkgconfig(egl)
%if 0%{?suse_version} >= 1600
BuildRequires: pkgconfig(freerdp3)
%else
BuildRequires: pkgconfig(freerdp2)
%endif
BuildRequires: pkgconfig(gbm)
BuildRequires: pkgconfig(glesv2)
BuildRequires: pkgconfig(lcms2) >= 2.9
BuildRequires: pkgconfig(libdisplay-info)
BuildRequires: pkgconfig(libdrm) >= 2.4.108
BuildRequires: pkgconfig(libevdev)
BuildRequires: pkgconfig(libinput) >= 0.8.0
@@ -123,6 +134,15 @@ to develop plugins for Weston.
%autosetup -p1
%build
# Leap 15.x's default gcc-7 is not knowledgable enough to see the constexpr-ness of:
# >libweston/renderer-gl/gl-renderer.c:1369:5: error: initializer element is not constant
# >{ x, z, y, 0, 0, 0, 0, 0 },
# Either bump to newer gcc or un-static the matrix.
#
%if 0%{?gcc_version}
export CC="gcc%{?gcc_version:-%{gcc_version}}" CXX="g++%{?gcc_version:-%{gcc_version}}"
%endif
# includedir intentional, cf. bugzilla.opensuse.org/795968
%meson -Ddemo-clients=false -Dremoting=false -Dsimple-clients= \
-Dtest-junit-xml=false -Dpipewire=false -Dbackend-vnc=false \