Commit Graph

33 Commits

Author SHA1 Message Date
Moritz Bunkus
b57f01b297
remove compatibility code wrt. presence of FindNextChild in libEBML
The version number requirement/check suffices.
2021-02-22 16:53:49 +01:00
Moritz Bunkus
77c5262da3
build system: require libEBML v1.4.2 2021-02-18 12:57:02 +01:00
Moritz Bunkus
eccff4a9cb
build system: require libMatroska 1.6.3 2021-01-31 19:46:49 +01:00
Moritz Bunkus
49be444a61
build system: require libEBML v1.4.1 or newer
libEBML < v1.4.1 contains a bug that leads to use-after-free access in
all of MKVToolNix's programs.

Part of the fix of #2989.
2021-01-04 17:08:59 +01:00
Moritz Bunkus
91579569b5
build system: require libMatroska v1.6.1 2020-08-02 14:08:17 +02:00
Moritz Bunkus
28608963d3
require libEBML 1.4.0, libMatroska 1.6.0 2020-06-22 12:47:37 +02:00
Moritz Bunkus
598fe5e69e
configure: fix detection of libebml::FindNextChild
The internal libEBML was updated to v1.3.9. That version contains
changes to cmake to build an additional header file, ebml_export.h. In
MKVToolNix, which isn't cmake-based, that file has to be created
manually, and the Rakefile does so.

However, when configure runs the file doesn't exist yet. This means
that any attempt to compile a test program with the internal libebml
will fail due to the header not being found. configure's compilation
checks will therefore fail.

For the detection of libebml::FindNextChild doing a compilation check
against the internal libebml isn't really needed as we know that the
version does include it. So just hardcode that knowledge and avoid the
compilation check.
2019-05-25 17:48:24 +02:00
Moritz Bunkus
218a6d71b4
build system: require libMatroska 1.5.0 2019-03-12 21:02:44 +01:00
Moritz Bunkus
82b8b1ba86
build system: require libEBML v1.3.7
This pulls the fixes for handling Unicode code points >
U+FFFF.

Part of the fix of #2516.
2019-03-06 22:41:03 +01:00
Moritz Bunkus
2e238ed122 configure: require libMatroska v1.4.8
That version fixes writing block groups and simple blocks for tracks
with track number 128 (see #2103).

Also adds a test case for writing 130 tracks.
2017-09-25 20:27:25 +02:00
Moritz Bunkus
493cda8dd1 configure, README, NEWS: fix requirements for libEBML and libMatroska
Fixes #2088.
2017-09-01 09:39:28 +02:00
Moritz Bunkus
c262de4888 configure: require libEBML v1.3.5
libEBML v1.3.5 contains the following change:

------------------------------------------------------------
EbmlMaster::CheckMandatory: only fail for default-value-less mandatory elements

The function EbmlMaster::CheckMandatory() will now only return false
if a mandatory element is missing for which there's no default value
in the specifications. This means that callers such as
EbmlMaster::UpdateSize() and by extension EbmlMaster::Render() will
not insist on all mandatory elements being present anymore, but only
those for which there's no default value.
------------------------------------------------------------

This allows mkvmerge, mkvpropedit and the GUI's header editor to only
actually add those elements that have to be added to a master before
writing it to the file. Adding e.g. the TrackLanguage element isn't
necessary anymore if should be set to "eng" anyway as "eng" is its
default value. Before the change libEBML was insisting on it being
present in the "TrackEntry" master, though, no matter what it was set
to.
2017-08-12 10:51:33 +02:00
Moritz Bunkus
7c6e16b436 configure: EBML FindNextChild check: cached variable names must contain _cv_ 2017-08-06 15:52:18 +02:00
Moritz Bunkus
5904da93bf all: libEBML now contains FindNextChild; use that if present 2017-08-06 13:54:49 +02:00
Moritz Bunkus
6d85fbc046 build system: require libEBML v1.3.4, libMatroska v1.4.5 2016-07-13 18:39:12 +02:00
Moritz Bunkus
d867a79d97 build system: use {EBML,MATROSKA}_{CFLAGS,LIBS} from pkg-config if not internal 2015-11-21 11:56:27 +01: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
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
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
a03ab1e3e4 Update libMatroska to 82a7b7c (pre 1.4.1) and require 1.4.1 2013-07-02 22:33:50 +02:00
Moritz Bunkus
6fae39971c Require libmatroska 1.4.0 2012-09-26 16:45:40 +02:00
Moritz Bunkus
db7855993f Test for existence of files in lib/lib{ebml,matroska} if internal libs are used 2012-09-21 11:52:37 +02:00
Moritz Bunkus
abcc50f2b4 Fix linking if configure --cache-file is used twice 2012-04-24 19:55:43 +02:00
Moritz Bunkus
639498ab76 Remove the ability to build "libmtxcommon" as a DLL
This feature has literally not been tested by me in years.
2011-11-05 22:19:41 +01:00
Moritz Bunkus
b26ee8840a Depend on libEBML 1.2.2 and libMatroska 1.3.0 2011-09-24 11:50:34 +02:00
Moritz Bunkus
868edce381 Put lib/lib{ebml,matroska} first in include/library paths during compilation if internal libs are to be used 2011-02-06 12:54:56 +01:00
Moritz Bunkus
43367e447a Move libmatroska DLL test in correct if branch 2011-01-31 12:51:15 +01:00
Moritz Bunkus
da0e382cf7 Only use the internal versions of libebml & libmatroska if the system libs are too old 2011-01-31 11:52:07 +01:00
Moritz Bunkus
f5952606bc Require libebml 1.0.0 & libmatroska 1.0.0 2010-06-05 13:38:56 +02:00
Moritz Bunkus
be0f4fac9e Require libebml 0.8.0 and libmatroska 0.9.0. 2010-05-09 17:36:23 +02:00
Moritz Bunkus
fed3d09de4 Split configure.in in several smaller files. 2008-08-27 20:38:55 +00:00