Hello community,

here is the log from the commit of package subtitlecomposer for 
openSUSE:Factory checked in at 2017-11-14 14:28:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/subtitlecomposer (Old)
 and      /work/SRC/openSUSE:Factory/.subtitlecomposer.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "subtitlecomposer"

Tue Nov 14 14:28:18 2017 rev:2 rq:539891 version:0.6.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/subtitlecomposer/subtitlecomposer.changes        
2017-07-05 23:57:49.789376232 +0200
+++ /work/SRC/openSUSE:Factory/.subtitlecomposer.new/subtitlecomposer.changes   
2017-11-14 14:28:20.523286088 +0100
@@ -1,0 +2,50 @@
+Fri Nov  3 08:36:25 UTC 2017 - [email protected]
+
+- Update to version 0.6.5
+  add:
+  * Added support for binary subtitle formats
+  * fine control video playback speed
+  * controls for video playback speed
+  mod:
+  * GStreamer backend audio improvements.
+  * Moved open video actions under File menu
+  * More tolerant parsing of SubRip subtitles.
+  * Improved split lines command
+  * Updated Czech translation - thanks @goliashcz
+  * Updated Croatian translations - thanks @muzena
+  fix:
+  * Waveform widget dragging and speed improvements, fixed
+    buffer overflow
+  * WaveformWidget: zoom out wasn't working on movies without
+    audio
+  * Fixed cases where subtitle hide time would end up before
+    show time.
+  * Improved context menus.
+  * Fixed moving of anchored lines.
+  * Open subtitle wouldn't autoload video in some cases
+  * Open video now includes .divx and .webm extensions
+  * Tools menu scripts are filtered based on installed kross
+    interpreters
+  * Moved custom icons to more standard location, using
+    QIcon::fromTheme()
+  * Error Check > Absolute Duration config fields were changing
+    incorrect values.
+  * MPV Backend: fixed deprecated options, updated vo devices -
+    thanks @luzfcb
+  * better rendering on high DPI screens.
+  * MPV Backend: framerate/video length  wasn't reported to
+    subtitle composer anymore
+  * detection/handling of current playing line
+  * Parsing text containing <font> without color attribute
+  * compilation without xine - thanks @pinotree
+  * ASS parsing - thanks @Martchus
+
+- Added subtitlecomposer-Qt56.patch to be able to build against
+  Qt 5.6 on Leap
+
+-------------------------------------------------------------------
+Tue Jun 13 13:30:08 UTC 2017 - [email protected]
+
+- Reword vague description.
+
+-------------------------------------------------------------------

Old:
----
  subtitlecomposer-0.6.4.tar.gz

New:
----
  subtitlecomposer-0.6.5.tar.gz
  subtitlecomposer-Qt56.patch

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

Other differences:
------------------
++++++ subtitlecomposer.spec ++++++
--- /var/tmp/diff_new_pack.q7GhGi/_old  2017-11-14 14:28:21.163262752 +0100
+++ /var/tmp/diff_new_pack.q7GhGi/_new  2017-11-14 14:28:21.163262752 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package subtitlecomposer
 #
-# 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
@@ -17,13 +17,15 @@
 
 
 Name:           subtitlecomposer
-Version:        0.6.4
+Version:        0.6.5
 Release:        0
 Summary:        A text-based subtitle editor
 License:        GPL-2.0+
 Group:          Productivity/Multimedia/Video/Editors and Convertors
 Url:            https://github.com/maxrd2/subtitlecomposer/
 Source0:        
https://github.com/maxrd2/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM subtitlecomposer-Qt56.patch -- backport commit #2e4c066
+Patch0:         subtitlecomposer-Qt56.patch
 BuildRequires:  extra-cmake-modules
 BuildRequires:  gstreamer-plugins-base-devel
 BuildRequires:  kauth-devel
@@ -41,34 +43,43 @@
 BuildRequires:  libxine-devel
 BuildRequires:  mpv-devel
 BuildRequires:  phonon4qt5-devel
-BuildRequires:  pkgconfig(Qt5Core)
+BuildRequires:  sonnet-devel
+BuildRequires:  pkgconfig(Qt5Core) >= 5.6
 BuildRequires:  pkgconfig(Qt5Gui)
 BuildRequires:  pkgconfig(Qt5Test)
 BuildRequires:  pkgconfig(Qt5Widgets)
 BuildRequires:  pkgconfig(gstreamer-1.0)
 BuildRequires:  pkgconfig(libxml-2.0)
-BuildRequires:  sonnet-devel
 %if 0%{?suse_version}
 BuildRequires:  update-desktop-files
 %endif
 Recommends:     %{name}-lang = %{version}
+%if 0%{?suse_version} <= 1320
 Requires(post): shared-mime-info
 Requires(postun): shared-mime-info
+%endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
-A text-based subtitles editor that supports basic operations as well as more
-advanced ones, aiming to become an improved version of Subtitle Workshop for
-every platform supported by KDE.
+A text-based subtitles editor that supports basic operations. It supports
+SubRip (SRT), MicroDVD, SSA/ASS, MPlayer, TMPlayer and YouTube captions, and
+has speech Recognition using PocketSphinx.
 
 %lang_package
 
 %prep
 %setup -q
+%patch0 -p1
 
 # Fix permissions
 chmod 644 ChangeLog
 
+# Fix shebang
+sed -i '1s|/usr/bin/env python|%{__python}|' \
+       src/main/scripting/examples/*.py
+sed -i '1s|/usr/bin/env ruby|%{_bindir}/ruby|' \
+       src/main/scripting/examples/*.rb
+
 %build
 %cmake_kf5 -d build
 %make_jobs
@@ -94,11 +105,13 @@
 
 %kf5_post_install
 
+%if 0%{?suse_version} <= 1320
 %post
 %mime_database_post
 
 %postun
 %mime_database_postun
+%endif
 
 %files
 %defattr(-,root,root,-)

++++++ subtitlecomposer-0.6.4.tar.gz -> subtitlecomposer-0.6.5.tar.gz ++++++
++++ 20854 lines of diff (skipped)

++++++ subtitlecomposer-Qt56.patch ++++++
>From 2e4c066b4571960cc42d25fed4a01fbfa73b5142 Mon Sep 17 00:00:00 2001
From: Mladen Milinkovic <[email protected]>
Date: Mon, 30 Oct 2017 22:02:01 +0100
Subject: [PATCH] Fixed compilation with Qt 5.6

---
 src/core/sstring.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/core/sstring.cpp b/src/core/sstring.cpp
index 5529302..e40bd86 100644
--- a/src/core/sstring.cpp
+++ b/src/core/sstring.cpp
@@ -28,6 +28,10 @@
 
 #include <QColor>
 
+#if (QT_VERSION < QT_VERSION_CHECK(5, 7, 0))
+       #define qAsConst
+#endif
+
 using namespace SubtitleComposer;
 
 void *

Reply via email to