Dominique Leuenberger 2020-02-11 21:25:09 +00:00 committed by Git OBS Bridge
commit 0312d26fd4
6 changed files with 59 additions and 25 deletions

View File

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

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

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

View File

@ -1,14 +1,14 @@
Index: qimgv-0.8.3/qimgv/CMakeLists.txt Index: qimgv-0.8.9/qimgv/CMakeLists.txt
=================================================================== ===================================================================
--- qimgv-0.8.3.orig/qimgv/CMakeLists.txt --- qimgv-0.8.9.orig/qimgv/CMakeLists.txt
+++ qimgv-0.8.3/qimgv/CMakeLists.txt +++ qimgv-0.8.9/qimgv/CMakeLists.txt
@@ -11,6 +11,9 @@ include(CMake/SRC_UI_Files.cmake) @@ -21,6 +21,9 @@ add_subdirectory(utils)
# ADD RESOURCES target_compile_features(qimgv PRIVATE cxx_std_17)
QT5_ADD_RESOURCES(RES resources.qrc) set_target_properties(qimgv PROPERTIES CXX_EXTENSIONS OFF)
+set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIE") +set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIE")
+set( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie") +set( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie")
+ +
# ADD EXECUTABLE # LINK STUFF
add_executable(qimgv ${SRC} ${SRC_Components} ${SRC_SourceContainers} ${SRC_Utils} ${SRC_Gui} ${RES} ${SRC_UI_Files} qimgv.rc) target_link_libraries(qimgv PRIVATE Qt5::Core Qt5::Widgets Qt5::Concurrent)
if(USING_LIBSTDCXX)

View File

@ -1,18 +1,18 @@
Index: qimgv-0.8.3/qimgv_libs/qimgv_player_mpv/CMakeLists.txt Index: qimgv-0.8.9/qimgv_libs/qimgv_player_mpv/CMakeLists.txt
=================================================================== ===================================================================
--- qimgv-0.8.3.orig/qimgv_libs/qimgv_player_mpv/CMakeLists.txt --- qimgv-0.8.9.orig/qimgv_libs/qimgv_player_mpv/CMakeLists.txt
+++ qimgv-0.8.3/qimgv_libs/qimgv_player_mpv/CMakeLists.txt +++ qimgv-0.8.9/qimgv_libs/qimgv_player_mpv/CMakeLists.txt
@@ -19,7 +19,7 @@ if(WIN32) @@ -12,7 +12,7 @@ pkg_check_modules(Mpv REQUIRED IMPORTED_
endif()
endif() include(GNUInstallDirs)
-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)
@@ -34,4 +34,3 @@ target_include_directories(qimgv_player_ @@ -38,4 +38,3 @@ endif()
add_definitions(-DQIMGV_PLAYER_MPV_LIBRARY) target_compile_definitions(qimgv_player_mpv PRIVATE QIMGV_PLAYER_MPV_LIBRARY)
-install(TARGETS qimgv_player_mpv LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) -install(TARGETS qimgv_player_mpv)

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Tue Feb 11 07:05:46 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 0.8.9
What's new:
* [FolderView] You can now edit / remove files right from
folder view.
* [FolderView] Scroll animations for keyboard navigation.
* [Thumbnailer] Files are now stored as png. This fixes
transparency in folder view.
* [Panel] Scrollbar indicator.
* [Viewer] Configurable zoom step.
* [Viewer] Added another way to zoom: hold RMB and scroll.
* [Viewer] Added expandLimit option.
* Added jpeg save quality option.
* Changed some default settings.
* Updated theme & icons.
Bug fixes:
* Several bug fixes related to file operations.
* Minor visual fixes.
* Keyboard input fixes. All your keys should now work,
including symbols accessible through shift.
* Removed max zoom option.
* [windows] Do not track subfolders.
* [Thumbnailer] Fix for video files with % in file path.
* [FolderView] Thumbnails are now always uncropped.
* [FolderView] Fixes for mouse scrolling.
* Fix some keyboard focus issues.
* File format detection fixes.
* Crash fixes.
- Refreshed qimgv-nosharedlib.patch and qimgv-PIE.patch
- Removed group tag
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 12 21:30:01 UTC 2019 - Luigi Baldoni <aloisio@gmx.com> Tue Nov 12 21:30:01 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package qimgv # spec file for package qimgv
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,18 +17,17 @@
Name: qimgv Name: qimgv
Version: 0.8.8 Version: 0.8.9
Release: 0 Release: 0
Summary: Qt5 image viewer Summary: Qt5 image viewer
License: GPL-3.0-only License: GPL-3.0-only
Group: Productivity/Graphics/Viewers
URL: https://github.com/easymodo/qimgv 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 # PATCH-FEATURE-OPENSUSE qimgv-PIE.patch # aloisio@gmx.com add PIE flags
Patch1: qimgv-PIE.patch Patch1: qimgv-PIE.patch
BuildRequires: cmake BuildRequires: cmake >= 3.13
%if 0%{?suse_version} > 1500 %if 0%{?suse_version} > 1500
BuildRequires: gcc-c++ BuildRequires: gcc-c++
%else %else