diff --git a/qimgv-0.8.2.tar.gz b/qimgv-0.8.2.tar.gz deleted file mode 100644 index 99f4eff..0000000 --- a/qimgv-0.8.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a0edf03f71ea94d1bcd441cd21b8bb1eef07db27e2e8abf469449479c32479f8 -size 237098 diff --git a/qimgv-0.8.3.tar.gz b/qimgv-0.8.3.tar.gz new file mode 100644 index 0000000..15cc42c --- /dev/null +++ b/qimgv-0.8.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ba0b53342eaa4a0d5c0c591f47bf0bbbc7853f2becdf826259dcac7dd51b54f +size 238535 diff --git a/qimgv-PIE.patch b/qimgv-PIE.patch new file mode 100644 index 0000000..5b3f2e2 --- /dev/null +++ b/qimgv-PIE.patch @@ -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) + diff --git a/qimgv-nosharedlib.patch b/qimgv-nosharedlib.patch index 38909e6..7ad0fd4 100644 --- a/qimgv-nosharedlib.patch +++ b/qimgv-nosharedlib.patch @@ -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.1/qimgv_libs/qimgv_player_mpv/CMakeLists.txt -@@ -10,7 +10,7 @@ find_package(Qt5Widgets REQUIRED) - - include(GNUInstallDirs) +--- qimgv-0.8.3.orig/qimgv_libs/qimgv_player_mpv/CMakeLists.txt ++++ qimgv-0.8.3/qimgv_libs/qimgv_player_mpv/CMakeLists.txt +@@ -19,7 +19,7 @@ if(WIN32) + endif() + endif() -add_library(qimgv_player_mpv SHARED +add_library(qimgv_player_mpv STATIC src/videoplayer.cpp src/mpvwidget.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) diff --git a/qimgv.changes b/qimgv.changes index 2065c41..0e11fe8 100644 --- a/qimgv.changes +++ b/qimgv.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Thu Sep 19 17:53:06 UTC 2019 - Luigi Baldoni + +- 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 diff --git a/qimgv.spec b/qimgv.spec index deadc34..c24ca7f 100644 --- a/qimgv.spec +++ b/qimgv.spec @@ -17,7 +17,7 @@ Name: qimgv -Version: 0.8.2 +Version: 0.8.3 Release: 0 Summary: Qt5 image viewer 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 # PATCH-FEATURE-OPENSUSE qimgv-nosharedlib.patch # aloisio@gmx.com build helper library statically Patch0: qimgv-nosharedlib.patch +# PATCH-FEATURE-OPENSUSE qimgv-PIE.patch # aloisio@gmx.com add PIE flags +Patch1: qimgv-PIE.patch BuildRequires: cmake %if 0%{?suse_version} > 1500 BuildRequires: gcc-c++