[X2Go-Commits] [pyhoca-gui] 03/03: debian/control, pyhoca-gui.specs: Pull-in gobject introspection packages for libnotify support. Fallback to pynotify (GTK2 based notifcations) only if gi.repository.Notify is unavailable. (Fixes: #689).
git-admin at x2go.org
git-admin at x2go.org
Wed May 27 12:16:39 CEST 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository pyhoca-gui.
commit f5d975cab2dc6fd47c77145a281e3c3a89cbbcdb
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Wed May 27 12:16:25 2015 +0200
debian/control,pyhoca-gui.specs: Pull-in gobject introspection packages for libnotify support. Fallback to pynotify (GTK2 based notifcations) only if gi.repository.Notify is unavailable. (Fixes: #689).
---
debian/changelog | 4 ++++
debian/control | 3 ++-
pyhoca-gui.spec | 10 ++++++++++
3 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 0b6c3fe..2e756a7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,10 @@ pyhoca-gui (0.5.0.5-0x2go1) UNRELEASED; urgency=medium
* New upstream version (0.5.0.5):
- Handle notification the GTK3-way. (Fixes: #769).
+ * debian/control,pyhoca-gui.specs:
+ + Pull-in gobject introspection packages for libnotify support.
+ Fallback to pynotify (GTK2 based notifcations) only if
+ gi.repository.Notify is unavailable. (Fixes: #689).
-- Mike Gabriel <mike.gabriel at das-netzwerkteam.de> Wed, 27 May 2015 11:46:24 +0200
diff --git a/debian/control b/debian/control
index cd537e4..bd27c96 100644
--- a/debian/control
+++ b/debian/control
@@ -26,7 +26,8 @@ Depends:
python,
python-x2go (>=0.5.0.0-0~),
python-argparse,
- python-notify,
+ python-gi | python-notify,
+ gir1.2-notify-0.7 | python-notify,
python-setproctitle,
python-wxgtk3.0 | python-wxgtk2.8,
python-support (>=0.90),
diff --git a/pyhoca-gui.spec b/pyhoca-gui.spec
index 50cec02..043174a 100644
--- a/pyhoca-gui.spec
+++ b/pyhoca-gui.spec
@@ -26,10 +26,20 @@ BuildRequires: intltool
Requires: python-setproctitle
Requires: python-x2go >= 0.5.0.0
%if 0%{?suse_version}
+%if 0%{?suse_version} >= 1230
+Requires: python-gobject
+Requires: typelib-1_0-Notify-0_7
+%else
Requires: python-notify
+%endif
+%else
+%if 0%{?fedora} >= 22 || 0%{?rhel} >= 7
+Requires: libnotify
+Requires: pygobject3-base
%else
Requires: notify-python
%endif
+%endif
%if 0%{?suse_version} >= 1230
Requires: python-wxWidgets-2_9
%else
--
Alioth's /srv/git/code.x2go.org/pyhoca-gui.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git
More information about the x2go-commits
mailing list