Hello community, here is the log from the commit of package mkvtoolnix for openSUSE:Factory checked in at 2015-12-09 19:51:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mkvtoolnix (Old) and /work/SRC/openSUSE:Factory/.mkvtoolnix.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mkvtoolnix" Changes: -------- --- /work/SRC/openSUSE:Factory/mkvtoolnix/mkvtoolnix.changes 2015-11-10 10:04:00.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.mkvtoolnix.new/mkvtoolnix.changes 2015-12-09 22:25:00.000000000 +0100 @@ -1,0 +2,39 @@ +Sat Dec 5 15:47:20 UTC 2015 - [email protected] + +- Update to upstream release 8.6.1: + * all: MKVToolNix now requires gcc 4.8.0 or later or clang 3.4 or + later for compilation. + change: none of the tools will write a byte-order mark (BOM) to + text files encoded any of the UTF-* schemes anymore. + * mkvmerge: bug fix: the VC-1 handlig code was duplicating the + first sequence headers with each mux. + enhancement: added JSON as an output format for file type + identification. + bug fix: fixed two issues causing mkvmerge to write invalid data + when updating track headers. + bug fix: the change to do a deeper file analysis if no seek head + was found was causing huge increases in file type detection time + as popular tools like x264 don’t write seek heads. The way + elements at the end are searched has been changed to only scan + the last 5 MB of the file instead of iterating over every + level 1 element from the beginning of the file. + * MKVToolNix GUI: bug fix: the options for linking to the + next/previous segment UID were wrong. + bug fix: the program changes its working directory to the + user’s profile/home directory on startup allowing the removal of + its installation folder even if a program started by the GUI + (e.g. a web browser) is still running. + bug fix: in certain situations the modified file would not contain + a seek head before the first cluster anymore resulting in most + players not finding elements such as attachments or the index + located at the end of the file anymore. + * Some other enhancements and bugfixes, see full changelog: + https://bunkus.org/videotools/mkvtoolnix/doc/ChangeLog +- Split package into commandline- (base) and gui-package, + reduces overhead when installing on a headless system. +- Replaced sed in prep with disable-update-check.patch to disable + update check on startup (not needed with a package system). +- Added mkvtoolnix-use-system-boost.patch from fedora to fix includes + when building against boost from system. + +------------------------------------------------------------------- Old: ---- mkvtoolnix-8.5.2.tar.xz New: ---- disable-update-check.patch mkvtoolnix-8.6.1.tar.xz mkvtoolnix-use-system-boost.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mkvtoolnix.spec ++++++ --- /var/tmp/diff_new_pack.DOkgiH/_old 2015-12-09 22:25:01.000000000 +0100 +++ /var/tmp/diff_new_pack.DOkgiH/_new 2015-12-09 22:25:01.000000000 +0100 @@ -17,7 +17,7 @@ Name: mkvtoolnix -Version: 8.5.2 +Version: 8.6.1 Release: 0 Summary: Tools to Create, Alter, and Inspect Matroska Files License: GPL-2.0+ @@ -27,10 +27,14 @@ #Git-Web: http://github.com/mbunkus/mkvtoolnix #Git-Clone: git://github.com/mbunkus/mkvtoolnix Source: http://bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-%version.tar.xz +# PATCH-OPENSUSE-FIX disable-update-check.patch -- Disable default update check +Patch0: disable-update-check.patch +# PATCH-OPENSUSE-FIX mkvtoolnix-use-system-boost.patch -- Fix includes to use boost from system +Patch1: mkvtoolnix-use-system-boost.patch BuildRequires: boost-devel >= 1.46 BuildRequires: fdupes BuildRequires: file-devel -BuildRequires: gcc-c++ >= 4.7 +BuildRequires: gcc-c++ >= 4.8 BuildRequires: gettext-tools BuildRequires: libqt5-qtbase-devel >= 5.2.0 BuildRequires: ruby >= 1.9 @@ -48,34 +52,42 @@ BuildRequires: desktop-file-utils BuildRequires: shared-mime-info +%package gui +Summary: Graphical user interface for mkvtoolnix utils +Group: Productivity/Multimedia/Other +Requires: %{name} = %{version} + %description Tools to create and manipulate Matroska files (extensions .mkv and .mka), a new container format for audio and video files. Includes command line tools -mkvextract, mkvinfo, mkvmerge, and a graphical front-end for them, mmg. +mkvextract, mkvmerge and mkvpropedit. + +%description gui +This package contains the graphical user interface for the mkvtoolnix utils. +It includes mkvtoolnix-gui and also mkvinfo with its graphical user interface. %prep %setup -q -# Disable default update check (senseless with a package system) -sed -i 's/reg.value("checkForUpdates", true).toBool();/reg.value("checkForUpdates", false).toBool();/' \ -"src/mkvtoolnix-gui/util/settings.cpp" +%patch0 -p1 +%patch1 -p1 +# Make sure to use system libs: +rm -rf lib/{boost,libebml,libmatroskas} %build -export CFLAGS="$RPM_OPT_FLAGS" -export CXXFLAGS="$RPM_OPT_FLAGS" -%configure --docdir=%{_docdir}/%{name} -./drake %{?_smp_mflags} +%configure +./drake %{?_smp_mflags} V=1 %install ./drake install DESTDIR=%{buildroot} -%find_lang %{name} --with-man --all-name +%find_lang %{name} --all-name %fdupes %buildroot/%_prefix -%post +%post gui %icon_theme_cache_post %mime_database_post %desktop_database_post -%postun +%postun gui %desktop_database_postun %mime_database_postun %icon_theme_cache_postun @@ -85,9 +97,41 @@ %doc AUTHORS ChangeLog COPYING README.md %doc examples %{_bindir}/mkvextract -%{_bindir}/mkvinfo %{_bindir}/mkvmerge %{_bindir}/mkvpropedit +%doc %{_mandir}/man1/mkvextract.1%{ext_man} +%doc %{_mandir}/man1/mkvmerge.1%{ext_man} +%doc %{_mandir}/man1/mkvpropedit.1%{ext_man} +%doc %lang(ca) %{_mandir}/ca/man1/mkvextract.1%{ext_man} +%doc %lang(ca) %{_mandir}/ca/man1/mkvmerge.1%{ext_man} +%doc %lang(ca) %{_mandir}/ca/man1/mkvpropedit.1%{ext_man} +%doc %lang(de) %{_mandir}/de/man1/mkvextract.1%{ext_man} +%doc %lang(de) %{_mandir}/de/man1/mkvmerge.1%{ext_man} +%doc %lang(de) %{_mandir}/de/man1/mkvpropedit.1%{ext_man} +%doc %lang(es) %{_mandir}/es/man1/mkvextract.1%{ext_man} +%doc %lang(es) %{_mandir}/es/man1/mkvmerge.1%{ext_man} +%doc %lang(es) %{_mandir}/es/man1/mkvpropedit.1%{ext_man} +%doc %lang(ja) %{_mandir}/ja/man1/mkvextract.1%{ext_man} +%doc %lang(ja) %{_mandir}/ja/man1/mkvmerge.1%{ext_man} +%doc %lang(ja) %{_mandir}/ja/man1/mkvpropedit.1%{ext_man} +%doc %lang(nl) %{_mandir}/nl/man1/mkvextract.1%{ext_man} +%doc %lang(nl) %{_mandir}/nl/man1/mkvmerge.1%{ext_man} +%doc %lang(nl) %{_mandir}/nl/man1/mkvpropedit.1%{ext_man} +%doc %lang(uk) %{_mandir}/uk/man1/mkvextract.1%{ext_man} +%doc %lang(uk) %{_mandir}/uk/man1/mkvmerge.1%{ext_man} +%doc %lang(uk) %{_mandir}/uk/man1/mkvpropedit.1%{ext_man} +%doc %lang(zh_CN) %{_mandir}/zh_CN/man1/mkvextract.1%{ext_man} +%doc %lang(zh_CN) %{_mandir}/zh_CN/man1/mkvmerge.1%{ext_man} +%doc %lang(zh_CN) %{_mandir}/zh_CN/man1/mkvpropedit.1%{ext_man} +%doc %lang(nl) %dir %{_mandir}/nl +%doc %lang(nl) %dir %{_mandir}/nl/man1 +%doc %lang(uk) %dir %{_mandir}/uk +%doc %lang(uk) %dir %{_mandir}/uk/man1 +%doc %lang(zh_CN) %dir %{_mandir}/zh_CN +%doc %lang(zh_CN) %dir %{_mandir}/zh_CN/man1 + +%files gui +%{_bindir}/mkvinfo %{_bindir}/mkvtoolnix-gui %{_datadir}/applications/mkvinfo.desktop %{_datadir}/applications/mkvtoolnix-gui.desktop @@ -97,13 +141,21 @@ %{_datadir}/icons/hicolor/*/apps/mkvpropedit.png %{_datadir}/icons/hicolor/*/apps/mkvtoolnix-gui.png %{_datadir}/mime/packages/mkvtoolnix.xml -%doc %{_mandir}/*/mkvextract.1%{ext_man} -%doc %{_mandir}/*/mkvinfo.1%{ext_man} -%doc %{_mandir}/*/mkvmerge.1%{ext_man} -%doc %{_mandir}/*/mkvpropedit.1%{ext_man} -%doc %{_mandir}/*/mkvtoolnix-gui.1%{ext_man} -%doc %lang(nl) %dir %{_mandir}/nl -%doc %lang(uk) %dir %{_mandir}/uk -%doc %lang(zh_CN) %dir %{_mandir}/zh_CN +%doc %{_mandir}/man1/mkvinfo.1%{ext_man} +%doc %{_mandir}/man1/mkvtoolnix-gui.1%{ext_man} +%doc %lang(ca) %{_mandir}/ca/man1/mkvinfo.1%{ext_man} +%doc %lang(ca) %{_mandir}/ca/man1/mkvtoolnix-gui.1%{ext_man} +%doc %lang(de) %{_mandir}/de/man1/mkvinfo.1%{ext_man} +%doc %lang(de) %{_mandir}/de/man1/mkvtoolnix-gui.1%{ext_man} +%doc %lang(es) %{_mandir}/es/man1/mkvinfo.1.gz +%doc %lang(es) %{_mandir}/es/man1/mkvtoolnix-gui.1%{ext_man} +%doc %lang(ja) %{_mandir}/ja/man1/mkvinfo.1%{ext_man} +%doc %lang(ja) %{_mandir}/ja/man1/mkvtoolnix-gui.1%{ext_man} +%doc %lang(uk) %{_mandir}/uk/man1/mkvinfo.1%{ext_man} +%doc %lang(uk) %{_mandir}/uk/man1/mkvtoolnix-gui.1%{ext_man} +%doc %lang(nl) %{_mandir}/nl/man1/mkvinfo.1%{ext_man} +%doc %lang(nl) %{_mandir}/nl/man1/mkvtoolnix-gui.1%{ext_man} +%doc %lang(zh_CN) %{_mandir}/zh_CN/man1/mkvinfo.1%{ext_man} +%doc %lang(zh_CN) %{_mandir}/zh_CN/man1/mkvtoolnix-gui.1%{ext_man} %changelog ++++++ disable-update-check.patch ++++++ diff -Nur mkvtoolnix-8.6.1/src/mkvtoolnix-gui/util/settings.cpp mkvtoolnix-8.6.1-new/src/mkvtoolnix-gui/util/settings.cpp --- mkvtoolnix-8.6.1/src/mkvtoolnix-gui/util/settings.cpp 2015-11-29 22:19:10.000000000 +0100 +++ mkvtoolnix-8.6.1-new/src/mkvtoolnix-gui/util/settings.cpp 2015-12-05 14:48:17.263340686 +0100 @@ -188,7 +188,7 @@ #endif reg.beginGroup("updates"); - m_checkForUpdates = reg.value("checkForUpdates", true).toBool(); + m_checkForUpdates = reg.value("checkForUpdates", false).toBool(); m_lastUpdateCheck = reg.value("lastUpdateCheck", QDateTime{}).toDateTime(); reg.endGroup(); // settings.updates reg.endGroup(); // settings ++++++ mkvtoolnix-8.5.2.tar.xz -> mkvtoolnix-8.6.1.tar.xz ++++++ ++++ 157160 lines of diff (skipped) ++++++ mkvtoolnix-use-system-boost.patch ++++++ diff -up mkvtoolnix-7.9.0/src/common/utf8_codecvt_facet.cpp.boost mkvtoolnix-7.9.0/src/common/utf8_codecvt_facet.cpp --- mkvtoolnix-7.9.0/src/common/utf8_codecvt_facet.cpp.boost 2015-05-10 11:04:26.000000000 +0200 +++ mkvtoolnix-7.9.0/src/common/utf8_codecvt_facet.cpp 2015-06-11 15:38:40.419855025 +0200 @@ -16,7 +16,7 @@ #define BOOST_UTF8_END_NAMESPACE } #define BOOST_UTF8_DECL -#include "../../lib/boost/utf8_codecvt_facet/utf8_codecvt_facet.cpp" +#include <boost/detail/utf8_codecvt_facet.ipp> #undef BOOST_UTF8_BEGIN_NAMESPACE #undef BOOST_UTF8_END_NAMESPACE diff -up mkvtoolnix-7.9.0/src/common/utf8_codecvt_facet.h.boost mkvtoolnix-7.9.0/src/common/utf8_codecvt_facet.h --- mkvtoolnix-7.9.0/src/common/utf8_codecvt_facet.h.boost 2015-05-10 11:04:26.000000000 +0200 +++ mkvtoolnix-7.9.0/src/common/utf8_codecvt_facet.h 2015-06-11 15:42:49.356845435 +0200 @@ -12,7 +12,7 @@ #define BOOST_UTF8_END_NAMESPACE } #define BOOST_UTF8_DECL -#include "../../lib/boost/utf8_codecvt_facet/utf8_codecvt_facet.hpp" +#include <boost/detail/utf8_codecvt_facet.hpp> #undef BOOST_UTF8_BEGIN_NAMESPACE #undef BOOST_UTF8_END_NAMESPACE
