[oe-commits] Dmitry Eremin-Solenikov : gettext: shut up unshipped files warning

git version control git at git.openembedded.org
Thu Sep 22 04:13:09 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 9d33b6973438f514f1ca609c3a936b45af921e2f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9d33b6973438f514f1ca609c3a936b45af921e2f

Author: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
Date:   Wed Sep 21 22:39:57 2011 +0400

gettext: shut up unshipped files warning

It seems nobody uses preloadable_libintl.so in OE world. It's not
included in any package. To stop oe-core from emiting a unshipped files
warning, remove that file in the end of do_install.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-core/gettext/gettext_0.18.1.1.bb |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-core/gettext/gettext_0.18.1.1.bb b/meta/recipes-core/gettext/gettext_0.18.1.1.bb
index 2c0b2f8..fabd126 100644
--- a/meta/recipes-core/gettext/gettext_0.18.1.1.bb
+++ b/meta/recipes-core/gettext/gettext_0.18.1.1.bb
@@ -5,7 +5,7 @@ SECTION = "libs"
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
-PR = "r3"
+PR = "r4"
 DEPENDS = "libxml2-native gettext-native virtual/libiconv ncurses expat"
 DEPENDS_virtclass-native = "libxml2-native"
 PROVIDES = "virtual/libintl virtual/gettext"
@@ -90,4 +90,9 @@ FILES_gettext-runtime-doc = "${mandir}/man1/gettext.* \
                              ${docdir}/libasprintf/autosprintf.html \
                              ${infodir}/autosprintf.info \
                             "
+
+do_install_append() {
+    rm -f ${D}${libdir}/preloadable_libintl.so
+}
+
 BBCLASSEXTEND = "native nativesdk"





More information about the Openembedded-commits mailing list