Patchwork [04/17] librsvg: Fix unpackaged directory warnings

login
register
mail settings
Submitter Richard Purdie
Date March 13, 2012, 12:22 a.m.
Message ID <973fabc6db9398869c5257b9c761d9d741d5c407.1331598077.git.richard.purdie@linuxfoundation.org>
Download mbox | patch
Permalink /patch/23063/
State Accepted
Commit 973fabc6db9398869c5257b9c761d9d741d5c407
Headers show

Comments

Richard Purdie - March 13, 2012, 12:22 a.m.
This patch fixes the QA warnings:

WARNING: For recipe librsvg, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/lib/gtk-3.0
WARNING:   /usr/lib/gtk-3.0/engines

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-gnome/librsvg/librsvg_2.32.1.bb |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb b/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb
index faefecd..74286fd 100644
--- a/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb
+++ b/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb
@@ -9,7 +9,7 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
 SECTION = "x11/utils"
 DEPENDS = "gtk+ libcroco cairo libxml2 popt"
 
-PR = "r2"
+PR = "r3"
 
 inherit autotools pkgconfig gnome
 
@@ -25,6 +25,11 @@  do_configure_prepend () {
 	echo "CLEANFILES=" > gtk-doc.make
 }
 
+do_install_append () {
+	rmdir ${D}${libdir}/gtk-3.0/engines/
+	rmdir ${D}${libdir}/gtk-3.0/
+}
+
 PACKAGES =+ "librsvg-gtk librsvg-gtk-dbg librsvg-gtk-dev rsvg"
 FILES_${PN} = "${libdir}/*.so.*"
 FILES_${PN}-staticdev += "${libdir}/gdk-pixbuf-2.0/*.a ${libdir}/gdk-pixbuf-2.0/*/*/*.a \