commit 1eb8a0a84d2c1a77de7aec1687466be29a2e1de9
Author: Martin Gansser <martinkg(a)fedoraproject.org>
Date: Fri Dec 8 14:12:19 2017 +0100
Update to 17.12
.gitignore | 1 +
shotcut-noupdatecheck.patch | 43 +++++++++++++++++++++----------------------
shotcut.spec | 20 +++++++++++++-------
sources | 2 +-
4 files changed, 36 insertions(+), 30 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7ce2d7c..364d3da 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/shotcut-17.10.tar.gz
+/shotcut-17.12.tar.gz
diff --git a/shotcut-noupdatecheck.patch b/shotcut-noupdatecheck.patch
index fb4031d..f4e34ad 100644
--- a/shotcut-noupdatecheck.patch
+++ b/shotcut-noupdatecheck.patch
@@ -1,30 +1,29 @@
Index: src/mainwindow.cpp
===================================================================
---- src/mainwindow.cpp.orig 2017-09-27 16:35:35.513234656 +0200
-+++ src/mainwindow.cpp 2017-09-27 16:39:58.954253733 +0200
-@@ -1882,9 +1882,9 @@
- windowHandle()->installEventFilter(this);
-
- if (!Settings.noUpgrade() &&
!qApp->property("noupgrade").toBool()) {
-- QAction* action = new QAction(tr("Click here to check for a new version of
Shotcut."), 0);
-- connect(action, SIGNAL(triggered(bool)), SLOT(on_actionUpgrade_triggered()));
-- showStatusMessage(action, 10 /* seconds */);
-+ //QAction* action = new QAction(tr("Click here to check for a new version
of Shotcut."), 0);
-+ //connect(action, SIGNAL(triggered(bool)), SLOT(on_actionUpgrade_triggered()));
-+ //showStatusMessage(action, 10 /* seconds */);
- }
+--- src/mainwindow.cpp.orig 2017-12-08 13:38:56.944162254 +0100
++++ src/mainwindow.cpp 2017-12-08 13:42:07.385176045 +0100
+@@ -2548,9 +2548,9 @@
+
+ void MainWindow::showUpgradePrompt()
+ {
+- QAction* action = new QAction(tr("Click here to check for a new version of
Shotcut."), 0);
+- connect(action, SIGNAL(triggered(bool)), SLOT(on_actionUpgrade_triggered()));
+- showStatusMessage(action, 15 /* seconds */);
++ //QAction* action = new QAction(tr("Click here to check for a new version of
Shotcut."), 0);
++ //connect(action, SIGNAL(triggered(bool)), SLOT(on_actionUpgrade_triggered()));
++ //showStatusMessage(action, 15 /* seconds */);
}
-
-@@ -2890,7 +2890,7 @@
+
+ void MainWindow::on_actionRealtime_triggered(bool checked)
+@@ -2909,7 +2909,6 @@
void MainWindow::on_actionUpgrade_triggered()
{
showStatusMessage("Checking for upgrade...");
-
m_network.get(QNetworkRequest(QUrl("http://check.shotcut.org/version...;
-+
m_network.get(QNetworkRequest(QUrl("file:///usr/share/shotcut/version.json")));
}
-
+
void MainWindow::on_actionOpenXML_triggered()
-@@ -3022,7 +3022,7 @@
+@@ -3041,7 +3040,7 @@
m_upgradeUrl = json.object().value("url").toString();
showStatusMessage(action, 10 /* seconds */);
} else {
@@ -35,10 +34,10 @@ Index: src/mainwindow.cpp
return;
Index: src/src.pro
===================================================================
---- src/src.pro.orig 2017-08-02 07:41:40.000000000 +0200
-+++ src/src.pro 2017-08-05 06:23:17.818576703 +0200
-@@ -324,7 +324,7 @@ debug_and_release {
- LIBS += -lLogger -lmvcp -lpthread
+--- src/src.pro.orig 2017-12-08 13:42:45.581178811 +0100
++++ src/src.pro 2017-12-08 13:44:10.984184995 +0100
+@@ -329,7 +329,7 @@
+ LIBS += -lCuteLogger -lmvcp -lpthread
isEmpty(SHOTCUT_VERSION) {
- !win32:SHOTCUT_VERSION = $$system(date "+%y.%m.%d")
diff --git a/shotcut.spec b/shotcut.spec
index f5084a0..f25d1cf 100644
--- a/shotcut.spec
+++ b/shotcut.spec
@@ -3,7 +3,7 @@
%define _vstring %(echo %{version} |tr -d ".")
Name: shotcut
-Version: 17.10
+Version: 17.12
Release: 1%{dist}
Summary: A free, open source, cross-platform video editor
# The entire source code is GPLv3+ except mvcp/ which is LGPLv2+
@@ -24,7 +24,7 @@ BuildRequires: desktop-file-utils
BuildRequires: doxygen
BuildRequires: libappstream-glib
BuildRequires: pkgconfig(Qt5Concurrent)
-BuildRequires: pkgconfig(Qt5Core) >= 5.9.2
+BuildRequires: pkgconfig(Qt5Core) >= 5.9.1
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Multimedia)
BuildRequires: pkgconfig(Qt5Network)
@@ -114,8 +114,8 @@ Supplements: (%{name} = %{version}-%{release} and langpacks-%{1})\
# Create version.json from current version
echo "{" > version.json
-echo " \"version_number\": %{_vstring}02," >> version.json
-echo " \"version_string\": \"%{version}.02\"," >>
version.json
+echo " \"version_number\": %{_vstring}04," >> version.json
+echo " \"version_string\": \"%{version}.04\"," >>
version.json
echo " \"url\":
\"https://shotcut.org/blog/new-release-%{_vstring}/\"" >>
version.json
echo "}" >> version.json
echo "" >> version.json
@@ -124,8 +124,8 @@ echo "" >> version.json
rm -rf drmingw
%build
-export _VSTRING="%{version}.02"
-%{qmake_qt5} _VSTRING="%{version}.02" \
+export _VSTRING="%{version}.04"
+%{qmake_qt5} _VSTRING="%{version}.04" \
PREFIX=%{buildroot}%{_prefix}
%make_build
@@ -137,7 +137,7 @@ doxygen CuteLogger/Doxyfile
%install
%make_install
install -D icons/%{name}-logo-64.png %{buildroot}/%{_datadir}/pixmaps/%{name}.png
-install -Dm644 %{S:1} %{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml
+install -Dm644 %{name}.appdata.xml %{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml
install -Dm644 snap/gui/%{name}.desktop
%{buildroot}%{_datadir}/applications/%{name}.desktop
chmod a+x %{buildroot}/%{_datadir}/shotcut/qml/export-edl/rebuild.sh
@@ -191,6 +191,12 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/%{name}.a
%doc doc
%changelog
+* Fri Dec 08 2017 Martin Gansser <martinkg(a)fedoraproject.org> - 17.12-1
+- Update to 17.12
+
+* Sat Nov 04 2017 Martin Gansser <martinkg(a)fedoraproject.org> - 17.11-1
+- Update to 17.11
+
* Sat Oct 14 2017 Martin Gansser <martinkg(a)fedoraproject.org> - 17.10-1
- Update to 17.10
- pkgconfig(Qt5Core) >= 5.9.2 is required
diff --git a/sources b/sources
index 0019d42..8625384 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a5a27b2b4bfaf150aaa746d7959fc8a1 shotcut-17.10.tar.gz
+f2d1b4bacdee13bb6b21ee9d38c2e7fc shotcut-17.12.tar.gz