From c36ff7d8e46c75cfadea6f4c1f4eadb3aef37f2d Mon Sep 17 00:00:00 2001 From: xenodium Date: Tue, 27 Aug 2024 09:36:56 +0100 Subject: [PATCH] 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 --- etc/NEWS | 9 +++++++++ nextstep/templates/Info.plist.in | 2 ++ 2 files changed, 11 insertions(+) diff --git a/etc/NEWS b/etc/NEWS index dc70eb25de7..cdebc3595db 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -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 Appleā€™s speech recognition servers. + ** Minibuffer and Completions +++ diff --git a/nextstep/templates/Info.plist.in b/nextstep/templates/Info.plist.in index beddbf4a893..192c061bd1e 100644 --- a/nextstep/templates/Info.plist.in +++ b/nextstep/templates/Info.plist.in @@ -693,5 +693,7 @@ along with GNU Emacs. If not, see . Emacs requires permission to access the Downloads folder. NSRemovableVolumesUsageDescription Emacs requires permission to access files on Removable Volumes. + NSSpeechRecognitionUsageDescription + Emacs requires permission to handle any speech recognition.