[oe-commits] org.oe.dev libxfce4util: added xfce4-dev-tools as a dependency and expanded list of headers being staged.

polyonymous commit openembedded-commits at lists.openembedded.org
Thu May 10 17:45:09 UTC 2007


libxfce4util: added xfce4-dev-tools as a dependency and expanded list of headers being staged.

Author: polyonymous at openembedded.org
Branch: org.openembedded.dev
Revision: 2734216f220a34cb19a64cec927765b572db444f
ViewMTN: http://monotone.openembedded.org/revision.psp?id=2734216f220a34cb19a64cec927765b572db444f
Files:
1
packages/xfce/libxfce4util.inc
Diffs:

#
# mt diff -rf320e990b98d0d49a9984595241a97cc14daa8bc -r2734216f220a34cb19a64cec927765b572db444f
#
# 
# 
# patch "packages/xfce/libxfce4util.inc"
#  from [1d842a79c7c9c36e991920b0114f61e05bdd49d6]
#    to [8ccdb4861727352a98c6440f26709c311e9560de]
# 
============================================================
--- packages/xfce/libxfce4util.inc	1d842a79c7c9c36e991920b0114f61e05bdd49d6
+++ packages/xfce/libxfce4util.inc	8ccdb4861727352a98c6440f26709c311e9560de
@@ -5,20 +5,17 @@ LICENSE = "GPL"
 DESCRIPTION = "Basic utility library for Xfce4"
 SECTION = "x11/libs"
 LICENSE = "GPL"
-DEPENDS = "glib-2.0"
+DEPENDS = "glib-2.0 xfce4-dev-tools"
 
 inherit xfce pkgconfig
 
-XFCE_HEADERS="debug.h utf8.h xfce-generics.h   xfce-resource.h \
-		   i18n.h util.h xfce-kiosk.h libxfce4util-config.h  \
-		   xfce-desktopentry.h xfce-miscutils.h libxfce4util.h \
-		   xfce-fileutils.h xfce-rc.h"
-
 MACROS="m4/X11.m4 m4/debug.m4 m4/depends.m4 m4/i18n.m4"
 
 do_stage() {
 	install -d ${STAGING_LIBDIR} ${STAGING_INCDIR}/libxfce4util
-	for file in ${XFCE_HEADERS}; do 
+	# The line below expands to the list of headers that native makefile
+	# would install.  Complain and/or fix if it's not portable enough
+	for file in  $(eval $(make -n -C libxfce4util install|grep "^list='[^.]\\+.h"|cut -d\; -f1); echo $list); do 
 		install -m 644 libxfce4util/$file ${STAGING_INCDIR}/libxfce4util
 	done
 






More information about the Openembedded-commits mailing list