- Update to new upstream stable 1.2.8 release, Drop upstreamed patches
This commit is contained in:
parent
b81ddcb6e3
commit
944a9af92b
@ -1,2 +1 @@
|
||||
clutter-1.2.4.tar.bz2
|
||||
clutter-1.2.6.tar.bz2
|
||||
clutter-1.2.8.tar.bz2
|
||||
|
@ -1,53 +0,0 @@
|
||||
From 0db0c1925b691d195fd779ef6e6d851d2135d790 Mon Sep 17 00:00:00 2001
|
||||
From: Owen W. Taylor <otaylor@fishsoup.net>
|
||||
Date: Fri, 30 Apr 2010 14:50:11 -0400
|
||||
Subject: [PATCH 2/3] Call backend handle_event from clutter_x11_handle_event()
|
||||
|
||||
Whether events come from the main loop source or from
|
||||
clutter_x11_handle_event(), we need to feed them to the backend
|
||||
virtual handle_event function. This fixes problems with clients
|
||||
using clutter_x11_handle_event() hanging because
|
||||
GLXBufferSwapComplete events aren't received.
|
||||
|
||||
http://bugzilla.openedhand.com/show_bug.cgi?id=2101
|
||||
---
|
||||
clutter/x11/clutter-event-x11.c | 10 +++++++++-
|
||||
1 files changed, 9 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/clutter/x11/clutter-event-x11.c b/clutter/x11/clutter-event-x11.c
|
||||
index 0d8c08d..20a77fd 100644
|
||||
--- a/clutter/x11/clutter-event-x11.c
|
||||
+++ b/clutter/x11/clutter-event-x11.c
|
||||
@@ -1048,13 +1048,14 @@ ClutterX11FilterReturn
|
||||
clutter_x11_handle_event (XEvent *xevent)
|
||||
{
|
||||
ClutterBackend *backend;
|
||||
+ ClutterBackendX11Class *backend_x11_class;
|
||||
ClutterEvent *event;
|
||||
ClutterMainContext *clutter_context;
|
||||
ClutterX11FilterReturn result;
|
||||
gint spin = 1;
|
||||
|
||||
/* The return values here are someone approximate; we return
|
||||
- * CLUTTER_X11_FILTER_REMOVE if and only if a clutter event is
|
||||
+ * CLUTTER_X11_FILTER_REMOVE if a clutter event is
|
||||
* generated for the event. This mostly, but not entirely,
|
||||
* corresponds to whether other event processing should be
|
||||
* excluded. As long as the stage window is not shared with another
|
||||
@@ -1068,6 +1069,13 @@ clutter_x11_handle_event (XEvent *xevent)
|
||||
|
||||
clutter_context = _clutter_context_get_default ();
|
||||
backend = clutter_context->backend;
|
||||
+ backend_x11_class = CLUTTER_BACKEND_X11_GET_CLASS (backend);
|
||||
+
|
||||
+ /* If the backend just observed the event and didn't want it
|
||||
+ * removed it could return FALSE, so assume that a TRUE return
|
||||
+ * means that our caller should also do no further processing. */
|
||||
+ if (backend_x11_class->handle_event (CLUTTER_BACKEND_X11(backend), xevent))
|
||||
+ return CLUTTER_X11_FILTER_REMOVE;
|
||||
|
||||
event = clutter_event_new (CLUTTER_NOTHING);
|
||||
|
||||
--
|
||||
1.7.0.1
|
||||
|
@ -1,41 +0,0 @@
|
||||
From 0fca6056aa9f9f609836330597bd0139bf0be2c4 Mon Sep 17 00:00:00 2001
|
||||
From: Owen W. Taylor <otaylor@fishsoup.net>
|
||||
Date: Fri, 30 Apr 2010 14:56:07 -0400
|
||||
Subject: [PATCH 3/3] Ignore unexpected GLX_BufferSwapComplete
|
||||
|
||||
A server that supports GLX_BufferSwapComplete will always send
|
||||
these events, so we should just silently ignore them if we've
|
||||
chosen not to take advantage of the INTEL_swap_event GLX
|
||||
extension.
|
||||
|
||||
http://bugzilla.openedhand.com/show_bug.cgi?id=2102
|
||||
---
|
||||
clutter/glx/clutter-event-glx.c | 11 ++++-------
|
||||
1 files changed, 4 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/clutter/glx/clutter-event-glx.c b/clutter/glx/clutter-event-glx.c
|
||||
index 2034534..27b1d2b 100644
|
||||
--- a/clutter/glx/clutter-event-glx.c
|
||||
+++ b/clutter/glx/clutter-event-glx.c
|
||||
@@ -82,14 +82,11 @@ clutter_backend_glx_handle_event (ClutterBackendX11 *backend_x11,
|
||||
|
||||
if (stage_x11->xwin == swap_complete_event->drawable)
|
||||
{
|
||||
- if (G_UNLIKELY (stage_glx->pending_swaps == 0))
|
||||
- {
|
||||
- g_warning ("Spurious GLX_BufferSwapComplete event received for "
|
||||
- "stage drawable = 0x%08lx",
|
||||
- swap_complete_event->drawable);
|
||||
- }
|
||||
- else
|
||||
+ /* We don't have to select for swap events, so we'll
|
||||
+ * get them even if we are choosing not to use them */
|
||||
+ if (stage_glx->pending_swaps > 0)
|
||||
stage_glx->pending_swaps--;
|
||||
+
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
--
|
||||
1.7.0.1
|
||||
|
12
clutter.spec
12
clutter.spec
@ -1,5 +1,5 @@
|
||||
Name: clutter
|
||||
Version: 1.2.6
|
||||
Version: 1.2.8
|
||||
Release: 1%{?dist}
|
||||
Summary: Open Source software library for creating rich graphical user interfaces
|
||||
|
||||
@ -12,10 +12,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
# http://bugzilla.openedhand.com/show_bug.cgi?id=2100
|
||||
Patch0: Use-a-native-format-for-atlas-textures.patch
|
||||
# http://bugzilla.openedhand.com/show_bug.cgi?id=2101
|
||||
Patch1: Call-backend-handle_event-from-clutter_x11_handle_ev.patch
|
||||
# http://bugzilla.openedhand.com/show_bug.cgi?id=2102
|
||||
Patch2: Ignore-unexpected-GLX_BufferSwapComplete.patch
|
||||
|
||||
Requires: gobject-introspection
|
||||
# FIXME to remove when all the bits have been merged into their
|
||||
@ -67,8 +63,6 @@ This package contains documentation for clutter.
|
||||
%setup -q
|
||||
|
||||
%patch0 -p1 -b .atlas-textures
|
||||
%patch1 -p1 -b .handle-event
|
||||
%patch2 -p1 -b .buffer-swap-complete
|
||||
|
||||
%build
|
||||
%configure --enable-gtk-doc --enable-introspection --enable-xinput
|
||||
@ -109,6 +103,10 @@ rm -rf %{buildroot}
|
||||
%{_datadir}/gtk-doc/html/cogl
|
||||
|
||||
%changelog
|
||||
* Sat May 15 2010 Peter Robinson <pbrobinson@gmail.com> 1.2.8-1
|
||||
- Update to new upstream stable 1.2.8 release
|
||||
- Drop upstreamed patches
|
||||
|
||||
* Fri Apr 30 2010 Owen Taylor <otaylor@redhat.com> - 1.2.6-1
|
||||
- Update to new upstream stable 1.2.6 release
|
||||
- Work around Radeon driver problem with color channel confusion.
|
||||
|
Loading…
Reference in New Issue
Block a user