Skip to contentSkip to conversation

package/dotconf: new package

PATCH In review Peter Seiderer 2 participants 7 messages Jan 6, 2023 – Feb 17, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/dotconf: new package

---
 package/Config.in            |  1 +
 package/dotconf/Config.in    |  6 ++++++
 package/dotconf/dotconf.hash |  3 +++
 package/dotconf/dotconf.mk   | 15 +++++++++++++++
 4 files changed, 25 insertions(+)
 create mode 100644 package/dotconf/Config.in
 create mode 100644 package/dotconf/dotconf.hash
 create mode 100644 package/dotconf/dotconf.mk
package/Config.in +1 -0
index 995dae2c57..b9f04e9fd1 100644
@@ -1997,6 +1997,7 @@ menu "Other"
 	source "package/cracklib/Config.in"
 	source "package/dawgdic/Config.in"
 	source "package/ding-libs/Config.in"
+	source "package/dotconf/Config.in"
 	source "package/double-conversion/Config.in"
 	source "package/eigen/Config.in"
 	source "package/elfutils/Config.in"
package/dotconf/Config.in new file +6 -0
new file mode 100644
index 0000000000..21a74fa065
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_DOTCONF
+	bool "dotconf"
+	help
+	  Configuration file parser.
+
+	  https://github.com/williamh/dotconf
package/dotconf/dotconf.hash new file +3 -0
new file mode 100644
index 0000000000..3233ea62c8
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256  7f1ecf40de1ad002a065a321582ed34f8c14242309c3547ad59710ae3c805653  dotconf-1.3.tar.gz
+sha256  a50cc98d5044a7bbddabe61fc0ec42aa671c73bf414d0c6b50da83ea8ae041c6  COPYING
package/dotconf/dotconf.mk new file +15 -0
new file mode 100644
index 0000000000..26e78b3c7a
@@ -0,0 +1,15 @@
+################################################################################
+#
+# dotconf
+#
+################################################################################
+
+DOTCONF_VERSION = 1.3
+DOTCONF_SITE = $(call github,williamh,dotconf,v$(DOTCONF_VERSION))
+DOTCONF_LICENSE = LGPL-2.1
+DOTCONF_LICENSE_FILES = COPYING
+DOTCONF_INSTALL_STAGING = YES
+# dotconf source code is released without configure script
+DOTCONF_AUTORECONF = YES
+
+$(eval $(autotools-package))
Signature · 6 lines
2.39.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 1/1 package/speechd: new package

---
Notes/Todo:
- double check license description against
https://github.com/brailcom/speechd#license
- maybe add SYSV init script

---
 package/Config.in            |  1 +
 package/speechd/Config.in    | 20 ++++++++++++++++++++
 package/speechd/speechd.hash |  5 +++++
 package/speechd/speechd.mk   | 34 ++++++++++++++++++++++++++++++++++
 4 files changed, 60 insertions(+)
 create mode 100644 package/speechd/Config.in
 create mode 100644 package/speechd/speechd.hash
 create mode 100644 package/speechd/speechd.mk
package/Config.in +1 -0
index b9f04e9fd1..3c49edaefb 100644
@@ -51,6 +51,7 @@ menu "Audio and video applications"
 	source "package/pipewire-media-session/Config.in"
 	source "package/pulseaudio/Config.in"
 	source "package/sox/Config.in"
+	source "package/speechd/Config.in"
 	source "package/squeezelite/Config.in"
 	source "package/tinycompress/Config.in"
 	source "package/tovid/Config.in"
