forked from pool/dogtail
Accepting request 291872 from GNOME:Apps
Push GNOME:Apps - without pcheck OBS-URL: https://build.opensuse.org/request/show/291872 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dogtail?expand=0&rev=2
This commit is contained in:
parent
353129c62b
commit
07b1f479c9
13
dogtail-wnck-3.0.patch
Normal file
13
dogtail-wnck-3.0.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: dogtail-0.9.0/dogtail/tree.py
|
||||||
|
===================================================================
|
||||||
|
--- dogtail-0.9.0.orig/dogtail/tree.py
|
||||||
|
+++ dogtail-0.9.0/dogtail/tree.py
|
||||||
|
@@ -84,6 +84,8 @@ except ImportError: # pragma: no cover
|
||||||
|
|
||||||
|
# We optionally import the bindings for libWnck.
|
||||||
|
try:
|
||||||
|
+ import gi
|
||||||
|
+ gi.require_version('Wnck', '3.0')
|
||||||
|
from gi.repository import Wnck
|
||||||
|
gotWnck = True # pragma: no cover
|
||||||
|
except ImportError:
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 20 08:48:50 UTC 2015 - fcrozat@suse.com
|
||||||
|
|
||||||
|
- Add dogtail-wnck-3.0.patch: ensure Wnck 3.0 typelib is required.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 19 09:30:23 CET 2015 - fcrozat@suse.com
|
Thu Feb 19 09:30:23 CET 2015 - fcrozat@suse.com
|
||||||
|
|
||||||
|
@ -23,6 +23,8 @@ Summary: GUI test tool and automation framework
|
|||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Url: http://dogtail.fedorahosted.org/
|
Url: http://dogtail.fedorahosted.org/
|
||||||
Source0: http://fedorahosted.org/released/dogtail/%{name}-%{version}.tar.gz
|
Source0: http://fedorahosted.org/released/dogtail/%{name}-%{version}.tar.gz
|
||||||
|
# PATCH-FIX-UPSTREAM dogtail-wnck-3.0.patch fcrozat@suse.com -- ensure Wnck 3.0 typelib is required
|
||||||
|
Patch0: dogtail-wnck-3.0.patch
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: gobject-introspection
|
BuildRequires: gobject-introspection
|
||||||
BuildRequires: hicolor-icon-theme
|
BuildRequires: hicolor-icon-theme
|
||||||
@ -43,6 +45,7 @@ communicate with desktop applications.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python ./setup.py build
|
python ./setup.py build
|
||||||
|
Loading…
Reference in New Issue
Block a user