Files
nativefiledialog-extended/nfd-use_correct_cmake_folder.patch
Luigi Baldoni c12ee8b43d Accepting request 1272810 from home:alois
Update to version 1.2.1
  This is a bugfix release that fixes a crash in the GTK backend
  that is caused by GTK creating a dialog window on X11 even
  though the parent window is on Wayland, or vice versa. The
  build script also received a fix that improves usability when
  this library is set up as a dependency of another project.
  What's Changed
  * Build: Add alias target for dependent project CMake
    consumption
  * GTK: Open the dialog window on the same GdkScreen (and
    GdkDisplay) as the parent
  version 1.2.0:
  This release brings two new features: Opening a folder picker
  that allows multiple selection (PickFolderMultiple), and giving
  the dialog a parent window (only X11 support is currently
  implemented; Wayland support will likely be added in the
  future). A bunch of new functions have also been added to nfd.h
  in a backward compatible manner to support passing a parent
  window and allow for adding more new optional parameters in the
  future. There are also various code cleanups and improved code
  comments in Doxygen syntax.
  What's Changed
  * Test: Add tests with NFD_NATIVE
  * Replace Macros with Aliases
  * Doxygen Syntax
  * Add versioned API
  * New feature: Implement PickFolderMultiple
  * New feature: Accept native parent window handle and
    implement glue code to major platform abstraction frameworks
  * README: Add versioned API, PickFolderMultiple, and parent

OBS-URL: https://build.opensuse.org/request/show/1272810
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/nativefiledialog-extended?expand=0&rev=2
2025-05-20 10:04:10 +00:00

14 lines
637 B
Diff

Index: nativefiledialog-extended-1.2.1/src/CMakeLists.txt
===================================================================
--- nativefiledialog-extended-1.2.1.orig/src/CMakeLists.txt
+++ nativefiledialog-extended-1.2.1/src/CMakeLists.txt
@@ -133,7 +133,7 @@ if (NFD_INSTALL)
LIBRARY DESTINATION ${LIB_INSTALL_DIR} ARCHIVE DESTINATION ${LIB_INSTALL_DIR} PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
)
install(EXPORT ${TARGET_NAME}-export
- DESTINATION lib/cmake/${TARGET_NAME}
+ DESTINATION ${LIB_INSTALL_DIR}/cmake/${TARGET_NAME}
NAMESPACE ${TARGET_NAME}::
FILE ${TARGET_NAME}-config.cmake
)