package/speechd/Config.in new file +20 -0
new file mode 100644
index 0000000000..8fdc452d19
@@ -0,0 +1,20 @@
+config BR2_PACKAGE_SPEECHD
+	bool "speechd"
+	depends on BR2_USE_WCHAR # libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
+	depends on BR2_USE_MMU # libglib2
+	depends on !BR2_STATIC_LIBS
+	select BR2_PACKAGE_DOTCONF
+	select BR2_PACKAGE_LIBGLIB2
+	select BR2_PACKAGE_LIBSNDFILE
+	help
+	  Speech Dispatcher project provides a high-level device
+	  independent layer for access to speech synthesis through
+	  a simple, stable and well documented interface.
+
+	  https://freebsoft.org/speechd
+
+comment "speechd needs a toolchain w/ wchar, threads, dynamic library"
+	depends on BR2_USE_MMU
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+		BR2_STATIC_LIBS
package/speechd/speechd.hash new file +5 -0
new file mode 100644
index 0000000000..4eb4cd09d2
@@ -0,0 +1,5 @@
+# Locally calculated
+sha256  628d4446894b47f0df099123924c1070180b5b5b09c5b637ebe80d8578fba92f  speechd-0.11.4.tar.gz
+sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING.GPL-2
+sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  COPYING.GPL-3
+sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING.LGPL
package/speechd/speechd.mk new file +34 -0
new file mode 100644
index 0000000000..0d43e4b6fb
@@ -0,0 +1,34 @@
+################################################################################
+#
+# speechd
+#
+################################################################################
+
+SPEECHD_VERSION = 0.11.4
+SPEECHD_SITE = $(call github,brailcom,speechd,$(SPEECHD_VERSION))
+SPEECHD_LICENSE = GPL-2.0+, GPL-3.0+ (buildsystem), LGPL-2.1+
+SPEECHD_LICENSE_FILES = COPYING.GPL-2 COPYING.GPL-3 COPYING.LGPL
+SPEECHD_INSTALL_STAGING = YES
+# speechd source code is released without configure script
+SPEECHD_AUTORECONF = YES
+SPEECHD_DEPENDENCIES = host-pkgconf dotconf libglib2 libsndfile
+
+# fix missing config.rpath (needed for autoreconf) in the codebase
+define SPEECHD_TOUCH_CONFIG_RPATH
+	touch $(@D)/config.rpath
+endef
+SPEECHD_PRE_CONFIGURE_HOOKS += SPEECHD_TOUCH_CONFIG_RPATH
+
+ifeq ($(BR2_PACKAGE_LIBTOOL),y)
+SPEECHD_DEPENDENCIES += libtool
+SPEECHD_CONF_OPTS += --with-libltdl
+else
+SPEECHD_CONF_OPTS += --without-libltdl
+endif
+
+define SPEECHD_INSTALL_INIT_SYSTEMD
+	$(INSTALL) -D -m 644 $(@D)/speech-dispatcherd.service \
+		$(TARGET_DIR)/usr/lib/systemd/system/speech-dispatcherd.service
+endef
+
+$(eval $(autotools-package))
Signature · 6 lines
2.39.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

Re: [Buildroot] [PATCH v1] package/speechd: new package

Quoted 6 lines · On Fri, 6 Jan 2023 22:08:26 +0100 Peter Seiderer <[email protected]> wrote:

---
Notes/Todo:
- double check license description against
https://github.com/brailcom/speechd#license
- maybe add SYSV init script

Quoted 9 lines
---
 package/Config.in            |  1 +
 package/speechd/Config.in    | 20 ++++++++++++++++++++
 package/speechd/speechd.hash |  5 +++++
 package/speechd/speechd.mk   | 34 ++++++++++++++++++++++++++++++++++
 4 files changed, 60 insertions(+)
 create mode 100644 package/speechd/Config.in
 create mode 100644 package/speechd/speechd.hash
 create mode 100644 package/speechd/speechd.mk

Applied to master, after adding an entry in the DEVELOPERS file!

Best regards,

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

PATCH 1/1 package/qt5speech: new package

In reply to Peter Seiderer
---
 package/qt5/Config.in                |  1 +
 package/qt5/qt5speech/Config.in      | 12 ++++++++++++
 package/qt5/qt5speech/qt5speech.hash |  7 +++++++
 package/qt5/qt5speech/qt5speech.mk   | 23 +++++++++++++++++++++++
 4 files changed, 43 insertions(+)
 create mode 100644 package/qt5/qt5speech/Config.in
 create mode 100644 package/qt5/qt5speech/qt5speech.hash
 create mode 100644 package/qt5/qt5speech/qt5speech.mk
package/qt5/Config.in +1 -0
index 6dc9cfa148..f1b16ff39b 100644
@@ -59,6 +59,7 @@ source "package/qt5/qt5scxml/Config.in"
 source "package/qt5/qt5sensors/Config.in"
 source "package/qt5/qt5serialbus/Config.in"
 source "package/qt5/qt5serialport/Config.in"
+source "package/qt5/qt5speech/Config.in"
 source "package/qt5/qt5svg/Config.in"
 source "package/qt5/qt5tools/Config.in"
 source "package/qt5/qt5virtualkeyboard/Config.in"
