-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libgeotiff] Fix packagename via find_package (#15750)
* [libgeotiff] Fix packagename via find_package * Update port_versions * Update portfile.cmake * Update patch * [libgeotiff] Fix packagename via find_package * Update port_versions * Update patch * [pdal] Fix geotiff package name * Update versions * [pdal] Update dependency * Update versions/p-/pdal.json
- Loading branch information
1 parent
db66cbe
commit 82a9a84
Showing
14 changed files
with
65 additions
and
17 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
Source: libgeotiff | ||
Version: 1.6.0 | ||
Port-Version: 1 | ||
Homepage: https://github.com/OSGeo/libgeotiff | ||
Description: Libgeotiff is an open source library normally hosted on top of libtiff for reading, and writing GeoTIFF information tags. | ||
Build-Depends: tiff, proj4, zlib, libjpeg-turbo |
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
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,21 @@ | ||
diff --git a/libgeotiff/cmake/project-config-version.cmake.in b/libgeotiff/cmake/project-config-version.cmake.in | ||
index d695aa2..efe32ba 100644 | ||
--- a/libgeotiff/cmake/project-config-version.cmake.in | ||
+++ b/libgeotiff/cmake/project-config-version.cmake.in | ||
@@ -5,14 +5,14 @@ set (PACKAGE_VERSION_MAJOR "@PROJECT_VERSION_MAJOR@") | ||
set (PACKAGE_VERSION_MINOR "@PROJECT_VERSION_MINOR@") | ||
set (PACKAGE_VERSION_PATCH "@PROJECT_VERSION_PATCH@") | ||
|
||
-if (NOT PACKAGE_FIND_NAME STREQUAL "@PROJECT_NAME@") | ||
+if (NOT PACKAGE_FIND_NAME STREQUAL "@PROJECT_NAME_LOWER@") | ||
# Check package name (in particular, because of the way cmake finds | ||
# package config files, the capitalization could easily be "wrong"). | ||
# This is necessary to ensure that the automatically generated | ||
# variables, e.g., <package>_FOUND, are consistently spelled. Make | ||
# this a WARNING, because this is a user error that needs to be fixed. | ||
message (WARNING | ||
- "Mismatched package names: use find_package(@PROJECT_NAME@ ...) instead" | ||
+ "Mismatched package names: use find_package(@PROJECT_NAME_LOWER@ ...) instead" | ||
" of find_package(${PACKAGE_FIND_NAME} ...)") | ||
set (PACKAGE_VERSION_UNSUITABLE TRUE) | ||
elseif (NOT (APPLE OR CMAKE_SIZEOF_VOID_P EQUAL @CMAKE_SIZEOF_VOID_P@)) |
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
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
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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Source: pdal | ||
Version: 1.7.1 | ||
Port-Version: 10 | ||
Port-Version: 11 | ||
Description: PDAL - Point Data Abstraction Library is a library for manipulating point cloud data. | ||
Build-Depends: gdal, geos, jsoncpp, libgeotiff, laszip, boost-system, boost-filesystem |
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
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,15 @@ | ||
diff --git a/cmake/geotiff.cmake b/cmake/geotiff.cmake | ||
index 1d1e8af..ec077bc 100644 | ||
--- a/cmake/geotiff.cmake | ||
+++ b/cmake/geotiff.cmake | ||
@@ -2,8 +2,8 @@ | ||
# GeoTIFF support | ||
# | ||
|
||
-find_package(GeoTIFF REQUIRED 1.3.0) | ||
-set_package_properties(GeoTIFF PROPERTIES TYPE REQUIRED) | ||
+find_package(geotiff REQUIRED 1.3.0) | ||
+set_package_properties(geotiff PROPERTIES TYPE REQUIRED) | ||
if (GEOTIFF_FOUND) | ||
include_directories("${GEOTIFF_INCLUDE_DIR}") | ||
set(PDAL_HAVE_LIBGEOTIFF 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
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
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
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
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