Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
4b834fa
[docs] update port naming info in CONTROL docs (#6397)
Rastaban May 10, 2019
3cb50e6
update osg version to 3.6.3 (#6385)
Haojia521 May 10, 2019
14bfca2
[gdal]Add Linux/Unix support. (#6335)
JackBoosY May 10, 2019
884bf46
also ignore x86 openssl paths (#6416)
Neumann-A May 13, 2019
f2f3124
fix parens in cmake variable name (#6420)
lukka May 13, 2019
df4e69f
[oniguruma] Update to 6.9.2 (#6401)
myd7349 May 13, 2019
2992434
[vulkan-hpp] Add new port (#6400)
myd7349 May 13, 2019
46a77b9
appleclang 10.01 does not have <filesystem> (#6413)
lukka May 13, 2019
da5ee89
[graphicsmagick] Linux/MacOS support (#6408)
josuegomes May 13, 2019
0413c73
[CURL] Remove unnecessary renaming. (#6386)
Neumann-A May 13, 2019
5a8961b
[pfultz2-linq] Add new port (#6426)
myd7349 May 13, 2019
68267e2
[suitesparse]Fix build error in linux (#6425)
LilyWangL May 13, 2019
8a6c7f3
[vcpkg-bootstrap.sh] Enable finding gcc 9 (#6417)
ras0219-msft May 13, 2019
d539182
[glm] Remove all unnecessary build steps (#6410)
cwfitzgerald May 14, 2019
cf1c05f
[libtheora] Remove double build. (#6431)
Neumann-A May 14, 2019
03b364f
[g3log] Add new port (#5961)
myd7349 May 14, 2019
e4129a2
RESTinio updated to v.0.4.9 (#6440)
eao197 May 14, 2019
e73d625
[libmaxminddb]fix build error in linux. (#6435)
JackBoosY May 14, 2019
a5ad932
[libressl] add new port (#6321)
eternalphane May 14, 2019
3f5e477
[USD] New port (#6451)
cbezault May 14, 2019
d112af9
[io2d] macOS support (#6456)
ziyi-yan May 15, 2019
8873d77
[glm] Fix missing include dir reference by moving include(GNUInstallD…
ras0219-msft May 15, 2019
88b8820
[libmicrohttpd] Update to 0.9.63 (#6464)
webfolderio May 15, 2019
0e417f7
[libpff] Initial port. (#6458)
lazyhamster May 15, 2019
efdd1f1
[libsndfile]Fix install file path in linux. (#6455)
JackBoosY May 15, 2019
6cd058d
[fftw3]Changed library linkage to static. (#6434)
JackBoosY May 15, 2019
97431cb
[cpp-netlib] Add new port (#6424)
NancyLi1013 May 15, 2019
58c7cfa
[icu] Prevent stale MSYS gpg-agent.exe process blocking command contr…
heydojo May 16, 2019
9238e93
[libmicrohttpd] Fix CONTROL version (#6468)
vicroms May 16, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions docs/maintainers/control-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,13 @@ Build-Depends: zlib, libpng, tiff, libxml2, jsoncpp, glew, freetype, expat, hdf5
#### Source
The name of the port.

When adding new ports be aware that the name may conflict with other projects that are not a part of vcpkg. To avoid conflicts verify the name on a service like [Repology][repology]. For example `json` conflicts with too many other projects so you should add a scope to the name such as `taocpp-json` to make it unique.
When adding new ports be aware that the name may conflict with other projects that are not a part of vcpkg. For example `json` conflicts with too many other projects so you should add a scope to the name such as `taocpp-json` to make it unique. Verify there are no conflicts on a search engine as well as on other package collections.

[repology]: https://repology.org/projects/
Package collections to check for conflicts:

+ [Repology](https://repology.org/projects/)
+ [Debian packages](https://www.debian.org/distrib/packages)
+ [Packages search](https://pkgs.org/)

#### Version
The port version.
Expand Down
4 changes: 4 additions & 0 deletions ports/cpp-netlib/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Source: cpp-netlib
Version: 0.13.0-rc3
Description: A collection of network-related routines/implementations geared towards providing a robust cross-platform networking library
Build-Depends: boost
37 changes: 37 additions & 0 deletions ports/cpp-netlib/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
include(vcpkg_common_functions)

if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
message(FATAL_ERROR "${PORT} does not currently support UWP")
endif()

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO cpp-netlib/cpp-netlib
REF cpp-netlib-0.13.0-rc3
SHA512 ddc4178381ebc4179bc243d19ecd4c7e424a61a7b75b6fd59d1f9e9fbcc1383c0afba97bcbef1b791eedb5a7a2cd63a633454f3848dfc5d76a41cc8a2c6ed302
HEAD_REF master
)

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DCPP-NETLIB_BUILD_TESTS=off
-DCPP-NETLIB_BUILD_EXAMPLES=off

)

vcpkg_install_cmake()

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)

if(WIN32 AND NOT CYGWIN)
vcpkg_fixup_cmake_targets(CONFIG_PATH cmake TARGET_PATH share/${PORT})
else()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/cppnetlib)
endif()

file(INSTALL ${SOURCE_PATH}/LICENSE_1_0.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

2 changes: 1 addition & 1 deletion ports/curl/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: curl
Version: 7.61.1-6
Version: 7.61.1-7
Build-Depends: zlib
Description: A library for transferring data with URLs
Default-Features: ssl
Expand Down
30 changes: 4 additions & 26 deletions ports/curl/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -141,37 +141,15 @@ if(EXISTS "${CURRENT_PACKAGES_DIR}/bin/curl${EXECUTABLE_SUFFIX}")
endif()
endif()

if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib/pkgconfig ${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)

if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
# Drop debug suffix, as FindCURL.cmake does not look for it
if(EXISTS "${CURRENT_PACKAGES_DIR}/debug/lib/libcurl-d.lib")
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/libcurl-d.lib ${CURRENT_PACKAGES_DIR}/debug/lib/libcurl.lib)
# Fixup libcurl-target-debug.cmake to match
file(READ "${CURRENT_PACKAGES_DIR}/share/curl/libcurl-target-debug.cmake" DEBUG_MODULE)
string(REPLACE "\${_IMPORT_PREFIX}/debug/lib/libcurl-d.lib" "\${_IMPORT_PREFIX}/debug/lib/libcurl.lib" DEBUG_MODULE "${DEBUG_MODULE}")
file(WRITE "${CURRENT_PACKAGES_DIR}/share/curl/libcurl-target-debug.cmake" "${DEBUG_MODULE}")
endif()
else()
file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/curl-config ${CURRENT_PACKAGES_DIR}/debug/bin/curl-config)
if(EXISTS "${CURRENT_PACKAGES_DIR}/lib/libcurl_imp.lib")
file(RENAME ${CURRENT_PACKAGES_DIR}/lib/libcurl_imp.lib ${CURRENT_PACKAGES_DIR}/lib/libcurl.lib)
# Fixup libcurl-target-release.cmake to match
file(READ "${CURRENT_PACKAGES_DIR}/share/curl/libcurl-target-release.cmake" RELEASE_MODULE)
string(REPLACE "\${_IMPORT_PREFIX}/lib/libcurl_imp.lib" "\${_IMPORT_PREFIX}/lib/libcurl.lib" RELEASE_MODULE "${RELEASE_MODULE}")
file(WRITE "${CURRENT_PACKAGES_DIR}/share/curl/libcurl-target-release.cmake" "${RELEASE_MODULE}")
endif()
if(EXISTS "${CURRENT_PACKAGES_DIR}/debug/lib/libcurl-d_imp.lib")
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/libcurl-d_imp.lib ${CURRENT_PACKAGES_DIR}/debug/lib/libcurl.lib)
# Fixup libcurl-target-debug.cmake to match
file(READ "${CURRENT_PACKAGES_DIR}/share/curl/libcurl-target-debug.cmake" DEBUG_MODULE)
string(REPLACE "\${_IMPORT_PREFIX}/debug/lib/libcurl-d_imp.lib" "\${_IMPORT_PREFIX}/debug/lib/libcurl.lib" DEBUG_MODULE "${DEBUG_MODULE}")
file(WRITE "${CURRENT_PACKAGES_DIR}/share/curl/libcurl-target-debug.cmake" "${DEBUG_MODULE}")
endif()
endif()

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib/pkgconfig ${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)

file(READ ${CURRENT_PACKAGES_DIR}/include/curl/curl.h CURL_H)
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
string(REPLACE "#ifdef CURL_STATICLIB" "#if 1" CURL_H "${CURL_H}")
Expand Down
2 changes: 1 addition & 1 deletion ports/fftw3/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: fftw3
Version: 3.3.8-3
Version: 3.3.8-4
Description: FFTW is a C subroutine library for computing the discrete Fourier transform (DFT) in one or more dimensions, of arbitrary input size, and of both real and complex data (as well as of even/odd data, i.e. the discrete cosine/sine transforms or DCT/DST).

Feature: openmp
Expand Down
2 changes: 2 additions & 0 deletions ports/fftw3/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/fftw-3.3.8)

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

# This can be removed in the next source code update
if(EXISTS "${SOURCE_PATH}/CMakeLists.txt")
file(READ "${SOURCE_PATH}/CMakeLists.txt" _contents)
Expand Down
3 changes: 3 additions & 0 deletions ports/g3log/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Source: g3log
Version: 2019-05-14-1
Description: Asynchronous logger with Dynamic Sinks
41 changes: 41 additions & 0 deletions ports/g3log/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
include(vcpkg_common_functions)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KjellKod/g3log
REF 376c417ad170228fa6d1b9994a6e07a2ac143a51
SHA512 fd442b895f0be2489d2be099b1faca5c964f1a3880e3867726efb5f5a17192fbf2c2d60cf118e1b68bea73cf328f0b16c0265ec0f0c0fbbb1f62f68a994f5b86
HEAD_REF master
)

string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" G3_SHARED_LIB)
string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "dynamic" G3_SHARED_RUNTIME)

# https://github.com/KjellKod/g3log#prerequisites
set(VERSION "1.3.2-95")

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DG3_SHARED_LIB=${G3_SHARED_LIB} # Options.cmake
-DG3_SHARED_RUNTIME=${G3_SHARED_RUNTIME} # Options.cmake
-DADD_FATAL_EXAMPLE=OFF
-DADD_G3LOG_BENCH_PERFORMANCE=OFF
-DADD_G3LOG_UNIT_TEST=OFF
-DVERSION=${VERSION}
)

vcpkg_install_cmake()

vcpkg_copy_pdbs()

vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/g3logger TARGET_PATH share/g3logger)

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)

# Handle copyright
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)

# CMake integration test
vcpkg_test_cmake(PACKAGE_NAME g3logger)
2 changes: 1 addition & 1 deletion ports/gdal/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: gdal
Version: 2.4.1-4
Version: 2.4.1-5
Description: The Geographic Data Abstraction Library for reading and writing geospatial raster and vector data.
Build-Depends: proj, libpng, geos, sqlite3, curl, expat, libpq, openjpeg, libwebp, libxml2, liblzma, netcdf-c, hdf5, zlib

Expand Down
Loading