All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-multimedia][PATCH] flite: add recipe
@ 2022-05-30 12:29 Samuli Piippo
  2022-05-30 14:43 ` [oe] " Scott Murray
  0 siblings, 1 reply; 5+ messages in thread
From: Samuli Piippo @ 2022-05-30 12:29 UTC (permalink / raw)
  To: openembedded-devel

CMU Flite (festival-lite) is a small, fast run-time open source
text to speech synthesis engine developed at CMU and primarily
designed for small embedded machines.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
---
 .../recipes-multimedia/flite/flite_2.2.bb     | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-multimedia/recipes-multimedia/flite/flite_2.2.bb

diff --git a/meta-multimedia/recipes-multimedia/flite/flite_2.2.bb b/meta-multimedia/recipes-multimedia/flite/flite_2.2.bb
new file mode 100644
index 000000000..9ab9c0208
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/flite/flite_2.2.bb
@@ -0,0 +1,19 @@
+SUMMARY = "Flite: a small run-time speech synthesis engine"
+HOMEPAGE = "http://cmuflite.org"
+SECTION = "libs/multimedia"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b3b732d1349633a53e69356607fd2d6c"
+
+inherit autotools-brokensep
+
+SRC_URI = "git://github.com/festvox/flite.git;protocol=https;branch=master"
+
+SRCREV = "e9e2e37c329dbe98bfeb27a1828ef9a71fa84f88"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OECONF += "--enable-shared"
+
+do_install:append() {
+    chown -R root:root ${D}${libdir}/*
+}
-- 
2.25.1



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

* Re: [oe] [meta-multimedia][PATCH] flite: add recipe
  2022-05-30 12:29 [meta-multimedia][PATCH] flite: add recipe Samuli Piippo
@ 2022-05-30 14:43 ` Scott Murray
  2022-05-31 12:12   ` Samuli Piippo
  0 siblings, 1 reply; 5+ messages in thread
From: Scott Murray @ 2022-05-30 14:43 UTC (permalink / raw)
  To: Samuli Piippo; +Cc: openembedded-devel

On Mon, 30 May 2022, Samuli Piippo wrote:

> CMU Flite (festival-lite) is a small, fast run-time open source
> text to speech synthesis engine developed at CMU and primarily
> designed for small embedded machines.
>
> Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
> ---
>  .../recipes-multimedia/flite/flite_2.2.bb     | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
>  create mode 100644 meta-multimedia/recipes-multimedia/flite/flite_2.2.bb
>
> diff --git a/meta-multimedia/recipes-multimedia/flite/flite_2.2.bb b/meta-multimedia/recipes-multimedia/flite/flite_2.2.bb
> new file mode 100644
> index 000000000..9ab9c0208
> --- /dev/null
> +++ b/meta-multimedia/recipes-multimedia/flite/flite_2.2.bb
> @@ -0,0 +1,19 @@
> +SUMMARY = "Flite: a small run-time speech synthesis engine"
> +HOMEPAGE = "http://cmuflite.org"
> +SECTION = "libs/multimedia"
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=b3b732d1349633a53e69356607fd2d6c"
> +
> +inherit autotools-brokensep
> +
> +SRC_URI = "git://github.com/festvox/flite.git;protocol=https;branch=master"
> +
> +SRCREV = "e9e2e37c329dbe98bfeb27a1828ef9a71fa84f88"
[snip]

There's no 2.3 tag, but the README.md and Makefile imply that 2.3 was
released in March 2022 (see commit 530060de), and the current voice files
on http://festvox.org/flite/packed/ are "flite-2.3".  So perhaps this
should be building that instead of the ~2 years old 2.2?

> +
> +S = "${WORKDIR}/git"
> +
> +EXTRA_OECONF += "--enable-shared"
> +
> +do_install:append() {
> +    chown -R root:root ${D}${libdir}/*

This seems a bit odd, I'm curious what prompted adding it?

> +}
>



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

* Re: [oe] [meta-multimedia][PATCH] flite: add recipe
  2022-05-30 14:43 ` [oe] " Scott Murray
@ 2022-05-31 12:12   ` Samuli Piippo
  2022-05-31 15:35     ` Scott Murray
  0 siblings, 1 reply; 5+ messages in thread
From: Samuli Piippo @ 2022-05-31 12:12 UTC (permalink / raw)
  To: Scott Murray; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2036 bytes --]

On Mon, 30 May 2022 at 17:43, Scott Murray <scott.murray@konsulko.com>
wrote:

