Commit Graph

319 Commits

Author SHA1 Message Date
Moritz Bunkus
b582811653
libEBML, libMatroska: update to releases 1.3.9/1.5.2 2019-05-27 22:15:20 +02:00
Moritz Bunkus
61b8dfd203
build system: create ebml_export.h if using internal libEBML 2019-05-25 12:24:38 +02:00
Moritz Bunkus
573ee904a6
build system: Rakefile cleanup 2019-04-13 17:21:30 +02:00
Moritz Bunkus
f56bc4ff3f
build system: fix selecting -fstack-protector-strong
gcc >= 4.9.0 and clang >= 3.5.0 support it.
2019-04-13 17:21:20 +02:00
Moritz Bunkus
0c3f81fef3
build system: only use -Wno-extra-semi with gcc 8 or any clang 2019-04-12 18:35:38 +02:00
Moritz Bunkus
a7f6a21d3c
translations: for .h files to be treated as C++
Otherwise xgettext will recognize them as C files and complain about
the usage of digit separators.
2019-04-11 09:12:35 +02:00
Moritz Bunkus
60bf14c88f
build system: don't use -Wdouble-promotion
Can't get rid of one particular warning on clang.
2019-02-23 21:11:19 +01:00
Moritz Bunkus
8e45394048
build system: add several more warning flags & fix results part 3 2019-02-23 21:11:19 +01:00
Moritz Bunkus
b6e79797bb
build system: add several more warning flags & fix results 2019-02-23 21:11:19 +01:00
Moritz Bunkus
9a084c268f
build system: add several warning flags & fix results 2019-02-23 21:11:19 +01:00
Moritz Bunkus
3cbd95b003
build system: move compiler flag determination to Rakefile
Logic's more straight forward to implement there instead of having to
check in `configure`, adding a variable to `build-local.in` and using
that variable later on. The logic's the same in both places anyway.
2019-02-23 21:11:19 +01: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
0830be34db
build sys: include globally-required modules from single place 2019-02-05 13:45:34 +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
ba931be6c5
rename mpls_dump to bluray_dump & fix --help & --version output 2019-01-22 18:00:58 +01:00
Moritz Bunkus
a4057204b6
build system: show build time 2019-01-02 23:08:45 +01:00
Moritz Bunkus
d6707da459
build system: protect digest calls from re-entry
The code for Ruby's Digest module seems to be racy
wrt. multi-threading. See e.g.
https://github.com/aws/aws-sdk-ruby/issues/525 for details.
2018-12-04 21:13:17 +01:00
Moritz Bunkus
cc7b32a6f4
build system: implement fmt::format & Qt verification in translation files 2018-12-04 17:18:50 +01:00
Moritz Bunkus
8b626c7efe
fmt conversion: never use C & Boost formats 2018-11-20 21:30:27 +01:00
Moritz Bunkus
58199b8588
fmt conversion: no boost::format support in translation files 2018-11-20 21:30:27 +01:00
Moritz Bunkus
6e7f04a142
fmt conversion: integrate bundled fmt into build system 2018-11-20 21:30:27 +01:00
Moritz Bunkus
0bbc8a30e4
fmt conversion: include centrally, link to library 2018-11-19 22:42:59 +01:00
Moritz Bunkus
e8342d4d92
GUI: inhibit sleep while the job queue is running on macOS
Part of the implementation of #2411.
2018-11-04 21:06:20 +01:00
Moritz Bunkus
c6ad3ba3cb
generate manifest.xml files from templates 2018-10-28 13:48:27 +01:00
Moritz Bunkus
bbc4a5d825
build system: allow build-config to overwrite default task/target 2018-09-30 15:31:23 +02:00
Moritz Bunkus
846dd1267a
GUI: enable high DPI scaling if compiled with Qt ≥ 5.6.0
Fixes #1996 and #2383
2018-09-30 14:56:07 +02:00
Moritz Bunkus
a684d519bb
build system: disable pre-compiled headers when compiling with zapcc
zapcc seems to have problems (linker errors) sometimes if pre-compiled
headers are enabled. The home page even says they're not supported. So
simply disable them.
2018-09-18 21:36:40 +02:00
Moritz Bunkus
8f487f0cb3
build system: disable ccache when compiling with zapcc
ccache and certain versions of zapcc don't seem to be playing well
together. As zapcc's servers do the caching already, disable ccache if
compiling with zapcc.
2018-09-18 21:18:10 +02:00
Moritz Bunkus
7f3d89d9e6
build system: optionally link against Dr. MinGW's crash backtrace library 2018-09-11 19:13:31 +02:00
Moritz Bunkus
9f2038a8ef
build system: fix dependency calculation with zapcc
zapcc (and probably newer clangs, too) will always output absolute
paths to source files in the dependency files they create. Therefore
the algorithm that removes any file not part of the MKVToolNix source
tree from the dependency list has to take that into account.
2018-08-20 14:49:16 +02:00
Moritz Bunkus
549ccc9b09
build system/Linux packaging: install AppStream metadata file 2018-08-09 15:22:33 +02:00
Moritz Bunkus
9e04c038f4
packaging: move all packaging files to packaging directory 2018-06-25 17:59:11 +02:00
Moritz Bunkus
bc12006391
build system: don't use -Woverloaded-virtual with g++
With g++ 8 there are way too many false positives in `EbmlElement.h`
which is included from nearly each and every file in MKVToolNix. This
floods the compilation logs with irrelevant warnings drowning out the
legitimate ones.
2018-06-08 22:17:08 +02:00
Moritz Bunkus
471fc84ed2
nlohmann-json: update to v3.1.1 (git revision g183390c1) 2018-06-08 22:17:08 +02:00
Moritz Bunkus
9eaf235c76 build system: only use -Wshadow-compatible-local if compiler supports it 2018-04-17 23:28:50 +02:00
Moritz Bunkus
eabbef32c5 build system: build with -Wshadow-compatible-local & fix warnings from it 2018-04-16 19:37:02 +02:00
Moritz Bunkus
5f5ae9542e Windows build: build libmtxcommon as DLL on shared builds 2018-04-08 12:53:57 +02:00
Moritz Bunkus
55df108961 build system: allow RUN_SHOW_START_STOP to be set in build-config.local 2018-03-10 10:25:05 +01:00
Moritz Bunkus
e960dc86fa build system: support for creating a compilation database 2018-02-26 21:42:25 +01:00
Moritz Bunkus
e7bfa0ad91 mkvinfo: remove GUI 2018-02-04 17:02:28 +01:00
Moritz Bunkus
a26be1f600 configure: verify presence of msgfmt instead of relying on it 2018-01-21 13:04:29 +01:00
Moritz Bunkus
80761260be build system: show start/stop messages including duration with RUN_SHOW_START_STOP 2018-01-02 15:40:24 +01:00
Moritz Bunkus
f700dfbd1e build system: require cmark when building the GUIs 2018-01-01 16:42:06 +01:00
Moritz Bunkus
8b073325ea Rakefile: Qt: handle #includes in .h for .ui-based .h, too 2018-01-01 11:25:28 +01:00
Moritz Bunkus
17eb6205e0 Rakefile: add task for dumping a task's dependencies 2018-01-01 11:02:38 +01:00
Moritz Bunkus
5592b65d7c Rakefile: fix building mkvinfo with Qt disabled 2017-12-31 17:24:03 +01:00
Moritz Bunkus
8d4ed87ca7 Rakefile: fix building mkvinfo-gui, mkvinfo 2017-12-31 12:22:39 +01:00
Moritz Bunkus
e2c4b169b6 build system: fix Qt dependencies for mkvinfo's GUI 2017-12-31 11:05:09 +01:00
Moritz Bunkus
35dc2a401e GUI: info: add support for running info jobs 2017-12-24 15:20:49 +01:00
Moritz Bunkus
701ce9ddce mkvinfo: refactor bulk of identification code into reusable class 2017-12-22 10:52:12 +01:00