Summary: | gnome-base/libglade-2.6.4 fails to compile with glib-2.30.0 due to G_CONST_RETURN in pango-1.28.4 headers | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ian Abbott <ian> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | grozin |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 384785 | ||
Bug Blocks: | 384779 | ||
Attachments: |
Build log
Omit G_DISABLE_DEPRECATED pre-processor macro |
Description
Ian Abbott
2011-09-28 12:08:18 UTC
Created attachment 288077 [details]
Build log
I guess we should use fedora patch for pango: http://pkgs.fedoraproject.org/gitweb/?p=pango.git;a=blob;f=pango-1.28.4-stop-using-G_CONST_RETURN.patch;h=a375729029824c674b54c196f528e5df77000c98;hb=eededf8c4ac865d8b35bb87588466c648bda9b05 And continue dropping DEPRECATED flags :S Created attachment 288079 [details, diff] Omit G_DISABLE_DEPRECATED pre-processor macro This patch allows libglade to compile with glib-2.30.0 and pango-1.28.4 by removing -DG_DISABLE_DEPRECATED from the compiler command-line. It might be better to modify the pango package to avoid using G_CONST_RETURN - see http://git.gnome.org/browse/pango/commit/?id=4c7807daee7189f481d7c18b56b06d7b7dba7884 - the patch seems to apply okay (with a few hunk offsets) to the pango-1.28.4 source. (In reply to comment #3) > It might be better to modify the pango package to avoid using G_CONST_RETURN - Bug 384779 + 29 Sep 2011; Pacho Ramos <pacho@gentoo.org> libglade-2.6.4.ebuild: + Drop DEPRECATED flags, bug #384775 by Ian Abbott. + *** Bug 385099 has been marked as a duplicate of this bug. *** |