pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/multimedia/mkvtoolnix



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Jul  4 09:21:56 UTC 2023

Modified Files:
        pkgsrc/multimedia/mkvtoolnix: Makefile PLIST distinfo
        pkgsrc/multimedia/mkvtoolnix/patches: patch-src_common_locale.cpp

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.219 -r1.220 pkgsrc/multimedia/mkvtoolnix/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/multimedia/mkvtoolnix/PLIST
cvs rdiff -u -r1.114 -r1.115 pkgsrc/multimedia/mkvtoolnix/distinfo
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/multimedia/mkvtoolnix/patches/patch-src_common_locale.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/mkvtoolnix/Makefile
diff -u pkgsrc/multimedia/mkvtoolnix/Makefile:1.219 pkgsrc/multimedia/mkvtoolnix/Makefile:1.220
--- pkgsrc/multimedia/mkvtoolnix/Makefile:1.219 Tue Jun  6 12:42:02 2023
+++ pkgsrc/multimedia/mkvtoolnix/Makefile       Tue Jul  4 09:21:55 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.219 2023/06/06 12:42:02 riastradh Exp $
+# $NetBSD: Makefile,v 1.220 2023/07/04 09:21:55 adam Exp $
 
-DISTNAME=      mkvtoolnix-77.0
+DISTNAME=      mkvtoolnix-78.0
 CATEGORIES=    multimedia
 MASTER_SITES=  https://mkvtoolnix.download/sources/
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/multimedia/mkvtoolnix/PLIST
diff -u pkgsrc/multimedia/mkvtoolnix/PLIST:1.16 pkgsrc/multimedia/mkvtoolnix/PLIST:1.17
--- pkgsrc/multimedia/mkvtoolnix/PLIST:1.16     Tue Jun  6 07:04:38 2023
+++ pkgsrc/multimedia/mkvtoolnix/PLIST  Tue Jul  4 09:21:55 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2023/06/06 07:04:38 adam Exp $
+@comment $NetBSD: PLIST,v 1.17 2023/07/04 09:21:55 adam Exp $
 bin/mkvextract
 bin/mkvinfo
 bin/mkvmerge
@@ -120,31 +120,6 @@ ${PLIST.gui}share/icons/hicolor/96x96/ap
 ${PLIST.gui}share/icons/hicolor/96x96/apps/mkvmerge.png
 ${PLIST.gui}share/icons/hicolor/96x96/apps/mkvpropedit.png
 ${PLIST.gui}share/icons/hicolor/96x96/apps/mkvtoolnix-gui.png
-share/locale/bg/LC_MESSAGES/mkvtoolnix.mo
-share/locale/ca/LC_MESSAGES/mkvtoolnix.mo
-share/locale/cs/LC_MESSAGES/mkvtoolnix.mo
-share/locale/de/LC_MESSAGES/mkvtoolnix.mo
-share/locale/es/LC_MESSAGES/mkvtoolnix.mo
-share/locale/eu/LC_MESSAGES/mkvtoolnix.mo
-share/locale/fr/LC_MESSAGES/mkvtoolnix.mo
-share/locale/it/LC_MESSAGES/mkvtoolnix.mo
-share/locale/ja/LC_MESSAGES/mkvtoolnix.mo
-share/locale/ko/LC_MESSAGES/mkvtoolnix.mo
-share/locale/lt/LC_MESSAGES/mkvtoolnix.mo
-share/locale/nl/LC_MESSAGES/mkvtoolnix.mo
-share/locale/pl/LC_MESSAGES/mkvtoolnix.mo
-share/locale/pt/LC_MESSAGES/mkvtoolnix.mo
-share/locale/pt_BR/LC_MESSAGES/mkvtoolnix.mo
-share/locale/ro/LC_MESSAGES/mkvtoolnix.mo
-share/locale/ru/LC_MESSAGES/mkvtoolnix.mo
-share/locale/sr_RS/LC_MESSAGES/mkvtoolnix.mo
-share/locale/sr_RS@latin/LC_MESSAGES/mkvtoolnix.mo
-share/locale/sv/LC_MESSAGES/mkvtoolnix.mo
-share/locale/tr/LC_MESSAGES/mkvtoolnix.mo
-share/locale/uk/LC_MESSAGES/mkvtoolnix.mo
-share/locale/zh_CN/LC_MESSAGES/mkvtoolnix.mo
-share/locale/zh_SG/LC_MESSAGES/mkvtoolnix.mo
-share/locale/zh_TW/LC_MESSAGES/mkvtoolnix.mo
 ${PLIST.gui}share/metainfo/org.bunkus.mkvtoolnix-gui.appdata.xml
 ${PLIST.gui}share/mime/packages/org.bunkus.mkvtoolnix-gui.xml
 ${PLIST.gui}share/mkvtoolnix/qt_resources.rcc

