[oe-commits] [openembedded-core] 03/29: groff: not ship /usr/bin/glilypond

git at git.openembedded.org git at git.openembedded.org
Mon Sep 19 08:11:57 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 9a0bf9567f80f06ea067189bf5c27bb5155a85b0
Author: Mingli Yu <Mingli.Yu at windriver.com>
AuthorDate: Tue Sep 6 10:39:37 2016 +0800

    groff: not ship /usr/bin/glilypond
    
    Not ship /usr/bin/glilypond and related files such
    as man file /usr/share/man/man1/glilypond.1 and other
    three files related to glilypond under
    /usr/lib/groff/glilypond in embedded system, it is because:
    
    - Remove the confusion about glilypond fails to run
      because it lacks dependency on File::HomeDir perl
      module
    
    - We don't often have need for sheet music conversion
      in groff in embedded or IoT devices (glilypond
      transforms sheet music written in the lilypond language
      into the groff language using the .PSPIC request, such
      that groff can transform it into a format that can be
      displayed directly).
    
    Signed-off-by: Mingli Yu <Mingli.Yu at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-extended/groff/groff_1.22.3.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta/recipes-extended/groff/groff_1.22.3.bb b/meta/recipes-extended/groff/groff_1.22.3.bb
index af5acbe..dd241f3 100644
--- a/meta/recipes-extended/groff/groff_1.22.3.bb
+++ b/meta/recipes-extended/groff/groff_1.22.3.bb
@@ -62,6 +62,11 @@ do_install_append() {
 	if [ -f ${SPECIAL_AWK} ]; then
 		sed -i -e 's:#!.*awk:#! ${USRBINPATH}/awk:' ${SPECIAL_AWK}
 	fi
+
+	# not ship /usr/bin/glilypond and its releated files in embedded target system
+	rm -rf ${D}${bindir}/glilypond
+	rm -rf ${D}${libdir}/groff/glilypond
+	rm -rf ${D}${mandir}/man1/glilypond*
 }
 
 do_install_append_class-native() {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list