commit subtitlecomposer for openSUSE:Factory

2020-03-27 Thread root
Hello community,

here is the log from the commit of package subtitlecomposer for 
openSUSE:Factory checked in at 2020-03-27 21:57:24

Comparing /work/SRC/openSUSE:Factory/subtitlecomposer (Old)
 and  /work/SRC/openSUSE:Factory/.subtitlecomposer.new.3160 (New)


Package is "subtitlecomposer"

Fri Mar 27 21:57:24 2020 rev:7 rq:788726 version:0.7.0

Changes:

--- /work/SRC/openSUSE:Factory/subtitlecomposer/subtitlecomposer.changes
2020-03-11 18:56:47.323713577 +0100
+++ 
/work/SRC/openSUSE:Factory/.subtitlecomposer.new.3160/subtitlecomposer.changes  
2020-03-27 21:57:44.106808028 +0100
@@ -1,0 +2,9 @@
+Sat Mar 14 11:37:30 UTC 2020 - Antonio Larrosa 
+
+- Move URL to the new upstream location at invent.kde.org
+- Remove the dependency on python-base (python2) by removing the
+  python examples (so we don't install any python scripts anymore).
+  The python scripts can't be used anyway since we build
+  kross-interpreters without python support.
+
+---



Other differences:
--
++ subtitlecomposer.spec ++
--- /var/tmp/diff_new_pack.cezYkd/_old  2020-03-27 21:57:45.718808966 +0100
+++ /var/tmp/diff_new_pack.cezYkd/_new  2020-03-27 21:57:45.758808988 +0100
@@ -22,7 +22,7 @@
 Summary:A text-based subtitle editor
 License:GPL-2.0-or-later
 Group:  Productivity/Multimedia/Video/Editors and Convertors
-URL:https://github.com/maxrd2/subtitlecomposer/
+URL:https://invent.kde.org/kde/subtitlecomposer
 Source0:
https://github.com/maxrd2/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
 # No longer part of mpv >= 0.33
 Source1:
https://raw.githubusercontent.com/mpv-player/mpv/v0.32.0/libmpv/qthelper.hpp
@@ -81,12 +81,18 @@
 # Fix permissions
 chmod 644 ChangeLog
 
+# We build kross-interpreters without python support anyway, so we can
+# remove the python examples to remove an useless dependency on python2
+rm src/scripting/examples/*.py
+
 # Fix shebang
-sed -i '1s|%{_bindir}/env python|%{_bindir}/python|' \
-   src/scripting/examples/*.py
 sed -i '1s|%{_bindir}/env ruby|%{_bindir}/ruby|' \
src/scripting/examples/*.rb
 
+# Fix shebang in newly created files
+sed -i 's,#!/usr/bin/env ruby,#!%{_bindir}/ruby,' \
+   src/scripting/scriptsmanager.cpp
+
 %build
 %cmake_kf5 -d build
 %make_jobs
@@ -95,7 +101,6 @@
 %kf5_makeinstall -C build
 
 # Fix persissions
-chmod 755 %{buildroot}%{_kf5_appsdir}/%{name}/scripts/*.py
 chmod 755 %{buildroot}%{_kf5_appsdir}/%{name}/scripts/*.rb
 # Fix rpmlint error (devel-file-in-non-devel-package) and install header files 
as doc (since they are installed just for help)
 mkdir files_for_doc




commit subtitlecomposer for openSUSE:Factory

2020-03-11 Thread root
Hello community,

here is the log from the commit of package subtitlecomposer for 
openSUSE:Factory checked in at 2020-03-11 18:55:40

Comparing /work/SRC/openSUSE:Factory/subtitlecomposer (Old)
 and  /work/SRC/openSUSE:Factory/.subtitlecomposer.new.3160 (New)


Package is "subtitlecomposer"

Wed Mar 11 18:55:40 2020 rev:6 rq:783883 version:0.7.0

Changes:

--- /work/SRC/openSUSE:Factory/subtitlecomposer/subtitlecomposer.changes
2019-06-30 10:22:31.447715534 +0200
+++ 
/work/SRC/openSUSE:Factory/.subtitlecomposer.new.3160/subtitlecomposer.changes  
2020-03-11 18:56:47.323713577 +0100
@@ -1,0 +2,8 @@
+Wed Mar 11 10:30:18 UTC 2020 - Christophe Giboudeaux 
+
+- Add a local qthelper.cpp copy. mpv >= 0.33 doesn't provide this
+  header anymore and suggest keeping a local copy until using a
+  better wrapper.
+- Add 0001-Use-a-local-qthelper.cpp-copy.patch
+
+---

New:

  0001-Use-a-local-qthelper.cpp-copy.patch
  qthelper.hpp



Other differences:
--
++ subtitlecomposer.spec ++
--- /var/tmp/diff_new_pack.vWCdqV/_old  2020-03-11 18:56:47.827713802 +0100
+++ /var/tmp/diff_new_pack.vWCdqV/_new  2020-03-11 18:56:47.827713802 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package subtitlecomposer
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,10 @@
 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
+# No longer part of mpv >= 0.33
+Source1:
https://raw.githubusercontent.com/mpv-player/mpv/v0.32.0/libmpv/qthelper.hpp
+# PATCH-FIX-UPSTREAM use a local qthelper.hpp copy
+Patch0: 0001-Use-a-local-qthelper.cpp-copy.patch
 BuildRequires:  cmake >= 3.10
 BuildRequires:  extra-cmake-modules
 BuildRequires:  kauth-devel
@@ -70,6 +74,9 @@
 
 %prep
 %setup -q -n SubtitleComposer-%{version}
+%patch0 -p1
+
+cp %{SOURCE1} src/videoplayerplugins/mpv/
 
 # Fix permissions
 chmod 644 ChangeLog

++ 0001-Use-a-local-qthelper.cpp-copy.patch ++
>From b870cecd8070974e85db99b082e9bb0e9a903fe0 Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux 
Date: Wed, 11 Mar 2020 11:28:38 +0100
Subject: [PATCH] Use a local qthelper.cpp copy

mpv >= 0.33 no longer provides this header and suggests copying this header 
locally.
---
 src/videoplayerplugins/mpv/mpvbackend.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/videoplayerplugins/mpv/mpvbackend.h 
b/src/videoplayerplugins/mpv/mpvbackend.h
index d0edf2e..036ac5e 100644
--- a/src/videoplayerplugins/mpv/mpvbackend.h
+++ b/src/videoplayerplugins/mpv/mpvbackend.h
@@ -23,7 +23,7 @@
 
 #include "videoplayer/playerbackend.h"
 
-#include 
+#include "qthelper.hpp"
 
 #include 
 #include 
-- 
2.25.1

++ qthelper.hpp ++
/* Copyright (C) 2017 the mpv developers
 *
 * Permission to use, copy, modify, and/or distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 */

#ifndef MPV_CLIENT_API_QTHELPER_H_
#define MPV_CLIENT_API_QTHELPER_H_

#include 

#if !MPV_ENABLE_DEPRECATED
#error "This helper is deprecated. Copy it into your project instead."
#else

/**
 * Note: these helpers are provided for convenience for C++/Qt applications.
 * This is based on the public API in client.h, and it does not encode any
 * knowledge that is not known or guaranteed outside of the C client API. You
 * can even copy and modify this code as you like, or implement similar things
 * for other languages.
 */

#include 

#include 
#include 
#include 
#include 
#include 
#include 

namespace mpv {
namespace qt {

// Wrapper around mpv_handle. Does refcounting under the hood.
class Handle
{
struct container {
container(mpv_handle *h) : mpv(h) {}
~container() { mpv_terminate_destroy(mpv); }
mpv_handle *mpv;
};

commit subtitlecomposer for openSUSE:Factory

2019-06-30 Thread root
Hello community,

here is the log from the commit of package subtitlecomposer for 
openSUSE:Factory checked in at 2019-06-30 10:22:24

Comparing /work/SRC/openSUSE:Factory/subtitlecomposer (Old)
 and  /work/SRC/openSUSE:Factory/.subtitlecomposer.new.4615 (New)


Package is "subtitlecomposer"

Sun Jun 30 10:22:24 2019 rev:5 rq:712547 version:0.7.0

Changes:

--- /work/SRC/openSUSE:Factory/subtitlecomposer/subtitlecomposer.changes
2018-06-19 11:58:07.898355663 +0200
+++ 
/work/SRC/openSUSE:Factory/.subtitlecomposer.new.4615/subtitlecomposer.changes  
2019-06-30 10:22:31.447715534 +0200
@@ -1,0 +2,30 @@
+Thu Jun 27 19:10:58 UTC 2019 - Luigi Baldoni 
+
+- Update to version 0.7.0
+  * Fixed parsing of absolute paths containing '#' character
+  * Fixed open dialogs not showing all supported files
+  * Fixed subtitle text not respecting system font configuration
+  * Fixed waveform not rendering correctly/completely on some
+formats
+  * Fixed waveform displaying subtitles at wrong times
+  * Fixed waveform not working with some
+  * Fixes to MPV, GStreamer and Xine video player backends
+  * Waveform scrolling is configurable
+  * PocketSphinx language models and VAD are configurable
+  * Added show status bar action to main window popup menu
+  * Improved (scripting) performance
+  * Spell checker will use translation text when it is selected
+  * Waveform and video docks can be hidden
+  * Split lines won't split text on spaces while there are
+multiple lines
+  * Subtitle lines will always stay sorted by their time
+  * Improved fullscreen video player
+  * Added ability to step by frame
+  * Added play rate controls to video menu
+  * Updated Croatian translation
+  * Updated Italian translation
+  * Updated Russian translation
+
+- Dropped fix_build_with_qt5.11.patch (merged upstream)
+
+---

Old:

  fix_build_with_qt5.11.patch
  subtitlecomposer-0.6.6.tar.gz

New:

  subtitlecomposer-0.7.0.tar.gz



Other differences:
--
++ subtitlecomposer.spec ++
--- /var/tmp/diff_new_pack.FVk3Px/_old  2019-06-30 10:22:32.011716409 +0200
+++ /var/tmp/diff_new_pack.FVk3Px/_new  2019-06-30 10:22:32.015716416 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package subtitlecomposer
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,20 +12,18 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:   subtitlecomposer
-Version:0.6.6
+Version:0.7.0
 Release:0
 Summary:A text-based subtitle editor
 License:GPL-2.0-or-later
 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 fix_build_with_qt5.11.patch asterios.dra...@gmail.com -- 
Fix build failure with Qt 5.11
-Patch0: fix_build_with_qt5.11.patch
 BuildRequires:  cmake >= 3.10
 BuildRequires:  extra-cmake-modules
 BuildRequires:  kauth-devel
@@ -71,8 +69,7 @@
 %lang_package
 
 %prep
-%setup -q
-%patch0 -p1
+%setup -q -n SubtitleComposer-%{version}
 
 # Fix permissions
 chmod 644 ChangeLog
@@ -115,14 +112,15 @@
 %endif
 
 %files
-%doc AUTHORS ChangeLog README.md TODO files_for_doc/api
-%license COPYING
+%doc ChangeLog README.md files_for_doc/api
+%license LICENSE
 %{_kf5_applicationsdir}/%{name}.desktop
 %{_kf5_appsdir}/%{name}/
 %{_kf5_bindir}/%{name}
 %config(noreplace) %{_kf5_configdir}/%{name}rc
 %dir %{_kf5_iconsdir}/hicolor/256x256
 %dir %{_kf5_iconsdir}/hicolor/256x256/apps
+%{_kf5_appstreamdir}/%{name}.desktop.appdata.xml
 %{_kf5_iconsdir}/hicolor/*/*/*
 %{_kf5_kxmlguidir}/%{name}/
 %{_kf5_libdir}/%{name}/

++ subtitlecomposer-0.6.6.tar.gz -> subtitlecomposer-0.7.0.tar.gz ++
 102901 lines of diff (skipped)




commit subtitlecomposer for openSUSE:Factory

2018-06-19 Thread root
Hello community,

here is the log from the commit of package subtitlecomposer for 
openSUSE:Factory checked in at 2018-06-19 11:58:05

Comparing /work/SRC/openSUSE:Factory/subtitlecomposer (Old)
 and  /work/SRC/openSUSE:Factory/.subtitlecomposer.new (New)


Package is "subtitlecomposer"

Tue Jun 19 11:58:05 2018 rev:4 rq:616448 version:0.6.6

Changes:

--- /work/SRC/openSUSE:Factory/subtitlecomposer/subtitlecomposer.changes
2018-02-13 10:32:29.466418211 +0100
+++ /work/SRC/openSUSE:Factory/.subtitlecomposer.new/subtitlecomposer.changes   
2018-06-19 11:58:07.898355663 +0200
@@ -1,0 +2,6 @@
+Tue Jun 12 17:58:02 UTC 2018 - asterios.dra...@gmail.com
+
+- Added a patch (fix_build_with_qt5.11.patch), taken from upstream,
+  to fix build failure with Qt 5.11.
+
+---

New:

  fix_build_with_qt5.11.patch



Other differences:
--
++ subtitlecomposer.spec ++
--- /var/tmp/diff_new_pack.GpmfTR/_old  2018-06-19 11:58:08.518332643 +0200
+++ /var/tmp/diff_new_pack.GpmfTR/_new  2018-06-19 11:58:08.526332346 +0200
@@ -20,10 +20,12 @@
 Version:0.6.6
 Release:0
 Summary:A text-based subtitle editor
-License:GPL-2.0+
+License:GPL-2.0-or-later
 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 fix_build_with_qt5.11.patch asterios.dra...@gmail.com -- 
Fix build failure with Qt 5.11
+Patch0: fix_build_with_qt5.11.patch
 BuildRequires:  cmake >= 3.10
 BuildRequires:  extra-cmake-modules
 BuildRequires:  kauth-devel
@@ -70,14 +72,15 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 # Fix permissions
 chmod 644 ChangeLog
 
 # Fix shebang
-sed -i '1s|/usr/bin/env python|%{__python}|' \
+sed -i '1s|%{_bindir}/env python|%{_bindir}/python|' \
src/scripting/examples/*.py
-sed -i '1s|/usr/bin/env ruby|%{_bindir}/ruby|' \
+sed -i '1s|%{_bindir}/env ruby|%{_bindir}/ruby|' \
src/scripting/examples/*.rb
 
 %build
@@ -95,7 +98,7 @@
 cp -a %{buildroot}%{_kf5_appsdir}/%{name}/scripts/api/ files_for_doc/
 rm -rf %{buildroot}%{_kf5_appsdir}/%{name}/scripts/api/
 # Point to the correct path of the header files directory (doc)
-perl -pi -e "s|'api'|'/usr/share/doc/packages/subtitlecomposer/api'|" 
%{buildroot}%{_kf5_appsdir}/%{name}/scripts/README
+perl -pi -e "s|'api'|'%{_docdir}/subtitlecomposer/api'|" 
%{buildroot}%{_kf5_appsdir}/%{name}/scripts/README
 
 %suse_update_desktop_file -r %{name} Qt KDE AudioVideo AudioVideoEditing
 

++ fix_build_with_qt5.11.patch ++
>From cca0ff13c5bab516c073f9457277bdbf5fe1fd9a Mon Sep 17 00:00:00 2001
From: Martchus 
Date: Sun, 10 Jun 2018 21:34:29 +0200
Subject: [PATCH] Use target_link_libraries instead of qt5_use_modules

The qt5_use_modules macro is deprecated and even no longer
available in Qt 5.11.0.
---
 src/CMakeLists.txt  |  4 ++--
 src/core/tests/CMakeLists.txt   | 12 
 src/speechplugins/pocketsphinx/CMakeLists.txt   |  3 +--
 src/videoplayerplugins/gstreamer/CMakeLists.txt |  3 +--
 src/videoplayerplugins/mplayer/CMakeLists.txt   |  4 +---
 src/videoplayerplugins/mpv/CMakeLists.txt   |  3 +--
 src/videoplayerplugins/phonon/CMakeLists.txt|  3 +--
 src/videoplayerplugins/xine/CMakeLists.txt  |  3 +--
 8 files changed, 12 insertions(+), 23 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index aac9147..4f8223a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -100,8 +100,6 @@ ki18n_wrap_ui(subtitlecomposer_SRCS
 
 add_executable(subtitlecomposer ${subtitlecomposer_SRCS})
 
-qt5_use_modules(subtitlecomposer Core Widgets)
-
 # Xine videoplayer plugin needs XInitThreads() call in main
 # optional since Xine will not be built without X11
 find_package(X11 QUIET)
@@ -117,6 +115,8 @@ target_link_libraries(subtitlecomposer
${widgets_LIBS}
${X11_LIBRARIES}
${FFMPEG_LIBRARIES}
+Qt5::Core
+Qt5::Widgets
 )
 
 add_definitions(
diff --git a/src/core/tests/CMakeLists.txt b/src/core/tests/CMakeLists.txt
index 1ef64c0..71c3c99 100644
--- a/src/core/tests/CMakeLists.txt
+++ b/src/core/tests/CMakeLists.txt
@@ -10,26 +10,22 @@ set(rangelisttest_SRCS rangelisttest.cpp)
 add_executable(core-rangelisttest ${rangelisttest_SRCS})
 add_test(subtitlecomposer core-rangelisttest)
 ecm_mark_as_test(core-rangelisttest)
-target_link_libraries(core-rangelisttest ${subtitlecomposer_LIBS})
-qt5_use_modules(core-rangelisttest Core Test)
+target_link_libraries(core-rangelisttest ${subtitlecomposer_LIBS} Qt5::Core 
Qt5::Test)
 
 

commit subtitlecomposer for openSUSE:Factory

2018-02-13 Thread root
Hello community,

here is the log from the commit of package subtitlecomposer for 
openSUSE:Factory checked in at 2018-02-13 10:32:20

Comparing /work/SRC/openSUSE:Factory/subtitlecomposer (Old)
 and  /work/SRC/openSUSE:Factory/.subtitlecomposer.new (New)


Package is "subtitlecomposer"

Tue Feb 13 10:32:20 2018 rev:3 rq:575952 version:0.6.6

Changes:

--- /work/SRC/openSUSE:Factory/subtitlecomposer/subtitlecomposer.changes
2017-11-14 14:28:20.523286088 +0100
+++ /work/SRC/openSUSE:Factory/.subtitlecomposer.new/subtitlecomposer.changes   
2018-02-13 10:32:29.466418211 +0100
@@ -1,0 +2,30 @@
+Sun Feb 11 09:30:06 UTC 2018 - aloi...@gmx.com
+
+- Update to version 0.6.6
+  * Fixed open video dialog filters
+  * Fixed "Insert Line" on waveform adding at the wrong index -
+thanks @qsniyg
+  * Added MMB seeking on waveform - thanks @qsniyg
+  * Fixed some compilation issues
+  * Updated translations - thanks @gogogogi, @muzena
+  * Fixed vobsub when opening from video file and symbol cache
+filename
+  * Fixed subtitle loading times of huge files
+  * Improved vobsub text detection
+  * Fixed ASS rich text parsing on import subtitle stream action
+  * Replaced buggy mplayer vobsub import code with ffmpeg
+  * Fixed memory leaks/usage of WaveformWidget's scroll animation
+  * Optimized import subtitle stream from video action
+  * Replaced gstreamer with ffmpeg libraries in application core
+usage
+  * Added abort button to speech recognition
+  * Waveform smooth scrolling
+  * Added join/split lines actions to waveform context menu
+  * Fixed some crashes, memory leaks and overall code cleanups
+  * Cleaned up settings widget and texts
+
+- Dropped subtitlecomposer-Qt56.patch (merged upstream)
+
+- Spec cleanup
+
+---

Old:

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

New:

  subtitlecomposer-0.6.6.tar.gz



Other differences:
--
++ subtitlecomposer.spec ++
--- /var/tmp/diff_new_pack.4lzHgX/_old  2018-02-13 10:32:32.330315016 +0100
+++ /var/tmp/diff_new_pack.4lzHgX/_new  2018-02-13 10:32:32.330315016 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package subtitlecomposer
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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,17 +17,15 @@
 
 
 Name:   subtitlecomposer
-Version:0.6.5
+Version:0.6.6
 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/
+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:  cmake >= 3.10
 BuildRequires:  extra-cmake-modules
-BuildRequires:  gstreamer-plugins-base-devel
 BuildRequires:  kauth-devel
 BuildRequires:  kcodecs-devel
 BuildRequires:  kconfig-devel
@@ -39,26 +37,29 @@
 BuildRequires:  ktextwidgets-devel
 BuildRequires:  kwidgetsaddons-devel
 BuildRequires:  kxmlgui-devel
-BuildRequires:  libicu-devel
-BuildRequires:  libxine-devel
-BuildRequires:  mpv-devel
-BuildRequires:  phonon4qt5-devel
+BuildRequires:  pkgconfig
 BuildRequires:  sonnet-devel
+BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(Qt5Core) >= 5.6
 BuildRequires:  pkgconfig(Qt5Gui)
 BuildRequires:  pkgconfig(Qt5Test)
 BuildRequires:  pkgconfig(Qt5Widgets)
 BuildRequires:  pkgconfig(gstreamer-1.0)
+BuildRequires:  pkgconfig(gstreamer-plugins-base-1.0)
+BuildRequires:  pkgconfig(icu-i18n)
+BuildRequires:  pkgconfig(icu-uc)
+BuildRequires:  pkgconfig(libavcodec)
+BuildRequires:  pkgconfig(libavformat)
+BuildRequires:  pkgconfig(libavutil)
+BuildRequires:  pkgconfig(libxine)
 BuildRequires:  pkgconfig(libxml-2.0)
-%if 0%{?suse_version}
-BuildRequires:  update-desktop-files
-%endif
+BuildRequires:  pkgconfig(mpv)
+BuildRequires:  pkgconfig(phonon4qt5)
 Recommends: %{name}-lang = %{version}
-%if 0%{?suse_version} <= 1320
+%if 0%{?suse_version} < 1500
 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. It supports
@@ -69,16 +70,15 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 # Fix permissions
 chmod 644 ChangeLog
 
 # Fix shebang
 sed -i 

commit subtitlecomposer for openSUSE:Factory

2017-11-14 Thread root
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 - aloi...@gmx.com
+
+- 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  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 - jeng...@inai.de
+
+- 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 

commit subtitlecomposer for openSUSE:Factory

2017-07-05 Thread root
Hello community,

here is the log from the commit of package subtitlecomposer for 
openSUSE:Factory checked in at 2017-07-05 23:57:46

Comparing /work/SRC/openSUSE:Factory/subtitlecomposer (Old)
 and  /work/SRC/openSUSE:Factory/.subtitlecomposer.new (New)


Package is "subtitlecomposer"

Wed Jul  5 23:57:46 2017 rev:1 rq:500497 version:0.6.4

Changes:

New Changes file:

--- /dev/null   2017-06-30 09:57:03.955002226 +0200
+++ /work/SRC/openSUSE:Factory/.subtitlecomposer.new/subtitlecomposer.changes   
2017-07-05 23:57:49.789376232 +0200
@@ -0,0 +1,176 @@
+---
+Mon Oct 31 19:06:55 UTC 2016 - asterios.dra...@gmail.com
+
+- Update directories not owned by package to cover also
+  Factory/Tumbleweed.
+
+---
+Thu Jun 23 20:03:40 UTC 2016 - asterios.dra...@gmail.com
+
+- Update to 0.6.4:
+  * ADD: WaveformWidget: context menu 
+  * MOD: Updated German translations - thanks @Martchus
+  * MOD: Updated Croatian translations - thanks @muzena
+  * FIX: Inserting subtitle line would corrupt subtitle indexes
+  * FIX: Display audio of WebM/FLV files in waveform - thanks
+@Martchus
+  From 0.6.3:
+  * ADD: WaveformWidget: customization settings page
+  * ADD: Speech recognition with PocketSphinx
+  * MOD: Waveform and Player widgets can be docked to any side of
+the main window
+  * MOD: WaveformWidget: can be manually scrolled even if
+autoscroll is enabled
+  * MOD: WaveformWidget: ability to drag whole subtitle line
+  * MOD: Updated croatian translation - thanks @muzena
+  * FIX: Video player fullscreen and icon display under was not
+right under some desktop environments - thanks @Martchus
+  * FIX: WaveformWidget: when dragging subtitle borders (or
+clicking near them), show/hide time was jumping to mouse
+position
+  * FIX: po/Messages.sh will generate .po files compatible with Qt
+Linguist, and will run from any path
+  * FIX: Build cleanups - thanks @pinotree
+  From 0.6.2:
+  * ADD: Ability to demux text streams from loaded video
+  * MOD: WaveformWidget: added scrollbar and manual scrolling mode,
+improved zoom, widget state is loaded/saved
+  * MOD: WaveformWidget: double click will seek in video player
+  * MOD: WaveformWidget: subtitle show/hide time can be dragged
+  * MOD: Added default shortcut for play/pause video.
+  * MOD: Support for building with cmake older version than 3.3
+  * FIX: Changing player backend setting will reopen loaded video
+in new player backend.
+  * FIX: Timeline after last anchored subtitle was scaled
+incorrectly.
+  * FIX: WaveformWidget: optimizations and speed improvements
+  * FIX: Recent files list was not saved properly in some cases
+(subtitle list full).
+  * FIX: WaveformWidget: fixed crash after closing subtitle
+  * FIX: WaveformWidget: editing of non-anchored lines is not
+allowed
+  * FIX: StreamProcessor was not freeing it's resources.
+  * FIX: Updated configure and install scripts
+  * FIX: Removed "Decoder backend" entry from video player settings
+page.
+  From 0.6.1:
+  * FIX: Anchor points syncing wasn't working right in some cases
+  From 0.6.0:
+  * ADD: Anchor points syncing
+  * ADD: Waveform widget.
+  * MOD: Improved precision of the Time class.
+  * MOD: GStreamerPlayerBackend will pause when reaching
+end-of-stream instead of stopping/resetting player.
+  * MOD: Converted playerbackends to plugins
+  * MOD: updated German translation
+  * FIX: Video player widget will repaint background correctly.
+  * FIX: Code refactoring, cleanups and optimizations.
+  * FIX: fixed/enabled Drag & Drop
+  From 0.5.9:
+  * FIX: Improved error reporting during video open.
+  * MOD: Added italian translation.
+  From 0.5.8:
+  * ADD: MPV player support
+  * MOD: Replaced remaining KDE4 deprecated code, removed
+KDELibs4Support dependency. Finalized KF5 porting.
+  * MOD: Update croatian translation and README.md
+  * MOD: Added option not to resume playback after subtitle
+doubleclick if player is paused
+  * FIX: Gettext translations were not created during build
+process.
+  * FIX: FindGStreamer.cmake was not searching for and including
+arch-specific include dir
+  * FIX: Errors/Spelling in "Error Check" settings
+  * FIX: Build process fixes
+  * FIX: improved player/decoder backends, solved crashes when
+switching backends
+  * FIX: Added option to antialias subtitles
+  * FIX: Phonon player backend was displaying embeded subtitles
+  * FIX: OBS (OpenSuse) package creation was failing
+- Updated build/runtime requirements to KF5/Qt5.
+- Added new build requirement mpv-devel.
+- Removed fdupes macro (not needed anymore).
+- Removed NULL-pointer.patch and
+