Accepting request 800263 from home:alois:branches:graphics

- Update to version 0.9.1
  * Fixed incorrect window position on launch (it occasionally
    shifted upwards by the height of titlebar)
  * Exif orientation not being applied (regression)
  * Expand images option not working correctly when expand limit
    is unset
  * Building with qt <5.14 now works again
- Drop qimgv-Qt512.patch (merged upstream)

OBS-URL: https://build.opensuse.org/request/show/800263
OBS-URL: https://build.opensuse.org/package/show/graphics/qimgv?expand=0&rev=34
This commit is contained in:
Luigi Baldoni 2020-05-05 07:51:22 +00:00 committed by Git OBS Bridge
parent 18ba63d651
commit 5bc5ce7dbd
5 changed files with 16 additions and 31 deletions

3
qimgv-0.9.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:728b05b0e26d0188b3d25eb564effab4a77dd0c7453d82e024f1eaa8781e8f4b
size 670033

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b994cdcaad269de6774a59ff01dbfdb4adf0994f974fc5756daf43aa9bfeab05
size 669848

View File

@ -1,25 +0,0 @@
From a39d6086ceb9445d2c16943e0719096a99920bf8 Mon Sep 17 00:00:00 2001
From: easymodo <easymodofrf@gmail.com>
Date: Fri, 1 May 2020 04:20:44 +0300
Subject: [PATCH] fix build with qt < 5.14 #205
---
.../directorymanager/watchers/linux/linuxworker.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/qimgv/components/directorymanager/watchers/linux/linuxworker.cpp b/qimgv/components/directorymanager/watchers/linux/linuxworker.cpp
index 96ec9d3..e49cf40 100644
--- a/qimgv/components/directorymanager/watchers/linux/linuxworker.cpp
+++ b/qimgv/components/directorymanager/watchers/linux/linuxworker.cpp
@@ -21,7 +21,11 @@ void LinuxWorker::setDescriptor(int desc) {
void LinuxWorker::run() {
emit started();
+#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
+ isRunning.store(true);
+#else
isRunning.storeRelaxed(true);
+#endif
if (fd == -1) {
qDebug() << TAG << "File descriptor isn't set! Stopping";

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue May 5 07:40:11 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 0.9.1
* Fixed incorrect window position on launch (it occasionally
shifted upwards by the height of titlebar)
* Exif orientation not being applied (regression)
* Expand images option not working correctly when expand limit
is unset
* Building with qt <5.14 now works again
- Drop qimgv-Qt512.patch (merged upstream)
-------------------------------------------------------------------
Fri May 1 07:05:43 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>

View File

@ -17,7 +17,7 @@
Name: qimgv
Version: 0.9
Version: 0.9.1
Release: 0
Summary: Qt5 image viewer
License: GPL-3.0-only
@ -29,8 +29,6 @@ Patch0: qimgv-nosharedlib.patch
Patch1: qimgv-PIE.patch
# PATCH-FIX-OPENSUSE qimgv-includepath.patch # aloisio@gmx.com use correct path for opencv includes
Patch2: qimgv-includepath.patch
# PATCH-FIX-UPSTREAM qimgv-Qt512.patch
Patch3: qimgv-Qt512.patch
BuildRequires: cmake >= 3.13
%if 0%{?suse_version} > 1500
BuildRequires: gcc-c++