View previous topic :: View next topic |
Author |
Message |
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3425 Location: Canada
|
Posted: Mon Sep 02, 2024 8:13 pm Post subject: kde-frameworks/ktexteditor and qtspeech |
|
|
Is there a reason new kde-frameworks/ktexteditor-6 depends on dev-qt/qtspeech unconditionally, rather than via USE=speech flag, as other packages do ?
I am all for accessibility but installing KDE on a machine without a microphone . |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9270
|
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3425 Location: Canada
|
Posted: Mon Sep 02, 2024 8:30 pm Post subject: |
|
|
Well, I saw it from the ebuild that this is unconditional dependence, so you are saying that this is not ebuild maintainer's choice. Fair enough, the question why remains, but I guess has to be addressed to higher ups
For my taste text-to-speech is quite a separate functionality, irrelevant to many setups. For one, one may be operating in a language for which it does not work. ( The final engine espeek-ng says ' Software speech synthesizer for English, and some other languages"
In view of that it is fun to read description
Quote: |
KTextEditor
Full text editor component
Introduction
KTextEditor provides a powerful text editor component that you can embed in your
application, either as a KPart or using the KF6::TextEditor library (if you need
more control).
The text editor component contains many useful features, from syntax
highlighting and automatic indentation to advanced scripting support, making it
suitable for everything from a simple embedded text-file editor to an advanced
IDE.
|
sure, simple embedded text-file editor With speech recongnition |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5104 Location: Bavaria
|
Posted: Mon Sep 02, 2024 8:42 pm Post subject: |
|
|
asturm,
maybe I am wrong, but AFAIR the license for qtspeech was "problematic" in KDE5. Has it changed with KDE6 ? _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2852
|
Posted: Tue Sep 03, 2024 2:31 am Post subject: |
|
|
pietinger wrote: | asturm,
maybe I am wrong, but AFAIR the license for qtspeech was "problematic" in KDE5. Has it changed with KDE6 ? |
Don't know what happened, but I don't see anything different from most other Qt6 packages in there right now: Code: | $ jq -r ".[].location[].spdx[]" < qtspeech/licenseRule.json
BSD-3-Clause
LicenseRef-Qt-Commercial OR BSD-3-Clause
LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
LicenseRef-Qt-Commercial OR BSD-3-Clause
LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
LicenseRef-Qt-Commercial OR GPL-3.0-only
LicenseRef-Qt-Commercial OR BSD-3-Clause | Edit: as for the text-to-speech backend, ebuild defaults to using the typical system's speech-dispatcher or optionally flite -- on its own qtspeech only has a mock plugin. Maybe that used to be different and that was the problem license-wise.
On a side-note, QtSpeech is not necessarily just for accessibility, it can be used to e.g. do generated voiced notifications which can be useful for most (not to say that may not be unwanted). That has nothing to do whether have a microphone or not, maybe if you have no speakers |
|
Back to top |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2852
|
Posted: Tue Sep 03, 2024 3:33 am Post subject: |
|
|
fwiw flite is a lighter dependency, so one could do USE="flite -speechd" on qtspeech to minimize. Albeit flite is kind of dead so unsure for its future, could end up removed at some point. |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3425 Location: Canada
|
Posted: Tue Sep 03, 2024 4:35 am Post subject: |
|
|
Ionen wrote: | That has nothing to do whether have a microphone or not, maybe if you have no speakers |
It is funnier than that. I am currently playing with KDE6 on the machine which not has no speakers, but also has no monitor attached |
|
Back to top |
|
|
|