Commit Graph

68 Commits

Author SHA1 Message Date
Martin Häcker
fbd21bd422 FIX(mac): Set CFBundleShortVersionString
The CFBundleVersion is used as a technical identifier by the system,
while the CFBundleShortVersionString is used as a user visible value
throughout the system. Most notably in the Finder where it defines the
user visible version.

This fix shows the version in the finders get info window as well as
in the detail view of the column view.

See:
- Apples Documentation about CFBundleVersion
https://developer.apple.com/documentation/bundleresources/information-property-list/cfbundleversion
- Apples Documentation about CFBundleShortVersionString
https://developer.apple.com/documentation/bundleresources/information-property-list/cfbundleshortversionstring

Closes #6741
2025-03-04 15:32:02 +01:00
Robert Adam
330c356e71 MAINT: Remove copyright year from all copyright notices
Keeping these up-to-date is just super tedious and they don't really
fulfill any purpose these days.
2024-09-30 18:06:20 +02:00
Robert Adam
249d2c6298 MAINT: Update copyright headers to 2023 2023-01-08 15:54:35 +01:00
Robert Adam
4e2e53d0f9 BUILD(macos): Fix plugins not getting bundled
If the osxdist script was not executed within the build directory, it
would not bundle the built plugins (most notably the Link plugin) as it
was using a relative path and was ignoring the binary dir command-line
option.

This is remedied by this commit.

Fixes #5571
2022-05-08 20:25:43 +02:00
Robert Adam
c4abb61ac4 MAINT: Port osxdist script to Python 3
The script used to package the Mumble DMG file on macOS was still using
Python 2.

The port to Python 3 is performed by this commit.
2022-05-08 20:24:48 +02:00
Klemens Nanni
bceec3dbfe MAINT(client): Remove SBCELT leftovers
This is dead code since
```
commit c5644c7d73
Author: Robert Adam <dev@robert-adam.de>
Date:   Thu May 7 08:14:09 2020 +0200

    3rdparty: Removed sbcelt submodule as it is not used and broken
```
2022-01-22 11:36:52 +03:00
Robert Adam
d100ff1467 MAINT: Update copyright to 2022 2022-01-04 20:17:33 +01:00
Robert Adam
57095b0045 BUILD(macos): Fix package script failing
We were seeing errors like
could not access /Volumes/Mumble 1.4.0~2021-05-16~g789f2d79e~snapshot/Mumble.app/Contents/MacOS/Mumble - No space left on device
hdiutil: create failed - No space left on device
every now and then when attempting to package the DMG package for macOS.

Following the trick described at
https://apple.stackexchange.com/a/177071/417917, we now add the
-megabytes option to the call which seems to fix the issue somehow.
2021-05-17 08:54:52 +02:00
Robert Adam
0d71b84ec7 REVERT: "BUILD(macos): Fix hdiutil error during dmg packaging"
This reverts commit 0b75cd6f8a.
2021-05-17 08:49:39 +02:00
Robert Adam
0b75cd6f8a BUILD(macos): Fix hdiutil error during dmg packaging
The error that appeared every now and again was "no space left on
device". The exact cause and why it worked in some cases is not clear,
but with these changes it seems way more robust than before.
2021-05-13 13:33:02 +02:00
Robert
56db3410c5 MAINT: Update copyright notice to 2021 (Part II)
Apparently the first commit (59ae429972)
did not include all files.

Furthermore the used script tended to produce funny results in certain
cases. This has been fixed and as a result thereof a few more changes
were made in this second run.
2021-04-09 15:41:49 +02:00
Robert Adam
59ae429972 MAINT: Update copyright notice to 2021
This was done by running scripts/updateLicenseHeaders.py and then
manually editing the LICENSE file.
2021-03-02 10:15:01 +01:00
Davide Beatrici
f19a645c38 BUILD(macOS): Only include ".dylib" files in bundle's "Plugins" directory
In addition to the plugins, the "plugins" folder in the build directory also contains temporary build files.

As the script was copying the entire tree, those files made their way into the bundle.

