head 1.3; access; symbols pkgsrc-2026Q1:1.3.0.22 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.20 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.18 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.16 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.14 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.12 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.10 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.8 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.3.0.6 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.4 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.2 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.2.0.26 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.24 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.22 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.20 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.18 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.16 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.14 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.12 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.10 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.8 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.6 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.4 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.2 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.1.0.10 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.12 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.8 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.6 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.4 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.2 pkgsrc-2018Q4-base:1.1; locks; strict; comment @// @; 1.3 date 2023.07.04.09.21.56; author adam; state Exp; branches; next 1.2; commitid LiZlMrUe5qieXsvE; 1.2 date 2020.05.31.11.34.15; author adam; state Exp; branches; next 1.1; commitid fXCBqGLRwrNgYnaC; 1.1 date 2018.12.03.12.15.03; author jperkin; state Exp; branches; next ; commitid mFUnWp2fTdQYIl2B; desc @@ 1.3 log @mkvtoolnix: updated to 78.0 Version 78.0 "Running" 2023-07-02 New features and enhancements * MKVToolNix GUI: header editor: for files that only contain legacy track language elements but no IETF language elements the header editor will now derive the IETF language elements from the legacy elements. * AppImage: the AppImage is now built on AlmaLinux 8 with Qt 6.5.1. This means that the minimum glibc version this AppImage is compatible with has also been bumped, to v2.28. The oldest Debian coming with this version is Debian 10 "Buster"; for Ubuntu it's 18.10 "Cosmic Cuttlefish". * Windows installer: the installer will now remove the file `data\portable-app` if it's present in the installation directory as its presence would signal to the app to run in portable mode, requiring write access to its base directory. This fixes some installation issues that could occur when a user extracted a portable app archive into a folder like `C:\Program Files\MKVToolNix`. Also added an installation check for the same issue. Bug fixes * all: Linux: if initializing the locale system based on the system's settings fails, e.g. if environment variables such as `LC_ALL` have been set to `fr_FR.UTF-8` but the locale for `fr_FR.UTF-8` hasn't been built, MKVToolNix will try to fall back to `en_US.UTF-8` first & `C.UTF-8` second. If neither of the three succeeds, an error message will be shown, and the program will abort. This fixes the programs not catching an exception from the `boost::filesystem` library which doesn't cope with mis-configured locale systems well. * mkvmerge: sorting tracks by type did not work properly when some tracks weren't copied. * mkvmerge: track numbers in the destination file were assigned out-of-order when the track order in the source files differs from the one in the destination file. Now they're assigned sequentially in the order the tracks appear in the destination file again. * MKVToolNix GUI: under certain circumstances the GUI would try to display error messages from a secondary thread, which isn't allowed in Qt, causing to program to either hang or outright crash. * MKVToolNix GUI: the GUI will check for several potential installation issues wrt. to having write access to certain directories (system's temporary directory, MKVToolNix's file identification cache directory and others) & display proper error messages if not. * MKVToolNix GUI: header editor: fixed the application crashing whenever you change a property below the "segment information" node. This bug was introduced in v77. * MKVToolNix GUI: header editor: when reading files that only contain legacy track language elements but no IETF track language elements, the header editor was showing all tracks as having "English" as the language. This bug was introduced in v77. * MKVToolNix GUI: header editor: when a legacy track language element contains a country code (e.g. `fr-CA`), the header editor was wrongfully using `und` = "undetermined" as the language for that element. Now it'll use the language from the language/country pair, which would be `fr` in the earlier example. * MKVToolNix GUI: header editor: the keyboard shortcuts from the "modify selected track" sub-menu didn't work right after opening a file. They only started working after opening the "header editor" menu. * AppImage: fixed the GUI resources (e.g. icons) not being found. * AppImage: the Qt plugins required for using compose key/dead keys are now included. Build system changes * The compilation database (`compile_commands.json`) is now always built. The variable `BUILD_COMPILATION_DATABASE` is not evaluated anymore. @ text @$NetBSD: patch-src_common_locale.cpp,v 1.2 2020/05/31 11:34:15 adam Exp $ Remove broken SunOS section that is no longer needed. https://gitlab.com/mbunkus/mkvtoolnix/issues/2450 --- src/common/locale.cpp.orig 2023-07-02 20:02:55.000000000 +0000 +++ src/common/locale.cpp @@@@ -286,12 +286,6 @@@@ get_local_charset() { #if defined(COMP_MINGW) || defined(COMP_MSC) lc_charset = fmt::format("CP{0}", GetACP()); -#elif defined(SYS_SOLARIS) - int i; - - lc_charset = nl_langinfo(CODESET); - if (mtx::string::parse_number(lc_charset, i)) - lc_charset = "ISO"s + lc_charset + "-US"s; #elif HAVE_NL_LANGINFO lc_charset = nl_langinfo(CODESET); #elif HAVE_LOCALE_CHARSET @ 1.2 log @mkvtoolnix: updated to 47.0.0 Version 47.0.0 "Black Flag" New features and enhancements * mkvmerge: chapters: mkvmerge can now read chapters from DVDs if the user specifies the path to a DVD folder structure via the `--chapters …` parameter. By default chapters from the first title will be imported. This can be changed by append `:` to the file/directory name in the `--chapters …` argument, e.g. `--chapters /srv/dvds/BigBuckBunny/VIDEO_TS:3` This feature requires mkvmerge to have been built with the `libdvdread` library. * mkvmerge: added `--engage append_and_split_flac` that enables mkvmerge to append and split FLAC tracks, restoring pre-v45 behavior. The resulting tracks will be broken: the official FLAC tools will not be able to decode them and seeking will not work as expected. * MKVToolNix GUI: multiplexer: added support for mkvmerge's new support for reading chapters from DVDs if both have been built with the `libdvdread` library. * MKVToolNix GUI: multiplexer: when deriving languages from file names the GUI will now look for simplified language names instead of the full ones (e.g. instead of looking for "Greek, Modern (1453-)" it would simply look for "Greek"). * MKVToolNix GUI: multiplexer: the options in the "additional command-line options" dialog are now sorted alphabetically. Additionally the `--append-mode` option has been added as one of the only missing global options. * MKVToolNix GUI: chapter editor: the chapter editor can now read chapters from DVDs if MKVToolNix has been build with the `libdvdread` library. * MKVToolNix GUI: header editor: added an option in the preferences for displaying all date & time values in UTC instead of the local time zone. Bug fixes * all: fixed a crash when using the `MTX_LOGGER=file` syntax for logging debug messages without specifying a file name to log to. It will now log to a file called `mkvtoolnix-debug.log` in the system's default temporary directory, as initially intended. Build system changes * The [`libdvdread`](https://www.videolan.org/developers/libdvdnav.html) library will be used if found via `pkg-config`. If it is found, support for reading chapters from DVDs will be enabled in `mkvmerge` and the MKVToolNix GUI. * Boost's Date/Time, Lexical Cast, Range, Range Adaptors, Tri-Bool, Variant libraries are not used anymore. * MKVToolNix now requires a C++ compiler & standard library that support the following features of the C++17 standard: "`std::variant`", "`std::gcd`". For the GNU Compiler Collection (gcc) this means v7 or newer; for clang it means v4 or newer — the same versions required by earlier MKVToolNix versions. * MKVToolNix now requires version 6.1.0 of fmtlib or later for the `fmt::to_string` function and bugfixes to the formatting of floating point numbers. If a system-wide version is installed that's older, the bundled copy will be used. * The bundled version of fmtlib has been updated to release 6.2.1. @ text @d1 1 a1 1 $NetBSD: patch-src_common_locale.cpp,v 1.1 2018/12/03 12:15:03 jperkin Exp $ d6 1 a6 1 --- src/common/locale.cpp.orig 2020-05-31 10:56:36.000000000 +0000 d8 2 a9 2 @@@@ -283,12 +283,6 @@@@ get_local_charset() { setlocale(LC_CTYPE, ""); @ 1.1 log @mkvtoolnix: Fix runtime crash on SunOS. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ d6 1 a6 1 --- src/common/locale.cpp.orig 2018-12-01 11:15:36.000000000 +0000 d8 1 a8 1 @@@@ -292,12 +292,6 @@@@ get_local_charset() { d11 1 a11 1 lc_charset = "CP" + to_string(GetACP()); d16 1 a16 1 - if (parse_number(lc_charset, i)) @