On Wed, 7 May 2008, Jesús Guerrero wrote:
They are the following: # XXX: gtk2 perl bindings require dev-perl/gtk2-perl, worth a dependency? # XXX: gtk perl bindings require dev-perl/gtk-perl, worth a dependency? # XXX: netpbm is used by FvwmScript-ScreenDump, worth a dependency?I can clearly see the netpbm dependency. So, that's not a problem. However, I am not sure about the gtk{,2}-perl stuff. [...] If you enable gtk, then fvwm looks for gtk+-1.x. If I am not mistaking, to make these bindings of any use, you would still need to push as dependencies gtk-perl and gtk2-perl respectively (whatever they are called on your distro of choice). Am I right?
If I recall correctly the configure option about gtk only controls wether FvwmGtk will be built or not. The perl bindings are only runtime dependencies, when specific modules or parts of the perllib are used.
I also want to know if these perl/gtk bindings are used on any official script or module shipped on with fvwm. My guess it that they are not, and with grep, I can't find any refference to Gtk.pm or Gtk2.pm on any file shipped with fvwm.
perl-gtk is used by the module FvwmGtkDebug. I don't think that perl-gtk2 is used by anything but the perllib.
[...] Another doubt, do you need gtk+-2.x for Gtk2.pm to be functional? I guess yes, but in that case, that dependency has been overlooked on the ebuild forever. If this is true, that means that if I enable perl and gtk, then the ebuild should have all of these as dependencies, which, in my humble opinion is something insane for fvwm:
The ebuld should not depend directly on gtk+-2.x. That is a dependency of gtk2-perl, and would thus be pulled when installing that. gtk+-1.x is needed for FvwmGtk, which links against gtk, and dus depend directly on gtk, and not via gtk-perl.
/Viktor
