libgconf2-ruby and libglade2-ruby are deprecated

Bug #840515 reported by Siegfried Gevatter
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
ScreenRuler
Fix Released
High
Unassigned

Bug Description

Hi,

libgconf2-ruby and libglade2-ruby are deprecate and will be dropped from Debian soon.

It'd be appreciated if you could update screenruler to no longer use those packages.

Revision history for this message
Siegfried Gevatter (rainct) wrote :

I've started working on a fix in lp:~rainct/screenruler/screenruler-gtk3, but since it's taking longer than I liked and I don't even know Ruby, I'd better leave this for you.

Changed in screenruler:
status: New → Confirmed
Revision history for this message
Ian McIntosh (ian-mcintosh) wrote :

I just committed revision 38, version 0.9.5, which moves from GladeXML to Gtk::Builder.

I'm not yet clear what's going on with GConf, is it deprecated? What should I be using?

Changed in screenruler:
importance: Undecided → High
Revision history for this message
Siegfried Gevatter (rainct) wrote : Re: [Bug 840515] Re: libgconf2-ruby and libglade2-ruby are deprecated

2011/11/15 Ian McIntosh <email address hidden>:
> I just committed revision 38, version 0.9.5, which moves from GladeXML
> to Gtk::Builder.

Awesome!

> I'm not yet clear what's going on with GConf, is it deprecated?  What
> should I be using?

Yeah, it's been replaced with GSettings.

Revision history for this message
Ian McIntosh (ian-mcintosh) wrote :

http://www.ruby-forum.com/topic/1976365#1007076 says:
"GSettings is included in GIO but Ruby/GIO2 doesn't support it yet. :< (We need help for it.)"

Perhaps I should convert settings to a file in ~/.screenruler ?

Revision history for this message
Siegfried Gevatter (rainct) wrote :

2011/11/15 Ian McIntosh <email address hidden>:
> Perhaps I should convert settings to a file in ~/.screenruler ?

Sounds good to me, but if you do so please place it in the XDG
configuration directory instead of ~/. The XDG config directori is
~/.config by default and can be overriden defining a XDG_CONFIG_HOME
environment variable (see
http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
for details).

Revision history for this message
Ian McIntosh (ian-mcintosh) wrote :

Revision 41, app version 0.9.6 drops GConf dependency and uses a custom YAML file for settings. (Current GConf settings are lost, unfortunately.)

I'd appreciate testing and feedback.

Siegfried, if this revision works, can we get this back in the debian repos?

Changed in screenruler:
status: Confirmed → Fix Released
Revision history for this message
Siegfried Gevatter (rainct) wrote :

Hi,

I've just updated the Debian package. I'll look into getting it back into Ubuntu too.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.