linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-users] minimum gtk requirement


From: Liviu Andronic
Subject: [Linphone-users] minimum gtk requirement
Date: Fri, 30 Dec 2011 23:35:13 +0100
User-agent: Opera Mail/11.60 (Linux)

Dear all
What is teh minimum GTK requirement for 3.5.0? The README in the sources suggests:
        + if you want to gtk/glade interface:
                - gtk>=2.16.0

However, various config files seem to require several more recent version of GTK.
$ fgrep requires gtk/*.ui
gtk/about.ui:  <!-- interface-requires gtk+ 2.12 -->
gtk/buddylookup.ui:  <!-- interface-requires gtk+ 2.16 -->
gtk/call_logs.ui:  <requires lib="gtk+" version="2.16"/>
 gtk/chatroom.ui:  <!-- interface-requires gtk+ 2.12 -->
gtk/contact.ui:  <requires lib="gtk+" version="2.16"/>
gtk/log.ui:  <requires lib="gtk+" version="2.16"/>
 gtk/main.ui:  <requires lib="gtk+" version="2.22"/>
gtk/parameters.ui:  <requires lib="gtk+" version="2.22"/>
gtk/password.ui:  <!-- interface-requires gtk+ 2.16 -->
 gtk/sip_account.ui:  <!-- interface-requires gtk+ 2.6 -->
gtk/tunnel_config.ui:  <requires lib="gtk+" version="2.18"/>


The reason I ask is that requiring GTK 2.22 (for main.ui and parameters.ui) renders Linphone 3.5.0 incompatible with Ubuntu Lucid LTS, which ships GTK 2.20. In default configuration, I get the following error at start-up:
address@hidden:~$ linphone

 ** ERROR **: Couldn't load builder file: /usr/share/linphone/main.ui:
 required gtk+ version 2.22, current version is 2.20
 aborting...
 Aborted

If I comment out the relevant line in main.ui and parameters.ui, then 3.5.0 starts and seems to behave just fine. Since we're publishing the Lucid package on the Linphone PPA [1], I wanted to make sure that this is safe. Just in case, I report these messages that I get on the console:
address@hidden:~$ linphone
 ALSA lib conf.c:4630:(snd_config_expand) Unknown parameters 0
 ALSA lib control.c:882:(snd_ctl_open_noupdate) Invalid CTL default:0

 (linphone:7802): Gtk-WARNING **: gtk_window_set_wmclass: shouldn't set
 wmclass after window is realized!


 (linphone:7802): GLib-GObject-WARNING **: IA__g_object_notify: object
 class `GtkStatusIcon' has no property named `name'

 (linphone:7802): Gtk-WARNING **: Could not load image 'linphone2.png':
 Failed to open file '/usr/share/linphone/linphone2.png': No such file
 or directory

 (linphone:7802): Gtk-WARNING **: Could not find signal handler
 'linphone_gtk_create_fonics_account'


Please let me know if the above hack (removing requirement for GTK 2.22 in main.ui and parameters.ui) is acceptable for most cases. Regards
Liviu

[1] https://launchpad.net/~linphone/+archive/release


--
Using Opera's revolutionary email client: http://www.opera.com/mail/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]