> On Mon, 30 May 2022, Samuli Piippo wrote:
>
> > CMU Flite (festival-lite) is a small, fast run-time open source
> > text to speech synthesis engine developed at CMU and primarily
> > designed for small embedded machines.
> >
> > Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
> > ---
> >  .../recipes-multimedia/flite/flite_2.2.bb     | 19 +++++++++++++++++++
> >  1 file changed, 19 insertions(+)
> >  create mode 100644 meta-multimedia/recipes-multimedia/flite/
> flite_2.2.bb
> >
> > diff --git a/meta-multimedia/recipes-multimedia/flite/flite_2.2.bb
> b/meta-multimedia/recipes-multimedia/flite/flite_2.2.bb
> > new file mode 100644
> > index 000000000..9ab9c0208
> > --- /dev/null
> > +++ b/meta-multimedia/recipes-multimedia/flite/flite_2.2.bb
> > @@ -0,0 +1,19 @@
> > +SUMMARY = "Flite: a small run-time speech synthesis engine"
> > +HOMEPAGE = "http://cmuflite.org"
> > +SECTION = "libs/multimedia"
> > +LICENSE = "BSD-3-Clause"
> > +LIC_FILES_CHKSUM = "file://COPYING;md5=b3b732d1349633a53e69356607fd2d6c"
> > +
> > +inherit autotools-brokensep
> > +
> > +SRC_URI = "git://
> github.com/festvox/flite.git;protocol=https;branch=master"
> > +
> > +SRCREV = "e9e2e37c329dbe98bfeb27a1828ef9a71fa84f88"
> [snip]
>
> There's no 2.3 tag, but the README.md and Makefile imply that 2.3 was
> released in March 2022 (see commit 530060de), and the current voice files
> on http://festvox.org/flite/packed/ are "flite-2.3".  So perhaps this
> should be building that instead of the ~2 years old 2.2?
>

Hard to say if there's a specific revision that was meant to be the
release, but I could update this to 2.3 and just use the latest revision?


