[easystroke] fix black squares issue on gnome 3 (bz1084308)

Tom Callaway spot at fedoraproject.org
Tue Dec 2 16:13:44 UTC 2014


commit 9d8669374feafd04569aa2e0d3b04ba58313d8a0
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Tue Dec 2 11:13:44 2014 -0500

    fix black squares issue on gnome 3 (bz1084308)

 easystroke-0.6.0-gnome3-fix.patch |   11 +++++++++++
 easystroke.spec                   |    8 +++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/easystroke-0.6.0-gnome3-fix.patch b/easystroke-0.6.0-gnome3-fix.patch
new file mode 100644
index 0000000..5ba1335
--- /dev/null
+++ b/easystroke-0.6.0-gnome3-fix.patch
@@ -0,0 +1,11 @@
+diff -up easystroke-0.6.0/composite.cc.gnome3fix easystroke-0.6.0/composite.cc
+--- easystroke-0.6.0/composite.cc.gnome3fix	2014-12-02 11:04:06.000305555 -0500
++++ easystroke-0.6.0/composite.cc	2014-12-02 11:04:26.039186824 -0500
+@@ -27,6 +27,7 @@ Popup::Popup(int x1, int y1, int x2, int
+ 
+ 	Glib::RefPtr<Gdk::Visual> visual = get_screen()->get_rgba_visual();
+ 	gtk_widget_set_visual(Widget::gobj(), visual->gobj());
++	gtk_widget_set_app_paintable (Widget::gobj(), TRUE);
+ 	signal_draw().connect(sigc::mem_fun(*this, &Popup::on_draw));
+ 	realize();
+ 	move(x1, y1);
diff --git a/easystroke.spec b/easystroke.spec
index 1367956..925603f 100644
--- a/easystroke.spec
+++ b/easystroke.spec
@@ -1,12 +1,14 @@
 Name:           easystroke
 Version:        0.6.0
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Gesture-recognition application for X11
 Group:          User Interface/X Hardware Support
 License:        ISC
 URL:            http://easystroke.sourceforge.net/
 Source0:        http://downloads.sourceforge.net/easystroke/%{name}-%{version}.tar.gz
 Patch0:		easystroke-0.6.0-fix-desktop-file.patch
+# https://github.com/thjaeger/easystroke/commit/d14b2740bf3b0ec867d7a0abe4e1f64fb6687aba
+Patch1:		easystroke-0.6.0-gnome3-fix.patch
 BuildRequires:  gtkmm30-devel
 BuildRequires:  dbus-glib-devel
 BuildRequires:  boost-devel
@@ -27,6 +29,7 @@ execute shell commands, hold down modifiers and emulate a scroll wheel.
 %prep
 %setup -q
 %patch0 -p1 -b .fixme
+%patch1 -p1 -b .gnome3fix
 
 # Resolve debuginfo
 sed -i 's|install -Ds|install -D|' Makefile
@@ -63,6 +66,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
 
 %changelog
+* Tue Dec  2 2014 Tom Callaway <spot at fedoraproject.org> - 0.6.0-6
+- fix black squares issue on gnome 3 (bz1084308)
+
 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.6.0-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the scm-commits mailing list