Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- enable cuda sandbox to avoid sandbox violation, #869674 - patch the code for several installation directories to conform to FHS. This is just a hack and should be done using GNUInstallDirs and provided upstream to solve it properly, #853886 - add a dependency on virtual/latex-base to avoid an additional QA issue on latex not found, because the doxyfile uses LaTeX by default. Also depend on doxygen[dot] to avoid a cmake warning about missing doxygen component - change test related cmake option to new value to avoid undefined cmake variables, #738996 - depend on dev-python/sphinx_rtd_theme to properly build tutorial docs with USE=tutorials, #849002 - restrict test, because it needs the gtest sources to be provided, the package alone seems not be enough. - fix hardcoded path for cmake files to be installed into /usr/share/cmake/ Closes: https://bugs.gentoo.org/869674 Closes: https://bugs.gentoo.org/853886 Closes: https://bugs.gentoo.org/738996 Closes: https://bugs.gentoo.org/849002 Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> Signed-off-by: David Seifert <soap@gentoo.org>
- Loading branch information
1 parent
19a2841
commit 88d595a
Showing
3 changed files
with
84 additions
and
6 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
sci-libs/pcl/files/pcl-1.12.1-allow-configuration-of-install-dirs.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
From c052f26112c17068ece2f52058e3130dd328269b Mon Sep 17 00:00:00 2001 | ||
From: Bernd Waibel <waebbl-gentoo@posteo.net> | ||
Date: Thu, 27 Oct 2022 09:48:15 +0200 | ||
Subject: [PATCH] allow configuration of install dirs | ||
|
||
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> | ||
--- a/cmake/pcl_utils.cmake | ||
+++ b/cmake/pcl_utils.cmake | ||
@@ -101,14 +101,18 @@ macro(SET_INSTALL_DIRS) | ||
set(INCLUDE_INSTALL_ROOT "include") # Android, don't put into subdir | ||
endif() | ||
set(INCLUDE_INSTALL_DIR "${INCLUDE_INSTALL_ROOT}/pcl") | ||
- set(DOC_INSTALL_DIR "share/doc/${PROJECT_NAME_LOWER}-${PCL_VERSION_MAJOR}.${PCL_VERSION_MINOR}") | ||
+ if(NOT DEFINED DOC_INSTALL_DIR) | ||
+ set(DOC_INSTALL_DIR "share/doc/${PROJECT_NAME_LOWER}-${PCL_VERSION_MAJOR}.${PCL_VERSION_MINOR}") | ||
+ endif() | ||
set(BIN_INSTALL_DIR "bin") | ||
set(PKGCFG_INSTALL_DIR "${LIB_INSTALL_DIR}/pkgconfig") | ||
- if(WIN32 AND NOT MINGW) | ||
+ if(NOT DEFINED PCLCONFIG_INSTALL_DIR) | ||
+ if(WIN32 AND NOT MINGW) | ||
set(PCLCONFIG_INSTALL_DIR "cmake") | ||
else() | ||
set(PCLCONFIG_INSTALL_DIR "share/${PROJECT_NAME_LOWER}-${PCL_VERSION_MAJOR}.${PCL_VERSION_MINOR}") | ||
endif() | ||
+ endif() | ||
endmacro() | ||
|
||
|
||
-- | ||
2.38.1 | ||
|
22 changes: 22 additions & 0 deletions
22
.../pcl/files/pcl-1.12.1-fix-hardcoded-relative-directory-of-the-installed-cmake-files.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
From efb56391957ee0f64a407fe419c25122404a53e2 Mon Sep 17 00:00:00 2001 | ||
From: Bernd Waibel <waebbl-gentoo@posteo.net> | ||
Date: Thu, 27 Oct 2022 13:59:15 +0200 | ||
Subject: [PATCH] fix hardcoded relative directory of the installed cmake files | ||
|
||
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> | ||
--- a/PCLConfig.cmake.in | ||
+++ b/PCLConfig.cmake.in | ||
@@ -389,8 +389,8 @@ if(WIN32 AND NOT MINGW) | ||
set(PCL_ALL_IN_ONE_INSTALLER ON) | ||
endif() | ||
else() | ||
-# PCLConfig.cmake is installed to PCL_ROOT/share/pcl-x.y | ||
- get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE) | ||
+# PCLConfig.cmake is installed to PCL_ROOT/share/cmake/pcl-x.y | ||
+ get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../../.." ABSOLUTE) | ||
endif() | ||
|
||
# check whether PCLConfig.cmake is found into a PCL installation or in a build tree | ||
-- | ||
2.38.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters