Commit Graph

288 Commits

Author SHA1 Message Date
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
Moritz Bunkus
c54fd594a3 Rakefile: output link to gettext plurals list after translations:new-po 2017-12-20 22:15:40 +01:00
darealshinji
4c5ca7ebe5 AppImage compatibility build option 2017-12-12 09:59:34 +01:00
Moritz Bunkus
f755d7bfa4 build system: link benchmark program against Qt 2017-11-21 21:11:52 +01:00
Moritz Bunkus
cd155df59b configure rework compiler type & version check 2017-11-18 10:46:36 +01:00
Moritz Bunkus
336726825b build system: use llvm's lld linker when building with clang 2017-11-17 22:44:54 +01:00
Moritz Bunkus
abb66a5486 build system: check for Google Benchmark, compile benchmark if source exists 2017-11-16 15:15:46 +01:00
Moritz Bunkus
e29c20aacd don't enable parallel builds with older versions of rake
At least rake 10.1.x has a bug in that it runs all jobs in parallel
disregarding the maximum number of jobs causing massive memory usage,
hence swap usage.
2017-10-17 20:44:16 +02:00
Moritz Bunkus
d053122a07 Rakefile: filter out bogus "please run po4a-translate" lines from po4a 2017-10-13 21:35:16 +02:00
Moritz Bunkus
da4d743311 Rakefile: fix reporting xsltproc errors (again)
The filter should output the actual errors in case of an error being
reported but the exit code still being 0.
2017-10-11 15:13:48 +02:00
Moritz Bunkus
2b7e782202 Rakefile: fix reporting xsltproc errors
Older versions used to exit with code 0 even in the case of an
error. Newer versions exit with <> 0. Handle that case and output the
emitted lines.
2017-09-29 18:31:45 +02:00
Moritz Bunkus
88a2dc55af macOS: ensure MACOSX_DEPLOYMENT_TARGET is set during compilation 2017-08-20 19:46:57 +02:00
Moritz Bunkus
fe6756147a Rakefile: fail properly if DocBook stylesheet isn't found
xsltproc always exits with 0 even if it fails.
2017-07-22 15:37:14 +02:00
Moritz Bunkus
6710d27554 build: add tests for header/include guard syntax 2017-07-15 11:57:45 +02:00
Moritz Bunkus
65a3d6260e build sysytem: up minimum Windows version to 0x0601 = Windows 7 2017-07-06 20:18:38 +02:00
Moritz Bunkus
3cd6f0203b Rakefile: fix syntax for older Ruby versions 2017-05-20 19:17:17 +02:00
Moritz Bunkus
4772eaa20a Rakefile: method for updating Windows installer translation files from English 2017-05-20 19:00:31 +02:00
Moritz Bunkus
1a305eed93 Rakefile: add arbitrary targets from build-config or environment 2017-04-23 19:17:06 +02:00
Moritz Bunkus
a90d14cd8e GUIs: rename .desktop files to adhere to FreeDesktop.org standards
This allows Wayland compositors to associate the correct icons with
the running applications, e.g. for task switchers. Fixes #1948.
2017-04-19 16:10:08 +02:00
Moritz Bunkus
8bcbbaf31f GUI: add default entries for "execute actions…" 2017-04-05 21:08:52 +02:00
Moritz Bunkus
3d839a818b build system & packaging: install & package sound files 2017-04-05 13:28:25 +02:00
Moritz Bunkus
485030bcc0 build system: only build files intended for target 2017-04-04 19:26:54 +02:00
Moritz Bunkus
6daa88d309 GUI: execute actions: implement shutting down/suspending the computer on Windows 2017-04-04 19:26:54 +02:00
Moritz Bunkus
668c9356aa Rakefile: re-add USER_CXXFLAGS
It was accidentally removed in d7b691b6f5.

Fixes #1925.
2017-03-31 09:07:22 +02:00
Moritz Bunkus
f12df7396f hevcc_dump: new tool for dumping a HEVCC from the middle of a file (incomplete) 2017-03-19 18:44:00 +01:00
Moritz Bunkus
ce1bdcb1b1 build system: re-work static Qt plugin handling
This changes several things:

1. The path to the plugins is no longer determined by looking through
   the include flags in QT_LIBS. This process was broken for paths
   with file names. Instead, qmake is queried for the installation
   location for the plugins.

2. Similar to qmake, configure now generates a file for both mkvinfo
   and mkvtoolnix-gui that includes the appropriate #include
   directives for the chosen plugins. Therefore no additional #ifdef…
   logic is required for the static plugins in other parts of the two
   programs.

3. For platforms other than Windows or macOS, configure will now add
   the Xcb platform integration plugin. This is required for using a
   static Qt on Linux. This change should implement #1898.
2017-03-09 22:06:40 +01:00
Moritz Bunkus
8b295e1332 build system: fix pugixml again
Another part of the implementation of #1891.
2017-02-13 21:37:29 +01:00
Moritz Bunkus
c1213feac3 build system: try detecting pugixml via pkg-config with fallback
Implements #1891.
2017-02-13 20:47:45 +01:00
Moritz Bunkus
113450f23c build system: make xsltproc, DocBook mandatory for man pages
Additionally don't try to build or install the translated man pages if
po4a wasn't found or doesn't work.

See #1865.
2017-01-25 21:19:10 +01:00
Moritz Bunkus
54470ead44 Rakefile: optional support for building with clang's address sanitizer 2017-01-13 17:12:12 +01:00
Moritz Bunkus
d21741253c Rakefile: enable parallel builds with rake 10.1.0 or newer
rake 10.1.0, which is part of Ruby v2.1.x, can do parallel builds, too,
and supports the same option -j that drake does. And it even defaults to
"number of cores + 1".

However, the tasks that can be executed in parallel have to be set up
with "multitask" instead of "task". There is an option to enable
parallel processing for all tasks defined as "tasks", though, and the
commit enables this option.
2017-01-07 16:52:48 +01:00
Moritz Bunkus
8261d09ca1 Rakefile: fix building with rake v12.0.0 (part of Ruby 2.4.0)
Fixes #1851.
2017-01-07 16:29:15 +01:00