> > +
> > +S = "${WORKDIR}/git"
> > +
> > +EXTRA_OECONF += "--enable-shared"
> > +
> > +do_install:append() {
> > +    chown -R root:root ${D}${libdir}/*
>
> This seems a bit odd, I'm curious what prompted adding it?
>

The installed files had local user and group IDs that caused host
contamination error.

[-- Attachment #2: Type: text/html, Size: 3537 bytes --]

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

* Re: [oe] [meta-multimedia][PATCH] flite: add recipe
  2022-05-31 12:12   ` Samuli Piippo
@ 2022-05-31 15:35     ` Scott Murray
  2022-05-31 15:43       ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Scott Murray @ 2022-05-31 15:35 UTC (permalink / raw)
  To: Samuli Piippo; +Cc: openembedded-devel

On Tue, 31 May 2022, Samuli Piippo wrote:

> On Mon, 30 May 2022 at 17:43, Scott Murray <scott.murray@konsulko.com>
> wrote:
>
> > On Mon, 30 May 2022, Samuli Piippo wrote:
> >
> > > CMU Flite (festival-lite) is a small, fast run-time open source
> > > text to speech synthesis engine developed at CMU and primarily
> > > designed for small embedded machines.
> > >
> > > Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
> > > ---
> > >  .../recipes-multimedia/flite/flite_2.2.bb     | 19 +++++++++++++++++++
> > >  1 file changed, 19 insertions(+)
> > >  create mode 100644 meta-multimedia/recipes-multimedia/flite/
> > flite_2.2.bb
> > >
> > > diff --git a/meta-multimedia/recipes-multimedia/flite/flite_2.2.bb
> > b/meta-multimedia/recipes-multimedia/flite/flite_2.2.bb
> > > new file mode 100644
> > > index 000000000..9ab9c0208
> > > --- /dev/null
> > > +++ b/meta-multimedia/recipes-multimedia/flite/flite_2.2.bb
> > > @@ -0,0 +1,19 @@
> > > +SUMMARY = "Flite: a small run-time speech synthesis engine"
> > > +HOMEPAGE = "http://cmuflite.org"
> > > +SECTION = "libs/multimedia"
> > > +LICENSE = "BSD-3-Clause"
> > > +LIC_FILES_CHKSUM = "file://COPYING;md5=b3b732d1349633a53e69356607fd2d6c"
> > > +
> > > +inherit autotools-brokensep
> > > +
> > > +SRC_URI = "git://
> > github.com/festvox/flite.git;protocol=https;branch=master"
> > > +
> > > +SRCREV = "e9e2e37c329dbe98bfeb27a1828ef9a71fa84f88"
> > [snip]
> >
> > There's no 2.3 tag, but the README.md and Makefile imply that 2.3 was
> > released in March 2022 (see commit 530060de), and the current voice files
> > on http://festvox.org/flite/packed/ are "flite-2.3".  So perhaps this
> > should be building that instead of the ~2 years old 2.2?
>
> Hard to say if there's a specific revision that was meant to be the
> release, but I could update this to 2.3 and just use the latest revision?

I'd be in favor of a _git recipe that set PV = "2.3+git${SRCPV}", but Khem
might have a different opinion.

> > > +
> > > +S = "${WORKDIR}/git"
> > > +
> > > +EXTRA_OECONF += "--enable-shared"
> > > +
> > > +do_install:append() {
> > > +    chown -R root:root ${D}${libdir}/*
> >
> > This seems a bit odd, I'm curious what prompted adding it?
>
> The installed files had local user and group IDs that caused host
> contamination error.

Hrm, that suggests upstream have a broken Makefile using "cp -p", it could
be worthwhile to poke them about it.  We have had a recipe for an older
version in AGL for quite a while and didn't see it, so it seems like
something changed.

Scott



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

* Re: [oe] [meta-multimedia][PATCH] flite: add recipe
  2022-05-31 15:35     ` Scott Murray
@ 2022-05-31 15:43       ` Khem Raj
  0 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2022-05-31 15:43 UTC (permalink / raw)
  To: Scott Murray; +Cc: Samuli Piippo, openembedded-devel

On Tue, May 31, 2022 at 8:35 AM Scott Murray <scott.murray@konsulko.com> wrote:
>
> On Tue, 31 May 2022, Samuli Piippo wrote:
>
> > On Mon, 30 May 2022 at 17:43, Scott Murray <scott.murray@konsulko.com>
> > wrote:
> >
> > > On Mon, 30 May 2022, Samuli Piippo wrote:
> > >
> > > > CMU Flite (festival-lite) is a small, fast run-time open source
> > > > text to speech synthesis engine developed at CMU and primarily
> > > > designed for small embedded machines.
> > > >
> > > > Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
> > > > ---
> > > >  .../recipes-multimedia/flite/flite_2.2.bb     | 19 +++++++++++++++++++
> > > >  1 file changed, 19 insertions(+)
> > > >  create mode 100644 meta-multimedia/recipes-multimedia/flite/
> > > flite_2.2.bb
> > > >
> > > > diff --git a/meta-multimedia/recipes-multimedia/flite/flite_2.2.bb
> > > b/meta-multimedia/recipes-multimedia/flite/flite_2.2.bb
> > > > new file mode 100644
> > > > index 000000000..9ab9c0208
> > > > --- /dev/null
> > > > +++ b/meta-multimedia/recipes-multimedia/flite/flite_2.2.bb
> > > > @@ -0,0 +1,19 @@
> > > > +SUMMARY = "Flite: a small run-time speech synthesis engine"
> > > > +HOMEPAGE = "http://cmuflite.org"
> > > > +SECTION = "libs/multimedia"
> > > > +LICENSE = "BSD-3-Clause"
> > > > +LIC_FILES_CHKSUM = "file://COPYING;md5=b3b732d1349633a53e69356607fd2d6c"
> > > > +
> > > > +inherit autotools-brokensep
> > > > +
> > > > +SRC_URI = "git://
> > > github.com/festvox/flite.git;protocol=https;branch=master"
> > > > +
> > > > +SRCREV = "e9e2e37c329dbe98bfeb27a1828ef9a71fa84f88"
> > > [snip]
> > >
> > > There's no 2.3 tag, but the README.md and Makefile imply that 2.3 was
> > > released in March 2022 (see commit 530060de), and the current voice files
> > > on http://festvox.org/flite/packed/ are "flite-2.3".  So perhaps this
> > > should be building that instead of the ~2 years old 2.2?
> >
> > Hard to say if there's a specific revision that was meant to be the
> > release, but I could update this to 2.3 and just use the latest revision?
>
> I'd be in favor of a _git recipe that set PV = "2.3+git${SRCPV}", but Khem
> might have a different opinion.

yeah if there is no tag then this is a better approach.

>
> > > > +
> > > > +S = "${WORKDIR}/git"
> > > > +
> > > > +EXTRA_OECONF += "--enable-shared"
> > > > +
> > > > +do_install:append() {
> > > > +    chown -R root:root ${D}${libdir}/*
> > >
> > > This seems a bit odd, I'm curious what prompted adding it?
> >
> > The installed files had local user and group IDs that caused host
> > contamination error.
>
> Hrm, that suggests upstream have a broken Makefile using "cp -p", it could
> be worthwhile to poke them about it.  We have had a recipe for an older
> version in AGL for quite a while and didn't see it, so it seems like
> something changed.

right, its perhaps in install target of makefile where it maybe the
better place to fix
it and also upstream it.

>
> Scott
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#97353): https://lists.openembedded.org/g/openembedded-devel/message/97353
> Mute This Topic: https://lists.openembedded.org/mt/91429478/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


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

end of thread, other threads:[~2022-05-31 15:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-30 12:29 [meta-multimedia][PATCH] flite: add recipe Samuli Piippo
2022-05-30 14:43 ` [oe] " Scott Murray
2022-05-31 12:12   ` Samuli Piippo
2022-05-31 15:35     ` Scott Murray
2022-05-31 15:43       ` Khem Raj

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.