Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 330005

Summary: xfce4-panel-4.6.4 does not compile with libxfce4util-4.7.2
Product: Gentoo Linux Reporter: Ronny Perinke <brainkiller_01>
Component: [OLD] LibraryAssignee: XFCE Team <xfce>
Status: VERIFIED FIXED    
Severity: major CC: dark.knight.ita, gef.kornflakes
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log of xfce4-panel-4.6.4
emerge --info

Description Ronny Perinke 2010-07-26 23:42:47 UTC
XfceDesktopEntry is now deprecated in libxfce4util-4.7.2 (http://git.xfce.org/xfce/libxfce4util/commit/?id=807cd08c78a449a67119944ff79d40394030772b) but the definition of this datatype is required in libxfcegui4 which is required by xfce4-panel. As a result, xfce4-panel does not compile anymore.

Possible solutions:
1) define LIBXFCE4UTIL_COMPILATION in every package that depends on libxfce4util
2) undo deprecation-patch

Reproducible: Always

Steps to Reproduce:
1. emerge libxfce4util-4.7.2
2. emerge xfce4-panel-4.6.4
3.

Actual Results:  
emerge failes with

/usr/include/xfce4/libxfcegui4/xfce-appmenuitem.h:72: Error: expected »)« before »*« token


sephiroth-pc ~ # emerge -pqv =xfce-base/xfce4-panel-4.6.4
[ebuild   R   ] xfce-base/xfce4-panel-4.6.4  USE="startup-notification -debug"
Comment 1 Ronny Perinke 2010-07-26 23:43:53 UTC
Created attachment 240237 [details]
build log of xfce4-panel-4.6.4
Comment 2 Ronny Perinke 2010-07-26 23:45:42 UTC
Created attachment 240239 [details]
emerge --info

emerge --info =xfce-base/xfce4-panel-4.6.4
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-07-27 00:16:25 UTC
Thanks for the quick feedback. I've masked that version for now until something is done.

Does it work with xfce4-panel-4.7.2? I assume so.
Comment 4 Ronny Perinke 2010-07-27 12:16:07 UTC
(In reply to comment #3)
> Thanks for the quick feedback. I've masked that version for now until something
> is done.
> 
> Does it work with xfce4-panel-4.7.2? I assume so.
> 

I don't know. xfce4-panel-4.7.2 is hard-masked and I only have my xfce-packages unmasked using ~arch. I think it is better to hard-mask all 4.7.* xfce packages until all xfce 4.7 packages are available.

xfce4-panel-4.6.4 worked with libxfce4util-4.7.1 and is working with libxfce4util-4.7.2 after adding -DLIBXFCE4UTIL_COMPILATION to my CFLAGS.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-09-02 12:54:49 UTC
+  02 Sep 2010; Samuli Suominen <ssuominen@gentoo.org>
+  xfce4-panel-4.6.4.ebuild:
+  Fix libxfce4util dependencies wrt #330005 by Ronny Perinke.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2010-09-02 12:55:40 UTC
i.e.

if you use libxfce4util-4.7, use xfce4-panel-4.7 too.