Forum: Ruby-Gnome 2 libglade gem

8e6374c0ef7b66942f34798e31edf014?d=identicon&s=25 "Dobai-Pataky Bálint" <dpblnt@gmail.com> (Guest)
on 2011-02-04 19:40
(Received via mailing list)
Hi,

Isn't libglade2 supported in this new gem format?
rbbr won't start without it.

thanks
Ee6ffca720cc428d70247dcd7377dd48?d=identicon&s=25 Kouhei Sutou (Guest)
on 2011-02-05 04:15
(Received via mailing list)
Hi,

In <4D4C47E4.1070401@gmail.com>
  "[ruby-gnome2-devel-en] libglade gem" on Fri, 04 Feb 2011 20:39:32
+0200,
  Dobai-Pataky Blint <dpblnt@gmail.com> wrote:

> Isn't libglade2 supported in this new gem format?

libglade2 is deprecated library. We drop its support since
0.90.6.

> rbbr won't start without it.

rbbr should use Gtk::Builder instead of libglade2.

See also:
  http://www.micahcarrick.com/gtk-builder-libglade-faq.html


Thanks,
--
kou
8e6374c0ef7b66942f34798e31edf014?d=identicon&s=25 "Dobai-Pataky Bálint" <dpblnt@gmail.com> (Guest)
on 2011-02-05 08:59
(Received via mailing list)
Hi,
I installed rbbr from
https://ruby-gnome2.svn.sourceforge.net/svnroot/ru...
Revision: 4172
and when i start it it displays the following:
/usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load -- libglade2 (LoadError)
     from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
     from /usr/lib64/ruby/site_ruby/1.8/rbbr/ui/downloader.rb:5
     from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
     from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
     from /usr/lib64/ruby/site_ruby/1.8/rbbr/ui.rb:54
     from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
     from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
     from /usr/lib64/ruby/site_ruby/1.8/rbbr.rb:35
     from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
     from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
     from /usr/bin/rbbr:20

Is there another repository?
Thanks
Balint
Ee6ffca720cc428d70247dcd7377dd48?d=identicon&s=25 Kouhei Sutou (Guest)
on 2011-02-05 09:09
(Received via mailing list)
Hi,

In <4D4D0350.4010901@gmail.com>
  "Re: [ruby-gnome2-devel-en] libglade gem" on Sat, 05 Feb 2011 09:59:12
+0200,
  Dobai-Pataky Blint <dpblnt@gmail.com> wrote:

>  from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `require'
>  from /usr/bin/rbbr:20
>
> Is there another repository?

No. The repository has the latest source.
We should update rbbr to use Gtk::Builder instead of
libglade2. Could you try it?


Thanks,
--
kou
8e6374c0ef7b66942f34798e31edf014?d=identicon&s=25 "Dobai-Pataky Bálint" <dpblnt@gmail.com> (Guest)
on 2011-02-05 11:19
(Received via mailing list)
Attachment: browser.rb (9 KB)
Attachment: downloader.ui (20 KB)
Attachment: downloader.rb (5 KB)
Attachment: rbbr.diff (2 KB)
Hi,
I fixed my installed rbbr, attached the modified files(about 6 rows
modified and the xml converted), and the diff, if that's easier to use.
It looks like only the API reference downloader used the glade
interface.
I converted the glade file like this: gtk-builder-convert
/usr/share/rbbr/glade/downloader.glade
/usr/share/rbbr/glade/downloader.ui
So i guess the glade files are not needed anymore.

Hope it helps,
Balint
Ee6ffca720cc428d70247dcd7377dd48?d=identicon&s=25 Kouhei Sutou (Guest)
on 2011-02-05 15:56
(Received via mailing list)
Hi,

In <4D4D23F4.503@gmail.com>
  "Re: [ruby-gnome2-devel-en] libglade gem" on Sat, 05 Feb 2011 12:18:28
+0200,
  Dobai-Pataky Blint <dpblnt@gmail.com> wrote:

> I fixed my installed rbbr, attached the modified files(about 6 rows modified
> and the xml converted), and the diff, if that's easier to use.
> It looks like only the API reference downloader used the glade interface.
> I converted the glade file like this: gtk-builder-convert /usr/share/rbbr/glade
> /downloader.glade /usr/share/rbbr/glade/downloader.ui
> So i guess the glade files are not needed anymore.

Thanks! I've merged your work in trunk.

--
kou
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.