diff --git a/Re-enable-transcode-support.patch b/Re-enable-transcode-support.patch new file mode 100644 index 0000000..7eaa1de --- /dev/null +++ b/Re-enable-transcode-support.patch @@ -0,0 +1,41 @@ +From 78fac1e46a2dd1b2a97f614b8c641a845c7c0c47 Mon Sep 17 00:00:00 2001 +From: Wolfgang Bauer +Date: Mon, 12 Jun 2017 15:28:11 +0200 +Subject: [PATCH] Re-enable transcode support + +Transcode support has been disabled upstream because of bug reports +(kde#360170) and the fact that transcode is basically unmaintained. + +So it's currently not possible to rip DVDs at all, and even worse, k3b +shows an error dialog that you should install transcode even if it is +installed. + +Ripping DVDs with Packman's transcode seems to work fine though, so +let's re-enable it. +--- + libk3b/core/k3bdefaultexternalprograms.cpp | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/libk3b/core/k3bdefaultexternalprograms.cpp b/libk3b/core/k3bdefaultexternalprograms.cpp +index a8f4c06da..a5c82ae48 100644 +--- a/libk3b/core/k3bdefaultexternalprograms.cpp ++++ b/libk3b/core/k3bdefaultexternalprograms.cpp +@@ -45,7 +45,6 @@ void K3b::addDefaultPrograms( K3b::ExternalBinManager* m ) + void K3b::addTranscodePrograms( K3b::ExternalBinManager* m ) + { + Q_UNUSED(m); +- /* Deprecated transcode + static const char* const transcodeTools[] = { "transcode", + 0, // K3b 1.0 only uses the transcode binary + "tcprobe", +@@ -57,7 +56,6 @@ void K3b::addTranscodePrograms( K3b::ExternalBinManager* m ) + + for( int i = 0; transcodeTools[i]; ++i ) + m->addProgram( new K3b::TranscodeProgram( transcodeTools[i] ) ); +- */ + } + + +-- +2.12.3 + diff --git a/k3b.changes b/k3b.changes index 0414e26..c932f8e 100644 --- a/k3b.changes +++ b/k3b.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Jun 12 13:34:57 UTC 2017 - wbauer@tmo.at + +- Add Re-enable-transcode-support.patch to add back transcode + support to rip DVDs, Packman's version seems to work fine + (kde#381131) + ------------------------------------------------------------------- Wed Jun 07 17:42:42 CEST 2017 - lbeltrame@kde.org diff --git a/k3b.spec b/k3b.spec index 01f2d91..97c9da5 100644 --- a/k3b.spec +++ b/k3b.spec @@ -30,6 +30,8 @@ License: GPL-2.0+ Group: Productivity/Multimedia/CD/Record Url: http://www.kde.org Source: %{name}-%{version}.tar.xz +# PATCH-FIX-OPENSUSE +Patch: Re-enable-transcode-support.patch BuildRequires: extra-cmake-modules BuildRequires: fdupes @@ -116,6 +118,7 @@ This package contain files needed for development with k3b. %prep %setup -q +%patch -p1 %build CXXFLAGS="%{optflags} -fno-strict-aliasing"