Adds NSSpeechRecognitionUsageDescription to Info.plist.in

Without this, we cannot launch processes that use macOS's
speech recognition APIs.
With NSSpeechRecognitionUsageDescription in place, macOS displays the
dialog asking the user to grant permission and allows the speech APIs
to be used from the process.
* nextstep/templates/Info.plist.in: Add
NSSpeechRecognitionUsageDescription key.  (Bug#72827)

* etc/NEWS: Announce the change.

Copyright-paperwork-exempt: yes
This commit is contained in:
xenodium 2024-08-27 09:36:56 +01:00 committed by Eli Zaretskii
parent e5b6c39f5d
commit c36ff7d8e4
2 changed files with 11 additions and 0 deletions

View file

@ -43,6 +43,15 @@ The 'find-function', 'find-library', 'find-face-definition', and
'find-variable' commands now allow retrieving previous input using the
usual minibuffer history commands. Each command has a separate history.
---
** NSSpeechRecognitionUsageDescription now included in Info.plist (macOS).
Should Emacs (or any built-in shell) invoke a process using macOS speech
recognition APIs, the relevant permission dialog is now displayed, thus
allowing Emacs users access to speech recognition utilities.
Note: Accepting this permission allows the use of system APIs, which may
send user data to Apples speech recognition servers.
** Minibuffer and Completions
+++

View file

@ -693,5 +693,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
<string>Emacs requires permission to access the Downloads folder.</string>
<key>NSRemovableVolumesUsageDescription</key>
<string>Emacs requires permission to access files on Removable Volumes.</string>
<key>NSSpeechRecognitionUsageDescription</key>
<string>Emacs requires permission to handle any speech recognition.</string>
</dict>
</plist>