aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxenodium2024-08-27 09:36:56 +0100
committerEli Zaretskii2024-08-31 13:36:05 +0300
commitc36ff7d8e46c75cfadea6f4c1f4eadb3aef37f2d (patch)
treeb5ace71c91c655cd7f268133ce563a4b8054978f
parente5b6c39f5d0f51ed0a2a12a3f1e99b91f1bc6ecf (diff)
downloademacs-c36ff7d8e46c75cfadea6f4c1f4eadb3aef37f2d.tar.gz
emacs-c36ff7d8e46c75cfadea6f4c1f4eadb3aef37f2d.zip
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
-rw-r--r--etc/NEWS9
-rw-r--r--nextstep/templates/Info.plist.in2
2 files changed, 11 insertions, 0 deletions
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
43'find-variable' commands now allow retrieving previous input using the 43'find-variable' commands now allow retrieving previous input using the
44usual minibuffer history commands. Each command has a separate history. 44usual minibuffer history commands. Each command has a separate history.
45 45
46---
47** NSSpeechRecognitionUsageDescription now included in Info.plist (macOS).
48Should Emacs (or any built-in shell) invoke a process using macOS speech
49recognition APIs, the relevant permission dialog is now displayed, thus
50allowing Emacs users access to speech recognition utilities.
51
52Note: Accepting this permission allows the use of system APIs, which may
53send user data to Apple’s speech recognition servers.
54
46** Minibuffer and Completions 55** Minibuffer and Completions
47 56
48+++ 57+++
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 <https://www.gnu.org/licenses/>.
693 <string>Emacs requires permission to access the Downloads folder.</string> 693 <string>Emacs requires permission to access the Downloads folder.</string>
694 <key>NSRemovableVolumesUsageDescription</key> 694 <key>NSRemovableVolumesUsageDescription</key>
695 <string>Emacs requires permission to access files on Removable Volumes.</string> 695 <string>Emacs requires permission to access files on Removable Volumes.</string>
696 <key>NSSpeechRecognitionUsageDescription</key>
697 <string>Emacs requires permission to handle any speech recognition.</string>
696</dict> 698</dict>
697</plist> 699</plist>