Commit Graph

212 Commits

Author SHA1 Message Date
Moritz Bunkus
3a8acead8d build system: only use -O2 with 32bit mingw cross compilers
Recent versions of the MXE mingw cross compilers produce stack-smashing
binaries with -O3 for some of the tools.
2015-10-22 11:36:42 +02:00
Moritz Bunkus
004585c79f build system: require libEBML 1.3.3, libMatroska 1.4.4 2015-10-20 16:13:14 +02:00
Moritz Bunkus
20e26c840b build system: remove option --without-mkvtoolnix-gui 2015-08-15 20:33:46 +02:00
Moritz Bunkus
64465ce72b all: remove support for wxWidgets; remove mmg 2015-08-15 20:33:46 +02:00
Moritz Bunkus
c14a01aed6 build system: Qt: only look for platform plugin for static Qt 2015-08-15 14:06:11 +02:00
Moritz Bunkus
943ee96fc9 build system: Qt: don't assume GNU sed
\(…\) seems to be a GNU extension to sed, and MacOS uses BSD sed which
doesn't support it.
2015-08-15 14:06:07 +02:00
Moritz Bunkus
94eb9af366 build system: enable gcc's stack protection
Implements #1370.
2015-08-11 15:02:58 +02:00
Moritz Bunkus
8683e553f3 build system: update Boost configure macros from www.gnu.org
Those new versions seem to improve support for more basic shells like
dash.
2015-08-09 21:04:04 +02:00
Moritz Bunkus
f8e00b68be build system: add configure option for disabling libmagic 2015-07-21 16:42:07 +02:00
Moritz Bunkus
0c06672722 build system: fix Qt platform plugin directory detection
-L can occur multiple times in $QT_LIBS; replace all occurrences.
2015-07-21 10:58:50 +02:00
Moritz Bunkus
9042b3ebf8 GUI: show progress in Windows on task bar button
Implements #1335.
2015-07-04 18:21:26 +02:00
Moritz Bunkus
a7c84f4104 build system: check for the Qt5Network module 2015-06-22 22:02:42 +02:00
Moritz Bunkus
fef12cc386 build system: test for -std=gnu++14/-std=gnu++11 as well
For clang using gnu++14/11 results in a dummy type being defined for
__float128. That, in turn, allows compilation with unmodified libstdc++
and clang.
2015-06-06 11:18:00 +02:00
Moritz Bunkus
479f5d3670 build system: build Qt translation files on MingW 2015-06-03 20:06:34 +02:00
Moritz Bunkus
3b8458f38d build system: compile without maybe-uninitialized warnings for gcc
See e.g.
http://stackoverflow.com/questions/21755206/how-to-get-around-gcc-void-b-4-may-be-used-uninitialized-in-this-funct
2015-05-23 19:45:35 +02:00
Moritz Bunkus
0ea55b2956 configure: don't abort if moc/uic/rcc is not found 2015-05-10 10:43:32 +02:00
Moritz Bunkus
2a57cb4cb0 configure: remove duplicate pkg-config module 2015-05-09 21:46:15 +02:00
Moritz Bunkus
14ff0d12d1 configure: fix Qt test for certain versions 2015-05-09 18:44:03 +02:00
Moritz Bunkus
be6d290129 configure: enable Qt-based GUIs by default 2015-05-09 17:01:25 +02:00
Moritz Bunkus
0046805360 build system: require at least Qt 5.2.0 2015-05-09 16:24:07 +02:00
Moritz Bunkus
f76088d561 configure: don't require Qt5PlatforumSupport to be available 2015-05-09 10:20:57 +02:00
Moritz Bunkus
5ca23b0cdb Qt UIs: only link static platform plugins if building against static Qt 2015-05-01 08:50:48 +02:00
Moritz Bunkus
cbdef0301a configure: try to detect zlib simply via -lz if no pkg-config module installed for it
This can happen e.g. on Mac OS.
2015-04-29 21:50:47 +02:00
Moritz Bunkus
86ee6ce6a9 build system: auto-detect curl-config/wx-config with host prefix 2015-04-28 23:38:20 +02:00
Moritz Bunkus
3d4ebe7d07 build system: prefer curl-config over pkg-config for cflags/libs
On Mac OS »pkg-config --libs libcurl« doesn't output all the required
libraries for some reason (e.g. no »-lssl«). »curl-config --libs« does,
though. So prefer that if it's present and fall back to using pkg-config
otherwise.
2015-04-28 22:31:38 +02:00
Moritz Bunkus
afb6472d6d build system: use correct order for linker flags for internal libEBML/libMatroska
Should fix #1177.
2015-04-28 13:55:10 +02:00
Moritz Bunkus
d3d68641fd version info: remove build time stamp 2015-04-22 12:56:10 +02:00
Moritz Bunkus
093a894fb2 build system: add switches for linking against a static Qt 2015-04-19 19:55:20 +02:00
Moritz Bunkus
728fb0a307 GUI, mkvinfo GUI: link against Cocoa platform plugin on Mac OS 2015-04-19 19:53:12 +02:00
Dominik 'Rathann' Mierzejewski
b4ca4862b4 make system utf8cpp check more robust
Check if utf8to32() and utf32to8() methods are available.
2015-04-02 23:05:01 +02:00
Dominik 'Rathann' Mierzejewski
fcd92036b4 build system: use system version of UTF8-CPP if present 2015-03-31 01:35:23 +02:00
Moritz Bunkus
30a18e07ba rounding: use std::llround() instead of boost::math::llround()
See #1150.
2015-03-28 16:31:09 +01:00
Moritz Bunkus
c2a74a8ebe build system: don't build tools by default but provide configure option 2015-03-25 20:21:59 +01:00
Moritz Bunkus
2fcc79b00c build system: check for and turn off some new warnings from clang++ 3.6
These warnings include -Winconsistent-missing-override and
-Wpotentially-evaluated-expression which are both triggered by code out
of my control (Qt and wxWidgets).
2015-03-25 17:51:30 +01:00
Moritz Bunkus
f3be86478f build system: fix setting USE_CLANG when cache files are used 2015-03-25 17:25:25 +01:00
Moritz Bunkus
baeb11a4a0 math common: remove irnd() in favor of Boost's roundll() 2015-03-25 17:18:20 +01:00
Moritz Bunkus
a2456c1bb6 build system: don't test for -std=c++1y
This won't do what I think it does with clang 3.3: it doesn't seem to
turn on the C++11 features.
2015-03-25 12:20:32 +01:00
Moritz Bunkus
8f7a5b73b1 refactoring: test, fallback impl. for std::make_unique and use it 2015-03-24 21:43:48 +01:00
Moritz Bunkus
4f116a93b5 build system: test for -std=c++14 2015-03-24 17:04:35 +01:00
Moritz Bunkus
e41c70f1e3 refactoring: prefer alias declarations to typedefs 2015-03-24 16:31:52 +01:00
Anthony Violo
b5fd9b0fc0 Remove pthread option, because is not necessary to generate static application 2015-02-23 16:37:17 +01:00
Florent Thiéry
b00eeac099 rename STATIC_LIBS by LINK_STATICALLY because it was misleading 2015-02-19 13:36:40 +01:00
Florent Thiéry
a77e1e3677 fix --enable-static opt_features description 2015-02-19 13:34:44 +01:00
Florent Thiéry
113ffc5447 fix --enable-static flag description 2015-02-19 13:33:06 +01:00
Anthony Violo
1e6b546cd1 Added option to compile static binaries 2015-02-18 11:44:45 +01:00
Moritz Bunkus
b41bd6fd9d configure: be more explicit about which optimizations are enabled 2015-02-12 13:34:38 +01:00
Moritz Bunkus
f7eb73a546 build system: check for checked-out copies of libEBML/libMatroska 2014-12-21 11:19:06 +01:00
Moritz Bunkus
b47ae1ee4b build system: use libEBML/libMatroska via pkg-config 2014-12-21 10:50:26 +01:00
Moritz Bunkus
0c8a8392cf build system: require libMatroska v1.4.2
See #1096.
2014-12-19 14:03:11 +01:00
Moritz Bunkus
6f86568a27 build system: require libEBML 1.3.1
Together with 563be4d and 8415af3 the changes in libEBML 1.3.1 address
the problems in #1089. Therefore: fixes #1089.
2014-12-19 00:32:00 +01:00