Skip to content

Commit

Permalink
[proj] Update to 9.2 (microsoft#30023)
Browse files Browse the repository at this point in the history
  • Loading branch information
dg0yt authored Mar 6, 2023
1 parent f3bc121 commit 13003d8
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 18 deletions.
20 changes: 7 additions & 13 deletions ports/proj/fix-proj4-targets-cmake.patch
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,11 @@ diff --git a/cmake/project-config.cmake.in b/cmake/project-config.cmake.in
index 7d5579ae..0cf96252 100644
--- a/cmake/project-config.cmake.in
+++ b/cmake/project-config.cmake.in
@@ -12,6 +12,13 @@ if(@PROJECT_VARIANT_NAME@ STREQUAL "PROJ4")
endif()

include(CMakeFindDependencyMacro)
+cmake_policy(PUSH)
+cmake_policy(SET CMP0012 NEW)
@@ -15,6 +15,7 @@ if(@PROJECT_VARIANT_NAME@ STREQUAL "PROJ4")

cmake_policy(PUSH)
cmake_policy(SET CMP0012 NEW)
+find_dependency(unofficial-sqlite3 CONFIG)
+if("@ENABLE_TIFF@")
+ find_dependency(TIFF)
+endif()
+cmake_policy(POP)
if("@CURL_ENABLED@" STREQUAL "TRUE")
# Chainload CURL usage requirements
find_dependency(CURL)
if("@ENABLE_TIFF@")
find_dependency(TIFF)
endif()
3 changes: 1 addition & 2 deletions ports/proj/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
vcpkg_minimum_required(VERSION 2022-10-12) # for ${VERSION}
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO OSGeo/PROJ
REF "${VERSION}"
SHA512 bdc3cba27f330829b30290f563cb1cded75d3861909399177334a354662f4cb54e05baef40b8d267978c746f41543c3de1c119ca08919c87fd9460506c5c566e
SHA512 a48980b94b6c68738dd5ab70a1de6aa42f325fd612155623195a14774caadcaceff08035c01696458d3dd706b2277d89ea093949a1855fafa9951c59821cb1cb
HEAD_REF master
PATCHES
fix-win-output-name.patch
Expand Down
5 changes: 4 additions & 1 deletion ports/proj/remove-doc.patch
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ index 4c9744e6..a6d5e4eb 100644
# Simplify README.md to README
add_custom_target(README
COMMAND ${CMAKE_COMMAND}
@@ -393,3 +408,4 @@ if(NOT _is_multi_config_generator)
@@ -393,6 +408,7 @@ if(NOT _is_multi_config_generator)
)
message(STATUS "PROJ: Configured 'dist' target")
endif()
+endif()

configure_file(cmake/uninstall.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/proj_uninstall.cmake @ONLY)
add_custom_target(uninstall COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/proj_uninstall.cmake)
2 changes: 1 addition & 1 deletion ports/proj/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "proj",
"version": "9.1.1",
"version": "9.2.0",
"description": "PROJ library for cartographic projections",
"homepage": "https://proj.org/",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6188,7 +6188,7 @@
"port-version": 2
},
"proj": {
"baseline": "9.1.1",
"baseline": "9.2.0",
"port-version": 0
},
"proj4": {
Expand Down
5 changes: 5 additions & 0 deletions versions/p-/proj.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "24665244df24460f20293fc879787852554b16c7",
"version": "9.2.0",
"port-version": 0
},
{
"git-tree": "5ae85e19024d23a2ae8c22c16bab44f2fc236a4a",
"version": "9.1.1",
Expand Down

0 comments on commit 13003d8

Please sign in to comment.