All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] groff: not ship /usr/bin/glilypond
@ 2016-09-06  2:39 mingli.yu
  2016-09-13  3:04 ` Yu, Mingli
  0 siblings, 1 reply; 2+ messages in thread
From: mingli.yu @ 2016-09-06  2:39 UTC (permalink / raw)
  To: openembedded-core, richard.purdie, ross.burton

From: Mingli Yu <Mingli.Yu@windriver.com>

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@windriver.com>
---
 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() {
-- 
2.8.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] groff: not ship /usr/bin/glilypond
  2016-09-06  2:39 [PATCH v2] groff: not ship /usr/bin/glilypond mingli.yu
@ 2016-09-13  3:04 ` Yu, Mingli
  0 siblings, 0 replies; 2+ messages in thread
From: Yu, Mingli @ 2016-09-13  3:04 UTC (permalink / raw)
  To: openembedded-core, richard.purdie, ross.burton

Any update?

Thanks,


On 2016年09月06日 10:39, mingli.yu@windriver.com wrote:
> From: Mingli Yu <Mingli.Yu@windriver.com>
>
> 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@windriver.com>
> ---
>   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() {
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-13  3:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-06  2:39 [PATCH v2] groff: not ship /usr/bin/glilypond mingli.yu
2016-09-13  3:04 ` Yu, Mingli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.