Commit Graph

40 Commits

Author SHA1 Message Date
Moritz Bunkus
a5cb745763
macOS: only associate the GUI's settings file with MKVToolNix
but not all the other file types MKVToolNix can read. There are two
reasons for it:

1. Even though the file association is registered as `Alternate`,
   which should be the lowest one, users have reported that installing
   MKVToolNix causes it to take over all file type associations it
   supports.

2. Even when changing the association manually afterwards, the icons
   the Finder shows for the supported file types are all MKVToolNix
   icons.

Fixes #3588.
2023-07-26 17:54:25 +02:00
Moritz Bunkus
1c68a5841f
GUI: use external resource file for Qt resources
The resource file has reached a size at which the C++ compiler
exhausts available virtual memory on some 32-bit architectures.

On Windows & macOS the GUI will look for the file in
`<folder_with_executables>/data/qt_resources.rcc`, and in the
directory set with `configure`'s `--datadir` parameter on other
systems (which usually means `/usr/share/mkvtoolnix`). The `install`
build system commands installs it into that folder.
2023-05-18 21:37:34 +02:00
Moritz Bunkus
046bba381e
macOS: register file types on installation for "open with" handling 2023-05-05 11:24:52 +02:00
Moritz Bunkus
be03a25a0b
macOS: support for building on 12 Monterey with XCode 14 & Qt 6.4.x 2023-02-08 20:03:53 +01:00
Moritz Bunkus
04ff8f76a5
macOS packaging: read config.local.sh if present 2022-11-24 20:46:07 +01:00
Moritz Bunkus
99ee3d5f85
macOS packaging: make path to build-number file local 2022-11-24 20:45:41 +01:00
Moritz Bunkus
b947762a71
macOS build: set default target directory ~/opt 2022-11-13 15:00:17 +01:00
Moritz Bunkus
6a55c58d23
MacOS: deploy Qt's SVG support 2022-05-22 20:52:46 +02:00
Moritz Bunkus
49001033fb
packaging: use bundled drake part 2 2022-04-11 23:39:34 +02:00
Moritz Bunkus
96a013f4ae
macOS packaging: fix library paths in all executables
Needed since even the command-line utilities use Qt.

Fixes #3161.
2021-07-10 18:29:32 +02:00
Moritz Bunkus
96268fa972
macOS build: build the gmp library 2021-07-04 14:03:39 +02:00
Moritz Bunkus
0004affd77
macOS: update various libraries 2021-06-19 14:42:20 +02:00
Moritz Bunkus
783229560f
configure: require Qt 5 or 6; add --disable-gui for disabling the GUI
This is in preparation of fixing #3137. The plan is not to use
libfile's MIME type detection but Qt's. As both mkvmerge and the GUI
need to auto-detect the MIME type, this means that the command line
applications will have to be linked against Qt's core library (but not
the GUI libraries).
2021-06-15 22:39:33 +02:00
Moritz Bunkus
0e9aa3d49e
macOS: target 10.15 for deployment due to std::filesystem 2021-02-20 00:18:33 +01:00
Moritz Bunkus
747c946461
macOS build: update Qt to 5.15.2 2020-12-11 19:14:08 +01:00
Moritz Bunkus
2b936d9cc0
macOS build: fix directory names on my current build installation 2020-12-11 19:14:03 +01:00
Moritz Bunkus
388fba6822
macOS build: PCRE2: only build static libraries
Fixes #2921.
2020-09-07 10:46:23 +02:00
Moritz Bunkus
f7b8a65cdc
macOS build: add PCRE2 2020-09-06 14:26:49 +02:00
Moritz Bunkus
ce3bdf3c9d
macOS: require 10.14 or newer
Several functions of `std::optional` are only available
on Mojave (10.14) and newer, unfortunately.
2019-12-31 16:08:55 +01:00
Moritz Bunkus
b1e1bd7b6e
macOS: add script for updating specs.sh for newer Qt 2019-10-07 11:51:50 +02:00
Moritz Bunkus
42aa03c09b
macOS: update Qt to 5.13.1 2019-10-07 11:51:35 +02:00
Moritz Bunkus
8ec4021610
macOS build: enable C++17 instead of C++14 2019-09-27 15:52:23 +02:00
Moritz Bunkus
e43d58994b
macOS build: build Boost with same custom iconv as rest of MKVToolNix 2019-09-27 14:24:15 +02:00
Moritz Bunkus
d1f51d7378
macOS build: update several libraries
• Boost 1.67.0 → 1.71.0
• cmark 0.28.3 → 0.29.0
• FLAC 1.3.2 → 1.3.3
• gettext 0.19.8.1 → 0.20
• iconv 1.15 → 1.16
• Qt 5.12.1 → 5.12.4
2019-08-29 19:46:52 +02:00
Moritz Bunkus
c21ce571b2
macOS build: remove unused code for building OpenSSL 2019-08-29 19:46:45 +02:00
Moritz Bunkus
71865d9081
macOS build: don't use visibility compiler flags
According to issue #2508 a self-compiled version of `mkvextract`
misbehaves if the option `-fvisibility=hidden` is used. As building my
own DMG without the option works just fine, and as the resulting
programs work fine, too, I'll simply drop both flags from the build
process altogether.

Fixes #2508.
2019-02-13 13:35:49 +01:00
Moritz Bunkus
ac30bb5a04
macOS build: remove paths & checksums for Qt 5.11.0, 5.12.0 2019-02-13 13:35:29 +01:00
Moritz Bunkus
d688e2b6b7
macOS build: don't build Ruby
The Ruby version bundled with macOS Mojave suffices and is quite a bit
newer than what `build.sh` would have built.
2019-02-13 13:35:10 +01:00
Moritz Bunkus
ba36af83f6
macOS: build against Qt 5.12.1 2019-02-03 12:51:46 +01:00
Moritz Bunkus
00468a549b
macOS build: move certain compiler & linker flags to build system
That way they don't have to be set manually before running `configure`.

Fixes #2485.
2019-01-26 12:02:55 +01:00
Moritz Bunkus
1f077f99cb
macOS build: don't use a cache file for configure 2019-01-25 22:47:46 +01:00
Moritz Bunkus
2384deddd4
macOS build: fix minimum supported macOS version in documentation 2019-01-05 14:11:28 +01:00
Moritz Bunkus
cee0a83e45
macOS build: adjust pre-build file naming to match continuous build names 2018-12-12 21:44:32 +01:00
Moritz Bunkus
b6393350ab
macOS build: update Qt to 5.12.0 2018-12-12 09:15:37 +01:00
Moritz Bunkus
6f8463cd96
macOS build: use cache file for configure 2018-11-04 17:28:54 +01:00
Moritz Bunkus
943af4df48
macOS packaging: fix various keys/add recommended ones in DMG's Info.plist
Fixes #2343.
2018-07-23 12:00:09 +02:00
Moritz Bunkus
a1b193b5b9
macOS packaging: update OS version compatibility in README.macOS.txt 2018-07-18 11:34:48 +02:00
Moritz Bunkus
58c36681ab
macOS packaging: include Qt styles plugin in DMG
New in Qt 5.11 or so: platform-specific styling is now a separate
plugin from the platform plugin.
2018-07-15 19:13:28 +02:00
Moritz Bunkus
bed9e539ac
macOS: fix building the MKVToolNix package itself 2018-07-12 20:24:08 +02:00
Moritz Bunkus
9e04c038f4
packaging: move all packaging files to packaging directory 2018-06-25 17:59:11 +02:00