Accepting request 732009 from graphics

OBS-URL: https://build.opensuse.org/request/show/732009
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qimgv?expand=0&rev=9
This commit is contained in:
Yuchen Lin 2019-09-20 12:55:32 +00:00 committed by Git OBS Bridge
commit 6a3a40f3c4
6 changed files with 49 additions and 11 deletions

View File

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

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

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

14
qimgv-PIE.patch Normal file
View File

@ -0,0 +1,14 @@
Index: qimgv-0.8.3/qimgv/CMakeLists.txt
===================================================================
--- qimgv-0.8.3.orig/qimgv/CMakeLists.txt
+++ qimgv-0.8.3/qimgv/CMakeLists.txt
@@ -11,6 +11,9 @@ include(CMake/SRC_UI_Files.cmake)
# ADD RESOURCES
QT5_ADD_RESOURCES(RES resources.qrc)
+set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIE")
+set( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie")
+
# ADD EXECUTABLE
add_executable(qimgv ${SRC} ${SRC_Components} ${SRC_SourceContainers} ${SRC_Utils} ${SRC_Gui} ${RES} ${SRC_UI_Files} qimgv.rc)

View File

@ -1,17 +1,17 @@
Index: qimgv-0.8.1/qimgv_libs/qimgv_player_mpv/CMakeLists.txt Index: qimgv-0.8.3/qimgv_libs/qimgv_player_mpv/CMakeLists.txt
=================================================================== ===================================================================
--- qimgv-0.8.1.orig/qimgv_libs/qimgv_player_mpv/CMakeLists.txt --- qimgv-0.8.3.orig/qimgv_libs/qimgv_player_mpv/CMakeLists.txt
+++ qimgv-0.8.1/qimgv_libs/qimgv_player_mpv/CMakeLists.txt +++ qimgv-0.8.3/qimgv_libs/qimgv_player_mpv/CMakeLists.txt
@@ -10,7 +10,7 @@ find_package(Qt5Widgets REQUIRED) @@ -19,7 +19,7 @@ if(WIN32)
endif()
include(GNUInstallDirs) endif()
-add_library(qimgv_player_mpv SHARED -add_library(qimgv_player_mpv SHARED
+add_library(qimgv_player_mpv STATIC +add_library(qimgv_player_mpv STATIC
src/videoplayer.cpp src/videoplayer.cpp
src/mpvwidget.cpp src/mpvwidget.cpp
src/videoplayermpv.cpp) src/videoplayermpv.cpp)
@@ -25,4 +25,3 @@ target_include_directories(qimgv_player_ @@ -34,4 +34,3 @@ target_include_directories(qimgv_player_
add_definitions(-DQIMGV_PLAYER_MPV_LIBRARY) add_definitions(-DQIMGV_PLAYER_MPV_LIBRARY)

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Thu Sep 19 17:53:06 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 0.8.3
New stuff:
* triggerScalingFilter action
* Support drag'n'dropping out of qimgv
Bug Fixes:
* Save maximized window state
* CMake fixes (VIDEO_SUPPORT option working incorrectly)
* Some unicode fixes on windows
* Fix lag during sorting mode switch
* Fix icon grid behavior when a lot of files are being
added/modified from outside
* Fix clipboard file copying (via ctrl+c)
* Load files with incorrect file extensions (when opened
directly)
- Refreshed qimgv-nosharedlib.patch
- Added qimgv-PIE.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Aug 27 18:01:53 UTC 2019 - Luigi Baldoni <aloisio@gmx.com> Tue Aug 27 18:01:53 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>

View File

@ -17,7 +17,7 @@
Name: qimgv Name: qimgv
Version: 0.8.2 Version: 0.8.3
Release: 0 Release: 0
Summary: Qt5 image viewer Summary: Qt5 image viewer
License: GPL-3.0-only License: GPL-3.0-only
@ -26,6 +26,8 @@ URL: https://github.com/easymodo/qimgv
Source0: https://github.com/easymodo/qimgv/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: https://github.com/easymodo/qimgv/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
# PATCH-FEATURE-OPENSUSE qimgv-nosharedlib.patch # aloisio@gmx.com build helper library statically # PATCH-FEATURE-OPENSUSE qimgv-nosharedlib.patch # aloisio@gmx.com build helper library statically
Patch0: qimgv-nosharedlib.patch Patch0: qimgv-nosharedlib.patch
# PATCH-FEATURE-OPENSUSE qimgv-PIE.patch # aloisio@gmx.com add PIE flags
Patch1: qimgv-PIE.patch
BuildRequires: cmake BuildRequires: cmake
%if 0%{?suse_version} > 1500 %if 0%{?suse_version} > 1500
BuildRequires: gcc-c++ BuildRequires: gcc-c++