mkvtoolnix: updated to 33.1.0 Version 33.1.0 "Primrose" Bug fixes * MKVToolNix GUI: multiplexer: Windows: using UNC paths (e.g. \\server\Videos) when the option "automatically set the destination file name" was set in the preferences, the GUI would create a destination file name with forward slashes (e.g. //server/Videos/outputfile.mkv), a syntax not supported by mkvmerge. * build system: the programs were accidentally built without stack protection (-fstack-protector-strong) on recent versions of gcc and clang. Version 33.0.0 "A Little Bit of Madness" Bug fixes * mkvinfo: when using the --size option, mkvinfo will now report the correctly if an element has an unknown size. * MKVToolNix GUI: info tool: clusters with an unknown size will now be read and displayed correctly. * MKVToolNix GUI: multiplexer: Windows: trying to open Blu-ray index or playlist files failed when the path to the files contained symbolic links (e.g. when mounting a drive in a sub-folder via Windows' disk management utility). * MKVToolNix GUI: multiplexer: if a destination file names ends with a number in parenthesis (e.g. a year such as "(2017)"), that number will not be stripped anymore during the process of ensuring the destination file name is unique. Only those suffixes added automatically in prior attempts to make the file name unique will be removed. * MKVToolNix GUI: multiplexer: Windows: the GUI will let the user change the drive letter part of the destination file name freely again and only verify its validity right before starting to mux/adding to the job queue. Before it tried to force that into something valid, often resulting in unintentional paths (such as "C:\users\…\DC\files\…").diff -r1.128 -r1.129 pkgsrc/multimedia/mkvtoolnix/Makefile
(adam)
@@ -1,17 +1,16 @@ | @@ -1,17 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.128 2019/04/03 00:32:55 ryoon Exp $ | 1 | # $NetBSD: Makefile,v 1.129 2019/04/16 07:21:49 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= mkvtoolnix-32.0.0 | 3 | DISTNAME= mkvtoolnix-33.1.0 | |
4 | PKGREVISION= 1 | |||
5 | CATEGORIES= multimedia | 4 | CATEGORIES= multimedia | |
6 | MASTER_SITES= https://mkvtoolnix.download/sources/ | 5 | MASTER_SITES= https://mkvtoolnix.download/sources/ | |
7 | EXTRACT_SUFX= .tar.xz | 6 | EXTRACT_SUFX= .tar.xz | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://mkvtoolnix.download/ | 9 | HOMEPAGE= https://mkvtoolnix.download/ | |
11 | COMMENT= Set of tools to create, alter and inspect Matroska files | 10 | COMMENT= Set of tools to create, alter and inspect Matroska files | |
12 | LICENSE= gnu-gpl-v2 | 11 | LICENSE= gnu-gpl-v2 | |
13 | 12 | |||
14 | BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl | 13 | BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl | |
15 | BUILD_DEPENDS+= po4a-[0-9]*:../../textproc/po4a | 14 | BUILD_DEPENDS+= po4a-[0-9]*:../../textproc/po4a | |
16 | BUILD_DEPENDS+= ${RUBY_BASE}>=${RUBY_VERSION}:${RUBY_SRCDIR} | 15 | BUILD_DEPENDS+= ${RUBY_BASE}>=${RUBY_VERSION}:${RUBY_SRCDIR} | |
17 | 16 |
@@ -1,8 +1,8 @@ | @@ -1,8 +1,8 @@ | |||
1 | $NetBSD: distinfo,v 1.64 2019/03/13 17:36:26 adam Exp $ | 1 | $NetBSD: distinfo,v 1.65 2019/04/16 07:21:49 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (mkvtoolnix-32.0.0.tar.xz) = 17334cb0d4c7b5e93667dd956ed1c0eefc30b75c | 3 | SHA1 (mkvtoolnix-33.1.0.tar.xz) = 14ad66fb74050593c221a7a9d5ad048b1c48fab0 | |
4 | RMD160 (mkvtoolnix-32.0.0.tar.xz) = 4c8302cf3d00389bf1f7470ddae13a874a3f95c2 | 4 | RMD160 (mkvtoolnix-33.1.0.tar.xz) = fbe2b6f55e69b081f0dd27bf860f0580a457e57d | |
5 | SHA512 (mkvtoolnix-32.0.0.tar.xz) = a209360fcad3164ebf127b7a54542b2b791318cef1ac8acbb24e64458bd9fe693ea6fa2b44b6e85504decab9668296637d9d4ce706effcf6a9f0d7bdea64793a | 5 | SHA512 (mkvtoolnix-33.1.0.tar.xz) = 40023a1d2c1c27fd5f490ec017852304442bee2c2ae2d62cf042c3fba56652ed7489a2b0ad9d5dd0fa57eb0af99a49a936666d85836f57cb9417868356874a83 | |
6 | Size (mkvtoolnix-32.0.0.tar.xz) = 7282928 bytes | 6 | Size (mkvtoolnix-33.1.0.tar.xz) = 7286068 bytes | |
7 | SHA1 (patch-Rakefile) = 7dd13c59dd891d4736e47e8fa83c245ccf97223c | 7 | SHA1 (patch-Rakefile) = b9404cfd3121e962a60bad86668c1160511a8b0f | |
8 | SHA1 (patch-src_common_locale.cpp) = 46ba293fb0dee8af0e6e6fbe17c725a509101109 | 8 | SHA1 (patch-src_common_locale.cpp) = 46ba293fb0dee8af0e6e6fbe17c725a509101109 |
@@ -1,15 +1,22 @@ | @@ -1,15 +1,22 @@ | |||
1 | $NetBSD: patch-Rakefile,v 1.3 2019/03/13 17:36:26 adam Exp $ | 1 | $NetBSD: patch-Rakefile,v 1.4 2019/04/16 07:21:49 adam Exp $ | |
2 | 2 | |||
3 | Leave pkgsrc to handle security features. | 3 | Leave pkgsrc to handle security features. | |
4 | 4 | |||
5 | --- Rakefile.orig 2019-03-12 21:12:17.000000000 +0000 | 5 | --- Rakefile.orig 2019-04-14 22:05:01.000000000 +0000 | |
6 | +++ Rakefile | 6 | +++ Rakefile | |
7 | @@ -151,8 +151,6 @@ def setup_globals | 7 | @@ -130,7 +130,6 @@ def setup_globals | |
8 | cxxflags += " -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression" if is_clang? | 8 | cflags_common += " #{c(:WNO_INCONSISTENT_MISSING_OVERRIDE)} #{c(:WNO_POTENTIALLY_EVALUATED_EXPRESSION)}" | |
9 | cxxflags += " -Wmisleading-indentation -Wduplicated-cond" if check_compiler_version("gcc", "6.0.0") | 9 | cflags_common += " #{c(:OPTIMIZATION_CFLAGS)} -D_FILE_OFFSET_BITS=64" | |
10 | cxxflags += " -Wshadow-compatible-local -Wduplicated-branches" if check_compiler_version("gcc", "7.0.0") | 10 | cflags_common += " -DMTX_LOCALE_DIR=\\\"#{c(:localedir)}\\\" -DMTX_PKG_DATA_DIR=\\\"#{c(:pkgdatadir)}\\\" -DMTX_DOC_DIR=\\\"#{c(:docdir)}\\\"" | |
11 | - cxxflags += " -fstack-protector" if is_gcc? && !check_compiler_version("gcc", "4.9.0") | 11 | - cflags_common += stack_protector | |
12 | - cxxflags += " -fstack-protector-strong" if check_compiler_version("gcc", "4.9.0") && check_compiler_version("clang", "3.5.0") | 12 | cflags_common += " -fsanitize=undefined" if c?(:UBSAN) | |
13 | cflags_common += " -fsanitize=address -fno-omit-frame-pointer" if c?(:ADDRSAN) | |||
14 | cflags_common += " -Ilib/libebml -Ilib/libmatroska" if c?(:EBML_MATROSKA_INTERNAL) | |||
15 | @@ -158,7 +157,6 @@ def setup_globals | |||
13 | cxxflags += " #{c(:QT_CFLAGS)} #{c(:BOOST_CPPFLAGS)} #{c(:USER_CXXFLAGS)}" | 16 | cxxflags += " #{c(:QT_CFLAGS)} #{c(:BOOST_CPPFLAGS)} #{c(:USER_CXXFLAGS)}" | |
14 | 17 | |||
15 | ldflags = "" | 18 | ldflags = "" | |
19 | - ldflags += stack_protector | |||
20 | ldflags += " -fuse-ld=lld" if is_clang? && !c(:LLVM_LLD).empty? | |||
21 | ldflags += " -Llib/libebml/src -Llib/libmatroska/src" if c?(:EBML_MATROSKA_INTERNAL) | |||
22 | ldflags += " -Llib/fmt/src" if c?(:FMT_INTERNAL) |