Summary: | x11-libs/gtkdatabox-0.9.1.1 fails to build with recent gtk | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Konstantin Likhomanov <dark.student> |
Component: | [OLD] Library | Assignee: | Romain Perier (RETIRED) <mrpouet> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | da_risk, gnome, joukim |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
patch against ebuild directory patch to remove the -Dxxx_DISABLE_DEPRECATED new patch agaist ebuild directory |
Description
Konstantin Likhomanov
2010-06-14 11:24:17 UTC
Created attachment 235251 [details]
build.log
Adding this phase to the ebuild solved that : src_prepare() { sed -e 's:GTK_WIDGET_REALIZED:gtk_widget_get_realized:g' \ -e 's:GTK_WIDGET_STATE:gtk_widget_get_state:g' \ -e 's:GTK_WIDGET_VISIBLE:gtk_widget_get_visible:g' \ -e 's:GTK_WIDGET_DRAWABLE:gtk_widget_is_drawable:g' \ -i gtk/gtkdatabox_ruler.c gtk/gtkdatabox.c } The correct solution is obviously tracking '-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED' back to its source and removing it there (this is triggered by gtk+-2.20). ...which seems to be gtk/Makefile.am. Created attachment 240391 [details, diff]
patch against ebuild directory
I modify the ebuild to remove the lines mentioned above and digest it in my local overlay. Now gtkdatabox can compile successfully:)
Please close this bug, solution in comment #5 is working (In reply to comment #6) > Please close this bug, solution in comment #5 is working > Same thing here, without patch, same bug. With patch, everything ok. The patch works fine The patch worked for me, and it is necessary for installation of Klavaro. Both Klavaro and gtkdatabox is currently ~x86, but using this patch, I can build and run Klavaro. I request this patch it to be applied in a new version of gtkdatabox at portage, maybe 0.9.1.1-r1, to make for the possibility of stabilizing both packages. The supplied patch works fine. I could install after having applied the patch from bug #99318#16, too. Apart from this, all works well here witch amd64 Created attachment 257264 [details, diff]
patch to remove the -Dxxx_DISABLE_DEPRECATED
Created attachment 257265 [details, diff]
new patch agaist ebuild directory
+ 16 Dec 2010; Pacho Ramos <pacho@gentoo.org> gtkdatabox-0.9.1.1.ebuild: + Remove -D.*DISABLE_DEPRECATED cflags (bug #323923 by Konstantin Likhomanov + and others) and install examples properly (bug #99318). + |