Re: Adding Glib::IO to the released modules



I use Glib::IO and it doesn't take any special work. You can use GIR to create a binding, and since the C library is already on the system (it has to be to use GTK+) GIR finds it and binds it. Here's how I use it:

use Glib::Object::Introspection;
Glib::Object::Introspection->setup(
'basename' => 'Gio',
'version' => '2.0',
'package' => 'Glib::IO'
);

If you want to see more about how it works, see my project at:
https://github.com/oldtechaa/SeekMIDI/blob/master/bin/SeekMIDI.pl

or see MaxPerl's tutorial here about it:
https://github.com/MaxPerl/perl-Gtk3-Tutorial

oldtechaa

On June 16, 2017 6:08:42 AM EDT, Emmanuele Bassi <ebassi gmail com> wrote:
Hi all;

would it be possible to make a release of Glib::IO? Right now, it's
basically impossible to write idiomatic Gtk3 code — i.e. using
GtkApplication and GtkApplicationWindow — because you need to install
Glib::IO from Git, as opposed of CPAN; additionally, Linux
distribution won't package the module unless it has a release. This
makes the Perl bindings less featureful and integrated with the rest
of the GNOME platform.

I know that Glib::IO is very much experimental, but at this point all
it needs is an updated POD blurb and a simple tarball. There's also
the argument that until it gets a release, we won't see any actual
user, and thus no bug reports nor patches.

Ciao,
Emmanuele.


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