qimgv/qimgv-PIE.patch
Luigi Baldoni 413553713a Accepting request 773398 from home:alois:branches:graphics
- 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

OBS-URL: https://build.opensuse.org/request/show/773398
OBS-URL: https://build.opensuse.org/package/show/graphics/qimgv?expand=0&rev=28
2020-02-11 09:38:19 +00:00

15 lines
569 B
Diff

Index: qimgv-0.8.9/qimgv/CMakeLists.txt
===================================================================
--- qimgv-0.8.9.orig/qimgv/CMakeLists.txt
+++ qimgv-0.8.9/qimgv/CMakeLists.txt
@@ -21,6 +21,9 @@ add_subdirectory(utils)
target_compile_features(qimgv PRIVATE cxx_std_17)
set_target_properties(qimgv PROPERTIES CXX_EXTENSIONS OFF)
+set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIE")
+set( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie")
+
# LINK STUFF
target_link_libraries(qimgv PRIVATE Qt5::Core Qt5::Widgets Qt5::Concurrent)
if(USING_LIBSTDCXX)