Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331371 - xfce-extra/xfce4-xfapplet-plugin fails to build with xfce4-panel >= 4.7
Summary: xfce-extra/xfce4-xfapplet-plugin fails to build with xfce4-panel >= 4.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: XFCE Team
URL: http://bugzilla.xfce.org/show_bug.cgi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-05 23:02 UTC by Samuli Suominen (RETIRED)
Modified: 2010-08-10 22:04 UTC (History)
0 users

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


Attachments
build.log (xfce-extra:xfce4-xfapplet-plugin-0.1.0:20100805-225820.log,13.64 KB, text/plain)
2010-08-05 23:03 UTC, Samuli Suominen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2010-08-05 23:02:29 UTC
Offending code in configure.ac:

dnl check special variable localedir for libxfce4panel
AC_MSG_CHECKING([for libxfce4panel-1.0 localedir])
LIBXFCE4PANEL_LOCALE_DIR=`$PKG_CONFIG --variable=localedir libxfce4panel-1.0`
if test "none$LIBXFCE4PANEL_LOCALE_DIR" = "none"; then
   AC_MSG_RESULT([not found])
   echo '*** You need xfce4-panel 4.3 (SVN) >= r19874 to ***'
   echo '*** compile xfce4-xfapplet-plugin.              ***'
   exit 1
fi
AC_MSG_RESULT([$LIBXFCE4PANEL_LOCALE_DIR])
AC_SUBST([LIBXFCE4PANEL_LOCALE_DIR])

Error:

checking for libxfce4panel-1.0 localedir... not found

pkg-config file from xfce4-panel-4.7:

$ cat /usr/lib64/pkgconfig/libxfce4panel-1.0.pc
prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib64
includedir=${prefix}/include

Name: libxfce4panel
Description: Library for the Xfce Panel
Requires: gtk+-2.0 gmodule-2.0 glib-2.0 libxfce4util-1.0
Version: 4.7.2
Libs: -L${libdir} -lxfce4panel-1.0
Cflags: -I${includedir}/xfce4/libxfce4panel-1.0

No "localedir"....
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-08-05 23:03:00 UTC
Created attachment 241581 [details]
build.log
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-08-10 22:04:08 UTC
+  10 Aug 2010; Samuli Suominen <ssuominen@gentoo.org>
+  xfce4-panel-4.7.2.ebuild, +files/xfce4-panel-4.7.2-localedir.patch:
+  Restore localedir variable to libxfce4panel-1.0.pc wrt #331371.

and reported upstream, see $url