Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kde-frameworks/ktexteditor and qtspeech
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3416
Location: Canada

PostPosted: Mon Sep 02, 2024 8:13 pm    Post subject: kde-frameworks/ktexteditor and qtspeech Reply with quote

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
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9261

PostPosted: Mon Sep 02, 2024 8:18 pm    Post subject: Reply with quote

If you insist, https://invent.kde.org/frameworks/ktexteditor/-/blob/master/CMakeLists.txt?ref_type=heads#L59
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3416
Location: Canada

PostPosted: Mon Sep 02, 2024 8:30 pm    Post subject: Reply with quote

asturm wrote:
If you insist, https://invent.kde.org/frameworks/ktexteditor/-/blob/master/CMakeLists.txt?ref_type=heads#L59



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
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5093
Location: Bavaria

PostPosted: Mon Sep 02, 2024 8:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2851

PostPosted: Tue Sep 03, 2024 2:31 am    Post subject: Reply with quote

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
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2851

PostPosted: Tue Sep 03, 2024 3:33 am    Post subject: Reply with quote

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
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3416
Location: Canada

PostPosted: Tue Sep 03, 2024 4:35 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum