summaryrefslogtreecommitdiff
path: root/extensions/source
diff options
context:
space:
mode:
authorPatrick Luby <guibmacdev@gmail.com>2025-01-14 19:48:32 -0500
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2025-02-14 20:13:28 +0100
commita53f44ce842b30da14463f282eddec21c32b016f (patch)
treea171294d8002e18b41dedf68686338916ccc6d36 /extensions/source
parentf3162dd1e3afbed73ed094d5745ba747fcf089cd (diff)
Set bundle identifier to match Mac App Store requirements
The Mac App Store expects the bundle identifier to be the application's bundle identifier + "." + the extension name and the extension name cannot have any period characters. Change-Id: I8c2ee048dc52bec961e6d740edfd05cf3e11d631 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180257 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins
Diffstat (limited to 'extensions/source')
-rw-r--r--extensions/source/macosx/quicklookpreview/appex/.gitignore9
-rw-r--r--extensions/source/macosx/quicklookpreview/appex/Info.plist.in (renamed from extensions/source/macosx/quicklookpreview/appex/Info.plist)12
-rw-r--r--extensions/source/macosx/quicklookthumbnail/appex/.gitignore9
-rw-r--r--extensions/source/macosx/quicklookthumbnail/appex/Info.plist.in (renamed from extensions/source/macosx/quicklookthumbnail/appex/Info.plist)12
4 files changed, 34 insertions, 8 deletions
diff --git a/extensions/source/macosx/quicklookpreview/appex/.gitignore b/extensions/source/macosx/quicklookpreview/appex/.gitignore
new file mode 100644
index 000000000000..f690390fcd6a
--- /dev/null
+++ b/extensions/source/macosx/quicklookpreview/appex/.gitignore
@@ -0,0 +1,9 @@
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+/Info.plist
diff --git a/extensions/source/macosx/quicklookpreview/appex/Info.plist b/extensions/source/macosx/quicklookpreview/appex/Info.plist.in
index e17296d9de07..2010e8a1bca2 100644
--- a/extensions/source/macosx/quicklookpreview/appex/Info.plist
+++ b/extensions/source/macosx/quicklookpreview/appex/Info.plist.in
@@ -12,15 +12,15 @@
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
- <string>LibreOffice Quick Look Preview</string>
+ <string>@PRODUCTNAME@ Quick Look Preview</string>
<key>CFBundleExecutable</key>
<string>QuickLookPreview</string>
<key>CFBundleIdentifier</key>
- <string>org.libreoffice.quicklookpreview</string>
+ <string>@MACOSX_BUNDLE_IDENTIFIER@.quicklookpreview</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
- <string>QuickLookPreview</string>
+ <string>@PRODUCTNAME_WITHOUT_SPACES@QuickLookPreview</string>
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
@@ -32,7 +32,11 @@
<key>CFBundleVersion</key>
<string>1</string>
<key>LSMinimumSystemVersion</key>
- <string>12.0</string>
+ <string>@MACOSX_DEPLOYMENT_TARGET@.0</string>
+ <key>DTXcodeBuild</key>
+ <string>@MACOSX_XCODE_BUILD_VERSION@</string>
+ <key>DTSDKBuild</key>
+ <string>@MACOSX_SDK_BUILD_VERSION@</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionAttributes</key>
diff --git a/extensions/source/macosx/quicklookthumbnail/appex/.gitignore b/extensions/source/macosx/quicklookthumbnail/appex/.gitignore
new file mode 100644
index 000000000000..f690390fcd6a
--- /dev/null
+++ b/extensions/source/macosx/quicklookthumbnail/appex/.gitignore
@@ -0,0 +1,9 @@
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+/Info.plist
diff --git a/extensions/source/macosx/quicklookthumbnail/appex/Info.plist b/extensions/source/macosx/quicklookthumbnail/appex/Info.plist.in
index d8a1d1338371..7ae631f1dc59 100644
--- a/extensions/source/macosx/quicklookthumbnail/appex/Info.plist
+++ b/extensions/source/macosx/quicklookthumbnail/appex/Info.plist.in
@@ -12,15 +12,15 @@
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
- <string>LibreOffice Quick Look Thumbnail</string>
+ <string>@PRODUCTNAME@ Quick Look Thumbnail</string>
<key>CFBundleExecutable</key>
<string>QuickLookThumbnail</string>
<key>CFBundleIdentifier</key>
- <string>org.libreoffice.quicklookthumbnail</string>
+ <string>@MACOSX_BUNDLE_IDENTIFIER@.quicklookthumbnail</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
- <string>QuickLookThumbnail</string>
+ <string>@PRODUCTNAME_WITHOUT_SPACES@QuickLookThumbnail</string>
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
@@ -32,7 +32,11 @@
<key>CFBundleVersion</key>
<string>1</string>
<key>LSMinimumSystemVersion</key>
- <string>10.15</string>
+ <string>@MACOSX_DEPLOYMENT_TARGET@.0</string>
+ <key>DTXcodeBuild</key>
+ <string>@MACOSX_XCODE_BUILD_VERSION@</string>
+ <key>DTSDKBuild</key>
+ <string>@MACOSX_SDK_BUILD_VERSION@</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionAttributes</key>