Re: error building with jhbuild
- From: Kjell Ahlstedt <kjellahlstedt gmail com>
- To: Ian Martin <martin_id vodafone co nz>
- Cc: Gtkmm List <gtkmm-list gnome org>
- Subject: Re: error building with jhbuild
- Date: Sun, 6 Aug 2017 21:14:16 +0200
Den 2017-08-05 kl. 10:31, skrev Kjell Ahlstedt:
Den 2017-08-05 kl. 01:12, skrev Ian Martin:
Hi,
I'm unable to build gtkmm at the moment with jhbuild. The process
stops with:
/data/jhbuild/checkout/gtkmm/tools/extra_defs_gen/generate_defs_gtk.cc:97:26:
error: ‘GTK_TYPE_EVENT_BOX’ was not declared in this scope
<< get_defs( GTK_TYPE_EVENT_BOX )
I've redownloaded from git but it still fails. The most recent
change ( https://git.gnome.org/browse/gtkmm/log/ ) references
eventbox.hg, so I'm guessing it's building for others. OTOH, jhbuild
builds the previous 26 modules without any major issues, so I'm
comfortable the problem is not my setup.
Any idea where I should be looking?
Ian.
GtkEventBox was removed from gtk+ 3 days ago with this commit:
https://git.gnome.org/browse/gtk+/commit/?id=47fe08528d8d483aaef5e91f1a8646e066febf06
The master branches of gtk+ and gtkmm are more unstable than usual
now. They are used for the coming ABI/API-breaking gtk+-4 and gtkmm-4.
It happens now and then that API is removed from gtk+, and it can take
a while before all references to the removed API has been removed from
gtkmm. This is the kind of problem you can expect until ABI and API
for gtk+-4 and gtkmm-4 have become more stable.
Alternatively, you can build gtkmm-3 with jhbuild. "jhbuild build
gtkmm" builds (or tries to build) gtkmm-4. "jhbuild build gtkmm-3"
builds gtkmm-3. There's a considerable difference between these two
builds. gtkmm-3 and gtkmm-4 use different versions of several modules,
not just gtk+.
Kjell
I have pushed a patch that removes all use of GtkEventBox from gtkmm-4
(git's master branch), and another patch that does the same for
gtkmm-documentation. Now it should be possible to build gtkmm-4 with
jhbuild (until more API is removed from gtk+-4).
Kjell
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]