pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/x11/wxGTK32
Module Name: pkgsrc
Committed By: dbj
Date: Wed Aug 10 05:19:57 UTC 2022
Modified Files:
pkgsrc/x11/wxGTK32: Makefile distinfo
pkgsrc/x11/wxGTK32/patches: patch-build_cmake_config.cmake
patch-build_cmake_install.cmake
patch-build_cmake_utils_CMakeLists.txt
Log Message:
x11/wxGTK: have cmake include(GNUInstallDirs) when using ${CMAKE_INSTALL_BINDIR}
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/x11/wxGTK32/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/x11/wxGTK32/distinfo
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/x11/wxGTK32/patches/patch-build_cmake_config.cmake \
pkgsrc/x11/wxGTK32/patches/patch-build_cmake_install.cmake \
pkgsrc/x11/wxGTK32/patches/patch-build_cmake_utils_CMakeLists.txt
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/x11/wxGTK32/Makefile
diff -u pkgsrc/x11/wxGTK32/Makefile:1.12 pkgsrc/x11/wxGTK32/Makefile:1.13
--- pkgsrc/x11/wxGTK32/Makefile:1.12 Mon Aug 8 10:39:46 2022
+++ pkgsrc/x11/wxGTK32/Makefile Wed Aug 10 05:19:57 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2022/08/08 10:39:46 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2022/08/10 05:19:57 dbj Exp $
DISTNAME= wxWidgets-3.2.0
PKGNAME= ${DISTNAME:S/wxWidgets/wxGTK32/}
@@ -49,10 +49,6 @@ USE_CMAKE= yes
PLIST_SRC+= PLIST.cmake
CMAKE_ARGS+= -DCMAKE_DISABLE_PRECOMPILE_HEADERS:BOOL=ON
-# Note that this CMAKE_INSTALL_BINDIR override is probably
-# not the correct way to do this. In particular if you remove
-# this option, it doesn't fall back to "bin" as I expected.
-# I will hopefully figure out a better fix for this -- dbj@
CMAKE_ARGS+= -DCMAKE_INSTALL_BINDIR:PATH=libexec/wx-3.2
. if ${OPSYS} != "Linux"
# https://github.com/wxWidgets/wxWidgets/issues/22646
Index: pkgsrc/x11/wxGTK32/distinfo
diff -u pkgsrc/x11/wxGTK32/distinfo:1.5 pkgsrc/x11/wxGTK32/distinfo:1.6
--- pkgsrc/x11/wxGTK32/distinfo:1.5 Fri Jul 29 18:36:06 2022
+++ pkgsrc/x11/wxGTK32/distinfo Wed Aug 10 05:19:57 2022
@@ -1,14 +1,14 @@
-$NetBSD: distinfo,v 1.5 2022/07/29 18:36:06 wiz Exp $
+$NetBSD: distinfo,v 1.6 2022/08/10 05:19:57 dbj Exp $
BLAKE2s (wxWidgets-3.2.0.tar.bz2) = 4029147a8e77a22e0379eeda11bc26f8fee998862aaa52819adf16a8ed4860ea
SHA512 (wxWidgets-3.2.0.tar.bz2) = e55e7c5ac7abcacf2ecff7c22e367db17ff5a077d3d5d2aa7589e8ba7cc6695cfa48c0f00bcfdffeda8dc4f974f97a857fb61b4b300a724f7687d710fbb23967
Size (wxWidgets-3.2.0.tar.bz2) = 25296814 bytes
-SHA1 (patch-build_cmake_config.cmake) = 3f2a53683e212d0fe9be966b7dd887b2240c57eb
+SHA1 (patch-build_cmake_config.cmake) = 5d5b37a7a0811ac7732db5cc071813784ee3d3d6
SHA1 (patch-build_cmake_init.cmake) = 341f632aa7062af4c5bc4ca2695f59d2b7254ede
-SHA1 (patch-build_cmake_install.cmake) = 4afe2ec2c6c6e28b941dad3974771da7ed1b41be
+SHA1 (patch-build_cmake_install.cmake) = 4b228cbab621ef98d93ccd2c338b7e0e9d53a9ad
SHA1 (patch-build_cmake_lib_base_CMakeLists.txt) = bec7be2f64bb4629a60d2b4f169e8feb215408e3
SHA1 (patch-build_cmake_setup.cmake) = 277ae3c5bf4f04d057402f0b626d09d1e9749ca8
-SHA1 (patch-build_cmake_utils_CMakeLists.txt) = ccd342e1b565c942fb61730a91713323fd3d8cb2
+SHA1 (patch-build_cmake_utils_CMakeLists.txt) = 44efa30750b2a6048c0c32bf16d4825c4cb9d790
SHA1 (patch-configure) = 679580bee6373fd63968f0ee75934cdfc42bd3b8
SHA1 (patch-configure.in) = 850221d02799cd875fe917f7e9c2994d0f89db29
SHA1 (patch-src_unix_dialup.cpp) = 1c62d37508e45a0095ef062f7d450529e9b557e7
Index: pkgsrc/x11/wxGTK32/patches/patch-build_cmake_config.cmake
diff -u pkgsrc/x11/wxGTK32/patches/patch-build_cmake_config.cmake:1.1 pkgsrc/x11/wxGTK32/patches/patch-build_cmake_config.cmake:1.2
--- pkgsrc/x11/wxGTK32/patches/patch-build_cmake_config.cmake:1.1 Thu Jul 28 05:25:22 2022
+++ pkgsrc/x11/wxGTK32/patches/patch-build_cmake_config.cmake Wed Aug 10 05:19:57 2022
@@ -1,10 +1,16 @@
-$NetBSD: patch-build_cmake_config.cmake,v 1.1 2022/07/28 05:25:22 dbj Exp $
+$NetBSD: patch-build_cmake_config.cmake,v 1.2 2022/08/10 05:19:57 dbj Exp $
Respect ${CMAKE_INSTALL_BINDIR} instead of assuming bin
--- build/cmake/config.cmake.orig 2022-07-06 14:19:50.000000000 +0000
+++ build/cmake/config.cmake
-@@ -87,7 +87,7 @@ function(wx_write_config)
+@@ -83,11 +83,13 @@ endfunction()
+
+ function(wx_write_config)
+
++ include(GNUInstallDirs)
++
+ set(prefix ${CMAKE_INSTALL_PREFIX})
set(exec_prefix "\${prefix}")
set(includedir "\${prefix}/include")
set(libdir "\${exec_prefix}/lib")
Index: pkgsrc/x11/wxGTK32/patches/patch-build_cmake_install.cmake
diff -u pkgsrc/x11/wxGTK32/patches/patch-build_cmake_install.cmake:1.1 pkgsrc/x11/wxGTK32/patches/patch-build_cmake_install.cmake:1.2
--- pkgsrc/x11/wxGTK32/patches/patch-build_cmake_install.cmake:1.1 Thu Jul 28 05:25:22 2022
+++ pkgsrc/x11/wxGTK32/patches/patch-build_cmake_install.cmake Wed Aug 10 05:19:57 2022
@@ -1,17 +1,19 @@
-$NetBSD: patch-build_cmake_install.cmake,v 1.1 2022/07/28 05:25:22 dbj Exp $
+$NetBSD: patch-build_cmake_install.cmake,v 1.2 2022/08/10 05:19:57 dbj Exp $
Fix use of DESTDIR
https://github.com/wxWidgets/wxWidgets/issues/22610
Respect ${CMAKE_INSTALL_BINDIR} instead of assuming bin
---- build/cmake/install.cmake.orig 2022-07-28 04:31:27.000000000 +0000
+--- build/cmake/install.cmake.orig 2022-07-06 14:19:50.000000000 +0000
+++ build/cmake/install.cmake
-@@ -39,11 +39,11 @@ else()
+@@ -39,11 +39,13 @@ else()
WORLD_EXECUTE WORLD_READ
)
- install(DIRECTORY DESTINATION "bin")
++ include(GNUInstallDirs)
++
+ install(DIRECTORY DESTINATION "${CMAKE_INSTALL_BINDIR}")
install(CODE "execute_process( \
COMMAND ${CMAKE_COMMAND} -E create_symlink \
@@ -21,7 +23,7 @@ Respect ${CMAKE_INSTALL_BINDIR} instead
)"
)
endif()
-@@ -96,8 +96,8 @@ if(NOT TARGET ${UNINST_NAME})
+@@ -96,8 +98,8 @@ if(NOT TARGET ${UNINST_NAME})
endif()
set(WX_EXTRA_UNINSTALL_FILES
Index: pkgsrc/x11/wxGTK32/patches/patch-build_cmake_utils_CMakeLists.txt
diff -u pkgsrc/x11/wxGTK32/patches/patch-build_cmake_utils_CMakeLists.txt:1.1 pkgsrc/x11/wxGTK32/patches/patch-build_cmake_utils_CMakeLists.txt:1.2
--- pkgsrc/x11/wxGTK32/patches/patch-build_cmake_utils_CMakeLists.txt:1.1 Thu Jul 28 05:25:22 2022
+++ pkgsrc/x11/wxGTK32/patches/patch-build_cmake_utils_CMakeLists.txt Wed Aug 10 05:19:57 2022
@@ -1,15 +1,18 @@
-$NetBSD: patch-build_cmake_utils_CMakeLists.txt,v 1.1 2022/07/28 05:25:22 dbj Exp $
+$NetBSD: patch-build_cmake_utils_CMakeLists.txt,v 1.2 2022/08/10 05:19:57 dbj Exp $
Fix use of DESTDIR
https://github.com/wxWidgets/wxWidgets/issues/22610
Respect ${CMAKE_INSTALL_BINDIR} instead of assuming bin
---- build/cmake/utils/CMakeLists.txt.orig 2022-07-28 04:31:27.000000000 +0000
+--- build/cmake/utils/CMakeLists.txt.orig 2022-07-06 14:19:50.000000000 +0000
+++ build/cmake/utils/CMakeLists.txt
-@@ -26,21 +26,22 @@ if(wxUSE_XRC)
+@@ -25,22 +25,25 @@ if(wxUSE_XRC)
+
set_target_properties(wxrc PROPERTIES FOLDER "Utilities")
++ include(GNUInstallDirs)
++
wx_install(TARGETS wxrc
- RUNTIME DESTINATION "bin"
- BUNDLE DESTINATION "bin"
Home |
Main Index |
Thread Index |
Old Index