Bug #18295
closedgtk2 won't work with newest versions of its dependencies
Description
I am running an up-to-date version of Artix, which installs ruby-atk 3.4.5-1 ruby-pango 3.4.5-1 and ruby-gdk_pixbuf2 3.4.5-1.
But it would seem that ruby-gtk2 3.4.3 wants specifically that version of the above three packages (at least, the Artix/Arch PKGBUILD says it must have those versions, and if I hack the version requirement from the PKGBUILD and build the package, at run time ruby complains
/usr/lib/ruby/3.0.0/rubygems/specification.rb:1404:in rescue in block in activate_dependencies': Could not find 'atk' (= 3.4.3) among 88 total gem(s) (Gem::MissingSpecError) Checked in 'GEM_PATH=/home/zsd/.local/share/gem/ruby/3.0.0:/usr/lib/ruby/gems/3.0.0' at: /usr/lib/ruby/gems/3.0.0/specifications/gtk2-3.4.3.gemspec, execute
gem env` for more information
and many more lines.
Is there any plan to update gtk2 to work with newer versions of atk and friends?
Thanks.
Updated by jeremyevans0 (Jeremy Evans) almost 3 years ago
- Status changed from Open to Third Party's Issue
This looks like an issue with your setup. You'll need to install version 3.4.3 of the atk, pango, and gdk_pixbuf2 gems (see https://rubygems.org/gems/gtk2/versions/3.4.3). Looks like the ruby-gnome maintainers stopped supporting gtk2 starting in version 3.4.4. Even if it was an actual problem with those gems, the issue would need to be filed on the issue tracker for those gems (https://github.com/ruby-gnome/ruby-gnome), not here, since it would not be an issue with Ruby itself.