qimgv/qimgv-PIE.patch
Luigi Baldoni 889ef56846 Accepting request 921023 from home:alois:branches:graphics
- Update to version 1.0.0
  General:
  * Qt6 support
  * UI updates
  * Custom theme support
  * Printing support
  * Export to pdf
  * Improved image format compatibility
  * Allow image resizing by percentage
  * Tweak zoom step range
  * Add absolute zoom step option
  * Confirmation when overwriting files
  * Allow Tab key in shortcuts
  * Add slideshow / shuffle mode indication in window title
  * Adjacent directory switching (shift+left / shift+right)
  * Automatic seamless directory switching
  * Allow more video formats besides webm/mp4
  * Zoom Lock feature
  * Shortcut for toggling fullscreen infobar
  * Show in folder menu option now pre-selects current file
  Folder view:
  * Display folders
  * Display image resolution
  * Filesystem navigation via Enter / Backspace
  * Show path bar (will be improved in future)
  * Allow multi-selection
  * Mass rotate / delete
  * Improved drag'n'drop
  * Renaming now works in folderview
  * Improved thumbnail loading responsiveness
  * Unload off-screen thumbnails option
  Misc:
  * Fix video playback with the latest mpv
  * Fix window positioning under some window managers
  * Allow custom cache folder location
  * Change default thumbnailer thread count to 4
  * Fix cursor autohide on wayland
  * Fix context menu potentially appearing off-screen
  * Other minor bug fixes
  * Lots of visual fixes
- Refresh qimgv-PIE.patch
- Drop qimgv-pluginpath_1.patch, qimgv-pluginpath_2.patch and
  qimgv-pluginpath_3.patch
- Add qimgv-no_return_in_nonvoid.patch

OBS-URL: https://build.opensuse.org/request/show/921023
OBS-URL: https://build.opensuse.org/package/show/graphics/qimgv?expand=0&rev=38
2021-09-22 18:06:23 +00:00

15 lines
653 B
Diff

Index: qimgv-1.0.0/qimgv/CMakeLists.txt
===================================================================
--- qimgv-1.0.0.orig/qimgv/CMakeLists.txt
+++ qimgv-1.0.0/qimgv/CMakeLists.txt
@@ -36,6 +36,9 @@ endif()
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 Qt${QT_VERSION_MAJOR}::Core Qt${QT_VERSION_MAJOR}::Widgets Qt${QT_VERSION_MAJOR}::Svg Qt${QT_VERSION_MAJOR}::PrintSupport)
if(QT_VERSION_MAJOR GREATER_EQUAL 6)