rename xvc_dump to xyzvc_dump

XVC is an abbreviation for an existing video codec (Extreme Video
Coding). This tool has nothing to do with that codec.
This commit is contained in:
Moritz Bunkus 2023-11-20 11:40:42 +01:00
parent dfa159213e
commit d87bafe3dc
No known key found for this signature in database
GPG Key ID: 74AF00ADF2E32C85
11 changed files with 22 additions and 15 deletions

View File

@ -47,6 +47,13 @@
sometimes dropped, resulting in broken video at the point where video is
appended. Fixes #3479.
## Other changes
* AVC & HEVC dumper development tool: the tool has been renamed from
`xvc_dump` to `xyzvc_dump` as `xvc` is an abbreviation for an existing video
codec (Extreme Video Coding), and the tool has nothing to do with that
codec.
# Version 80.0 "Roundabout" 2023-10-29

View File

@ -85,7 +85,7 @@ def setup_globals
$programs = %w{mkvmerge mkvinfo mkvextract mkvpropedit}
$programs << "mkvtoolnix" if $build_mkvtoolnix
$programs << "mkvtoolnix-gui" if $build_mkvtoolnix_gui
$tools = %w{ac3parser base64tool bluray_dump checksum diracparser dts_dump ebml_validator hevcc_dump pgs_dump vc1parser xvc_dump}
$tools = %w{ac3parser base64tool bluray_dump checksum diracparser dts_dump ebml_validator hevcc_dump pgs_dump vc1parser xyzvc_dump}
$application_subdirs = { "mkvtoolnix-gui" => "mkvtoolnix-gui/", "mkvtoolnix" => "mkvtoolnix/" }
$applications = $programs.map { |name| "src/#{$application_subdirs[name]}#{name}" + c(:EXEEXT) }

View File

@ -101,7 +101,7 @@
</listitem>
<listitem>
<para><literal>xvc_dump</literal></para>
<para><literal>xyzvc_dump</literal></para>
</listitem>
</itemizedlist>

View File

@ -142,7 +142,7 @@ if test `lsb_release -is` = Fedora; then
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/org.bunkus.mkvtoolnix-gui.appdata.xml
fi
install -pm 755 src/tools/{bluray_dump,ebml_validator,hevcc_dump,xvc_dump} $RPM_BUILD_ROOT%{_bindir}
install -pm 755 src/tools/{bluray_dump,ebml_validator,hevcc_dump,xyzvc_dump} $RPM_BUILD_ROOT%{_bindir}
%find_lang %{name}
%find_lang mkvextract --with-man
@ -185,7 +185,7 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || true
%{_bindir}/mkvinfo
%{_bindir}/mkvmerge
%{_bindir}/mkvpropedit
%{_bindir}/xvc_dump
%{_bindir}/xyzvc_dump
%{_mandir}/man1/mkvextract.1*
%{_mandir}/man1/mkvinfo.1*
%{_mandir}/man1/mkvmerge.1*

View File

