]> git.eshelyaron.com Git - emacs.git/commitdiff
Adds NSSpeechRecognitionUsageDescription to Info.plist.in
authorxenodium <me+gh@xenodium.com>
Tue, 27 Aug 2024 08:36:56 +0000 (09:36 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 4 Sep 2024 07:51:54 +0000 (09:51 +0200)
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
(cherry picked from commit c36ff7d8e46c75cfadea6f4c1f4eadb3aef37f2d)

nextstep/templates/Info.plist.in

index beddbf4a8935c986fd9e6d55898e3f4ba27fd08a..192c061bd1e1936bf343a66e9ba73fff5f6983a3 100644 (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>