Commit Graph

1480 Commits

Author SHA1 Message Date
Timur Chernykh
576379156e
[libcgroup] added new port (#39647)
Co-authored-by: Timur Chernykh <t.chernykh@facct.ru>
2024-07-05 14:07:14 -04:00
Kevin Leonardic
0b5bf599b4
[libjpeg-turbo] Update to 3.0.3 (#39690) 2024-07-05 13:34:30 -04:00
Cheney Wang
35ebc92735
[mongo-c-driver/libbson] update to 1.27.4 (#39685) 2024-07-05 13:28:31 -04:00
Kadir
49ac2134b3
[libass] Update to version 0.17.3 (#39678) 2024-07-04 08:53:17 -04:00
Nick Logozzo
835715b733
[libnick] Update to 2024.7.0 (#39681) 2024-07-04 08:52:49 -04:00
مهدي شينون (Mehdi Chinoune)
7290858ca6
[liborigin] update to 3.0.3 (#39683) 2024-07-04 08:52:34 -04:00
Billy O'Neal
0dab813d5f
Patch Tuesday June 2024 (#39325) 2024-07-03 20:01:35 -07:00
Kai Pastor
c202ce4d46
[libidn2] Fix patch (#39639) 2024-07-02 14:49:17 -04:00
Weihang Ding
ba66be1691
[libyuv] Fix install tools (#39628) 2024-07-02 14:12:16 -04:00
Maxime Gervais
e45c6629d8
[libmediainfo] update to 24.06 (#39606) 2024-07-01 15:51:38 -04:00
c8ef
9e611ba347
[libaio] add new port (#39376) 2024-06-28 23:07:28 -07:00
JonLiu1993
fbb916cc16
[mongo-c-driver] update to 1.27.3 (#39568) 2024-06-28 17:26:44 -07:00
Nick Logozzo
f55562f6c5
[libnick] Update to 2024.6.9 (#39536) 2024-06-26 20:17:05 -07:00
Weihang Ding
2f7e9e11f2
[highway] Bump to 1.2.0 (#39086) 2024-06-26 13:05:50 -07:00
Alexander Neumann
9dc5ae24a3
[libcroco] switch to upstream make build (#25958)
Co-authored-by: Kai Pastor <dg0yt@darc.de>
2024-06-26 13:05:15 -07:00
Doug Cook
54fb22ead7
[libtracepoint] Update to 1.4.0, add "tools" features (#39418) 2024-06-24 18:14:14 -07:00
David Smith
c4467cb686
[lightgbm] Add open-source library lightgbm to vcpkg (#39395) 2024-06-21 15:13:45 -07:00
Dennis
561d171d79
[grpc/protobuf] Update grpc to 1.60.0 and update protobuf to 3.25.1 (#35781)
Resolves https://github.com/microsoft/vcpkg/issues/35566

This pr includes https://github.com/microsoft/vcpkg/pull/31159 and
https://github.com/microsoft/vcpkg/pull/35399

Ports changed in this pr:

Most of these changes stem from the fact that protobuf now depends on
abseil and requires c++14 while ports consume protobuf using
`target_link_libraries(lib ${Protobuf_LIBRARIES})` instead of
`target_link_libraries(lib PUBLIC protobuf::libprotobuf)`.

* **abseil** Updated to 03/04/2024 to address MSVC build issue in
openvino
* **arcus** Updated to 4.13.2
* **braft** Patched to use `find_package(Protobuf` instead of custom
FindProtobuf module. also link with `PUBLIC protobuf::libprotobuf)`.
* **brpc** Patch several `target_link_library` calls to include `PUBLIC`
instead of nothing. Patch some warnings that are treated as errors by
some OSX compiler. Patch usage of changed protobuf features most
importantly removal of `SetLogHandler`, tbd whether this patch is
acceptable with upstream.
* **cld3** Use CONFIG to find protobuf to propagate dependent abseil
libs and cxx14 correctly.
* **ecal** Use CONFIG to find protobuf. Use PUBLIC when linking it.
* **gamenetworkingsockets** Add `-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=on`
for protobuf.
* **gz-transport12** Update to fix usage of removed protobuf features.
* **ignition-msgs1/5/6** Remove protobuf version check which is confused
by the duplicate versioning scheme (v25.1 vs. 3.25.1 vs 4.x). Why are we
even maintaining this no longer maintained major version of this port? I
would welcome a more strict policy on removing ports/adding them to
ci.baseline.txt
* **ignition-transport4/8/9** Same as above + cherry-pick a protobuf
deprecation patch.
* **libprotobuf-mutator** Cherry-pick two commits to address altered
protobuf functionality. Add CONFIG and PUBLIC to protobuf handling in
CMake.
* **marble** Explicitly set protobuf to not found since it is not part
of the vcpkg.json but is made available transitively but another
dependency.
* **mysql-connector-cpp** Several CMake changes and removal of
protobuf::SetLogHandler patch.
* **openvino** Find protobuf using CONFIG
* **osgearth** Link libraries using PUBLIC and link with
protobuf::libprotobuf instead of Protobuf_LIBRARIES
* **paraview** Find protobuf using CONFIG and remove version check
* **pulsar-client-cpp** Add protobuf linkage to PULSAR_OBJECT_LIB.
Simplify protoc patch. Remove -Werror.
* **shogun** Update and patch as much as possible. Users are required to
override bitsery version to 4.x to use shogun since it does not support
5.x provided by vcpkg. Therefore add shogun to ci.baseline.txt.
* **srpc** Update and fix static crt linkage. Patch protobuf linkage and
remove hardcoded `-std=c++11` flag. Protobuf requires c++14 and CMake
does not recognize the hardcoded c++11 flag and will therefore not add a
c++14 flag when the compiler uses c++14 by default.
* **upb** Update to align version with protobuf/grpc and use new github
repo. Patch usual CMake mess (they do not support CMake officially)
which should probably be `unofficial-upbConfig.cmake` but I didn't dig
into downstream implications so I kept it at `upbConfig.cmake` as
before.
* **utf8-range** Update to allign version with protobuf.
2024-06-21 13:39:50 -07:00
martingalvan-volue
bc104c8f14
[libsodium] Add comment about tag usage (#39388) 2024-06-20 11:38:00 -07:00
Nick Logozzo
31897c58e6
[libnick] Update to 2024.6.8 (#39392) 2024-06-20 11:37:19 -07:00
gerard-ryan-immersaview
6db51d86a9
[vcpkg_replace_string] warn unchanged by call (#34719)
If a call to `vcpkg_replace_string` makes no changes i.e doesn't
effectively replace a string, A warning is logged.

This should also help identify ports that no longer need these calls to
fix things in `.pc` files etc.
2024-06-19 14:07:05 -07:00
Theodore Tsirpanis
9e80334e7c
[liblzma] Update to version 5.6.2. (#39024) 2024-06-18 12:34:27 -07:00
pastdue
d36776f8e0
[libsodium] Fix build for emscripten and mingw-x86 (#39301)
Fixes issues compiling libsodium port for Emscripten and llvm-mingw x86.
2024-06-17 11:44:30 -07:00
Marcus O
f4aa70af40
[libwebsockets] Update to version 4.3.3 (#39302) 2024-06-17 11:43:08 -07:00
Nick Logozzo
0816039937
[libnick] Update to 2024.6.6 (#39303) 2024-06-17 11:41:03 -07:00
talregev
fa3d6285a6
[libressl] Update to 3.9.2 (#39315) 2024-06-17 11:40:23 -07:00
Kai Pastor
47633daa65
[vcpkg-scripts] Catch use of ambiguous cmake vars (#34546)
Avoid wrong use of popular but ambiguous variables (`WIN32` etc.) in
scripts and portfiles by detection in CI.

Sometimes the variables are used wrongly, and sometimes this isn't
caught in PR review. This PR tries to catch those variables (when in the
active code path in script mode). [This can happen to every
contributor](https://github.com/microsoft/vcpkg/pull/34356#discussion_r1360074122),
even if he/she knows the rules ... vcpkg is raising the bar higher than
usual, having to deal with targets and hosts even in script mode.

(`b2-options.cmake` (boost fragment) shows where we get if we don't pay
attention: the same code being used in script mode (`WIN32` meaning
host) and in project mode (`WIN32` meaning target).)

The new check doesn't break any user builds because it relies on command
line options. However it changes the ABI hashes.
2024-06-14 11:40:01 -07:00
Tyler Rockwood
638daad57d
Enable additional authentication mechanisms in librdkafka (#39184)
The main reasons from what I can tell for enabling SSL or CURL is to
also be able to enabled additional authentication mechanisms
2024-06-12 16:16:32 -07:00
jim wang
b64343a250
[libdeflate] Fix gcc11.4 compilation error (#39237)
Fixes https://github.com/microsoft/vcpkg/issues/39207
Call upstream PR [366](https://github.com/ebiggers/libdeflate/pull/366)
to complete the fix.
2024-06-12 16:11:39 -07:00
Nick Logozzo
710a3478fb
[libnick] Update to 2024.6.5 (#39236) 2024-06-12 14:31:54 -07:00
Nick Logozzo
70a7ee5559
[libnick] Update to 2024.6.3 (#39214) 2024-06-11 13:53:07 -07:00
Kai Pastor
e158d10763
Activate Android NDK r26d in vcpkg CI (#35851) 2024-06-11 13:26:30 -07:00
hesmar
bc98892fd1
[leptonica] Reduce required C standard (#39203) 2024-06-11 12:17:24 -07:00
Kai Pastor
795f2f137e
[libpsl,curl,vcpkg-ci-curl] Update suffix list, fix and test curl (#38847) 2024-06-10 17:26:53 -07:00
Nick Logozzo
b7f7f356ba
[libnick] Update to 2024.6.2 (#39151) 2024-06-07 02:46:56 -07:00
MonicaLiu
85480b5415
[libdatachannel] Update to 0.21.1 (#39165)
Co-authored-by: Monica <v-liumonica@microsoft.com>
2024-06-07 02:23:19 -07:00
Yury Bura
63d9dcdd7e
[llvm] Update to 18.1.6 (#37599)
Fixes #37189
- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download.
- [x] The "supports" clause reflects platforms that may be fixed by this
new version.
- [x] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [x] Any patches that are no longer applied are deleted from the port's
directory.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.
2024-06-06 01:14:30 -07:00
Stephen E. Baker
0f7284c035
[lpeg] Add cmake Config file (#39001)
Fixes #38340 

- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [ ] ~SHA512s are updated for each updated download.~
- [ ] ~The "supports" clause reflects platforms that may be fixed by
this new version.~
- [ ] ~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~
- [ ] ~Any patches that are no longer applied are deleted from the
port's directory.~
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.
2024-06-06 01:04:40 -07:00
Doug Cook
557b1bbcae
[libtracepoint/libtracepoint-control] disable building tools (#39025)
libtracepoint should disable building tools/samples/examples. Some of
this was already disabled but the settings need to be updated. Noticed
because libtracepoint tool build fails if building in an environment
that does not default to C++17 or later.

- [X] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download.
- [x] The "supports" clause reflects platforms that may be fixed by this
new version.
- [x] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [x] Any patches that are no longer applied are deleted from the port's
directory.
- [X] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [X] Only one version is added to each modified port's versions file.
2024-06-06 00:54:51 -07:00
Kai Pastor
2017886818
[alsa,fdk-aac,ffmpeg,libsrt,snappy,x265] Code cleanup, fix and use pkg-config (#39077)
- Setup and use pkg-config for ffmpeg dependencies.
https://github.com/microsoft/vcpkg/pull/38011#discussion_r1623174355.
- Export actual c++ link libraries for fdk-aac via pkg-config. (Same
pattern as lerc, geos.)
- Rectify link libraries in pkg-config  for alsa, libsrt, snappy, x265.
- Burn-in dllimport for libsrt and x265.
- Pass detected STRIP to ffmpeg. Fixes
https://github.com/microsoft/vcpkg/issues/36852.
2024-06-06 00:48:31 -07:00
kadirlua
e60b08c84a
[libass] Update version to 0.17.2 (#39101)
- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download.
- [ ] The "supports" clause reflects platforms that may be fixed by this
new version.
- [ ] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [ ] Any patches that are no longer applied are deleted from the port's
directory.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.

This PR updates libass to version 0.17.2.

---------

Co-authored-by: Kai Pastor <dg0yt@darc.de>
2024-06-06 00:15:08 -07:00
jim wang
c1de34e406
[libmariadb] Fix the issue of iconv search failure under Linux (#39136)
Fix one of https://github.com/microsoft/vcpkg/issues/32398 issue.
```
CMake Error at mariadb_config/CMakeLists.txt:51 (GET_LIB_NAME):
  GET_LIB_NAME Function invoked with incorrect arguments for function named:
  GET_LIB_NAME
```
Fixed the issue that the search for iconv in Linux did not obtain the
value of the macro variable Iconv_LIBRARIES, causing the function input
parameter check to fail.

- [X] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [ ] ~~SHA512s are updated for each updated download.~~
- [ ] ~~The "supports" clause reflects platforms that may be fixed by
this new version.~~
- [ ] ~~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~~
- [ ] ~~Any patches that are no longer applied are deleted from the
port's directory.~~
- [X] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [X] Only one version is added to each modified port's versions file.

Usage test pass with following triplets:

```
x64-linux
```
2024-06-05 23:59:09 -07:00
jim wang
1cd9e7b0bc
[mongo-c-driver] Update to 1.27.2 (#39138)
Fixes https://github.com/microsoft/vcpkg/issues/39126

- [X] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [X] SHA512s are updated for each updated download.
- [ ] ~~The "supports" clause reflects platforms that may be fixed by
this new version.~~
- [ ] ~~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~~
- [ ] ~~Any patches that are no longer applied are deleted from the
port's directory.~~
- [X] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [X] Only one version is added to each modified port's versions file.

Usage test pass with following triplets:

```
x64-windows
```
2024-06-05 23:49:02 -07:00
Julian Xhokaxhiu
cec6b3798e
[libvorbis] Fix libogg find_package (#39067)
- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download.
- [ ] The "supports" clause reflects platforms that may be fixed by this
new version.
- [ ] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [ ] Any patches that are no longer applied are deleted from the port's
directory.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.

---

Fix Ogg find_package.

Libogg now ships with an `OggConfig.cmake` file and the current way to
find it does not work anymore.
All the patch does adds the CONFIG notation to the find_package
function.

---

Repro case:

1. Add this to your own `vcpkg.json`
```json
{
  "name": "test",
  "version": "0.0.1",
  "dependencies": [
    {
      "name": "ffmpeg",
      "default-features": false,
      "features": [
        "vorbis"
      ],
      "platform": "windows"
    }
  ]
}
```

2. Add this line to your own `CMakeLists.txt`
```cmake
find_package(FFmpeg COMPONENTS AVFORMAT AVUTIL AVCODEC SWRESAMPLE)
```

3. See CMake failing with an error similar to this one:
```
CMake Error at REDACTED/vcpkg_installed/x86-windows-static/share/Vorbis/VorbisTargets.cmake:60 (set_target_properties):
  The link interface of target "Vorbis::vorbis" contains:

    Ogg::ogg

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  REDACTED/vcpkg_installed/x86-windows-static/share/Vorbis/VorbisConfig.cmake:30 (include)
  C:/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package)
  REDACTED/vcpkg_installed/x86-windows-static/share/ffmpeg/vcpkg-cmake-wrapper.cmake:190 (find_package)
  C:/vcpkg/scripts/buildsystems/vcpkg.cmake:813 (include)
  CMakeLists.txt:1 (find_package)
```

---------

Co-authored-by: Kai Pastor <dg0yt@darc.de>
2024-06-03 22:40:39 -07:00
Kai Pastor
b69ec652ae
[cmake-user] Bump cmake_minimum_required (#39072)
Fixes:
~~~
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.
~~~
2024-06-03 22:29:41 -07:00
Jeremy Rifkin
e53b4259c5
[libassert] Add 2.1.0 (#39093)
- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download.
- [x] The "supports" clause reflects platforms that may be fixed by this
new version.
- [x] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [x] Any patches that are no longer applied are deleted from the port's
directory.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.
2024-06-03 22:08:45 -07:00
Nick Logozzo
8c82ab1e32
[libnick] Update to 2024.6.0 (#39107)
- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download.
- [x] The "supports" clause reflects platforms that may be fixed by this
new version.
- [x] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [x] Any patches that are no longer applied are deleted from the port's
directory.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.
2024-06-03 22:06:42 -07:00
Kai Pastor
c6433bd72c
[libp7client] Fix cmake (#39070)
Fixes:
~~~
CMake Warning (dev) at ports/libp7client/portfile.cmake:24:
  Syntax Warning in cmake code at column 94

  Argument not separated from preceding token by whitespace.
2024-06-02 22:09:35 -07:00
marinedalek
876a60002b
[libremidi] update to 4.5.0 (#39023)
- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download.
- [ ] ~~The "supports" clause reflects platforms that may be fixed by
this new version.~~
- [ ] ~~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~~
- [ ] ~~Any patches that are no longer applied are deleted from the
port's directory.~~
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.
2024-06-02 22:08:40 -07:00
Weihang Ding
57a64903fe
[libpng] Disable build framework on APPLE (#38925)
- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download.
- [x] The "supports" clause reflects platforms that may be fixed by this
new version.
- [x] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [x] Any patches that are no longer applied are deleted from the port's
directory.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.

This pr disable build framework on APPLE, like we've always done.
2024-06-02 22:04:52 -07:00