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 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 - 0.6.0-6 +- fix black squares issue on gnome 3 (bz1084308) + * Sat Aug 16 2014 Fedora Release Engineering - 0.6.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild