From 029ad49c25315cc7f05e1e3ec5f494c5e57ce885 Mon Sep 17 00:00:00 2001 From: Mark Asselstine Date: Mon, 18 Jun 2018 19:26:03 -0400 Subject: xfce4: package libtool files if they are installed This is a partial revert of commit 2ad5ceafa53f [various classes recipes: Remove FILES entries for dbg/dev packages] to restore the packaging of libtool (.la) files. It is generally recommended to include 'remove-libtool' in your distro features to purge libtool files as a do_install postfunc for all recipes, as is the documented recommendation for handling of libtool files (unless the .la have been determined to be absolutely necessary, in which case a recipe can use the REMOVE_LIBTOOL_LA to prevent the cleanup). However, if the 'remove-libtool' distro feature is not specified we need to ensure that if after a recipe completes do_install() and there are libtool files present in the image, we must package them or we will hit 'installed-vs-shipped' QA issues. NOTE: that even with respect to libtool files this is not a 1:1 partial revert of commit 2ad5ceafa53f, adjustments are made according to the current state of the build today. Signed-off-by: Mark Asselstine Signed-off-by: Khem Raj --- meta-xfce/classes/thunar-plugin.bbclass | 2 ++ meta-xfce/classes/xfce-panel-plugin.bbclass | 1 + 2 files changed, 3 insertions(+) (limited to 'meta-xfce/classes') diff --git a/meta-xfce/classes/thunar-plugin.bbclass b/meta-xfce/classes/thunar-plugin.bbclass index 692f121d86..76b0e72332 100644 --- a/meta-xfce/classes/thunar-plugin.bbclass +++ b/meta-xfce/classes/thunar-plugin.bbclass @@ -7,3 +7,5 @@ DEPENDS += "thunar" SRC_URI = "http://archive.xfce.org/src/thunar-plugins/${BPN}/${@'${PV}'[0:3]}/${BPN}-${PV}.tar.bz2" FILES_${PN} += "${libdir}/thunarx-3/*.so" + +FILES_${PN}-dev += "${libdir}/thunarx-3/*.la" diff --git a/meta-xfce/classes/xfce-panel-plugin.bbclass b/meta-xfce/classes/xfce-panel-plugin.bbclass index fbc754c182..29c1245caa 100644 --- a/meta-xfce/classes/xfce-panel-plugin.bbclass +++ b/meta-xfce/classes/xfce-panel-plugin.bbclass @@ -11,3 +11,4 @@ FILES_${PN} += "${datadir}/xfce4/panel/plugins/" FILES_${PN} += "${libdir}/xfce4/panel-plugins/*.so" FILES_${PN} += "${libdir}/xfce4/panel/plugins/*.so" +FILES_${PN}-dev += "${libdir}/xfce4/panel/plugins/*.la" \ No newline at end of file -- cgit v1.2.3-54-g00ecf