Add perl bindings

Bug #581101 reported by Dimitri John Ledkov
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Application Indicators
Confirmed
Wishlist
Unassigned
indicator-application (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

Please add perl bindings.

Shutter is written in perl and they can't create appindicator cause there are no perl bindings.

Changed in indicator-application:
status: New → Confirmed
Revision history for this message
Ted Gould (ted) wrote :

Is there Perl support for GObject Introspection? We're planning on supporting that more and more.

Changed in indicator-application:
importance: Undecided → Wishlist
Revision history for this message
Dimitri John Ledkov (xnox) wrote : Re: [Bug 581101] Re: Add perl bindings

On 21 May 2010 16:56, Ted Gould <email address hidden> wrote:
> Is there Perl support for GObject Introspection?  We're planning on
> supporting that more and more.
>

http://live.gnome.org/GTK2-Perl/Introspection

Revision history for this message
Ted Gould (ted) wrote :

On Fri, 2010-05-21 at 22:33 +0000, Dmitrijs Ledkovs wrote:
> On 21 May 2010 16:56, Ted Gould <email address hidden> wrote:
> > Is there Perl support for GObject Introspection? We're planning on
> > supporting that more and more.
> >
>
> http://live.gnome.org/GTK2-Perl/Introspection

Cool. Can someone test the current typelib files and see if they work?
Perhaps a small helper "library" that loads introspection?

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

I'd like to provide a wrapper library but I am a bit confused because of the naming scheme and so on.

I am using Ubuntu 10.04 and I've the following typelib files install:
Indicate-0.2.typelib
Indicate-Gtk-0.2.typelib
Dbusmenu-Glib-0.2.typelib

Here is a nice example of Introspection with gtk2-perl: http://git.gnome.org/browse/perl-Glib-IO/tree/lib/Glib/IO.pm

Which of the above typelib files has to be used to write a working wrapper library? That are my first steps with introspection so please don't blame me if the questions are stupid.

Could you please shed light on this?

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

As stated by Torsten Schoenfeld via gtk-perl-list:

"The initial release of Glib::Object::Introspection is now available.

As a tarball:

http://downloads.sourceforge.net/gtk2-perl/Glib-Object-Introspection-0.001.tar.gz

or from git:

http://git.gnome.org/browse/perl-Glib-Object-Introspection/tag/?id=rel-0-00-1

Glib::Object::Introspection uses the gobject-introspection and libffi
projects to dynamically create Perl bindings for a wide variety of
libraries. Examples include gtk+, webkit, libsoup and many more."

Any chance to get this into Ubuntu's repositories any time soon?

Revision history for this message
Hans Oesterholt (0k-hans-f8) wrote :

I've created an AppIndicator binding for perl.
See https://launchpad.net/~0k-hans-f8/+archive/ppa/+packages (libgtk2-appindicator-perl)
or http://search.cpan.org/perldoc?Gtk2%3A%3AAppIndicator

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

Nice, thanks. I will have a look at it tomorrow. What happens if
libappindicator is not available ( e.g. on other platforms than
Ubuntu)?

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Just noticed this bug. FYI: I'm working on packaging libgtk2-appindicator-perl for Ubuntu. You can follow the process in bug #1032390.

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

Great, thanks for your work.

Ted Gould (ted)
Changed in indicator-application (Ubuntu):
importance: Undecided → Wishlist
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.