The MKVToolNix GUI has been marked as unsupported on darwin since
88d7718a64 (mkvtoolnix-cli: fix build on darwin, 2017-03-13), but
currently it builds without issues. It is when mkvtoolnix-gui is run
that the window doesn't appear.
Setting the environment variable QT_MAC_WANTS_LAYER=1 fixes it and now
the GUI runs on Darwin too.
Tested on Big Sur.
Picked from 461466306e (octaveFull: set QT_MAC_WANTS_LAYER=1 on Darwin,
2021-07-22).
Use stdenv.mkDerivation instead of mkDerivation from libsForQt5, because
the latter forces the compiler to LLVM 5 on Darwin, which doesn't
support the new C++ filesystem library.
Fixes#132675.
Additional changes:
1. Qt is now needed for both the cli and gui variants.
2. Run the test suite
3. Drop a number of dependencies that are no longer needed
4. We have nlohmann_json and pugixml, so use those instead of the
vendored versions
5. Add support for reading chapters from DVDs
6. Build with rake as recommended by upstream
I haven't been doing any maintenance for a long time now and not only
do I get notified, it also creates a fake impression that all these
packages had at least one maintainer when in practice they had none.
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/mkvtoolnix/versions.
These checks were done:
- built on NixOS
- /nix/store/bnl49j7lsczpy2c1xpbw2v4s9l5qv4wn-mkvtoolnix-24.0.0/bin/mkvmerge passed the binary check.
- /nix/store/bnl49j7lsczpy2c1xpbw2v4s9l5qv4wn-mkvtoolnix-24.0.0/bin/mkvinfo passed the binary check.
- /nix/store/bnl49j7lsczpy2c1xpbw2v4s9l5qv4wn-mkvtoolnix-24.0.0/bin/mkvextract passed the binary check.
- /nix/store/bnl49j7lsczpy2c1xpbw2v4s9l5qv4wn-mkvtoolnix-24.0.0/bin/mkvpropedit passed the binary check.
- Warning: no invocation of /nix/store/bnl49j7lsczpy2c1xpbw2v4s9l5qv4wn-mkvtoolnix-24.0.0/bin/mkvtoolnix-gui had a zero exit code or showed the expected version
- 4 of 5 passed binary check by having a zero exit code.
- 0 of 5 passed binary check by having the new version present in output.
- found 24.0.0 with grep in /nix/store/bnl49j7lsczpy2c1xpbw2v4s9l5qv4wn-mkvtoolnix-24.0.0
- directory tree listing: https://gist.github.com/91328ec90c8ee5a51b0a1f29e5e11d51
- du listing: https://gist.github.com/e66ad0366b78978eb90f87a6c66e434a
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/mkvtoolnix/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/k4lfj957aamgj0nav6mvb43zmzx7xip8-mkvtoolnix-23.0.0/bin/mkvmerge -h’ got 0 exit code
- ran ‘/nix/store/k4lfj957aamgj0nav6mvb43zmzx7xip8-mkvtoolnix-23.0.0/bin/mkvmerge --help’ got 0 exit code
- ran ‘/nix/store/k4lfj957aamgj0nav6mvb43zmzx7xip8-mkvtoolnix-23.0.0/bin/mkvinfo -h’ got 0 exit code
- ran ‘/nix/store/k4lfj957aamgj0nav6mvb43zmzx7xip8-mkvtoolnix-23.0.0/bin/mkvinfo --help’ got 0 exit code
- ran ‘/nix/store/k4lfj957aamgj0nav6mvb43zmzx7xip8-mkvtoolnix-23.0.0/bin/mkvextract -h’ got 0 exit code
- ran ‘/nix/store/k4lfj957aamgj0nav6mvb43zmzx7xip8-mkvtoolnix-23.0.0/bin/mkvextract --help’ got 0 exit code
- ran ‘/nix/store/k4lfj957aamgj0nav6mvb43zmzx7xip8-mkvtoolnix-23.0.0/bin/mkvpropedit -h’ got 0 exit code
- ran ‘/nix/store/k4lfj957aamgj0nav6mvb43zmzx7xip8-mkvtoolnix-23.0.0/bin/mkvpropedit --help’ got 0 exit code
- ran ‘/nix/store/k4lfj957aamgj0nav6mvb43zmzx7xip8-mkvtoolnix-23.0.0/bin/mkvtoolnix-gui -h’ got 0 exit code
- ran ‘/nix/store/k4lfj957aamgj0nav6mvb43zmzx7xip8-mkvtoolnix-23.0.0/bin/mkvtoolnix-gui --help’ got 0 exit code
- found 23.0.0 with grep in /nix/store/k4lfj957aamgj0nav6mvb43zmzx7xip8-mkvtoolnix-23.0.0
- directory tree listing: https://gist.github.com/659909909b82ce86f9ec71f713bc7c6b
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/mkvtoolnix/versions.
These checks were done:
- built on NixOS
- ran `/nix/store/qzarbwgjblj2vw9wc017gich3a5rv9f0-mkvtoolnix-22.0.0/bin/mkvmerge -h` got 0 exit code
- ran `/nix/store/qzarbwgjblj2vw9wc017gich3a5rv9f0-mkvtoolnix-22.0.0/bin/mkvmerge --help` got 0 exit code
- ran `/nix/store/qzarbwgjblj2vw9wc017gich3a5rv9f0-mkvtoolnix-22.0.0/bin/mkvmerge -V` and found version 22.0.0
- ran `/nix/store/qzarbwgjblj2vw9wc017gich3a5rv9f0-mkvtoolnix-22.0.0/bin/mkvmerge --version` and found version 22.0.0
- ran `/nix/store/qzarbwgjblj2vw9wc017gich3a5rv9f0-mkvtoolnix-22.0.0/bin/mkvinfo -h` got 0 exit code
- ran `/nix/store/qzarbwgjblj2vw9wc017gich3a5rv9f0-mkvtoolnix-22.0.0/bin/mkvinfo --help` got 0 exit code
- ran `/nix/store/qzarbwgjblj2vw9wc017gich3a5rv9f0-mkvtoolnix-22.0.0/bin/mkvinfo -V` and found version 22.0.0
- ran `/nix/store/qzarbwgjblj2vw9wc017gich3a5rv9f0-mkvtoolnix-22.0.0/bin/mkvinfo --version` and found version 22.0.0
- ran `/nix/store/qzarbwgjblj2vw9wc017gich3a5rv9f0-mkvtoolnix-22.0.0/bin/mkvextract -h` got 0 exit code
- ran `/nix/store/qzarbwgjblj2vw9wc017gich3a5rv9f0-mkvtoolnix-22.0.0/bin/mkvextract --help` got 0 exit code
- ran `/nix/store/qzarbwgjblj2vw9wc017gich3a5rv9f0-mkvtoolnix-22.0.0/bin/mkvextract -V` and found version 22.0.0
- ran `/nix/store/qzarbwgjblj2vw9wc017gich3a5rv9f0-mkvtoolnix-22.0.0/bin/mkvextract --version` and found version 22.0.0
- ran `/nix/store/qzarbwgjblj2vw9wc017gich3a5rv9f0-mkvtoolnix-22.0.0/bin/mkvpropedit -h` got 0 exit code
- ran `/nix/store/qzarbwgjblj2vw9wc017gich3a5rv9f0-mkvtoolnix-22.0.0/bin/mkvpropedit --help` got 0 exit code
- ran `/nix/store/qzarbwgjblj2vw9wc017gich3a5rv9f0-mkvtoolnix-22.0.0/bin/mkvpropedit -V` and found version 22.0.0
- ran `/nix/store/qzarbwgjblj2vw9wc017gich3a5rv9f0-mkvtoolnix-22.0.0/bin/mkvpropedit --version` and found version 22.0.0
- found 22.0.0 with grep in /nix/store/qzarbwgjblj2vw9wc017gich3a5rv9f0-mkvtoolnix-22.0.0
- directory tree listing: https://gist.github.com/7834479431ce4c1f041e9b5d9da3129d