Re: cannot make GdkRectangle synonymous to the unregistered type CairoRectangleInt at C:/msys64/mingw64/lib/perl5/site_perl/Gtk3.pm line 479.

2018-09-15 Thread Daniel Kasak via gtk-perl-list
Unrelated, and not offering help on this particular issue ( sorry ) ... but
...

Do you have build scripts for Windows? I had some that worked at one point,
but they stopped working shortly after, and I didn't have the time / skills
to keep them maintained.

Dan

On Sun, Sep 16, 2018 at 5:09 AM Torsten Schoenfeld 
wrote:

> On 04.06.2018 15:45, gtk-perl-l...@talkvideo.net wrote:
> > With the patches below I get:
> >
> > perl -e "use Gtk3;"
> >
> > Cairo::GObject: registering 44919376 (CairoRectangleInt)
> > Glib: trying to look up 63302960 (CairoRectangleInt)
> > cannot make GdkRectangle synonymous to the unregistered type
> CairoRectangleInt at C:/msys64/mingw64/lib/perl5/site_perl/Gtk3.pm line 479.
> > BEGIN failed--compilation aborted at -e line 1.
>
> This suggests that multiple library installation are getting mixed up on
> your system.  Try to look for multiple *glib*.dll, *gobject*.dll,
> *cairo*.dll and *cairo-gobject*.dll.
>
> -Torsten
> ___
> gtk-perl-list mailing list
> gtk-perl-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtk-perl-list
>
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list


Re: [Important + Long] GNOME (and Gtk-Perl) Git repos have moved to a dedicated GitLab server

2018-09-15 Thread Torsten Schoenfeld

On 16.07.2018 06:40, Brian Manning wrote:

If you haven't already found out (the hard way), the GNOME project has
moved all of the Git repos on git.gnome.org to a dedicated GitLab
server back at the end of May.  The new Git server's URL is:

https://gitlab.gnome.org/

The old GNOME Git URL of https://git.gnome.org will now redirect to
the GNOME GitLab instance at the above URL.  There are also some
archived Gtk-Perl projects available at:

https://gitlab.gnome.org/Archive


Thank you very much for taking care of this, Brian!  All our 
repositories seem to have been migrated and un-archived now.  To change 
an existing clone over to gitlab, you can use something like this:


  git remote set-url origin g...@gitlab.gnome.org:GNOME/perl-Glib.git

I just pushed a couple of changes to perl-Glib and 
perl-Glib-Object-Introspection.  To get past the pre-commit hook, I had 
to rename the *.doap files to be all lower-case, see 
.


-Torsten
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list


Re: cannot make GdkRectangle synonymous to the unregistered type CairoRectangleInt at C:/msys64/mingw64/lib/perl5/site_perl/Gtk3.pm line 479.

2018-09-15 Thread Torsten Schoenfeld

On 04.06.2018 15:45, gtk-perl-l...@talkvideo.net wrote:

With the patches below I get:

perl -e "use Gtk3;"

Cairo::GObject: registering 44919376 (CairoRectangleInt)
Glib: trying to look up 63302960 (CairoRectangleInt)
cannot make GdkRectangle synonymous to the unregistered type CairoRectangleInt 
at C:/msys64/mingw64/lib/perl5/site_perl/Gtk3.pm line 479.
BEGIN failed--compilation aborted at -e line 1.


This suggests that multiple library installation are getting mixed up on 
your system.  Try to look for multiple *glib*.dll, *gobject*.dll, 
*cairo*.dll and *cairo-gobject*.dll.


-Torsten
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list


Re: GType GValue has not been registered with GPerl at C:/msys64/mingw64/lib/perl5/site_perl/Gtk3.pm

2018-09-15 Thread Torsten Schoenfeld

On 12.06.2018 05:17, gtk-perl-l...@talkvideo.net wrote:

Correction:

This Program:

use strict;
use warnings;

use Gtk3 '-init';
use Glib 'TRUE', 'FALSE';

my @data = (TRUE, 42, 'Data...');

my $lstore = Gtk3::ListStore->new('Glib::Boolean', 'Glib::Uint', 
'Glib::String');

my $iter = $lstore->append();

$lstore->insert_with_values( $iter, 0, $data[0], 1, $data[1], 2, 
$data[2] );o


Causes Signal SEGV at the last line.


Runs fine for me on Linux, so I don't know what's wrong.  If I had to 
guess, I'd say it's because multiple library installations are getting 
mixed up on your machine, similarly to the other issue you reported.


Can anyone else reproduce the problem on Windows?

-Torsten
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list


Re: Gtk3::Application and handles-command-line

2018-09-15 Thread Torsten Schoenfeld

On 08.06.2018 15:16, Jeffrey Ratcliffe wrote:

Investing Gtk3::Application further, I find that if I try to run the
code below, it falls over calling
Glib::IO::ApplicationCommandLine::get_options_dict()

GType GVariantDict (46597648) is not registered with gperl
at /usr/lib/i386-linux-gnu/perl5/5.26/Glib/Object/Introspection.pm line
67.

What can I do to get this running?

Support for GVariantDict was missing from Glib.  I just added it:

https://gitlab.gnome.org/GNOME/perl-glib/commit/5dc4a9cdc37ac4987df43c9757c611107b6da1e9

-Torsten
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list