Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: bmarkus on October 21, 2011, 12:02:26 PM

Title: libwnck build issue on TC 4.0.2
Post by: bmarkus on October 21, 2011, 12:02:26 PM
Part of update I tried to build current version on TV 4.0.2 and got this error:

Quote
Couldn't find include 'Gtk-2.0.gir' (search path: ['.', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/usr/local/share/gir-1.0'])
make[2]: *** [Wnck-1.0.gir] Error 1

It builds just fine on TC 3.8.4 Any idea how to fix? I have never faced to gir something tillo now.
Title: Re: libwnck build issue on TC 4.0.2
Post by: Jason W on October 21, 2011, 01:49:50 PM
That file is in gir-repository-dev.tcz. Perhaps that extension was loaded during the build on TC 3.x.
Title: Re: libwnck build issue on TC 4.0.2
Post by: bmarkus on October 21, 2011, 02:59:39 PM
That file is in gir-repository-dev.tcz. Perhaps that extension was loaded during the build on TC 3.x.

No, I have never loaded it. Its configure behaves differently on tc 3.x and 4.x. On 3.x it corrently detects that it is not available and turns off introspection while on TC 4.x it is detected as installed even if it is not true, so compilation fails. Explicitely disabling with --enable-introspection=no switch it builds as expected.
Title: Re: libwnck build issue on TC 4.0.2
Post by: Jason W on October 21, 2011, 09:27:30 PM
Out of curiosity, I built this on TC 4.x, and whether the gir-repository.tcz extension was installed, it accurately detected gir-repository as being disabled as lacking the -dev extension stuff.

But this exercise did uncover a bug in the .la files of the cairo-dev extension regarding libX11.la, which I fixed and uploaded.
Title: Re: libwnck build issue on TC 4.0.2
Post by: Arslan S. on October 22, 2011, 05:45:48 AM
gir-repository is deprecated, they are now located elsewhere
atk, pango, gtk should be compiled with gobject-introspection-dev and --enable-introspection
but i don't really know what introspection is for or any extension that needs it
you can --disable-introspection in order to avoid that error
Title: Re: libwnck build issue on TC 4.0.2
Post by: curaga on October 22, 2011, 06:48:46 AM
IIRC it's python bindings for gtk+.
Title: Re: libwnck build issue on TC 4.0.2
Post by: Jason W on October 23, 2011, 06:24:52 PM
I had noticed the existence of the introspection in gtk, and was hoping to avoid it as long as I could.  But I will aim to provide packages for it upon updates to atk, pango, gtk2. 
Title: Re: libwnck build issue on TC 4.0.2
Post by: Jason W on October 23, 2011, 11:44:15 PM
glib2 updated.  Also, atk and pango updated with the introspection enabled.  Will aim for gtk2 update with introspection tomorrow.
Title: Re: libwnck build issue on TC 4.0.2
Post by: Jason W on October 25, 2011, 09:51:31 PM
gtk2.tcz updated, adding gtk2-gir.tcz due to size of gir stuff.