RE: Compiling Gtk2::GladeXML

2011-11-04 Thread RAPPAZ Francois
Thanks for replying, and for asking the good questions !

> Where did you get the rest of the GTK library stack
> (GTK+/Glib/Pango/Cairo) that you're using on your Windows machine?

I used this scripts from http://code.google.com/p/gtk-perl-compiler/
The files are from http://ftp.gnome.org/pub/gnome/binaries/win32
So it's the source you used.

I tried again with 
http://ftp.acc.umu.se/pub/gnome/binaries/win32/libglade/2.6/libglade-dev_2.6.4-1_win32.zip
And looking at what the scripts where doing I could have a makefile done 
without error or warning.

At the end with copying include/glade/glade-xml.h from the unzipped 
libglade folder in the cpan build folder, I could compile and install the 
module... 

I will try the Gtk2::Builder anyway.

Thanks again

François 

> -Original Message-
> From: Brian Manning [mailto:elspicyj...@gmail.com]
> Sent: jeudi, 3. novembre 2011 17:31
> To: RAPPAZ Francois
> Cc: gtk-perl-list@gnome.org
> Subject: Re: Compiling Gtk2::GladeXML
> 
> On Thu, Nov 3, 2011 at 9:11 AM, RAPPAZ Francois
>  wrote:
> > With perl 5.12 from strawberry, I managed to compile Gtk2 and friends
> from CPAN. Now I need to use glade generated xml files and I need the
> Gtk2::GladeXML module.
> >
> > I downloaded the libglade dll from http://wingtk.sourceforge.net/ and
> installed it.
> 
> Where did you get the rest of the GTK library stack
> (GTK+/Glib/Pango/Cairo) that you're using on your Windows machine?
> 
> http://wingtk.sourceforge.net/ looks like they only have binaries for
> GTK version 1.x, which is probably not what you're after.
> 
> > When I tried to generate a makefile from the cpan build folder of
> Gtk2::GladeXML it complains about a libglade-2.0.pc file missing in the
> pkgconfig folder.
> > I add "by hand" such a file with 3 lines:
> >
> > Name: Libglade
> > Description: a library for dynamically loading GLADE interface files
> > Version: 2.0.2
> > and a makefile is produced.
> >
> > But the compilation failed with a glade/glade-xml.h file missing.
> Copying this file and the glade folder from the libglade/glade
> installed from wingtk does not help either.
> >
> > Does anyone know how to have this module installed ?
> 
> Maybe you missed a -dev package that has the .pc and header files you
> need?  Also see my comment above about http://wingtk.sourceforge.net/
> and GTK version 1.x.
> 
> For what it's worth #1, I get my Windows GTK binaries here:
> 
> http://ftp.gnome.org/pub/gnome/binaries/win32/
> 
> For what it's worth #2, I use Glade-generated XML with Gtk2::Builder
> [1], which comes as part of the Gtk2.pm module distribution.  If you're
> using Glade to generate XML for your GUI, newer versions of Glade can
> generate the correctly formatted XML to use with Gtk2::Builder.
> 
> Thanks,
> 
> Brian
> 
> [1] http://gtk2-perl.sourceforge.net/doc/pod/Gtk2/Builder.html
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list


Re: Compiling Gtk2::GladeXML

2011-11-03 Thread Brian Manning
On Thu, Nov 3, 2011 at 9:11 AM, RAPPAZ Francois
 wrote:
> With perl 5.12 from strawberry, I managed to compile Gtk2 and friends from 
> CPAN. Now I need to use glade generated xml files and I need the 
> Gtk2::GladeXML module.
>
> I downloaded the libglade dll from http://wingtk.sourceforge.net/ and 
> installed it.

Where did you get the rest of the GTK library stack
(GTK+/Glib/Pango/Cairo) that you're using on your Windows machine?

http://wingtk.sourceforge.net/ looks like they only have binaries for
GTK version 1.x, which is probably not what you're after.

> When I tried to generate a makefile from the cpan build folder of 
> Gtk2::GladeXML it complains about a libglade-2.0.pc file missing in the 
> pkgconfig folder.
> I add "by hand" such a file with 3 lines:
>
> Name: Libglade
> Description: a library for dynamically loading GLADE interface files
> Version: 2.0.2
> and a makefile is produced.
>
> But the compilation failed with a glade/glade-xml.h file missing. Copying 
> this file and the glade folder from the libglade/glade installed from wingtk 
> does not help either.
>
> Does anyone know how to have this module installed ?

Maybe you missed a -dev package that has the .pc and header files you
need?  Also see my comment above about http://wingtk.sourceforge.net/
and GTK version 1.x.

For what it's worth #1, I get my Windows GTK binaries here:

http://ftp.gnome.org/pub/gnome/binaries/win32/

For what it's worth #2, I use Glade-generated XML with Gtk2::Builder
[1], which comes as part of the Gtk2.pm module distribution.  If
you're using Glade to generate XML for your GUI, newer versions of
Glade can generate the correctly formatted XML to use with
Gtk2::Builder.

Thanks,

Brian

[1] http://gtk2-perl.sourceforge.net/doc/pod/Gtk2/Builder.html
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list


Compiling Gtk2::GladeXML

2011-11-03 Thread RAPPAZ Francois
With perl 5.12 from strawberry, I managed to compile Gtk2 and friends from 
CPAN. Now I need to use glade generated xml files and I need the Gtk2::GladeXML 
module.

I downloaded the libglade dll from http://wingtk.sourceforge.net/ and installed 
it.

When I tried to generate a makefile from the cpan build folder of 
Gtk2::GladeXML it complains about a libglade-2.0.pc file missing in the 
pkgconfig folder.
I add "by hand" such a file with 3 lines:

Name: Libglade
Description: a library for dynamically loading GLADE interface files
Version: 2.0.2
and a makefile is produced. 

But the compilation failed with a glade/glade-xml.h file missing. Copying this 
file and the glade folder from the libglade/glade installed from wingtk does 
not help either.

Does anyone know how to have this module installed ?
Thanks

François 

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