Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330005 - xfce4-panel-4.6.4 does not compile with libxfce4util-4.7.2
Summary: xfce4-panel-4.6.4 does not compile with libxfce4util-4.7.2
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-26 23:42 UTC by Ronny Perinke
Modified: 2010-09-02 12:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log of xfce4-panel-4.6.4 (build.log,50.22 KB, text/plain)
2010-07-26 23:43 UTC, Ronny Perinke
Details
emerge --info (bug-emerge-info.log,4.51 KB, text/plain)
2010-07-26 23:45 UTC, Ronny Perinke
Details

Note You need to log in before you can comment on or make changes to this bug.
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 Infrastructure 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 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 gentoo-dev 2010-09-02 12:55:40 UTC
i.e.

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