@ -5,7 +5,7 @@ usr/bin/mkvextract
usr/bin/mkvinfo
usr/bin/mkvmerge
usr/bin/mkvpropedit
usr/bin/xvc_dump
usr/bin/xyzvc_dump
usr/share/icons/hicolor/*/apps/mkvpropedit.png
usr/share/icons/hicolor/*/apps/mkvextract.png
usr/share/icons/hicolor/*/apps/mkvinfo.png

View File

@ -56,7 +56,7 @@ endif
override_dh_install:
./drake install DESTDIR=$(CURDIR)/debian/tmp
install -m 755 -t $(CURDIR)/debian/tmp/usr/bin $(patsubst %,src/tools/%,bluray_dump ebml_validator hevcc_dump xvc_dump)
install -m 755 -t $(CURDIR)/debian/tmp/usr/bin $(patsubst %,src/tools/%,bluray_dump ebml_validator hevcc_dump xyzvc_dump)
dh_install -Xorg.bunkus.mkvtoolnix-gui.xml
dh_missing --fail-missing -Xorg.bunkus.mkvtoolnix-gui.xml

View File

@ -54,7 +54,7 @@ for file in *.scale-100.png; do
done
# dir=../../../../share/icons/windows/msix
# for program in mkvmerge mkvinfo mkvextract mkvpropedit bluray_dump ebml_validator hevcc_dump xvc_dump; do
# for program in mkvmerge mkvinfo mkvextract mkvpropedit bluray_dump ebml_validator hevcc_dump xyzvc_dump; do
# for size in 44 150; do
# convert ${dir}/${program}.xcf -background transparent -layers flatten -size ${size}x${size} Square${size}x${size}Logo-${program}.png
# done

View File

@ -133,7 +133,7 @@ function copy_files {
cp share/icons/windows/mkvtoolnix-gui.ico ${tgt_dir}/installer/
mkdir ${tgt_dir}/tools
cp src/tools/{bluray_dump,ebml_validator,hevcc_dump,xvc_dump}.exe ${tgt_dir}/tools/
cp src/tools/{bluray_dump,ebml_validator,hevcc_dump,xyzvc_dump}.exe ${tgt_dir}/tools/
cp src/mkvtoolnix-gui/qt_resources.rcc ${tgt_dir}/data/
cp share/sounds/* ${tgt_dir}/data/sounds/

View File

@ -43,7 +43,7 @@ determine_program(std::vector<std::string> &args) {
return program;
QRegularExpression main_name_re{"^(?:mkv)?(merge|info|extract|propedit|toolnix-gui)(?:\\.exe)?$"};
QRegularExpression tool_name_re{"^(bluray_dump|ebml_validator|hevcc_dump|xvc_dump)(?:\\.exe)?$"};
QRegularExpression tool_name_re{"^(bluray_dump|ebml_validator|hevcc_dump|xyzvc_dump)(?:\\.exe)?$"};
auto matches = main_name_re.match(Q(args[0]));

View File

@ -10,7 +10,7 @@ end
nalus = []
`xvc_dump #{Shellwords.escape(ARGV[0])}`.
`xyzvc_dump #{Shellwords.escape(ARGV[0])}`.
split(%r{\n+}).
each do |line|

View File

@ -1,5 +1,5 @@
/*
xvc_dump - A tool for dumping HEVC structures
xyzvc_dump - A tool for dumping HEVC structures
Distributed under the GPL v2
see the file COPYING for details
@ -43,7 +43,7 @@ static std::unique_ptr<mtx::avc_hevc::es_parser_c> s_parser;
static void
setup_help() {
mtx::cli::g_usage_text = "xvc_dump [options] input_file_name\n"
mtx::cli::g_usage_text = "xyzvc_dump [options] input_file_name\n"
"\n"
"General options:\n"
"\n"
@ -135,14 +135,14 @@ parse_args(std::vector<std::string> &args) {
s_codec_type = codec_type_e::hevc;
else
mxerror("The file type could not be derived from the file name's extension. Please specify the corresponding command line option (see 'xvc_dump --help').\n");
mxerror("The file type could not be derived from the file name's extension. Please specify the corresponding command line option (see 'xyzvc_dump --help').\n");
}
if (s_framing_type == framing_type_e::unknown) {
s_framing_type = detect_framing_type(file_name);
if (s_framing_type == framing_type_e::unknown)
mxerror("The framing type could not be derived from the file's content. Please specify the corresponding command line option (see 'xvc_dump --help').\n");
mxerror("The framing type could not be derived from the file's content. Please specify the corresponding command line option (see 'xyzvc_dump --help').\n");
}
return file_name;
@ -318,7 +318,7 @@ parse_file_iso_14496_15(std::string const &file_name) {
int
main(int argc,
char **argv) {
mtx_common_init("xvc_dump", argv[0]);
mtx_common_init("xyzvc_dump", argv[0]);
setup_help();
auto args = mtx::cli::args_in_utf8(argc, argv);