- Update to release 12.0.1

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/weston?expand=0&rev=112
This commit is contained in:
Jan Engelhardt 2023-05-25 20:09:27 +00:00 committed by Git OBS Bridge
parent 62474187dd
commit 8f569e489c
7 changed files with 12 additions and 69 deletions

View File

@ -1,64 +0,0 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2023-05-17 23:14:05.601257733 +0200
References: https://lists.freedesktop.org/archives/wayland-devel/2023-May/042721.html
[ 5s] FAILED: libweston/libgl-borders.a.p/gl-borders.c.o
[ 5s] cc -Ilibweston/libgl-borders.a.p -Ilibweston -I../libweston -I. -I.. -Iinclude -I../include -I/usr/include/wayland -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/webp -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -fPIC -MD -MQ libweston/libgl-borders.a.p/gl-borders.c.o -MF libweston/libgl-borders.a.p/gl-borders.c.o.d -o libweston/libgl-borders.a.p/gl-borders.c.o -c ../libweston/gl-borders.c
[ 5s] In file included from ../libweston/renderer-gl/gl-renderer.h:32,
[ 5s] from ../libweston/gl-borders.h:28,
[ 5s] from ../libweston/gl-borders.c:31:
[ 5s] ../include/libweston/libweston.h:39:10: fatal error: xkbcommon/xkbcommon.h: No such file or directory
[ 4s] FAILED: shared/libshared.a.p/config-parser.c.o
[ 4s] cc -Ishared/libshared.a.p -Ishared -I../shared -I. -I.. -Iinclude -I../include -I/usr/include/wayland -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -fPIC -MD -MQ shared/libshared.a.p/config-parser.c.o -MF shared/libshared.a.p/config-parser.c.o.d -o shared/libshared.a.p/config-parser.c.o -c ../shared/config-parser.c
[ 4s] In file included from ../shared/config-parser.c:44:
[ 4s] ../include/libweston/libweston.h:39:10: fatal error: xkbcommon/xkbcommon.h: No such file or directory
[ 6s] FAILED: tests/libtest-xwayland-client.a.p/xcb-client-helper.c.o
[ 6s] cc -Itests/libtest-xwayland-client.a.p -Itests -I../tests -I. -I.. -Iinclude -I../include -Iprotocol -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -fPIC -MD -MQ tests/libtest-xwayland-client.a.p/xcb-client-helper.c.o -MF tests/libtest-xwayland-client.a.p/xcb-client-helper.c.o.d -o tests/libtest-xwayland-client.a.p/xcb-client-helper.c.o -c ../tests/xcb-client-helper.c
[ 6s] ../tests/xcb-client-helper.c:39:10: fatal error: wayland-client.h: No such file or directory
---
libweston/meson.build | 1 +
shared/meson.build | 2 +-
tests/meson.build | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
Index: weston/libweston/meson.build
===================================================================
--- weston.orig/libweston/meson.build
+++ weston/libweston/meson.build
@@ -255,6 +255,7 @@ lib_gl_borders = static_library(
dependencies: [
dep_lib_cairo_shared,
dep_egl, # for gl-renderer.h
+ dep_xkbcommon,
],
build_by_default: false,
install: false
Index: weston/shared/meson.build
===================================================================
--- weston.orig/shared/meson.build
+++ weston/shared/meson.build
@@ -7,7 +7,7 @@ srcs_libshared = [
'process-util.c',
'hash.c',
]
-deps_libshared = [dep_wayland_client, dep_wayland_server, dep_pixman]
+deps_libshared = [dep_wayland_client, dep_wayland_server, dep_pixman, dep_xkbcommon]
lib_libshared = static_library(
'shared',
Index: weston/tests/meson.build
===================================================================
--- weston.orig/tests/meson.build
+++ weston/tests/meson.build
@@ -322,7 +322,7 @@ if get_option('xwayland')
[ 'xcb-client-helper.c', weston_test_client_protocol_h ],
include_directories: common_inc,
dependencies: [
- dep_pixman, dep_xcb_xwayland,
+ dep_pixman, dep_wayland_client, dep_xcb_xwayland,
xcb_dep, xcb_cursor_dep
],
install: false,

View File

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

Binary file not shown.

3
weston-12.0.1.tar.xz Normal file
View File

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

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

Binary file not shown.

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu May 25 19:33:31 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update to release 12.0.1
* Resolve build failure relating to xkbcommon & wayland
pkg-config CFLAGS
- Delete build.patch (merged)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 17 20:54:48 UTC 2023 - Jan Engelhardt <jengelh@inai.de> Wed May 17 20:54:48 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -19,7 +19,7 @@
Name: weston Name: weston
%define lname libweston0 %define lname libweston0
%define major 12 %define major 12
Version: 12.0.0 Version: 12.0.1
Release: 0 Release: 0
Summary: Wayland Reference Compositor Summary: Wayland Reference Compositor
License: CC-BY-SA-3.0 AND MIT License: CC-BY-SA-3.0 AND MIT
@ -29,7 +29,6 @@ URL: https://wayland.freedesktop.org/
#Git-Web: https://cgit.freedesktop.org/wayland/weston/ #Git-Web: https://cgit.freedesktop.org/wayland/weston/
Source: https://gitlab.freedesktop.org/wayland/weston/-/releases/%version/downloads/weston-%version.tar.xz Source: https://gitlab.freedesktop.org/wayland/weston/-/releases/%version/downloads/weston-%version.tar.xz
Source2: https://gitlab.freedesktop.org/wayland/weston/-/releases/%version/downloads/weston-%version.tar.xz.sig Source2: https://gitlab.freedesktop.org/wayland/weston/-/releases/%version/downloads/weston-%version.tar.xz.sig
Patch1: build.patch
BuildRequires: Mesa-libGLESv3-devel BuildRequires: Mesa-libGLESv3-devel
BuildRequires: autoconf >= 2.64 BuildRequires: autoconf >= 2.64
BuildRequires: automake >= 1.11 BuildRequires: automake >= 1.11