SHA256
1
0
forked from pool/weston

Fix build with libdisplay-info 0.3.0 #1

Merged
jengelh merged 1 commits from :master into master 2025-08-22 13:35:02 +02:00
3 changed files with 36 additions and 0 deletions

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,9 @@
-------------------------------------------------------------------
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>

View File

@@ -29,6 +29,8 @@ 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: glibc-devel >= 2.27