From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- comm/mail/app/macbuild/Contents/Info.plist.in | 143 +++++++++++++++++++++ .../mail/app/macbuild/Contents/MacOS-files-copy.in | 11 ++ comm/mail/app/macbuild/Contents/MacOS-files.in | 18 +++ .../Resources/English.lproj/InfoPlist.strings.in | 5 + comm/mail/app/macbuild/Contents/moz.build | 26 ++++ 5 files changed, 203 insertions(+) create mode 100644 comm/mail/app/macbuild/Contents/Info.plist.in create mode 100644 comm/mail/app/macbuild/Contents/MacOS-files-copy.in create mode 100644 comm/mail/app/macbuild/Contents/MacOS-files.in create mode 100644 comm/mail/app/macbuild/Contents/Resources/English.lproj/InfoPlist.strings.in create mode 100644 comm/mail/app/macbuild/Contents/moz.build (limited to 'comm/mail/app/macbuild') diff --git a/comm/mail/app/macbuild/Contents/Info.plist.in b/comm/mail/app/macbuild/Contents/Info.plist.in new file mode 100644 index 0000000000..8c577cbeae --- /dev/null +++ b/comm/mail/app/macbuild/Contents/Info.plist.in @@ -0,0 +1,143 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + @MOZ_APP_NAME@ + CFBundleGetInfoString + @MAC_APP_NAME@ @APP_VERSION_DISPLAY@ + CFBundleIconFile + thunderbird.icns + CFBundleIdentifier + @MOZ_MACBUNDLE_ID@ + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + @MAC_APP_NAME@ + CFBundlePackageType + APPL + CFBundleShortVersionString + @APP_VERSION@ + CFBundleSignature + MOZM + CFBundleVersion + @MAC_BUNDLE_VERSION@ + CFBundleURLTypes + + + CFBundleURLName + Email Address URL + CFBundleURLSchemes + + mailto + + + + CFBundleURLName + News URL + CFBundleURLSchemes + + news + + + + CFBundleURLName + RSS / ATOM URL + CFBundleURLSchemes + + feed + + + + NSAppleScriptEnabled + + LSApplicationCategoryType + public.app-category.productivity + LSFileQuarantineEnabled + + LSMinimumSystemVersion + 10.12.0 + NSSupportsAutomaticGraphicsSwitching + + NSRequiresAquaSystemAppearance + + NSDisablePersistence + + NSPrincipalClass + GeckoNSApplication + SMPrivilegedExecutables + + org.mozilla.updater + identifier "org.mozilla.updater" and ((anchor apple generic and certificate leaf[field.1.2.840.113635.100.6.1.9]) or (anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] and certificate leaf[field.1.2.840.113635.100.6.1.13] and certificate leaf[subject.OU] = "43AQ936H96")) + + MozillaDeveloperRepoPath + @MOZ_DEVELOPER_REPO_PATH@ + MozillaDeveloperObjPath + @MOZ_DEVELOPER_OBJ_PATH@ + UTExportedTypeDeclarations + + + UTTypeIdentifier + com.mozilla.thunderbird.mozeml + UTTypeReferenceURL + https://thunderbird.net + UTTypeDescription + Thunderbird Mail Message + UTTypeConformsTo + + public.data + public.content + public.email-message + + UTTypeTagSpecification + + com.apple.ostype + TBMZ + public.filename-extension + + mozeml + + + + + + CFBundleDocumentTypes + + + CFBundleTypeExtensions + + mozeml + + CFBundleTypeOSTypes + + TBMZ + + + CFBundleTypeName + Thunderbird Mail Message + CFBundleTypeRole + Viewer + LSTypeIsPackage + + LSItemContentTypes + + com.mozilla.thunderbird.mozeml + + + + CFBundleTypeExtensions + + eml + + CFBundleTypeName + Thunderbird Email + CFBundleTypeRole + Viewer + + + NSContactsUsageDescription + Use your macOS contacts in @MAC_APP_NAME@. + + diff --git a/comm/mail/app/macbuild/Contents/MacOS-files-copy.in b/comm/mail/app/macbuild/Contents/MacOS-files-copy.in new file mode 100644 index 0000000000..e9d0f0efb9 --- /dev/null +++ b/comm/mail/app/macbuild/Contents/MacOS-files-copy.in @@ -0,0 +1,11 @@ +# Specifies files that should be copied (via deep copy, resolving symlinks) +# from dist/bin to the .app/Contents/MacOS directory. Linking is preferred to +# reduce disk I/O during builds, so just include dylibs which need to be in the +# same directory as returned by dladddr(3). +# +# Some of these dylibs load other dylibs which are assumed to be siblings in +# the same directory obtained from dladdr(3). With macOS 10.15, dladdr returns +# absolute resolved paths which breaks this assumption if symlinks are used +# because the symlink targets are in different directories. Hence the need for +# them to be copied to the same directory. +/*.dylib diff --git a/comm/mail/app/macbuild/Contents/MacOS-files.in b/comm/mail/app/macbuild/Contents/MacOS-files.in new file mode 100644 index 0000000000..b0d3a788e0 --- /dev/null +++ b/comm/mail/app/macbuild/Contents/MacOS-files.in @@ -0,0 +1,18 @@ +#if 0 +; Specifies files that should be copied (preserving symlinks) from dist/bin +; to the .app/Contents/MacOS directory. +#endif +#filter substitution +/*.app/*** +/certutil +/@MOZ_APP_NAME@-bin +#if defined(MOZ_CRASHREPORTER) +/minidump-analyzer +#endif +/pingsender +/pk12util +/rnp-cli +/rnpkeys +/ssltunnel +/xpcshell +/XUL diff --git a/comm/mail/app/macbuild/Contents/Resources/English.lproj/InfoPlist.strings.in b/comm/mail/app/macbuild/Contents/Resources/English.lproj/InfoPlist.strings.in new file mode 100644 index 0000000000..c84535de6a --- /dev/null +++ b/comm/mail/app/macbuild/Contents/Resources/English.lproj/InfoPlist.strings.in @@ -0,0 +1,5 @@ +/* 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/. */ + +CFBundleName = "@MAC_APP_NAME@"; diff --git a/comm/mail/app/macbuild/Contents/moz.build b/comm/mail/app/macbuild/Contents/moz.build new file mode 100644 index 0000000000..87937e9967 --- /dev/null +++ b/comm/mail/app/macbuild/Contents/moz.build @@ -0,0 +1,26 @@ +# 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/. + +# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- +# vim: set filetype=python: +# 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/. + +defs = [] + +for s in ( + "MOZ_CRASHREPORTER", + "MOZ_APP_NAME", +): + if CONFIG[s]: + defs.append("-D%s=%s" % (s, "1" if CONFIG[s] is True else CONFIG[s])) + +GeneratedFile( + "MacOS-files.txt", + script="/python/mozbuild/mozbuild/action/preprocessor.py", + entry_point="generate", + inputs=["MacOS-files.in"], + flags=defs, +) -- cgit v1.2.3