[xvst] fix bundled qtsingleapplication

Leigh Scott leigh123linux at rpmfusion.org
Wed Jul 20 12:06:16 CEST 2016


commit 02b554329acd4f3e348ad743a668aa9b4e593e32
Author: leigh123linux <leigh123linux at googlemail.com>
Date:   Wed Jul 20 11:06:08 2016 +0100

    fix bundled qtsingleapplication

 fix_bundled_qtsingleapplication.patch | 11 +++++++++++
 xvst.spec                             |  8 +++++++-
 2 files changed, 18 insertions(+), 1 deletion(-)
---
diff --git a/fix_bundled_qtsingleapplication.patch b/fix_bundled_qtsingleapplication.patch
new file mode 100644
index 0000000..5c025f8
--- /dev/null
+++ b/fix_bundled_qtsingleapplication.patch
@@ -0,0 +1,11 @@
+--- a/src/qtsingleapplication/src/qtlocalpeer.cpp
++++ b/src/qtsingleapplication/src/qtlocalpeer.cpp
+@@ -40,6 +40,7 @@
+ 
+ #include "qtlocalpeer.h"
+ #include <QCoreApplication>
++#include <QDataStream>
+ #include <QTime>
+ 
+ #if defined(Q_OS_WIN)
+
diff --git a/xvst.spec b/xvst.spec
index 954a67e..2e0ae56 100644
--- a/xvst.spec
+++ b/xvst.spec
@@ -5,7 +5,7 @@
 Summary:        Downloading your favourite video clips from a lot of websites
 Name:           xvst
 Version:        2.5.2
-Release:        4.%{gitdate}git%{shortcommit}%{?dist}
+Release:        5.%{gitdate}git%{shortcommit}%{?dist}
 License:        GPLv3+
 URL:            https://github.com/xVST/xVideoServiceThief
 # wget https://github.com/xVST/xVideoServiceThief/archive/cbfafe49f7ba1c85d4dcf51be17b49b035210412/xvst-2.5.2-cbfafe4.tar.gz
@@ -19,6 +19,8 @@ Patch3:         keezmovies.patch
 Patch4:         myvideo.patch
 Patch5:         sunporno.patch
 Patch6:         wat.tv.patch
+# You should remove the bundled qtsingleapplication
+Patch7:         fix_bundled_qtsingleapplication.patch
 
 BuildRequires:  desktop-file-utils
 BuildRequires:  qt5-qtbase-devel
@@ -51,6 +53,7 @@ rm -rf src/rtmpdump
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 # Fix path names and end-of-line encoding.
 sed -i "s|getApplicationPath()\ +\ \"|\"/usr/share/%{name}|g" src/options.cpp
@@ -101,6 +104,9 @@ update-desktop-database &> /dev/null || :
 %{_datadir}/%{name}/languages/*qm
 
 %changelog
+* Wed Jul 20 2016 Leigh Scott <leigh123linux at googlemail.com> - 2.5.2-5.20140804gitcbfafe4
+- fix bundled qtsingleapplication
+
 * Sat Mar 21 2015 Martin Gansser <linux4martin at gmx.de> 2.5.2-4.20140804gitcbfafe4
 - dropped macro %%find_lang because it doesn't work in this certain case
 - dropped macro %%exclude from %%{_datadir}/%%{name}/languages/*qm


More information about the rpmfusion-commits mailing list