forked from jengelh/wayland
wayland-1.4.0
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/wayland?expand=0&rev=44
This commit is contained in:
parent
aef99008cf
commit
ba3888e021
@ -1,33 +0,0 @@
|
|||||||
From 3b8a1c7fed80dc9465115888610b82cd2fed1bd0 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Kristian Høgsberg <krh@bitplanet.net>
|
|
||||||
Date: Mon, 20 Jan 2014 23:07:55 +0000
|
|
||||||
Subject: resources-test: Don't send invalid event
|
|
||||||
|
|
||||||
Even if nothing receives the even, the arguments still need to be valid.
|
|
||||||
The test is sending out event 0 from the wl_display interface, which is
|
|
||||||
the error event. This requires arg 0 to be a valid object and arg 2 to
|
|
||||||
be a non-null string. The test just leaves that undefined, causing
|
|
||||||
intermittent test failures.
|
|
||||||
|
|
||||||
As it is, the resource destroy test doesn't need to send an event to
|
|
||||||
validate the various resource destroy hooks, so we can just remove the
|
|
||||||
call to wl_resource_post_event() alltogether.
|
|
||||||
|
|
||||||
Thanks to Matt Turner <mattst88@gmail.com> for pointing out the failure.
|
|
||||||
---
|
|
||||||
diff --git a/tests/resources-test.c b/tests/resources-test.c
|
|
||||||
index 514c031..a6ce3ae 100644
|
|
||||||
--- a/tests/resources-test.c
|
|
||||||
+++ b/tests/resources-test.c
|
|
||||||
@@ -107,9 +107,6 @@ TEST(destroy_res_tst)
|
|
||||||
wl_resource_set_implementation(res, NULL, &destroyed, res_destroy_func);
|
|
||||||
wl_resource_add_destroy_listener(res, &destroy_listener);
|
|
||||||
|
|
||||||
- /* without implementation this should be ignored .. */
|
|
||||||
- wl_resource_post_event(res, 0);
|
|
||||||
-
|
|
||||||
id = wl_resource_get_id(res);
|
|
||||||
link = wl_resource_get_link(res);
|
|
||||||
assert(link);
|
|
||||||
--
|
|
||||||
cgit v0.9.0.2-2-gbebe
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:98b8eda896b1e33a4e301ef81c233afa117ea031f3e3f2cb71108ff936d68cab
|
|
||||||
size 421292
|
|
3
wayland-1.4.0.tar.xz
Normal file
3
wayland-1.4.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:18f33b9f15b4c8b662fb1968e7636e7926b419dfc48de8a164b3a3d7095c5a58
|
||||||
|
size 421564
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 24 11:59:47 UTC 2014 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update to new upstream release 1.4.0
|
||||||
|
* SHM Buffer SIBGUS protection
|
||||||
|
* Subsurfaces protocol moved to wayland
|
||||||
|
- Remove wayland-1.3.93-resourcestest.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 21 11:10:29 UTC 2014 - tchvatal@suse.com
|
Tue Jan 21 11:10:29 UTC 2014 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%define lname libwayland0
|
%define lname libwayland0
|
||||||
Name: wayland
|
Name: wayland
|
||||||
Version: 1.3.93
|
Version: 1.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Wayland Compositor Infrastructure
|
Summary: Wayland Compositor Infrastructure
|
||||||
License: HPND
|
License: HPND
|
||||||
@ -27,7 +27,6 @@ URL: http://wayland.freedesktop.org/
|
|||||||
#Git-Clone: git://anongit.freedesktop.org/wayland/wayland
|
#Git-Clone: git://anongit.freedesktop.org/wayland/wayland
|
||||||
#Git-Web: http://cgit.freedesktop.org/wayland/wayland/
|
#Git-Web: http://cgit.freedesktop.org/wayland/wayland/
|
||||||
Source: http://wayland.freedesktop.org/releases/%name-%version.tar.xz
|
Source: http://wayland.freedesktop.org/releases/%name-%version.tar.xz
|
||||||
Patch0: wayland-1.3.93-resourcestest.patch
|
|
||||||
#git#BuildRequires: autoconf >= 2.64
|
#git#BuildRequires: autoconf >= 2.64
|
||||||
#git#BuildRequires: automake >= 1.11
|
#git#BuildRequires: automake >= 1.11
|
||||||
#git#BuildRequires: libtool >= 2.2
|
#git#BuildRequires: libtool >= 2.2
|
||||||
@ -103,7 +102,6 @@ to develop applications that require these.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
if [ ! -e configure ]; then
|
if [ ! -e configure ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user