Subject: Re: [X2Go-Dev] Deps on notify-python
From: Orion Poplawski <[email-masked]>
To: Mike Gabriel <[email-masked]>
Cc: [email-masked]
Date: Thu, 04 Dec 2014 08:49:49 -0700

Package: pyhoca-gui

>>>> I see that pyhoca-cli and pyhoca-gui are configured to require
>>>> notify-python.  However, it doesn't look like pyhoca-cli uses it.

Looks like the modern way is using gobject  (pygobject2 or pygobject3 in 
RHEL7).  See 
https://wiki.archlinux.org/index.php/Desktop_notifications#Usage_in_programming

Python

     Dependencies: libnotify, python-gobject (or python2-gobject for 
Python 2)

hello_world.py

#!/usr/bin/python
from gi.repository import Notify
Notify.init ("Hello world")
Hello=Notify.Notification.new ("Hello world","This is an example 
notification.","dialog-information")
Hello.show ()

It would be good to get this updated.

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       [email-masked]
Boulder, CO 80301                   http://www.nwra.com