Modify

Opened 5 years ago

Last modified 4 years ago

#12742 accepted defect

atk/gtk2/pango fail to build after glib2 update

Reported by: bas@… Owned by: florian
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

After glib2 update (see Changeset 34490), several gtk-related packages fail to build. The reason is the same - because G_CONST_RETURN macros is removed from latest glib2, but older atk/gtk2/pango still rely on that. This macros can just be replaced with const (see https://bugzilla.gnome.org/show_bug.cgi?id=652211).

It could be possible to update gtk2 and friends, but in this case we would lose directfb support. Currently used version in openwrt is the last one where directfb support is not broken (see https://mail.gnome.org/archives/gtk-devel-list/2011-August/msg00037.html).

Anyway, attached are the patches for atk, gtk2 and pango to make it build with updated glib2.

Attachments (3)

atk.patch (23.5 KB) - added by bas@… 5 years ago.
atk patch that removes references to G_CONST_RETURN
gtk2.patch (130.5 KB) - added by bas@… 5 years ago.
gtk2 patch that removes references to G_CONST_RETURN and fixes undefined reference to libiconv along the way
pango.patch (14.6 KB) - added by bas@… 5 years ago.
pango patch that removes references to G_CONST_RETURN and fixes undefined reference to libiconv along the way

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by bas@…

atk patch that removes references to G_CONST_RETURN

Changed 5 years ago by bas@…

gtk2 patch that removes references to G_CONST_RETURN and fixes undefined reference to libiconv along the way

Changed 5 years ago by bas@…

pango patch that removes references to G_CONST_RETURN and fixes undefined reference to libiconv along the way

comment:1 Changed 5 years ago by florian

  • Owner changed from developers to florian
  • Status changed from new to accepted

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as accepted .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.