Please update gtkmm to 2.22

Bug #660787 reported by Murray Cumming
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gtkmm2.4 (Ubuntu)
Fix Released
Wishlist
Krzysztof Klimonda

Bug Description

Binary package hint: libgtkmm-2.4-dev

Ubuntu 10.10 (Meerkat) has GTK+ 2.22 but it only has gtkmm 2.20. This is the first time in a long time that it's got out of sync so I guess something is wrong.

It's annoying not to have the new API but it's particularly awkward because it is then impossible to build some software while disabling all deprecated API, due to the way the versions of the headers depend on each other. Disabling deprecated API is a very useful and common practice for developers, but you are likely to see errors such as this, which I will paste for the sake of people using Google in desparation:

In file included from /usr/include/gdkmm-2.4/gdkmm/drawable.h:36,
                 from /usr/include/gdkmm-2.4/gdkmm/gc.h:31,
                 from /usr/include/gdkmm-2.4/gdkmm.h:29,
                 from /usr/include/gtkmm-2.4/gtkmm.h:89,
                 from src/main_window.h:22,
                 from src/main.cc:19:
/usr/include/gdkmm-2.4/gdkmm/region.h:230: error: ‘GdkSpanFunc’ has not been declared
In file included from /usr/include/gtkmm-2.4/gtkmm/dialog.h:31,
                 from /usr/include/gtkmm-2.4/gtkmm/aboutdialog.h:30,
                 from /usr/include/gtkmm-2.4/gtkmm.h:92,
                 from src/main_window.h:22,
                 from src/main.cc:19:
/usr/include/gtkmm-2.4/gtkmm/box.h:79: error: expected class-name before ‘{’ token
/usr/include/gtkmm-2.4/gtkmm/box.h:86: error: ISO C++ forbids declaration of ‘_GtkBoxChild’ with no type
/usr/include/gtkmm-2.4/gtkmm/box.h:86: error: ‘_GtkBoxChild’ declared as an ‘inline’ field
/usr/include/gtkmm-2.4/gtkmm/box.h:86: error: expected ‘;’ before ‘*’ token
/usr/include/gtkmm-2.4/gtkmm/box.h:88: error: expected ‘;’ before ‘inline’
/usr/include/gtkmm-2.4/gtkmm/box.h:88: error: ISO C++ forbids declaration of ‘_GtkBoxChild’ with no type
/usr/include/gtkmm-2.4/gtkmm/box.h:88: error: ‘_GtkBoxChild’ declared as an ‘inline’ field
/usr/include/gtkmm-2.4/gtkmm/box.h:88: error: expected ‘;’ before ‘*’ token
/usr/include/gtkmm-2.4/gtkmm/box.h:90: error: expected ‘;’ before ‘Widget’

Related branches

Changed in gtkmm2.4 (Ubuntu):
assignee: nobody → Krzysztof Klimonda (kklimonda)
status: New → In Progress
tags: added: desktop-upgade
tags: added: desktop-upgrade
removed: desktop-upgade
Changed in gtkmm2.4 (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gtkmm2.4 - 1:2.22.0-0ubuntu1

---------------
gtkmm2.4 (1:2.22.0-0ubuntu1) natty; urgency=low

  * New upstream release (LP: #660787)
  * Upstream no longer installs examples in /usr/share/gtkmm-2.4/
  * debian/control.in:
    - Build-Depend on libatkmm-1.6 >= 2.22.0-1
 -- Krzysztof Klimonda <email address hidden> Mon, 08 Nov 2010 22:29:30 +0100

Changed in gtkmm2.4 (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

to reply to the bug description the desktop team has a limited number of contributors and there was a new atkmm source to work on to be able to update this one, that has been done now thank to Krzysztof's work

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.