xfce4: package libtool files if they are installed

This is a partial revert of commit 2ad5ceafa5 [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 2ad5ceafa5, adjustments are made according
to the current state of the build today.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Mark Asselstine 2018-06-18 19:26:03 -04:00 committed by Khem Raj
parent ce57958f46
commit 029ad49c25
8 changed files with 21 additions and 1 deletions

View File

@ -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"

View File

@ -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"

View File

@ -15,4 +15,4 @@ PACKAGECONFIG[notify] = "--enable-libnotify,--disable-libnotify,libnotify"
PACKAGES =+ "xfce4-orageclock-plugin"
FILES_${PN} += "${datadir}/dbus-1"
FILES_xfce4-orageclock-plugin = "${libdir}/xfce4/panel/plugins/*.so ${datadir}/xfce4/panel/plugins"
FILES_${PN}-dev += "${libdir}/xfce4/panel/plugins/*.la"

View File

@ -34,3 +34,5 @@ FILES_${PN} += " \
${datadir}/appdata \
${libdir}/parole-0/*.so \
"
FILES_${PN}-dev += "${libdir}/parole-0/*.la"

View File

@ -21,5 +21,10 @@ FILES_${PN} += "${libdir}/gtk-2.0/*/engines/*.so"
FILES_gtk3-xfce-engine += "${libdir}/gtk-3.0/*/theming-engines/*.so"
FILES_${PN}-themes += "${datadir}/themes"
FILES_${PN}-dev += " \
${libdir}/gtk-2.0/*/engines/*.la \
${libdir}/gtk-3.0/*/theming-engines/*.la \
"
RDEPENDS_${PN} += "${PN}-themes"
RDEPENDS_gtk3-xfce-engine += "${PN}-themes"

View File

@ -26,3 +26,7 @@ FILES_${PN} += "${datadir}/dbus-1/services \
${libdir}/tumbler-1/plugins/*.so \
${libdir}/tumbler-1/plugins/cache/*.so \
"
FILES_${PN}-dev += "${libdir}/tumbler-1/plugins/*.la \
${libdir}/tumbler-1/plugins/cache/*.la \
"

View File

@ -32,6 +32,8 @@ PACKAGES =+ "${PN}-gtk3"
FILES_${PN} += "${libdir}/xfce4/panel/migrate \
${libdir}/xfce4/panel/wrapper-1.0"
FILES_${PN}-dev += "${libdir}/xfce4/panel/plugins/*.la"
FILES_${PN}-gtk3 = " \
${libdir}/libxfce4panel-2.0${SOLIBS} \
${libdir}/xfce4/panel/wrapper-2.0 \

View File

@ -27,4 +27,8 @@ FILES_${PN} += " \
${datadir}/polkit-1 \
"
FILES_${PN} += " \
${libdir}/xfce4/session/splash-engines/*.la \
"
RDEPENDS_${PN} += "machine-host"