Re: Perl bindings for libchamplain



Emmanuel Rodriguez wrote:
I have other questions regarding the name of the Perl bindings. The C
library is based on Clutter and provides an optional Gtk widget. I've
still haven't selected a final name for the Perl modules. I'm thinking
of naming the Gtk2 widget "Gtk2::Champlain::ViewEmbed" but what about
the Clutter actors? Should I call them "Champlain::"? By the way this
is exactly what the python and C# bindings did.

Yeah, other bindings usually don't care about namespace polution and just put everything into the top level.

There seems to be a well-populated Geo:: namespace on CPAN -- maybe that would be an option?

The module-authors perl org mailing list is often used for requests for name suggestions, with good results.

I'm also thinking of providing a single Perl package that will
generate both bindings (Gtk2::Champlain::ViewEmbed will be an optional
build detected at install time).

Separating the clutter and gtk+ parts of the bindings would appear to only make sense if one of them could be usefully used independently of the other. If that's not the case, I think distributing both parts together and putting them under the same top-level namespace would be less confusing.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]