Accepting request 503435 from KDE:Applications

1

OBS-URL: https://build.opensuse.org/request/show/503435
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/k3b?expand=0&rev=72
This commit is contained in:
Dominique Leuenberger 2017-06-20 09:01:33 +00:00 committed by Git OBS Bridge
commit 64d8be0716
3 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,41 @@
From 78fac1e46a2dd1b2a97f614b8c641a845c7c0c47 Mon Sep 17 00:00:00 2001
From: Wolfgang Bauer <wbauer@tmo.at>
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

View File

@ -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

View File

@ -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"