diff options
| author | xenodium | 2024-08-27 09:36:56 +0100 |
|---|---|---|
| committer | Eli Zaretskii | 2024-08-31 13:36:05 +0300 |
| commit | c36ff7d8e46c75cfadea6f4c1f4eadb3aef37f2d (patch) | |
| tree | b5ace71c91c655cd7f268133ce563a4b8054978f | |
| parent | e5b6c39f5d0f51ed0a2a12a3f1e99b91f1bc6ecf (diff) | |
| download | emacs-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/NEWS | 9 | ||||
| -rw-r--r-- | nextstep/templates/Info.plist.in | 2 |
2 files changed, 11 insertions, 0 deletions
| @@ -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 |
| 44 | usual minibuffer history commands. Each command has a separate history. | 44 | usual minibuffer history commands. Each command has a separate history. |
| 45 | 45 | ||
| 46 | --- | ||
| 47 | ** NSSpeechRecognitionUsageDescription now included in Info.plist (macOS). | ||
| 48 | Should Emacs (or any built-in shell) invoke a process using macOS speech | ||
| 49 | recognition APIs, the relevant permission dialog is now displayed, thus | ||
| 50 | allowing Emacs users access to speech recognition utilities. | ||
| 51 | |||
| 52 | Note: Accepting this permission allows the use of system APIs, which may | ||
| 53 | send 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> |