Index: pkgsrc/multimedia/mkvtoolnix/distinfo
diff -u pkgsrc/multimedia/mkvtoolnix/distinfo:1.114 pkgsrc/multimedia/mkvtoolnix/distinfo:1.115
--- pkgsrc/multimedia/mkvtoolnix/distinfo:1.114 Tue Jun  6 07:04:38 2023
+++ pkgsrc/multimedia/mkvtoolnix/distinfo       Tue Jul  4 09:21:55 2023
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.114 2023/06/06 07:04:38 adam Exp $
+$NetBSD: distinfo,v 1.115 2023/07/04 09:21:55 adam Exp $
 
-BLAKE2s (mkvtoolnix-77.0.tar.xz) = 9e6ee1526ff49d0e59eda4c66dc8c08b1c436a502f291812e45b3d467d32ce61
-SHA512 (mkvtoolnix-77.0.tar.xz) = b310077cfaddef3163c732943f1aaf7e63fb9f7efb19fdb27a35e2d0ad92dfc4536ea29366b44745f3f918703b02e2d52edb63369c23540df1312f3d54c06bb0
-Size (mkvtoolnix-77.0.tar.xz) = 11044004 bytes
+BLAKE2s (mkvtoolnix-78.0.tar.xz) = 1e096196a8ba9fff76a8f7fce5303fd3435437c6e4903e0cfe5029bcd903ced1
+SHA512 (mkvtoolnix-78.0.tar.xz) = 4bb32a1a531257aec0250bad27835a1c11b2e5e91bc5a9f0e54bfd2fa12108a40449b60fa4bd17f9a770837bf092be8f9bb0b837042807c83ab8bb9296f63832
+Size (mkvtoolnix-78.0.tar.xz) = 11047092 bytes
 SHA1 (patch-Rakefile) = 08dbf4a4968008ff258a66e71aa2bddc61c04af6
 SHA1 (patch-configure) = 22769c823b9558c86173b26e2c7d621b59d5a357
-SHA1 (patch-src_common_locale.cpp) = 2f3113c8c9171b87a421df447f6c421b1e4dc7e0
+SHA1 (patch-src_common_locale.cpp) = 0c76a67c1ba65336e2d98d8e62cfc9624df9d223

Index: pkgsrc/multimedia/mkvtoolnix/patches/patch-src_common_locale.cpp
diff -u pkgsrc/multimedia/mkvtoolnix/patches/patch-src_common_locale.cpp:1.2 pkgsrc/multimedia/mkvtoolnix/patches/patch-src_common_locale.cpp:1.3
--- pkgsrc/multimedia/mkvtoolnix/patches/patch-src_common_locale.cpp:1.2        Sun May 31 11:34:15 2020
+++ pkgsrc/multimedia/mkvtoolnix/patches/patch-src_common_locale.cpp    Tue Jul  4 09:21:56 2023
@@ -1,12 +1,12 @@
-$NetBSD: patch-src_common_locale.cpp,v 1.2 2020/05/31 11:34:15 adam Exp $
+$NetBSD: patch-src_common_locale.cpp,v 1.3 2023/07/04 09:21:56 adam Exp $
 
 Remove broken SunOS section that is no longer needed.
 https://gitlab.com/mbunkus/mkvtoolnix/issues/2450
 
---- src/common/locale.cpp.orig 2020-05-31 10:56:36.000000000 +0000
+--- src/common/locale.cpp.orig 2023-07-02 20:02:55.000000000 +0000
 +++ src/common/locale.cpp
-@@ -283,12 +283,6 @@ get_local_charset() {
-   setlocale(LC_CTYPE, "");
+@@ -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)



Home | Main Index | Thread Index | Old Index