package/qt5/qt5speech/Config.in new file +12 -0
new file mode 100644
index 0000000000..cebd06057e
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_QT5SPEECH
+	bool "qt5speech"
+	help
+	  Qt is a cross-platform application and UI framework for
+	  developers using C++.
+
+	  Qt Speech enables support for accessibility features such as
+	  text-to-speech.
+
+	  For output optional enable flite or speechd.
+
+	  https://doc.qt.io/qt-5/qtspeech-index.html
package/qt5/qt5speech/qt5speech.hash new file +7 -0
new file mode 100644
index 0000000000..595aac9f22
@@ -0,0 +1,7 @@
+# Locally calculated
+sha256  6d0794ab9d5286d04fbac2db44c00ed3306e569c876f84cfd91ac0e79c834b1e  qtspeech-d32f4a479d38a11f547598004b975f4356424a16.tar.bz2
+
+# Hashes for license files:
+sha256  6c3f3c31b93985f1b93bfbb35fb609d37281697d0efc220c9f91cf4b59eaabde  LICENSE.GPLv2
+sha256  75d800e60c8d58c2e7f0338e8552ea6123a9ce7e5dd8e1cdf2095e013b737488  LICENSE.LGPLv3
+sha256  ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d  LICENSE.FDL
package/qt5/qt5speech/qt5speech.mk new file +23 -0
new file mode 100644
index 0000000000..8cf6fe19c1
@@ -0,0 +1,23 @@
+################################################################################
+#
+# qt5speech
+#
+################################################################################
+
+QT5SPEECH_VERSION = d32f4a479d38a11f547598004b975f4356424a16
+QT5SPEECH_SITE = $(QT5_SITE)/qtspeech/-/archive/$(QT5SPEECH_VERSION)
+QT5SPEECH_SOURCE = qtspeech-$(QT5SPEECH_VERSION).tar.bz2
+QT5SPEECH_INSTALL_STAGING = YES
+QT5SPEECH_LICENSE = GPL-2.0+ or LGPL-3.0, GFDL-1.3 (docs)
+QT5SPEECH_LICENSE_FILES = LICENSE.GPLv2 LICENSE.LGPLv3 LICENSE.FDL
+QT5SPEECH_SYNC_QT_HEADERS = YES
+
+ifeq ($(BR2_PACKAGE_FLITE),y)
+QT5SPEECH_DEPENDENCIES += flite
+endif
+
+ifeq ($(BR2_PACKAGE_SPEECHD),y)
+QT5SPEECH_DEPENDENCIES += speechd
+endif
+
+$(eval $(qmake-package))
Signature · 6 lines
2.39.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw

Re: [Buildroot] [PATCH v1] package/qt5speech: new package

Hello *,

the patches

- [PATCH v1] package/dotconf: new package
- [PATCH v1] package/speechd: new package
- [PATCH v1] package/qt5speech: new package (this one)

should have been in one patch series (1/3, 2/3, 3/3)...

Regards,
Peter

Quoted 73 lines · Peter Seiderer
---
 package/qt5/Config.in                |  1 +
 package/qt5/qt5speech/Config.in      | 12 ++++++++++++
 package/qt5/qt5speech/qt5speech.hash |  7 +++++++
 package/qt5/qt5speech/qt5speech.mk   | 23 +++++++++++++++++++++++
 4 files changed, 43 insertions(+)
 create mode 100644 package/qt5/qt5speech/Config.in
 create mode 100644 package/qt5/qt5speech/qt5speech.hash
 create mode 100644 package/qt5/qt5speech/qt5speech.mk
package/qt5/Config.in +1 -0
index 6dc9cfa148..f1b16ff39b 100644
@@ -59,6 +59,7 @@ source "package/qt5/qt5scxml/Config.in"
 source "package/qt5/qt5sensors/Config.in"
 source "package/qt5/qt5serialbus/Config.in"
 source "package/qt5/qt5serialport/Config.in"
+source "package/qt5/qt5speech/Config.in"
 source "package/qt5/qt5svg/Config.in"
 source "package/qt5/qt5tools/Config.in"
 source "package/qt5/qt5virtualkeyboard/Config.in"
