Hello community,

here is the log from the commit of package kdenlive for openSUSE:Factory 
checked in at 2017-06-07 09:54:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdenlive (Old)
 and      /work/SRC/openSUSE:Factory/.kdenlive.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdenlive"

Wed Jun  7 09:54:50 2017 rev:37 rq:498912 version:17.04.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdenlive/kdenlive.changes        2017-03-18 
20:50:38.409116810 +0100
+++ /work/SRC/openSUSE:Factory/.kdenlive.new/kdenlive.changes   2017-06-07 
09:54:53.691164673 +0200
@@ -1,0 +2,77 @@
+Mon May 29 08:55:46 UTC 2017 - wba...@tmo.at
+
+- Add gcc7-fixes.patch to fix build with gcc7 (boo#1041232)
+
+-------------------------------------------------------------------
+Tue May 23 13:21:38 UTC 2017 - wba...@tmo.at
+
+- Only use the %kf5_find_htmldocs macro on Leap 42.3 and higher,
+  this should fix the build for 42.2 on Packman
+
+-------------------------------------------------------------------
+Wed May 17 20:36:08 CEST 2017 - lbeltr...@kde.org
+
+- Update to 17.04.1
+  * New bugfix release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-17.04.1.php
+- Changes since 17.04.0:
+  * Fix title clip duration cannot be changed BUG: 379582 (kde#379582)
+  * Allow passing pre-parameters using "-i" to specify where the input file 
name should go in ffmpeg parameters Should work in proxy and transcoding, for 
example: -vaapi_device /dev/dri/renderD128 -hwaccel vaapi 
-hwaccel_output_format vaapi -i -an -c:v dnxhd Will insert source file name 
after "-i". CCBUG: 378832
+  * Fixed off-by-one errors in fft-based cross-correlation computations Patch 
by raphaelm Differential Revision: https://phabricator.kde.org/D5454
+  * Don't show color theme configuration option unavailable on Windows 
(kde#375723)
+  * Fix temp path on Windows (kde#375717)
+  * Fix MLT doc link (kde#375316)
+  * Fix script export & QScript header left
+
+-------------------------------------------------------------------
+Sun Apr 16 10:44:55 CEST 2017 - lbeltr...@kde.org
+
+- Update to 17.04.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-17.04.0.php
+- Changes since 17.03.90:
+  * Don't show color theme configuration option unavailable on Windows
+  * Fix temp path on Windows
+  * Fix MLT doc link
+  * Fix script export & QScript header left
+  * Fix glitch on pause and does not play last second of project BUG: 371762 
(kde#371762)
+  * remove QScript dependency
+  * Fix render scripts on Windows: generate .bat files
+
+-------------------------------------------------------------------
+Wed Apr 12 20:25:30 CEST 2017 - lbeltr...@kde.org
+
+- Update to 17.03.90
+  * New bugfix release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-17.04-rc.php
+- Changes since 17.03.80:
+  * Fix possible crash on rendering with "play after render" option
+  * Images also use qimage producer
+  * fix Windows build with C++ threads
+  * Fix some effects incorrectly initialized on tracks BUG: 378071
+  * Remove beta message in preparation of release
+  * Fix locked ratio scaling
+  * Fix archived project wrong path and missing images/slideshows CCBUG: 
377999 CCBUG: 378000
+  * More clever ratio locking in effect/transition
+
+-------------------------------------------------------------------
+Sat Mar 25 23:10:24 CET 2017 - lbeltr...@kde.org
+
+- Update to 17.03.80
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-17.03.80.php
+- Changes since 16.12.3:
+  * Too many changes to list here
+
+-------------------------------------------------------------------
+Thu Mar 23 15:00:42 UTC 2017 - wba...@tmo.at
+
+- Don't generate the oxygen icon theme cache on (un)installation,
+  no oxygen icons are getting installed
+- Drop use-mlt_datadir.patch, no longer necessary since a while
+
+-------------------------------------------------------------------

Old:
----
  kdenlive-16.12.3.tar.xz
  use-mlt_datadir.patch

New:
----
  gcc7-fixes.patch
  kdenlive-17.04.1.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kdenlive.spec ++++++
--- /var/tmp/diff_new_pack.L9Zkvw/_old  2017-06-07 09:54:54.343072549 +0200
+++ /var/tmp/diff_new_pack.L9Zkvw/_new  2017-06-07 09:54:54.347071984 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package kdenlive
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,22 +15,24 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+%bcond_without lang
 
-%define mlt_version 6.0.0
+%define mlt_version 6.4.0
 %define melt_path %(pkg-config --variable=meltbin mlt-framework)
 %define mlt_soname %(pkg-config --variable=moduledir mlt-framework | sed 
's/.*-\\([0-9]\\+\\)/\\1/')
 Name:           kdenlive
-Version:        16.12.3
+Version:        17.04.1
 Release:        0
 %define kf5_version 5.26.0
-# Latest stable Applications (e.g. 16.08 in KA, but 16.12.3 in KUA)
+# Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA)
 %{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print 
$1"."$2}')}
 Summary:        Non-linear video editor
 License:        GPL-3.0+
 Group:          Productivity/Multimedia/Video/Editors and Convertors
 Url:            http://www.kdenlive.org/
 Source0:        %{name}-%{version}.tar.xz
-Patch1:         use-mlt_datadir.patch
+# PATCH-FIX-UPSTREAM gcc7-fixes.patch boo#1041232 -- fixes build with gcc7
+Patch:          gcc7-fixes.patch
 BuildRequires:  desktop-file-utils
 BuildRequires:  extra-cmake-modules
 BuildRequires:  fdupes
@@ -100,9 +102,13 @@
 designed to answer all needs, from basic video editing to semi-professional
 work.
 
+%if %{with lang}
+%lang_package
+%endif
+
 %prep
 %setup -q
-#patch1 -p1
+%patch -p1
 
 %build
 %cmake_kf5 -d build
@@ -110,18 +116,35 @@
 
 %install
 %kf5_makeinstall -C build
+%if %{with lang}
+  %find_lang %{name} --with-man --all-name
+  %if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120300
+  %kf5_find_htmldocs
+  %else
+  # %%kf5_find_htmldocs is only defined since Leap 42.3
+  CURDIR=`pwd`
+  pushd %{buildroot}%{_kf5_htmldir}
+  for i in *; do
+    if ! [ -d "/usr/share/locale/${i}" ]; then
+        echo "Removing unsupported translation %{_kf5_htmldir}/${i}"
+        rm -rf "$i"
+    elif [ "$i" != "en" ]; then
+        echo "%doc %lang($i) %{_kf5_htmldir}/${i}" >> $CURDIR/%{name}.lang
+    fi
+  done
+  popd
+  %endif
+%endif
 %fdupes -s %{buildroot}
 
 %post
 %icon_theme_cache_post
-%icon_theme_cache_post oxygen
 %mime_database_post
 %desktop_database_post
 
 %postun
 %desktop_database_postun
 %mime_database_postun
-%icon_theme_cache_postun oxygen
 %icon_theme_cache_postun
 
 %files
@@ -137,6 +160,7 @@
 %{_kf5_applicationsdir}/org.kde.kdenlive.desktop
 %{_datadir}/kxmlgui5/kdenlive/
 %(config) %{_kf5_configdir}/*.knsrc
+%(config) %{_kf5_configdir}/kdenlive.categories
 %{_kf5_plugindir}/mltpreview.so
 %{_datadir}/knotifications5/kdenlive.notifyrc
 %{_kf5_servicesdir}/mltpreview.desktop
@@ -144,4 +168,9 @@
 %{_kf5_appstreamdir}/
 %{_kf5_iconsdir}/hicolor/*/*/*
 
+%if %{with lang}
+%files lang -f %{name}.lang
+%doc COPYING*
+%endif
+
 %changelog

++++++ gcc7-fixes.patch ++++++
>From 16cbb711d035c8f83542a3da09f6d18f632da484 Mon Sep 17 00:00:00 2001
From: Wolfgang Bauer <wba...@tmo.at>
Date: Mon, 29 May 2017 10:52:35 +0200
Subject: [PATCH] Fix build with gcc7

This fixes the following errors when building with gcc7:

/home/abuild/rpmbuild/BUILD/kdenlive-17.04.1/src/scopes/audioscopes/spectrogram.cpp:244:113:
error: call of overloaded 'abs(unsigned int)' is ambiguous

fixed by casting leftDist to int

/home/abuild/rpmbuild/BUILD/kdenlive-17.04.1/src/profiles/tree/profiletreemodel.cpp:
In constructor 'ProfileTreeModel::ProfileTreeModel(QObject*)':
/home/abuild/rpmbuild/BUILD/kdenlive-17.04.1/src/profiles/tree/profiletreemodel.cpp:146:21:
error: 'function' is not a member of 'std'

fixed by adding a missing "#include <functional>"

BUG: 375647
BUG: 379688
Differential Revision: https://phabricator.kde.org/D6006
---
 src/profiles/tree/profiletreemodel.cpp | 1 +
 src/scopes/audioscopes/spectrogram.cpp | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/profiles/tree/profiletreemodel.cpp 
b/src/profiles/tree/profiletreemodel.cpp
index 47a580703..912279494 100644
--- a/src/profiles/tree/profiletreemodel.cpp
+++ b/src/profiles/tree/profiletreemodel.cpp
@@ -26,6 +26,7 @@
 #include <vector>
 #include <QVector>
 #include <array>
+#include <functional>
 #include <KLocalizedString>
 
 
diff --git a/src/scopes/audioscopes/spectrogram.cpp 
b/src/scopes/audioscopes/spectrogram.cpp
index 1d3a0a2fd..e9fed0338 100644
--- a/src/scopes/audioscopes/spectrogram.cpp
+++ b/src/scopes/audioscopes/spectrogram.cpp
@@ -241,7 +241,7 @@ QImage Spectrogram::renderHUD(uint)
                 x = leftDist + (m_innerScopeRect.width() - 1) * ((float)hz) / 
m_freqMax;
 
                 // Hide text if it would overlap with the text drawn at the 
mouse position
-                hideText = m_aTrackMouse->isChecked() && m_mouseWithinWidget 
&& abs(x - (leftDist + mouseX + 20)) < (int) minDistX + 16
+                hideText = m_aTrackMouse->isChecked() && m_mouseWithinWidget 
&& abs(x - (static_cast<int>(leftDist) + mouseX + 20)) < (int) minDistX + 16
                            && mouseX < m_innerScopeRect.width() && mouseX >= 0;
 
                 if (x <= rightBorder) {
@@ -268,7 +268,7 @@ QImage Spectrogram::renderHUD(uint)
             }
             // Draw the line at the very right (maximum frequency)
             x = leftDist + m_innerScopeRect.width() - 1;
-            hideText = m_aTrackMouse->isChecked() && m_mouseWithinWidget && 
abs(x - (leftDist + mouseX + 30)) < (int) minDistX
+            hideText = m_aTrackMouse->isChecked() && m_mouseWithinWidget && 
abs(x - (static_cast<int>(leftDist) + mouseX + 30)) < (int) minDistX
                        && mouseX < m_innerScopeRect.width() && mouseX >= 0;
             davinci.drawLine(x, topDist, x, topDist + 
m_innerScopeRect.height() + 6);
             if (!hideText) {
-- 
2.12.0

++++++ kdenlive-16.12.3.tar.xz -> kdenlive-17.04.1.tar.xz ++++++
/work/SRC/openSUSE:Factory/kdenlive/kdenlive-16.12.3.tar.xz 
/work/SRC/openSUSE:Factory/.kdenlive.new/kdenlive-17.04.1.tar.xz differ: char 
26, line 1


Reply via email to