Skip Menu |

This queue is for tickets about the Clutter CPAN distribution.

Report information
The Basics
Id: 49441
Status: open
Priority: 0/
Queue: Clutter

People
Owner: Nobody in particular
Requestors: potyl [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.002
Fixed in: (no value)



Subject: Missing bindings for Gtk2::ClutterEmbed
This is a regression as the previous version of Clutter 0.800 had support for the Gtk2 bindings. Champlain.pm can also be compiled with Gtk2 support but without Clutter's help this will be problematic.
I have a branch in github (http://github.com/potyl/clutter-perl/tree/debian) where I try to have Gtk2 enabled. The branch is not over yet and is quite messy because it has some evil hacks to patch a segmentation fault when perl exits. Nevertheless I'm sure that some parts can be reused.
I managed to fix most issues and the branch works well enough in order to run the demo examples/gtk-clutter.pl. I will use a private install of this code in order to continue my porting of Champlain to Clutter 1.0. Some notes about my branch. 1) The unit test fail when run with make test because of PERL_DL_NONLAZY=1, see the error: t/1..........................Can't load '/home/emmanuel/git/clutter-perl/blib/arch/auto/Clutter/Clutter.so' for module Clutter: /home/emmanuel/git/clutter-perl/blib/arch/auto/Clutter/Clutter.so: undefined symbol: gtk2perl_new_gtkobject at /usr/lib/perl/5.10/DynaLoader.pm line 196. at t/1.t line 3 Compilation failed in require at t/1.t line 3. BEGIN failed--compilation aborted at t/1.t line 3. 2) If the test are executed by hand they all pass: for t in t/*.t ; do echo $t; PERL_DL_NONLAZY=0 perl -Mblib $t ; done
On Sat Sep 05 03:46:36 2009, POTYL wrote: Show quoted text
> I managed to fix most issues and the branch works well enough in order > to run the demo examples/gtk-clutter.pl. I will use a private install of > this code in order to continue my porting of Champlain to Clutter 1.0.
thanks for the branch, but that's not going to be merged. like PyClutter, the perl-Clutter bindings now track only the core Clutter API; a perl-Gtk2-Clutter module, as well as a perl-Clutter-GStreamer module, will be added as soon as possible. the split has been done for multiple reasons: - Clutter is now 1.0, but the integration libraries are not ready for API stability; - the core Clutter is complex as it is, and the integration libraries should live in their own module to avoid combinatorial explosion of API size and dependencies - maintainability is easier in the long run again: thanks for the branch; next time, dropping me an email might yield better results than waiting for me on IRC. :-)