This commit fixes the issue by explicitly copying only files that end with ".dylib".
2020-12-24 02:27:13 +01:00
Robert Adam
32d685517e FIX(packaging): Enable mac-script to run multiple times
Before this commit the MacOS packaging script failed on copying Codecs
if the respective directory already existed (e.g. because the packaging
script has been run before).

Furthermore the script called a function to delete a directory (tree)
on a file. This error never surfaced before because usually when this
script is run, the respective file doesn't exist yet.

Both issues are fixed by this commit. It is now possible to run the
packaging script multiple times consecutively without it erroring on
already existing files.
2020-08-14 22:03:47 +02:00
Davide Beatrici
2ee48b07c0 macx/scripts: allow to specify custom source and binary directories
Our qmake project forcibly put binaries into the "release" folder, inside the repository.

With the CMake project this is not the case: the source and binary directories can even reside on different drives.

Unfortunately the binary directory was hardcoded in both "build-overlay-installer" and "osxdist.py".
As for the source directory, both scripts simply expected to be run from the repository's root.

This commit adds the "--source-dir" and "--binary-dir" options to "osxdist.py". Default values: "." and "build", respectively.

"build-overlay-installer" now expects its working directory to be the binary folder.
No options are added; they are not required because the script is executed by "osxdist.py", which takes care of setting the working directory.

Extra change: "build-overlay-installer" now uses "PlistBuddy" rather than "defaults", because the latter doesn't support reading from a file anymore in macOS Catalina (10.15).
2020-07-11 19:37:18 +02:00
Robert Adam
870f0c3cfe MAINT(readme): Move READMEs for static server into docs/ 2020-07-08 17:55:46 +02:00
Davide Beatrici
4e67a2fafb Auto-update LICENSE.header in source files 2020-01-07 03:09:22 +01:00
Davide Beatrici
9e1a5604d2 Remove CELT 0.11.0
CELT 0.11.0 provides better quality in comparison to CELT 0.7.0, but the two versions of the codecs are not compatible, which is why we provided both of them.

Opus was introduced in Mumble 1.2.4 (7586a61226), thus we expect that most (if not all) users are using it.

By removing CELT 0.11.0 we don't break backwards compatibility, because it's provided by CELT 0.7.0.

The main reason for removing the codec is the fact that its discontinued (in favor of Opus).

Also, CELT 0.11.0 was removed from the Debian package back in 2012: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=682010
2019-10-15 03:50:24 +02:00
Davide Beatrici
e9029a904e Remove "compat", i386 is not supported anymore
"compat" was a very small and simple program; its purpose was to show a message informing the user that the Mumble binary is only for x86_64 processors.

The i386 architecture is not supported in Xcode 10, meaning that we cannot compile it anymore.

https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes
2019-10-10 00:11:16 +02:00
Davide Beatrici
9ab5fe97b6 Set target macOS version to 10.9
"libstdc++" was deprecated with Xcode 8 and is not supported in Xcode 10.

The new library is "libc++", available with macOS 10.9+.

https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes
2019-10-09 23:35:41 +02:00
Davide Beatrici
88931266b2 macx/scripts/osxdist.py: add "--no-compat-warning" option
QMake always passes "-arch x86_64" after the parameters specified in our project file, meaning that we can't build the application as 32 bit.

This option allows us to disable the feature (warning when trying to run Mumble on a 32 bit system) for the CI build.
2019-04-05 00:59:40 +02:00
Davide Beatrici
1813fe1af3 macx/scripts/osxdist.py: copy Opus library into App Bundle
The script copies the CELT (dynamic) libraries into the App Bundle, so that they are installed and then loaded by Mumble.

This commit adds the Opus library to the list of files to copy, necessary because it is loaded at runtime since e0ee016e5c.
2019-04-05 00:57:17 +02:00
Davide Beatrici
b427333257 Auto-update LICENSE.header in source files 2019-01-25 04:56:19 +01:00
Mikkel Krautz
f6ba3a52bf Auto-update LICENSE.header in source files. 2018-01-01 23:05:37 +01:00
Mikkel Krautz
828d9301f5 Remove DIST directive from all .pro files.
We used to use DIST for referencing extra files that should be included
in our tarballs created by 'make dist'.

