we require PyGTK2.22 for InfoBar
This commit is contained in:
parent
e1808fd550
commit
2fdbe37b58
|
@ -15,7 +15,7 @@
|
|||
<h2>Runtime Requirements</h2>
|
||||
<ul>
|
||||
<li>python2.5 or higher</li>
|
||||
<li>pygtk2.16 or higher</li>
|
||||
<li>pygtk2.22 or higher</li>
|
||||
</ul>
|
||||
|
||||
<h2>Optional Runtime Requirements</h2>
|
||||
|
|
|
@ -10,7 +10,7 @@ Vcs-Browser: http://hg.gajim.org/gajim/file
|
|||
|
||||
Package: gajim
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, ${python:Depends}, python-gtk2 (>= 2.16.0), dnsutils
|
||||
Depends: ${misc:Depends}, ${python:Depends}, python-gtk2 (>= 2.22.0), dnsutils
|
||||
Recommends: dbus, python-dbus, notification-daemon, python-openssl (>= 0.12), python-crypto, python-pyasn1
|
||||
Suggests: python-gconf, python-gnome2, nautilus-sendto, avahi-daemon, python-avahi, network-manager, libgtkspell0, aspell-en, python-gnomekeyring, gnome-keyring, python-kerberos (>= 1.1), texlive-latex-base, dvipng, python-farstream, gstreamer0.10-plugins-ugly, python-pycurl
|
||||
Description: Jabber client written in PyGTK
|
||||
|
|
12
src/gajim.py
12
src/gajim.py
|
@ -233,12 +233,12 @@ else:
|
|||
elif sysname in ('FreeBSD', 'OpenBSD', 'NetBSD'):
|
||||
libc.setproctitle('gajim')
|
||||
|
||||
if gtk.pygtk_version < (2, 16, 0):
|
||||
pritext = _('Gajim needs PyGTK 2.16 or above')
|
||||
sectext = _('Gajim needs PyGTK 2.16 or above to run. Quiting...')
|
||||
elif gtk.gtk_version < (2, 16, 0):
|
||||
pritext = _('Gajim needs GTK 2.16 or above')
|
||||
sectext = _('Gajim needs GTK 2.16 or above to run. Quiting...')
|
||||
if gtk.pygtk_version < (2, 22, 0):
|
||||
pritext = _('Gajim needs PyGTK 2.22 or above')
|
||||
sectext = _('Gajim needs PyGTK 2.22 or above to run. Quiting...')
|
||||
elif gtk.gtk_version < (2, 22, 0):
|
||||
pritext = _('Gajim needs GTK 2.22 or above')
|
||||
sectext = _('Gajim needs GTK 2.22 or above to run. Quiting...')
|
||||
|
||||
from common import check_paths
|
||||
|
||||
|
|
Loading…
Reference in New Issue