Patchwork libxlst: Fix unpackaged directory warning

login
register
mail settings
Submitter Richard Purdie
Date March 13, 2012, 3:07 p.m.
Message ID <1331651240.17122.4.camel@ted>
Download mbox | patch
Permalink /patch/23181/
State Accepted
Commit 9be4f5f6e0e28429b1a0c04561bfb79b54f0599d
Headers show

Comments

Richard Purdie - March 13, 2012, 3:07 p.m.
Fixes the warning:

WARNING: For recipe libxslt, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/lib/libxslt-plugins

It makes sense for the package to own the plugins directory.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
Martin Jansa - March 13, 2012, 4:09 p.m.
On Tue, Mar 13, 2012 at 03:07:20PM +0000, Richard Purdie wrote:
> Fixes the warning:

Typo in subject
-libxlst:
+libxslt:

> 
> WARNING: For recipe libxslt, the following files/directories were installed but not shipped in any package:
> WARNING:   /usr/lib/libxslt-plugins
> 
> It makes sense for the package to own the plugins directory.
> 
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> ---
> diff --git a/meta/recipes-support/libxslt/libxslt_1.1.26.bb b/meta/recipes-support/libxslt/libxslt_1.1.26.bb
> index f3e806d..8986e20 100644
> --- a/meta/recipes-support/libxslt/libxslt_1.1.26.bb
> +++ b/meta/recipes-support/libxslt/libxslt_1.1.26.bb
> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://Copyright;md5=0cd9a07afbeb24026c9b03aecfeba458"
>  
>  SECTION = "libs"
>  DEPENDS = "libxml2"
> -PR = "r6"
> +PR = "r7"
>  
>  SRC_URI = "ftp://xmlsoft.org/libxslt//libxslt-${PV}.tar.gz \
>             file://pkgconfig_fix.patch"
> @@ -24,6 +24,7 @@ RPROVIDES_${PN}-bin += "${PN}-utils"
>  RCONFLICTS_${PN}-bin += "${PN}-utils"
>  RREPLACES_${PN}-bin += "${PN}-utils"
>  
> +FILES_${PN} += "${libdir}/libxslt-plugins"
>  FILES_${PN}-dev += "${libdir}/xsltConf.sh"
>  
>  BBCLASSEXTEND = "native"
> 
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-support/libxslt/libxslt_1.1.26.bb b/meta/recipes-support/libxslt/libxslt_1.1.26.bb
index f3e806d..8986e20 100644
--- a/meta/recipes-support/libxslt/libxslt_1.1.26.bb
+++ b/meta/recipes-support/libxslt/libxslt_1.1.26.bb
@@ -7,7 +7,7 @@  LIC_FILES_CHKSUM = "file://Copyright;md5=0cd9a07afbeb24026c9b03aecfeba458"
 
 SECTION = "libs"
 DEPENDS = "libxml2"
-PR = "r6"
+PR = "r7"
 
 SRC_URI = "ftp://xmlsoft.org/libxslt//libxslt-${PV}.tar.gz \
            file://pkgconfig_fix.patch"
@@ -24,6 +24,7 @@  RPROVIDES_${PN}-bin += "${PN}-utils"
 RCONFLICTS_${PN}-bin += "${PN}-utils"
 RREPLACES_${PN}-bin += "${PN}-utils"
 
+FILES_${PN} += "${libdir}/libxslt-plugins"
 FILES_${PN}-dev += "${libdir}/xsltConf.sh"
 
 BBCLASSEXTEND = "native"