Summary: | media-radio/xdx fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Thomas Beierlein <tomjbe> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build log |
Description
Diego Elio Pettenò (RETIRED)
![]() Created attachment 237265 [details]
Build log
New versions of gtk+ deprecate the macro GTK_WIDGET_HAS_FOCUS. This deprecation was introduced in http://git.gnome.org/browse/gtk+/commit/?id=eb90ec751354db580e125a1526eb6c1be9a565d4 (2010-04-04) and the deprecated macros were removed entirely in http://git.gnome.org/browse/gtk+/commit/?id=9fa9d792a8c5170d5e84450127d7cf4d7fd82c26 (2010-05-02). gtk+ 2.20.1 is a tag of http://git.gnome.org/browse/gtk+/commit/?id=bd3788e8df86a4cc1a1926bd362b95e3b0190e7b (2010-05-03), so the macro is present but deprecated in 2.20.1. Since xdx builds with -DGTK_DISABLE_DEPRECATED, it lost access to the macros as soon as they were deprecated. As a temporary workaround, building the code without -DGTK_DISABLE_DEPRECATED should restore its access to the macro. The macro is not deprecated in 2.18.x, so the build works as-is with <x11-libs/gtk+-2.20. However, since the macro has been removed from HEAD, the package will need more extensive changes to work with the next major release of gtk+. Thanks for pointing out Diego and also thanks for first analysis Kevin. Fixed. in tree. + 03 Jul 2010; Thomas Beierlein <tomjbe@gentoo.org> xdx-2.4.ebuild, + xdx-2.4.2.ebuild, +files/xdx-gtk-2.20.patch: + Fix for deprecated macro in GTK+-2.20 and later (bug #326627). Thanks + Diego and Kevin. |