[wxruby-users] libgstreamer, slackware => libgconf.......???

rvnues at tesco.net rvnues at tesco.net
Wed Jan 30 07:19:56 EST 2008


Hoi, Mario and Alex,
 
Thanks for your ideas and I'll be able to get ahead with them. 

I dunno whether I am the only sole on linux planet wihout gconf or libgstreamer.... but I used the gem system of installing wxruby, which is a great tool. Of course I can give it a try to compile wxRuby myself (and hopefully not running into other dependencies when omitting Wx::MediaCtrl ) but, by accidentally stumbling on your discussion about modularisation on http://rubyforge.org/pipermail/wxruby-development/2007-June/000790.html , the ideas in here might provide a long-term solution to the problems I encountered. Please do not start changing things for my sake (I was only trying wxRuby out as part of discovering ruby. I've made stuff with Java and am looking for a friendlier programming environment) and probably can get enough done with 1.9.2 before needing to upgrade...  Please keep focused on the main direction of wxRuby.

rob
> The wxRuby 1.9.3 binaries added Wx::MediaCtrl, which requires
> libgstreamer on Linux. You can either:
>
> 1) Fufil this dependency by installing libgstreamer
>
> or
>
> 2) Build your own wxRuby. Wx::MediaCtrl is an optional component, and if
> you're compiling your own wxRuby and it's not found to be supported,
> it'll be skipped without error.
>
> hth
> alex



Mario Steele wrote:
> gconf, is actually not a gnome library, per say, as it's more generalized storage library, that Gnome popularized.  I've seen gconf used in many console apps (As I've recently started messing with SourceMage GNU/Linux, which is a full blown source based distro).
>
> As for portability, I will talk with alex, to see if we can possibly put up a specialized version of wxruby for linux, that does not have these dependencies, as to reduce dependencies that are not needed.  I think OpenGL is another one that may require an additional dependency, but it shouldn't be that large of one, since most Modern Distro's come with OpenGL.
>
> I will get back with you, and let you know what me and Alex discuss about this problem.
>
> L8ers,
> Mario Steele
>
> On 1/29/08, rob wrote:
>
>     Hi Mario,
>
>     I did install gstreamer in the end to see what happened and now running of wxruby apps hangs because of the lack of gconf (libgconf-2.so.4) which is a gnome library.
>
>     > /usr/lib/ruby/gems/1.8/gems/wxruby-1.9.4-x86-linux/lib/wxruby2.so: libgconf-2.so.4:
>     > cannot open shared object file: No such file or directory -
>     > /usr/lib/ruby/gems/1.8/gems/wxruby-1.9.4-x86-linux/lib/wxruby2.so (LoadError)
>     > from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
>     > ... etc
>
>     I dunno, but the whole thing looks to me as if for the latest wxruby versions suddenly unneeded depencencies have been smuggled in from the build-system that has all this stuff on it. Why does a gui wrapper program needs coupling to a media streaming library or a system to store user-preferences??? ("GStreamer is a library that allows the construction of graphs of media-handling components, ranging from simple Ogg/Vorbis playback to complex audio"), ("GConf is a system for storing application preferences. It is intended for user preferences"). Also nothing of such new dependencies can be found in the ChangeLog (for 1.9.3, the 'oldest' version that does not run properly).  I hope one can sort this at the wxruby end. Until then I will have to use 1.9.2, or try the Java libaries (SWT or Swing) via Jruby.
>
>     Cause the question with all these dependencies becomes: how can one really ship a portable application?????
>
>     Thanks for any suggestions,
>
>     rob
>



More information about the wxruby-users mailing list