However, we've since migrated away relying on 'make dist' in release.pl.
Instead, we include everything, and have a list of items to exclude, such
as IETF RFC drafts distributed in 3rdparty/speex-src that do not adhere to
the Debian Free Software Guidelines.
2017-08-06 20:38:14 +02:00
Mikkel Krautz
91ebb8b0b5 Update tree copyrights to 2017. 2017-01-08 21:05:57 +01:00
Mikkel Krautz
4e2c7e384f macx: update to use LICENSE.header. 2016-05-10 22:42:03 +02:00
Mikkel Krautz
840a31de0e macx/scripts: fix osxdist.py and build-installer-overlay to work in a source tree path with spaces in it. 2014-07-20 19:45:23 +02:00
Mikkel Krautz
c8b6d697f5 osxdist.py: create a tarball in addition to the XIP archive for OS X static Murmur. 2013-01-20 18:47:37 +01:00
Mikkel Krautz
7de07df29d macx: pro file fixes for release.pl. 2012-10-29 19:42:38 +01:00
Mikkel Krautz
8fd27f62fc osxdist.py: use new README for static server; tweak filename. 2012-09-20 23:05:56 +02:00
Mikkel Krautz
98cacbc28f osxdist.py: only rmtree if path exists. 2012-09-16 21:38:23 +02:00
Mikkel Krautz
b86c3b7743 osxdist.py: move to a separate Murmur package on OS X. 2012-09-16 20:57:19 +02:00
Mikkel Krautz
63c91fa0dc osxdist.py: consistent .dmg naming for releases and snapshots. 2012-09-15 14:40:36 +02:00
Mikkel Krautz
c2655fc265 Mumble: allow client to use SBCELT for CELT decoding via CONFIG(sbcelt). 2012-08-09 23:53:09 +02:00
Mikkel Krautz
c6c63fc949 Mumble: add Apple anchor library requirement to OS X codesign requirements. 2012-07-22 02:36:08 +02:00
Mikkel Krautz
08af6c2698 Mumble: properly specify designated requirements for OS X Developer ID code signing. 2012-07-22 01:35:47 +02:00
Mikkel Krautz
cf0d1d1199 Mumble: don't explicitly set codesign signature size in osxdist.py anymore (not needed for Developer ID). 2012-07-21 21:10:31 +02:00
Mikkel Krautz
f2253cfac9 Mumble: optimize osxdist.py for Developer ID signing. 2012-07-21 18:17:27 +02:00
Mikkel Krautz
723dd79f95 Mumble: simplify osxdist.py script, now that our OS X builds are static. 2012-07-21 18:02:52 +02:00
Mikkel Krautz
370c2d304d OS X: move upgrade variables to upgrade.xml for new productbuild overlay installer. 2012-02-22 18:25:32 +01:00
Mikkel Krautz
30b94b79f9 OS X: productbuild-based overlay installer. 2012-02-22 17:40:13 +01:00
Mikkel Krautz
4ad6ccf7c0 OS X: Add more licenses to disk image. 2012-02-18 17:59:18 +01:00
Mikkel Krautz
6c7d8dc9d5 OS X: Update dist scripts, add --no-server option. 2012-02-18 03:56:14 +01:00
Mikkel Krautz
133a83f983 Build fixes for universal OS X. 2012-01-11 19:02:45 +01:00
Mikkel Krautz
23d1baaa27 osxdist: Add extra codesigning step for flat pkg files and the ability to select the keychain for your codesigning identity. 2011-03-27 15:22:10 +02:00
Thorvald Natvig
1161c9a1c4 Remove 1.1.x - no longer maintained 2011-02-20 04:21:34 +01:00
Thorvald Natvig
685809cf83 Remove CELT 0.10.0 2011-02-07 02:00:47 +01:00
Mikkel Krautz
775165f33d Add CELT 0.11.0 to OS X dist script. 2011-02-04 19:21:58 +01:00
Thorvald Natvig
c61522e2e9 Remove older CELT 0.9.0 2011-01-23 02:31:06 +01:00