Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200991 - app-dicts/fantasdic doesn't need dev-ruby/ruby-gnome2
Summary: app-dicts/fantasdic doesn't need dev-ruby/ruby-gnome2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-02 11:50 UTC by Moonz
Modified: 2008-12-05 23:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moonz 2007-12-02 11:50:14 UTC
app-dic/fandisdic depends on dev-ruby/ruby-gnome2 which isn't required for fantasdic 1.0-beta4
in README:

Requirements
------------

    Ruby >= 1.8.0:              http://www.ruby-lang.org
    GTK+ >= 2.6:                http://www.gnome.org
    Ruby-GTK2 >= 0.14.1 [*]:    http://ruby-gnome2.sourceforge.jp
    Ruby-GetText >= 0.6.1 [**]: http://ponx.s5.xrea.com/hiki/ruby-gettext.html
    Intltool [**]:              http://freedesktop.org/wiki/Software_2fintltool

    [*]: Required libraries are: Ruby/Libglade2, Ruby/Gtk2 and Ruby/GdkPixbuf2.
         Ruby-GTK2 0.16 is however highly recommended.

    [**]: Optional.



Reproducible: Always

Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-12-02 12:04:29 UTC
The README is clearly incomplete, e.g. dev-ruby/ruby-gconf2 required by preferences.rb is missing.

Comment 2 Moonz 2007-12-03 09:37:57 UTC
ruby-gconf2 is optional, I just installed fantasdic without ruby-gnome2 and everything works fine. Moreover, find -name '*.rb' -exec grep require {} \; | sed 's/^ *'//g shows:
require 'libglade2'
require 'gtk2'
require 'fantasdic/ui/glade_base'
require 'fantasdic/ui/utils'
require 'fantasdic/ui/alert_dialog'
require 'fantasdic/ui/about_dialog'
require 'fantasdic/ui/preferences_dialog'
require 'fantasdic/ui/add_dictionary_dialog'
require 'fantasdic/ui/combobox_entry'
require 'fantasdic/ui/matches_listview.rb'
require 'fantasdic/ui/result_text_view'
require 'fantasdic/ui/print' if Fantasdic::UI::SUPPORTS_PRINT
require 'fantasdic/ui/ipc'
require 'fantasdic/ui/main_app'
require 'singleton'
require 'yaml'
require "gconf2"
This program requires Ruby 1.8.0 or lator .
require 'socket'
require 'socket'
require 'md5'
require 'pp' # pretty print
require 'optparse'
require 'singleton'
require "win32/pipe"
require "base64"
require "drb"
Clearly, only gconf2 is used, and in preferences.rb. It is for the prefered browser and is optional (if gconf2 is not found the exception is silently discarded). Isn't a use-flag appropriate for this situation ?
Comment 3 MATSUU Takuto (RETIRED) gentoo-dev 2008-12-05 23:03:59 UTC
fantasdic-1.0_beta6 in cvs.