From d7a5340d6199a6bc2c8215fd4a7224851a3454269ffda2a317a931b3c2615def Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 3 Feb 2020 22:21:43 +0000 Subject: [PATCH] - Update to new upstream release 8 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/weston?expand=0&rev=89 --- ...sts-test-runner-needs-wayland-client.patch | 40 +++++++++++++++++++ weston-7.0.0.tar.xz | 3 -- weston-8.0.0.tar.xz | 3 ++ weston.changes | 11 +++++ weston.spec | 10 +++-- 5 files changed, 60 insertions(+), 7 deletions(-) create mode 100644 0001-tests-test-runner-needs-wayland-client.patch delete mode 100644 weston-7.0.0.tar.xz create mode 100644 weston-8.0.0.tar.xz diff --git a/0001-tests-test-runner-needs-wayland-client.patch b/0001-tests-test-runner-needs-wayland-client.patch new file mode 100644 index 0000000..df7bc83 --- /dev/null +++ b/0001-tests-test-runner-needs-wayland-client.patch @@ -0,0 +1,40 @@ +From 1f3615f3cce1f71144e7bb606f95c0f2e87cd3b4 Mon Sep 17 00:00:00 2001 +From: Pekka Paalanen +Date: Mon, 27 Jan 2020 12:15:20 +0200 +Subject: [PATCH] tests: test-runner needs wayland-client + +weston-test-runner.h includes wayland-util.h, therefore it needs +wayland-client. A partial dependency with just compile_args might have been +enough as it does not seem to use functions from wayland-util.c, but safer this +way and no harm. + +Fixes: https://lists.freedesktop.org/archives/wayland-devel/2020-January/041149.html + +Signed-off-by: Pekka Paalanen +--- + tests/meson.build | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/tests/meson.build b/tests/meson.build +index b9646921..a0735ad4 100644 +--- a/tests/meson.build ++++ b/tests/meson.build +@@ -11,10 +11,14 @@ env_modmap += 'weston-test-desktop-shell.so=@0@;'.format(plugin_test_shell_deskt + lib_test_runner = static_library( + 'test-runner', + 'weston-test-runner.c', ++ dependencies: dep_wayland_client, + include_directories: common_inc, + install: false, + ) +-dep_test_runner = declare_dependency(link_with: lib_test_runner) ++dep_test_runner = declare_dependency( ++ dependencies: dep_wayland_client, ++ link_with: lib_test_runner ++) + + lib_test_client = static_library( + 'test-client', +-- +2.25.0 + diff --git a/weston-7.0.0.tar.xz b/weston-7.0.0.tar.xz deleted file mode 100644 index 55c49be..0000000 --- a/weston-7.0.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a00a6d207b6a45f95f4401c604772a307c3767e5e2beecf3d879110c43909a64 -size 1086028 diff --git a/weston-8.0.0.tar.xz b/weston-8.0.0.tar.xz new file mode 100644 index 0000000..aa45169 --- /dev/null +++ b/weston-8.0.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7518b49b2eaa1c3091f24671bdcc124fd49fc8f1af51161927afa4329c027848 +size 1094904 diff --git a/weston.changes b/weston.changes index bf2c5da..acbc323 100644 --- a/weston.changes +++ b/weston.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sun Jan 26 10:19:38 UTC 2020 - Jan Engelhardt + +- Update to new upstream release 8 + * DRM hardware planes should be used more effectively + * The DRM backend now supports HDCP + * Headless backend now supports OpenGL + * DRM backend can now be built without GBM + * EGL_KHR_partial_update is now used when available, reducing + memory bandwidth usage on some GPUs. + ------------------------------------------------------------------- Sat Aug 24 04:06:09 UTC 2019 - Jan Engelhardt diff --git a/weston.spec b/weston.spec index 1a18af8..f10b809 100644 --- a/weston.spec +++ b/weston.spec @@ -1,7 +1,7 @@ # # spec file for package weston # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,9 +18,9 @@ Name: weston %define lname libweston0 -%define major 7 -%define realver 7.0.0 -Version: 7 +%define major 8 +%define realver 8.0.0 +Version: 8 Release: 0 Summary: Wayland Reference Compositor License: MIT AND CC-BY-SA-3.0 @@ -31,8 +31,10 @@ URL: https://wayland.freedesktop.org/ #Git-Web: https://cgit.freedesktop.org/wayland/weston/ Source: https://wayland.freedesktop.org/releases/weston-%realver.tar.xz Source3: %name.keyring +Patch1: 0001-tests-test-runner-needs-wayland-client.patch BuildRequires: autoconf >= 2.64 BuildRequires: automake >= 1.11 +BuildRequires: gcc-c++ BuildRequires: libjpeg-devel BuildRequires: libtool >= 2.2 BuildRequires: libxml2-tools