Jan Engelhardt 2014-01-24 12:01:30 +00:00 committed by Git OBS Bridge
parent aef99008cf
commit ba3888e021
5 changed files with 12 additions and 39 deletions

View File

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

View File

@ -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
View File

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

View File

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

View File

@ -18,7 +18,7 @@
%define lname libwayland0
Name: wayland
Version: 1.3.93
Version: 1.4.0
Release: 0
Summary: Wayland Compositor Infrastructure
License: HPND
@ -27,7 +27,6 @@ URL: http://wayland.freedesktop.org/
#Git-Clone: git://anongit.freedesktop.org/wayland/wayland
#Git-Web: http://cgit.freedesktop.org/wayland/wayland/
Source: http://wayland.freedesktop.org/releases/%name-%version.tar.xz
Patch0: wayland-1.3.93-resourcestest.patch
#git#BuildRequires: autoconf >= 2.64
#git#BuildRequires: automake >= 1.11
#git#BuildRequires: libtool >= 2.2
@ -103,7 +102,6 @@ to develop applications that require these.
%prep
%setup -q
%patch0 -p1
%build
if [ ! -e configure ]; then