WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: libwnck build issue on TC 4.0.2  (Read 4201 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
libwnck build issue on TC 4.0.2
« 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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: libwnck build issue on TC 4.0.2
« Reply #1 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.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: libwnck build issue on TC 4.0.2
« Reply #2 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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: libwnck build issue on TC 4.0.2
« Reply #3 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.

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: libwnck build issue on TC 4.0.2
« Reply #4 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
« Last Edit: October 22, 2011, 05:47:49 AM by Arslan S. »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: libwnck build issue on TC 4.0.2
« Reply #5 on: October 22, 2011, 06:48:46 AM »
IIRC it's python bindings for gtk+.
The only barriers that can stop you are the ones you create yourself.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: libwnck build issue on TC 4.0.2
« Reply #6 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. 

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: libwnck build issue on TC 4.0.2
« Reply #7 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.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: libwnck build issue on TC 4.0.2
« Reply #8 on: October 25, 2011, 09:51:31 PM »
gtk2.tcz updated, adding gtk2-gir.tcz due to size of gir stuff.