Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[qtkeychain] remove from overlay #33

Closed
wants to merge 127 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
127 commits
Select commit Hold shift + click to select a range
69c913f
[knet] Update to v1.1.0 (#21301)
kibaamor Nov 11, 2021
2a9046d
[launch-darkly-server] Add new port (#21262)
Nov 11, 2021
756f184
[gRPC] update to v1.41.0 (#20835)
JonLiu1993 Nov 11, 2021
f975585
[sdformat6] no absolute paths (#21305)
autoantwort Nov 11, 2021
31bc57e
[lager] no absolute paths (#21302)
autoantwort Nov 11, 2021
1d459e2
[ace] no absolute paths (#21289)
autoantwort Nov 11, 2021
f15cf57
[botan] no absolute paths (#21287)
autoantwort Nov 11, 2021
3f57f1e
[libgpg-error] no absolute paths (#21269)
autoantwort Nov 11, 2021
87c0308
[graphite2] no absolute paths (#21268)
autoantwort Nov 11, 2021
7d3aeba
[quantlib] update to 1.24 (#21068)
sweemer Nov 11, 2021
897ff93
[sdl2] Add feature x11 (#21188)
NancyLi1013 Nov 11, 2021
356918c
fix regression in vcpkg_find_acquire_program and require exact versio…
Neumann-A Nov 12, 2021
5b5ee4e
[kdbindings] add port (#21306)
autoantwort Nov 13, 2021
bcc2a39
[pcapplusplus] Update to 21.11 (#21321)
seladb Nov 13, 2021
30b2f6b
[vtk] Fix missing includes (#21319)
NancyLi1013 Nov 13, 2021
91b9422
[eastl] update to 3.18.00 (#21315)
JonLiu1993 Nov 13, 2021
6554f4d
[ffmpeg] update version to 4.4.1 (#21049)
andyli Nov 13, 2021
56136f5
Python 3.10: fix deprecated win7 support patch (#21236)
lakor64 Nov 13, 2021
a5ff5cd
[plplot] no absolute paths (#21303)
autoantwort Nov 13, 2021
8cfe802
[opencascade] Update to 7.6.0 (#21314)
Cheney-W Nov 13, 2021
d5df964
[uwebsockets] Update to 20.8.0 (#21367)
chausner Nov 13, 2021
796d677
[asio-grpc] Update to 1.3.1 (#21263)
Tradias Nov 13, 2021
f60f3a6
README updated to include tool repo (#21127)
GitMensch Nov 13, 2021
25f317b
[libatomic-ops] New port (#21285)
ivmai Nov 13, 2021
72059f6
[gdal] Update to 3.4.0, minor adjustments (#21261)
dg0yt Nov 13, 2021
12bdfc7
[directxtk, directxtk12, directxtex, directxmesh, uvatlas] updated po…
walbourn Nov 13, 2021
7dff5e8
[vcpkg] Revise appdeploy and copy_tool_dependencies (#21092)
dg0yt Nov 14, 2021
c973b49
[libsecret] add new port with version 0.20.4 (#21419)
ras0219-msft Nov 14, 2021
4803020
[qtkeychain] update to 0.13.1 (#21420)
ras0219-msft Nov 15, 2021
b2ad081
[bdwgc] Turn on C++, cords and threads support (#21412)
ivmai Nov 15, 2021
52d5c9b
[New port] Added Sciter.JS port (version 4.4.8.16) (#18951)
VuYeK Nov 15, 2021
b0f51f5
[itk] no absolute paths (#21330)
autoantwort Nov 15, 2021
92e34ac
[docs] Add authentication.md (#20990)
ras0219-msft Nov 15, 2021
4d87875
[applocal.ps1] Add missing '$' (#21429)
dg0yt Nov 15, 2021
969e230
[rang] Update to 3.2 (#21413)
chausner Nov 15, 2021
3e9375f
[trompeloeil] Update to 41 (#21406)
chausner Nov 15, 2021
4d52db6
[mp-units] Update to 0.7.0 (#21405)
chausner Nov 15, 2021
bf7c967
[libsigcpp] Update to 3.0.7 (#21404)
chausner Nov 15, 2021
5aec305
[bfgroup-lyra] Update to 1.5.1 (#21402)
chausner Nov 15, 2021
77bcaa9
[cgltf] Update to 1.11 (#21401)
chausner Nov 15, 2021
16ec112
[cwalk] Update to 1.2.6 (#21400)
chausner Nov 15, 2021
0480c6b
[font-chef] Update to 1.1.0 (#21398)
chausner Nov 15, 2021
b9d5cc0
[ghc-filesystem] Update to 1.5.10 (#21397)
chausner Nov 15, 2021
ad0240d
[glfw3] Update to 3.3.5 (#21396)
chausner Nov 15, 2021
8770ca1
[gmmlib] Update to 21.3.2 (#21395)
chausner Nov 15, 2021
1bf071d
[hypre] Update to 2.23.0 (#21394)
chausner Nov 15, 2021
1a87496
[iir1] Update to 1.9.0 (#21392)
chausner Nov 15, 2021
e374007
[influxdb-cxx] Update to 0.6.7 (#21390)
chausner Nov 15, 2021
dc6d4bb
[jsoncpp] Update to 1.9.5 (#21389)
chausner Nov 15, 2021
4156360
[libdivide] Update to 5.0 (#21388)
chausner Nov 15, 2021
87cb1e2
[libxlsxwriter] Update to 1.1.4 (#21387)
chausner Nov 15, 2021
84acc8d
[libosmium] Update to 2.17.1 (#21386)
chausner Nov 15, 2021
e653771
[libepoxy] Update to 1.5.9 (#21385)
chausner Nov 15, 2021
023edaa
[mdns] Update to 1.4.1 (#21380)
chausner Nov 15, 2021
899d16c
[refl-cpp] Update to 0.12.1 (#21372)
chausner Nov 16, 2021
5176f6e
[mqtt-cpp] Update to 12.0.0 (#21379)
chausner Nov 16, 2021
5dc6444
[ocilib] Update to 4.7.3 (#21378)
chausner Nov 16, 2021
2cf8b2a
[autodock-vina] Update to v1.2.3 (#21377)
AenBleidd Nov 16, 2021
619081b
[onednn] Update to 2.4.3 (#21376)
chausner Nov 16, 2021
bc920cd
[pegtl] Update to 3.2.2 (#21375)
chausner Nov 16, 2021
3c4257b
[re2] Update to 2021-11-01 (#21373)
chausner Nov 16, 2021
4b39282
[sentencepiece] Update to 0.1.96 (#21370)
chausner Nov 16, 2021
3b09246
[spectra] Update to 1.0.0 (#21369)
chausner Nov 16, 2021
933b8ab
[tmx] Update to 1.2.0 (#21368)
chausner Nov 16, 2021
9722212
[zlib-ng] Update to 2.0.5 (#21366)
chausner Nov 16, 2021
ced4282
[replxx] Update to 0.0.4 (#21371)
chausner Nov 16, 2021
33e7e68
[igraph] update to 0.9.5 (#21346)
szhorvat Nov 16, 2021
197a790
[winpcap] Fix error hash (#21274)
JonLiu1993 Nov 16, 2021
a7ad120
[vcpkg baseline][kf5solid] Fix usage (#21344)
JackBoosY Nov 16, 2021
ba383ed
[libxslt] Fix linux dynamic build and replace absolute paths with rel…
Osyotr Nov 16, 2021
7248ec5
[offscale-libetcd-cpp] no absolute paths (#21168)
autoantwort Nov 16, 2021
50700e0
[SEAL/APSI]Updated SEAL to 3.7.2 and APSI to 0.5.0 (#21454)
Nov 16, 2021
ef17a02
[imath] no absolute paths (#21452)
autoantwort Nov 16, 2021
f8dfd85
[memorymodule] use supports expression (#21450)
autoantwort Nov 16, 2021
7d29360
[gdal] no absolute paths (#21451)
autoantwort Nov 17, 2021
b587e35
[teemo] use supports expression (#21449)
autoantwort Nov 17, 2021
6e869fd
[libudns] use supports expression (#21448)
autoantwort Nov 17, 2021
999a8be
[ctp] use supports expression (#21439)
autoantwort Nov 17, 2021
2c886fc
[epsilon] only support windows (#21436)
autoantwort Nov 17, 2021
745febc
[buck-yeh-bux] Update to 1.6.2 (#21434)
buck-yeh Nov 17, 2021
fd58547
[nanodbc] enable unixODBC dependecy from vcpkg (#21433)
mc-askia Nov 17, 2021
ba64748
[libarchive] Fix usage (#21426)
JackBoosY Nov 17, 2021
0e41598
[mapnik] update to latest commit (#21421)
mathisloge Nov 17, 2021
c3bab00
[protobuf-c] Update to 1.4.0 (#21418)
chausner Nov 17, 2021
dbd3227
[kissfft] update, add missing file (#21410)
edmBernard Nov 17, 2021
c093bbe
[libzip] Update to 1.8.0 (#21407)
chausner Nov 17, 2021
656cd8c
[mapbox-geojson-vt-cpp] Update to 6.6.5 (#21384)
chausner Nov 17, 2021
75d06f4
[matroska] Update to 1.6.3 (#21383)
chausner Nov 17, 2021
16c865e
Fix cpu detection in meson configuration script (#21382)
simon987 Nov 17, 2021
711db40
[libmodplug] Patch CMakeLists.txt to fix install paths (#21381)
itsmattkc Nov 17, 2021
a4b5cde
Update tool to 2021-11-15. (#21471)
BillyONeal Nov 17, 2021
1a5075b
[libxslt] Remove unneeded helper (#21480)
ras0219-msft Nov 17, 2021
d602829
[cpp-ipc] Update to 1.0.1 (#21481)
winsoft666 Nov 17, 2021
4b38e91
[palsigslot] Update to 1.2.1 (#21473)
chausner Nov 17, 2021
95dad17
[casclib] Update to 2021-11-16 (#21472)
chausner Nov 17, 2021
a506c84
[gettext] no absolute paths (#21468)
autoantwort Nov 17, 2021
0249229
[imgui-sfml] update to v2.4 (#21460)
JonLiu1993 Nov 17, 2021
1edc79c
[faad2] only support windows (#21438)
autoantwort Nov 17, 2021
8c47553
[onnx] update version to 1.10.2 and change patches (#21409)
luncliff Nov 17, 2021
f33d743
[libtcod] Update to 1.19.0 (#21355)
HexDecimal Nov 17, 2021
3492464
[libmariadb] Update (#21359)
dg0yt Nov 17, 2021
cbc22a3
[docs] Extend platform expressions to support media query syntax (#21…
markle11m Nov 17, 2021
b9ca388
[magnum-plugins] Update head features and bundled dependency (#21307)
pezcode Nov 19, 2021
8218499
[apsi ]Updated to version 0.7.0 (#21527)
Nov 19, 2021
9688695
[kubernetes] Update to the latest version (#21503)
Nov 19, 2021
989e2c5
[prometheus-cpp] Update to version 1.0.0 (#21500)
gjasny Nov 19, 2021
36840f7
[zydis] update to 3.2.1 (#21490)
JonLiu1993 Nov 19, 2021
77c4e0c
Enable arm64 build for Arrow (#21467)
jgiannuzzi Nov 19, 2021
c85581f
[apr-util] no absolute paths (#21453)
autoantwort Nov 19, 2021
25e49b7
[winpty, ptyqt] Added ptyqt and winpty ports (#21440)
kafeg Nov 19, 2021
ee34294
[unixodbc] update to v2.3.9 (#21432)
mc-askia Nov 19, 2021
29e84ec
[fontconfig] Fix dead link to homepage (#21416)
chelmich Nov 19, 2021
3fe9e06
[ace] Upgrade to ACE 7.0.5, added myself as maintainer (#21322)
jwillemsen Nov 19, 2021
d3fc4df
[docs] Document `VCPKG_BUILD_TYPE` (#21469)
autoantwort Nov 19, 2021
c4f3862
[dcmtk] no absolute paths (#21277)
autoantwort Nov 19, 2021
297ff7b
[netcdf-c] Update to 4.8.1, revise features (#21239)
dg0yt Nov 19, 2021
4389f62
[openblas] make openblas build on MinGW (#20986)
ChristopherSchwartzXRITE Nov 19, 2021
fa145bc
[libical] new port (#20965)
wrobelda Nov 19, 2021
94b2a07
[libspatialite] Use pkgconfig for nmake and autotools (#20480)
dg0yt Nov 19, 2021
b40dcaa
[libalkimia] new port (#20207)
wrobelda Nov 19, 2021
56e89eb
[proj4] Update to 8.0.0 (#16494)
rhuijben Nov 19, 2021
203daf9
[vcpkg.targets] Add vcpkg installed libraries to MSBuild external inc…
RT2Code Nov 19, 2021
7939be2
[qtkeychain(-qt6)] update to 0.13.2 (#21529)
Be-ing Nov 20, 2021
71ba14d
[bcg729] Fix cmake, fix parallel build on linux (#21516)
dg0yt Nov 20, 2021
709e9ec
[fast-float] Update version to v3.2.0 (#21447)
FrankXie05 Nov 20, 2021
22f2ba7
Merge remote-tracking branch 'microsoft/master' into qtkeychain-remov…
Be-ing Nov 20, 2021
e1f6539
[qtkeychain] remove from overlay
Be-ing Nov 16, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ check out our [Getting Started](#getting-started) section for how to start using
For short description of available commands, once you've installed vcpkg,
you can run `vcpkg help`, or `vcpkg help [command]` for command-specific help.

* Github: [https://github.com/microsoft/vcpkg](https://github.com/microsoft/vcpkg)
* Github: ports at [https://github.com/microsoft/vcpkg](https://github.com/microsoft/vcpkg), program at [https://github.com/microsoft/vcpkg-tool](https://github.com/microsoft/vcpkg-tool)
* Slack: [https://cppalliance.org/slack/](https://cppalliance.org/slack/), the #vcpkg channel
* Discord: [\#include \<C++\>](https://www.includecpp.org), the #🌏vcpkg channel
* Docs: [Documentation](docs/README.md)
Expand Down
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Vcpkg helps you manage C and C++ libraries on Windows, Linux and MacOS. This too
- [Buildsystem Integration](users/integration.md)
- [Triplet files](users/triplets.md)
- [Configuration and Environment](users/config-environment.md)
- [Authentication](users/authentication.md)
- [Manifest Mode](users/manifests.md)
- [Binary Caching](users/binarycaching.md)
- [Asset Caching](users/assetcaching.md)
Expand Down
32 changes: 27 additions & 5 deletions docs/maintainers/manifest-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ whitespace-character =
| ? U+000D "CARRIAGE RETURN" ?
| ? U+0020 "SPACE" ? ;
optional-whitespace = { whitespace-character } ;
required-whitespace = whitespace-character, { optional-whitespace } ;

lowercase-alpha =
| "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m"
Expand All @@ -365,6 +366,9 @@ identifier-character =
| lowercase-alpha
| digit ;

platform-expression-list =
| platform-expression { ",", optional-whitespace, platform-expression } ;

platform-expression =
| platform-expression-not
| platform-expression-and
Expand All @@ -373,21 +377,39 @@ platform-expression =
platform-expression-identifier =
| identifier-character, { identifier-character }, optional-whitespace ;

platform-expression-grouped =
| "(", optional-whitespace, platform-expression, ")", optional-whitespace ;

platform-expression-simple =
| platform-expression-identifier
| "(", optional-whitespace, platform-expression, ")", optional-whitespace ;
| platform-expression-grouped ;

platform-expression-unary-keyword-operand =
| required-whitespace, platform-expression-simple
| optional-whitespace, platform-expression-grouped ;

platform-expression-not =
| platform-expression-simple
| "!", optional-whitespace, platform-expression-simple ;
| "!", optional-whitespace, platform-expression-simple
| "not", platform-expression-unary-keyword-operand ;

platform-expression-binary-keyword-first-operand =
| platform-expression-not, required-whitespace
| platform-expression-grouped ;

platform-expression-binary-keyword-second-operand =
| required-whitespace, platform-expression-not
| platform-expression-grouped ;

platform-expression-and =
| platform-expression-not, { "&", optional-whitespace, platform-expression-not } ;
| platform-expression-not, { "&", optional-whitespace, platform-expression-not }
| platform-expression-binary-keyword-first-operand, { "and", platform-expression-binary-keyword-second-operand } ;

platform-expression-or =
| platform-expression-not, { "|", optional-whitespace, platform-expression-not } ;
| platform-expression-not, { "|", optional-whitespace, platform-expression-not }
| platform-expression-binary-keyword-first-operand, { "or", platform-expression-binary-keyword-second-operand } (* to allow for future extension *) ;

top-level-platform-expression = optional-whitespace, platform-expression ;
top-level-platform-expression = optional-whitespace, platform-expression-list ;
```

Basically, there are four kinds of expressions -- identifiers, negations, ands, and ors.
Expand Down
79 changes: 79 additions & 0 deletions docs/users/authentication.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# Authentication for Source Code

**The latest version of this documentation is available on [GitHub](https://github.com/Microsoft/vcpkg/tree/master/docs/users/authentication.md).**

Registries and `vcpkg_from_git()` directly use the git command line tools to fetch remote resources. Some of these resources may be protected from anonymous access and need authentication or credentials.

The strategies below all seek to achieve the same fundamental goal: `git clone https://....` should succeed without interaction. This enables vcpkg to be separated from the specifics of your authentication scheme, ensuring forwards compatibility with any additional security improvements in the future.

## Pre-seed git credentials

You can pre-seed git credentials via `git credential approve`:

Powershell:
```powershell
"url=https://github.com`npath=Microsoft/vcpkg`nusername=unused`npassword=$MY_PAT`n" | git credential approve
```
Bash:
```sh
echo "url=https://github.com"$'\n'"path=Microsoft/vcpkg"$'\n'"username=unused"$'\n'"password=$MY_PAT"$'\n' | git credential approve
```

## Bearer auth

For systems which need bearer auth, you can use `git config`:

**Note: you must make these config changes with `--global`**
```
git config --global --unset-all http.<uri>.extraheader
git config --global http.<uri>.extraheader "AUTHORIZATION: bearer <System_AccessToken>"
```
The `<uri>` can be filled in with a variety of options, documented in https://git-scm.com/docs/git-config#Documentation/git-config.txt-httplturlgt. For example, `https://dev.azure.com/MYORG/`.

(Original Source: https://github.com/Microsoft/azure-pipelines-agent/issues/1601#issuecomment-394511048).

**Note for Azure DevOps users:** You may need to enable access via Job authorization scope https://docs.microsoft.com/en-us/azure/devops/pipelines/process/access-tokens?view=azure-devops&tabs=yaml#job-authorization-scope. You may also need to "reference" the repo in your yaml via:

```yaml
resources:
repositories:
- repository: <FRIENDLYNAME>
type: git
name: <ORG>/<REPO>
tag: tags/<TAG>

...

jobs:
- job: Build
uses:
repositories: [<FRIENDLYNAME>]
```

## Pass credentials in an environment variable (not recommended)

Using `VCPKG_KEEP_ENV_VARS` or `VCPKG_ENV_PASSTHROUGH_UNTRACKED`, we can smuggle credential info via another var like `MY_TOKEN_VAR`.
```sh
export VCPKG_KEEP_ENV_VARS=MY_TOKEN_VAR
export MY_TOKEN_VAR=abc123
```
This can then be used in your private ports:
```cmake
# some/private/portfile.cmake
set(MY_TOKEN_VAR "")
if(DEFINED ENV{MY_TOKEN_VAR})
set(MY_TOKEN_VAR "$ENV{MY_TOKEN_VAR}@")
endif()
vcpkg_from_git(
URLS "https://${MY_TOKEN_VAR}host.com/normal/url/path"
...
)
```
```cmake
# some/other/private/portfile.cmake
vcpkg_from_github(
AUTHORIZATION_TOKEN "$ENV{MY_TOKEN_VAR}"
)
```

For private ports, we recommend using `vcpkg_from_git()` instead of `vcpkg_from_github()` and the pre-seeding method above.
3 changes: 3 additions & 0 deletions docs/users/config-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ This environment variable, if set, suppresses the downloading of CMake and Ninja
This environment variable can be set to a list of environment variables, separated by `;`, which will be propagated to
the build environment.

The values of the kept variables will not be tracked in package ABIs and will not cause rebuilds when they change. To
pass in environment variables that should cause rebuilds on change, see [`VCPKG_ENV_PASSTHROUGH`](triplets.md#VCPKG_ENV_PASSTHROUGH).

Example: `FOO_SDK_DIR;BAR_SDK_DIR`

#### VCPKG_MAX_CONCURRENCY
Expand Down
4 changes: 4 additions & 0 deletions docs/users/triplets.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ Specifies the preferred library linkage.

Valid options are `dynamic` and `static`. Note that libraries can ignore this setting if they do not support the preferred linkage type.

### VCPKG_BUILD_TYPE
You can set this value to `release` to only build release versions of the ports. By default this value is empty and release and debug versions of a port are built.

### VCPKG_CMAKE_SYSTEM_NAME
Specifies the target platform.

Expand Down Expand Up @@ -124,6 +127,7 @@ When this option is set to (true|1|on), the compiler is ignored in the abi track

## Windows Variables

<a name="VCPKG_ENV_PASSTHROUGH"></a>
### VCPKG_ENV_PASSTHROUGH
Instructs vcpkg to allow additional environment variables into the build process.

Expand Down
38 changes: 0 additions & 38 deletions overlay/ports/qtkeychain-qt5/portfile.cmake

This file was deleted.

17 changes: 0 additions & 17 deletions overlay/ports/qtkeychain-qt5/vcpkg.json

This file was deleted.

33 changes: 0 additions & 33 deletions overlay/ports/qtkeychain/cmakeconfig.patch

This file was deleted.

17 changes: 0 additions & 17 deletions overlay/ports/qtkeychain/vcpkg.json

This file was deleted.

37 changes: 13 additions & 24 deletions ports/ace/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Using zip archive under Linux would cause sh/perl to report "No such file or directory" or "bad interpreter"
# when invoking `prj_install.pl`.
# So far this issue haven't yet be triggered under WSL 1 distributions. Not sure the root cause of it.
set(ACE_VERSION 7.0.3)
set(ACE_VERSION 7.0.5)
string(REPLACE "." "_" ACE_VERSION_DIRECTORY ${ACE_VERSION})

if("tao" IN_LIST FEATURES)
Expand All @@ -10,14 +10,14 @@ if("tao" IN_LIST FEATURES)
vcpkg_download_distfile(ARCHIVE
URLS "https://github.com/DOCGroup/ACE_TAO/releases/download/ACE%2BTAO-${ACE_VERSION_DIRECTORY}/ACE%2BTAO-src-${ACE_VERSION}.zip"
FILENAME ACE-TAO-${ACE_VERSION}.zip
SHA512 714d2c25bd4be44a03d350b2457b613b5d2d079fc294f287d10968ed02af5c9c82a2a0c10937acf46a4babfd4582cdc5fa23d6080dadd5cbc4f7f694037033f9
SHA512 3ea0cc7b35433d7c41f51137caacd394a976cf4d5c2972a35015901b3ba172bacff0216a3146bf632b929a63853b7123019382c22d14c6d64e43a71a61b88023
)
else()
# VCPKG_TARGET_IS_LINUX
vcpkg_download_distfile(ARCHIVE
URLS "https://github.com/DOCGroup/ACE_TAO/releases/download/ACE%2BTAO-${ACE_VERSION_DIRECTORY}/ACE%2BTAO-src-${ACE_VERSION}.tar.gz"
FILENAME ACE-TAO-${ACE_VERSION}.tar.gz
SHA512 e48df1c63bfd02f3a14d049efbcb9a2f476597deaa2b9259d4d852ddfea2319af14e6a1071139b091bff856619e11c650771bfe92c3220d198ec6e931cdd35de
SHA512 65c6557f72a57dc137882bbf6cbb009ae2e403c9848e3e4c3165f1ed55865c5e08fc0226dcf715b33bfa501b13b3863f5c40403791b0dcd29b7c88fec20a9660
)
endif()
else()
Expand All @@ -26,14 +26,14 @@ else()
vcpkg_download_distfile(ARCHIVE
URLS "https://github.com/DOCGroup/ACE_TAO/releases/download/ACE%2BTAO-${ACE_VERSION_DIRECTORY}/ACE-src-${ACE_VERSION}.zip"
FILENAME ACE-src-${ACE_VERSION}.zip
SHA512 3232ea5437b5fa4a36f4b9d5586c1435a5e2f2dcb34770919a1d1dfe6ebe12e33b316f3c0a1275cdc40c12135800f8cb000ac12b4775f9c31d3ddc48b41bd375
SHA512 73707c92a0533ab60f090cfb620d508755b8267e2b83fb52d9903c4d780d2e2b504545433fdbe34801d4895cf938ecc5a5f26c34528851080bcce07f5a501ac1
)
else(VCPKG_TARGET_IS_WINDOWS)
# VCPKG_TARGET_IS_LINUX
vcpkg_download_distfile(ARCHIVE
URLS "https://github.com/DOCGroup/ACE_TAO/releases/download/ACE%2BTAO-${ACE_VERSION_DIRECTORY}/ACE-src-${ACE_VERSION}.tar.gz"
FILENAME ACE-src-${ACE_VERSION}.tar.gz
SHA512 019ec5c9f23c103d659ec57f6c7bfda3d6d12fc4ca77373353d6232c5fa24c03ffba222af45bd4afe997f02a81f834546cfbcb0e667000857b6e12f2ca3effaa
SHA512 6e5e43e600763e612c292cb88443e4dce1be94d049e2a784c5a4d4720314b484cccec4f7f05534c6ef824d86bef8bfe4ff5bce5f7998896cdaa599302b5b2562
)
endif()
endif()
Expand Down Expand Up @@ -89,12 +89,14 @@ endif()
# Add ace/config.h file
# see https://htmlpreview.github.io/?https://github.com/DOCGroup/ACE_TAO/blob/master/ACE/ACE-INSTALL.html
if(VCPKG_TARGET_IS_WINDOWS)
if(VCPKG_PLATFORM_TOOLSET MATCHES "v142")
set(SOLUTION_TYPE vs2019)
if(VCPKG_PLATFORM_TOOLSET MATCHES "v140")
set(SOLUTION_TYPE vc14)
elseif(VCPKG_PLATFORM_TOOLSET MATCHES "v141")
set(SOLUTION_TYPE vs2017)
elseif(VCPKG_PLATFORM_TOOLSET MATCHES "v142")
set(SOLUTION_TYPE vs2019)
else()
set(SOLUTION_TYPE vc14)
set(SOLUTION_TYPE vs2022)
endif()
file(WRITE ${ACE_SOURCE_PATH}/config.h "#include \"ace/config-windows.h\"")
elseif(VCPKG_TARGET_IS_LINUX)
Expand Down Expand Up @@ -310,22 +312,6 @@ if(VCPKG_TARGET_IS_WINDOWS)
endif()
endif()

# remove (erroneous) duplicate libs
if("tao" IN_LIST FEATURES)
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
file(REMOVE
${CURRENT_PACKAGES_DIR}/debug/lib/tao_cosconcurrency.lib
${CURRENT_PACKAGES_DIR}/debug/lib/tao_cosevent.lib
${CURRENT_PACKAGES_DIR}/debug/lib/tao_coslifecycle.lib
${CURRENT_PACKAGES_DIR}/debug/lib/tao_cosnaming.lib
${CURRENT_PACKAGES_DIR}/debug/lib/tao_cosnotification.lib
${CURRENT_PACKAGES_DIR}/debug/lib/tao_costrading.lib
${CURRENT_PACKAGES_DIR}/debug/lib/tao_imr_activator.lib
${CURRENT_PACKAGES_DIR}/debug/lib/tao_imr_locator.lib
${CURRENT_PACKAGES_DIR}/debug/lib/tao_rtevent.lib)
endif()
endif()

vcpkg_clean_msbuild()
elseif(VCPKG_TARGET_IS_LINUX OR VCPKG_TARGET_IS_OSX)
FIND_PROGRAM(MAKE make)
Expand Down Expand Up @@ -431,6 +417,9 @@ elseif(VCPKG_TARGET_IS_LINUX OR VCPKG_TARGET_IS_OSX)

# Handle copyright
file(INSTALL ${ACE_ROOT}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/ace/bin/MakeProjectCreator")
file(REMOVE "${CURRENT_PACKAGES_DIR}/share/ace/ace-devel.sh")
endif()

vcpkg_fixup_pkgconfig()
Loading