package/qt5/qt5speech/Config.in new file +12 -0
new file mode 100644
index 0000000000..cebd06057e
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_QT5SPEECH
+	bool "qt5speech"
+	help
+	  Qt is a cross-platform application and UI framework for
+	  developers using C++.
+
+	  Qt Speech enables support for accessibility features such as
+	  text-to-speech.
+
+	  For output optional enable flite or speechd.
+
+	  https://doc.qt.io/qt-5/qtspeech-index.html
package/qt5/qt5speech/qt5speech.hash new file +7 -0
new file mode 100644
index 0000000000..595aac9f22
@@ -0,0 +1,7 @@
+# Locally calculated
+sha256  6d0794ab9d5286d04fbac2db44c00ed3306e569c876f84cfd91ac0e79c834b1e  qtspeech-d32f4a479d38a11f547598004b975f4356424a16.tar.bz2
+
+# Hashes for license files:
+sha256  6c3f3c31b93985f1b93bfbb35fb609d37281697d0efc220c9f91cf4b59eaabde  LICENSE.GPLv2
+sha256  75d800e60c8d58c2e7f0338e8552ea6123a9ce7e5dd8e1cdf2095e013b737488  LICENSE.LGPLv3
+sha256  ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d  LICENSE.FDL
package/qt5/qt5speech/qt5speech.mk new file +13 -0
new file mode 100644
index 0000000000..8cf6fe19c1
@@ -0,0 +1,23 @@
+################################################################################
+#
+# qt5speech
+#
+################################################################################
+
+QT5SPEECH_VERSION = d32f4a479d38a11f547598004b975f4356424a16
+QT5SPEECH_SITE = $(QT5_SITE)/qtspeech/-/archive/$(QT5SPEECH_VERSION)
+QT5SPEECH_SOURCE = qtspeech-$(QT5SPEECH_VERSION).tar.bz2
+QT5SPEECH_INSTALL_STAGING = YES
+QT5SPEECH_LICENSE = GPL-2.0+ or LGPL-3.0, GFDL-1.3 (docs)
+QT5SPEECH_LICENSE_FILES = LICENSE.GPLv2 LICENSE.LGPLv3 LICENSE.FDL
+QT5SPEECH_SYNC_QT_HEADERS = YES

package/qt5/qt5speech/qt5speech.mk line 23

Quoted 10 lines
package/qt5/qt5speech/qt5speech.mk new file +10 -0
+
+ifeq ($(BR2_PACKAGE_FLITE),y)
+QT5SPEECH_DEPENDENCIES += flite
+endif
+
+ifeq ($(BR2_PACKAGE_SPEECHD),y)
+QT5SPEECH_DEPENDENCIES += speechd
+endif
+
+$(eval $(qmake-package))

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#5 lore raw

Re: [Buildroot] [PATCH v1] package/qt5speech: new package

In reply to Peter Seiderer
Quoted 10 lines · On Fri, 6 Jan 2023 22:08:27 +0100 Peter Seiderer <[email protected]> wrote:
---
 package/qt5/Config.in                |  1 +
 package/qt5/qt5speech/Config.in      | 12 ++++++++++++
 package/qt5/qt5speech/qt5speech.hash |  7 +++++++
 package/qt5/qt5speech/qt5speech.mk   | 23 +++++++++++++++++++++++
 4 files changed, 43 insertions(+)
 create mode 100644 package/qt5/qt5speech/Config.in
 create mode 100644 package/qt5/qt5speech/qt5speech.hash
 create mode 100644 package/qt5/qt5speech/qt5speech.mk

Applied to master after adding an entry to the DEVELOPERS file. Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#6 lore raw
In reply to Peter Seiderer

Hello Peter,

Quoted 10 lines · On Fri, 6 Jan 2023 22:08:25 +0100 Peter Seiderer <[email protected]> wrote:
---
 package/Config.in            |  1 +
 package/dotconf/Config.in    |  6 ++++++
 package/dotconf/dotconf.hash |  3 +++
 package/dotconf/dotconf.mk   | 15 +++++++++++++++
 4 files changed, 25 insertions(+)
 create mode 100644 package/dotconf/Config.in
 create mode 100644 package/dotconf/dotconf.hash
 create mode 100644 package/dotconf/dotconf.mk

I've applied after adding an entry in the DEVELOPERS file for this package. I know you dropped yourself from the DEVELOPERS file in September 2022, but apparently you're back, and for new packages, we really want to have someone associated to them in the DEVELOPERS file to take care of build issues. Hopefully you are fine with this.

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot