Skip to contentSkip to conversation

groff: not ship /usr/bin/glilypond

PATCH In review [email protected] 1 participant 2 messages Sep 6, 2016 – Sep 13, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 groff: not ship /usr/bin/glilypond

From: Mingli Yu <[email protected]>

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).

---
 meta/recipes-extended/groff/groff_1.22.3.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta/recipes-extended/groff/groff_1.22.3.bb +5 -0
index af5acbe..dd241f3 100644
@@ -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() {
Signature · 1 line
2.8.1
author
#1 lore raw

Any update?

Thanks,

Quoted 40 lines · On 2016年09月06日 10:39, [email protected] wrote:

From: Mingli Yu <[email protected]>

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).

---
  meta/recipes-extended/groff/groff_1.22.3.bb | 5 +++++
  1 file changed, 5 insertions(+)
meta/recipes-extended/groff/groff_1.22.3.bb +5 -0
index af5acbe..dd241f3 100644
@@ -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() {