240 Commits

Author SHA1 Message Date
Kai Pastor
2ed5383f7b
[vcpkg_configure_make] Standardize OPTIONS list item handling (#19540)
* Remove unused EXTRA_QUOTES

* Uniformly invoke 'configure'

* [libtasn1] Fix mingw build

* Unify prefix handling

* Revise install dir processing

* x-add-version

* Force libdir to lib (adopted from #19666)

* [skip actions] CI rebuild

* CR request: Put backslash before shell var

* CR request: Use vcpkg_list

* Update versions

* Fix python3 options

* Update versions

* Bump python port-version.

* CR request: Add comment about backslashes before prefix

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-30 23:58:36 -07:00
菜姬
8cbe679806
[libass] update to 0.15.2 and fix .pc file (#20410)
* [libass] update to 0.15.2 and fix .pc file on windows

* [libass] Add to versions file
2021-09-29 08:44:05 -07:00
autoantwort
5aaa1da650
[libmediainfo] fix dependency (#20376) 2021-09-27 21:07:25 -07:00
chausner
0fc5f349d2
[libsrtp] Update to 2.4.2 (#20359)
* Update libsrtp to 2.4.2

* Update CI baseline

* More tweaks

* Update git-tree hash

Co-authored-by: chausner <chausner@users.noreply.github.com>
2021-09-27 21:00:19 -07:00
NancyLi1013
5c6bad28e0
[libdatachannel] Update to 0.15.1 (#20317)
* [libdatachannel] Update to 0.15.1

* Revert to version-semver
2021-09-27 19:49:56 -07:00
NancyLi1013
84117b9736
[libaaplus] Update to 2.36 (#20228)
* [libaaplus] Update to 2.36

* Export include path
2021-09-27 19:45:08 -07:00
JonLiu1993
8e0a801c62
[libwebp] update to 1.2.1 (#20152)
* [libwebp] update to 1.2.1

* update version

* Convert patch CRLF to LF

* update version

* update patch and portfile,cmake

* update version

* update portifile.cmake

* update portfile.cmake

* update version

* update portfile.cmake

* update version

* revert portfile.cmake

* update version

* add trailing line break

* update version
2021-09-27 17:51:56 -07:00
Antoine Hoarau
5aec72b4f3
[mosquitto] Update to 2.0.12 (#20148)
* update mosquitto to 2.0.12

* update json

* Update ports/mosquitto/vcpkg.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/libwebsockets/vcpkg.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* add head ref

* remove plugins

* update jsons

* update libwebsockets

* Update versions/m-/mosquitto.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update versions/l-/libwebsockets.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/mosquitto/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* update version

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-09-27 17:51:07 -07:00
JonLiu1993
ee0584f050
[libssh/libressl] update to the latest version (#20067)
* [libssh/libssh2/libssh2] update to the latest version

* update version

* update patches formating

* update version

* update hash512

* update version'

* fix CI build error

* update version

* update vcpkg.json and portifile.cmake

* update version

* delete hash

* update version

* revert libssh2

* update version

* revert libssh2

* update portfile.cmake

* update version
2021-09-27 17:26:06 -07:00
Wolfgang Stöggl
d49854f8a0
[libgxps] Add new port (#20062)
Add libgxps version 0.3.2
2021-09-27 17:22:39 -07:00
Dawid Wróbel
8c7e42e5af
[libcanberra] new port (#19816)
* [libcanberra] new port

* [libcanberra] add libvorbis depnendency

* [libcanberra] update versions

* [libcanberra] fix macOS build

* [libcanberra] only support mac and linux

* [libcanberra] update versions

* [libcanberra] patch pkgconfig on macOS

* [libcanberra] update versions

* [libcanberra] unix-only port, remove vcpkg_copy_pdbs()

diff --git a/ports/libcanberra/portfile.cmake b/ports/libcanberra/portfile.cmake
index 1dec6214c..b4d75f77e 100644
--- a/ports/libcanberra/portfile.cmake
+++ b/ports/libcanberra/portfile.cmake
@@ -62,7 +62,6 @@ if(VCPKG_TARGET_IS_OSX)
 endif()

 vcpkg_fixup_pkgconfig()
-vcpkg_copy_pdbs()

 file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
 file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/tools") # empty folder

* [libcanberra] update versions

* [libcanberra] fix .pc.in token expansion

* [libcanberra] update versions
2021-09-27 17:19:43 -07:00
Yury Bura
cc471dc0f5
[boost] update to 1.77.0 (#19556) 2021-09-27 17:12:39 -07:00
Niall Douglas
46700e2a0c
[ned14-internal-quickcpplib/llfio/outcome] Update to latest release (#20171)
* Update ned14-internal-quickcpplib and LLFIO to latest matching Outcome v2.2.1 (bugfixed) release.

* Implement suggested changes during review. Update Outcome and LLFIO to latest.

* Re x-add-version.

* Fix version database.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-27 12:42:44 -07:00
Kai Pastor
845a5fda11
[libarchive,lz4] Fix pc file, modernize portfile (#20146)
* Fix pc file

* Modernize portfile

* OpenSSL unused on 'Darwin'

* x-add-version

* More port cleanup (CR requests)

* Revise wrapper, using find_package

* Don't use pkgconfig modules for windows openssl

* Update versions

* Use namespaced variables for custom lzo lookup

* Wrapper needs CMP0012

* Skip dependencies if not LibArchive_FOUND

* Update versions

* Fix liblz4.pc debug lib fixup

* Update versions

Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
2021-09-24 12:06:17 -07:00
JonLiu1993
50fcd633dd
[libimobiledevice/libideviceactivation] update to latest version (#19962)
* [libimobiledevice/libideviceactivation/libzen] update to latest version

* update version

* update vcpkg.json format

* update version

* fix export target

* update version

* update version

* revert port libzen

* update version

* handle libzen conflict files

* delete vcpkg_cmake_config_fixup

* update version
2021-09-23 17:04:17 -07:00
Robert Schumacher
674e616a21
[lcms] Backfill compat for lcms::lcms (#20034)
* [lcms] Backfill compat for lcms::lcms

* Remove :@TARGET_TRIPLET@

* Add comment for duplicate vcpkg_cmake_config_fixup.

* [lcms] Update version db

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-23 11:00:41 -07:00
Ahmed Yarub Hani Al Nuaimi
9d892ff927
[libwebsockets] Enable separate debug and release builds (#20251)
* Enable separate release and debug builds for libwebsockets

* Update libwebsockets's port version

* Refactoring

* Refactoring

Co-authored-by: Ahmed Yarub Hani Al Nuaimi <ahmed.alnuaimi@zwift.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-22 13:35:59 -07:00
Be
93885afd50
[libdjinterop] update to 0.16.0 (#20136)
* [libdjinterop] update to 0.16.0

* [sqlite3] add pkgconfig file

Linux distributions typically use the SQLite autoconf package,
but this port uses the SQLite amalgamation package with a custom
CMakeLists.txt so the port needs to take care of installing the
pkgconfig file.
2021-09-22 13:00:06 -07:00
Dawid Wróbel
36fe652165
[libsnoretoast] fix absolute include paths (#20229)
* [libsnoretoast] fix absolute include paths

* [libsnoretoast] fix versioning scheme

* [libsnoretoast] update versions

* Fix damage to previous version in the version database.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-20 10:55:40 -07:00
Jack·Boos·Yu
f996942b83
[libdatachannel] Export the include path to cmake configure file (#20225)
* [libdatachannel] Export the include path to cmake configure file

* version

* Convert deprecated functions

* version

* Format

* version
2021-09-17 08:22:11 -07:00
autoantwort
66dc12b3fa
many-ports: Update supports field (#20053)
* many-ports: Update supports field

* Fix several "version-string"s.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-17 08:20:57 -07:00
Phoebe
69d5556d0d
[ffnvcodec/libproxy] Update to latest release version (#20169)
* [ffnvcodec/libproxy] Update to latest release version

* Small changes

* [ffnvcodec] Use version instead of version-string.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-16 18:31:30 -07:00
Cheney Wang
fd8a264bff
[amqpcpp/leptonica/glibmm] Update to latest version (#20069)
* [amqpcpp/leptonica/glibmm] Update to latest version

* Modify the include dir path

* Modify version schemes

Co-authored-by: Cheney-Wang <v-xincwa@microsoft.com>
2021-09-16 10:50:15 -07:00
Phoebe
a35e2377cf
[cimg/libgd/libfabric] Update to latest release version (#20068)
* [cimg/libgd/libfabric] Update to latest release version

* Remove empty line

* [libgd] Update the patch

* Small changes

* [libgd] Update to version semver
2021-09-14 12:01:57 -07:00
Dominic Clark
88e62788be
[lv2] Fix installation of headers to legacy paths (#20102)
* Fix LV2 old header path mapping

* Update version files
2021-09-13 20:22:42 -07:00
NancyLi1013
2294a5b768
[audiofile/cgltf/libsbml] Update to the latest version (#20066)
* [audiofile/cgltf/libsbml] Update to the latest version

* Format manifests

* [libsbml] Update branch from stable to development

* Update versions/l-/libsbml.json

* [audiofile] Add options to vcpkg_cmake_configure
2021-09-13 20:20:15 -07:00
Stefano Sinigardi
259e0bd22c
[libgo] fix baseline issue (#19773)
* [libgo] fix baseline issue

* [libgo] fix references

* [libgo] fail fast on unsupported archs

* [libgo] fix references

* [libgo] fixes for macOS

* [libgo] fix references

* Minimize the patch

Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
2021-09-13 14:56:51 -07:00
ithewei
7dc786c123
[libhv] update to v1.2.1 (#19794)
* [libhv] update to v1.2.1

* vcpkg x-add-version libhv

* [libhv] move dlls from lib to bin

* vcpkg x-add-version --overwrite-version libhv

* [libhv] mkdir bin

* vcpkg x-add-version --overwrite-version libhv

* Don't protect `file(MAKE_DIRECTORY`

Co-authored-by: hewei.it <hewei.it@bytedance.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-13 14:55:05 -07:00
Ahmed Yarub Hani Al Nuaimi
20f85de001
[Libuv] Fix iOS Build (#20117)
* Use MacOS (Darwin) source files for building iOS version

* Update version

* Update version

Co-authored-by: Ahmed Yarub Hani Al Nuaimi <ahmed.alnuaimi@zwift.com>
2021-09-13 14:44:22 -07:00
Matthieu Penant
92f6e66a61
[libarchive] update to 3.5.2 (#16845)
* libarchive 3.5.1

attempt to create package - error on libiconv.

* update sha based on build error

* Turn off the CMAKE_USE_SYSTEM_LIBARCHIVE option

* remove unused patches

* remove empty patches

* Update scripts/test_ports/cmake/portfile.cmake

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>

* revisit control file -> vcpkg.json

* recover patch files

* remove port version per auto-review

* restore INCLUDE(CreatePkgConfigFile)

* update git-tree after merge

* patches not referenced #facepalm

* Update libarchive.json

* added missing FEATURES keyword

* update git-tree + merge fix

* Update libarchive.json

* Update libarchive.json

* Update libarchive.json

* libarchive 3.5.2

* formatting + git-tree

* Update libarchive.json

* should not remove wrapper ?

* Update libarchive.json

* revert patch original EOF

* update version

Co-authored-by: Jonliu1993 <13720414433@163.com>
Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
Co-authored-by: Seika <seika@machinex.ca>
2021-09-13 14:39:54 -07:00
Kai Pastor
35c086d050
[lz4] Install pc file, cleanup (#20108)
* Drop unused xxhash dependency

* Modernize portfile

* Install pc file

* x-add-version

* Switch to 'version' field

* Update versions

* Fix liblz4 pc file name

* Update versions
2021-09-13 13:25:29 -07:00
Phoebe
1909fbc4eb
[libpqxx] Fix build issue with vs2017 (#20095) 2021-09-10 18:29:46 -07:00
Jack·Boos·Yu
e8e660a36c
[vcpkg baseline][pangolin] Add features, fix dependency pybind11 (#20006)
* [vcpkg baseline][pangolin] Add features, fix dependency pybind11

* Fix dependency name realsense2

* Remove default-feature gles

* Re-generated patch, add MAYBE_UNUSED_VARIABLES, fix build with core

* version

* Fix desc, add more MAYBE_UNUSED_VARIABLES

* version

* more MAYBE_UNUSED_VARIABLES

* version

* Remove some CMAKE_DISABLE_FIND_PACKAGE_*

* version

* Remove more CMAKE_DISABLE_FIND_* since they are disabled

* Remove BUILD_FOR_GLES_2

* version

* Restore BUILD_FOR_GLES_2

* version

* Fix more dependencies

* [libuvc]Fix build type, fix usage

* version

* Re-make patch

* version

* Use libjpeg macros instead of target name to avoid use `find_dependency`

* version

* Fix usage on non-Windows

* version

* commit suggestions

* version

* Apply suggestion

* version

* Re-fix JPEG

* version

* typo

* format

* version

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-10 13:41:46 -07:00
Billy O'Neal
b295670e4b
Bulk convert control files. (#19986)
```
function Convert-Control {
    Param($full)
    .\vcpkg.exe format-manifest $full
    $root = $full.Substring(0, $full.Length - 7) # CONTROL
    $new = $root + 'vcpkg.json'
    $content = Get-Content -Raw $new
    $asJson = ConvertFrom-Json $content -AsHashtable -Depth 100
    $oldVersion = $asJson['port-version']
    if ($null -eq $oldVersion) {
        $oldVersionFull = $asJson['version-string']
        Write-Host "Got version $oldVersionFull"
        $match = [System.Text.RegularExpressions.Regex]::Match($oldVersionFull, '^(.+)-(\d+)$')
        if ($match.Success -and -not [System.Text.RegularExpressions.Regex]::IsMatch($oldVersionFull, '^\d\d\d\d-\d\d-\d\d$')) {
            $newFullVersion = [string]$match.Groups[1].Value
            $oldVersion = [int]$match.Groups[2].Value
            Write-Host "newFullVersion $newFullVersion oldVersion $oldVersion"
            $newVersion = $oldVersion + 1
            $asJson['version-string'] = $newFullVersion
            Write-Host "Previous version for $full extracted from version field -- setting version-string $newFullVersion and port-version $newVersion"
        } else {
            Write-Host "No previous version for $full -- setting 1"
            $newVersion = 1
        }
    } else {
        $newVersion = [int]$oldVersion + 1
        Write-Host "New version for $full : $newVersion"
    }

    $asJson['port-version'] = $newVersion

    $content = ConvertTo-Json $asJson -Depth 100
    Set-Content -Path $new -Value $content
    .\vcpkg.exe format-manifest $new
}

Get-ChildItem ports\CONTROL -Recurse | Foreach-Object {
    Convert-Control $_.FullName
}

git commit -am "this message"
.\vcpkg.exe x-add-version -all
git commit -a --amend
```
2021-09-09 01:24:04 -07:00
Kai Pastor
c759b997ba
[libjpeg-turbo] Update wrapper to correctly find debug/release variant (#19319)
* Format manifest

* Fix cmake wrapper

* Drop windows debug lib renaming

* Fix build warnings

* x-add-version

* Consolidate azure-kinect-sensor-sdk patches

* Fix jpegturbo dependency

* x-add-version

* Fix wrapper message

* x-add-version
2021-09-08 15:28:41 -07:00
Billy O'Neal
cd54580d1f
[libbson, mongo-c-driver] Convert to vcpkg.json. (#20039)
* Fixes source writes rather than using DISABLE_PARALLEL_CONFIGURE
* Fixes to use modern vcpkg helpers.
* Fixes to install to the correct include path rather than moving the resulting includes after the fact.
* Remove do-nothign renames.
* Fixes to make static cmake configs find the correct bits.
2021-09-08 11:56:06 -07:00
Phoebe
bcf551b980
[fftw3/libwebsockets/uwebsockets] Update to latest release (#20051) 2021-09-08 08:02:56 -07:00
JonLiu1993
f4f8bba9d4
[libfort/libgit2/cli11] update to the latest version (#20024)
* [libfort/libgit2/cli11] update to the latest version

* update version

* delete useless dependencies

* update version
2021-09-08 07:55:21 -07:00
NancyLi1013
5b2ac1fed8
[libhsplasma/libpcap/lv2/libcrafter] Update to the latest version (#19965)
* [libhsplasma/libpcap/lv2] Update to the latest version

* [libpcap] Remove unused comments

* Update version files

* [lv2] Fix usage
[libpcap] Update ci.baseline.txt

* [libhsplasma] Remove x64-windows-static=fail from ci.baseline.txt

* [libcrafter] Update to 1.0

* [libcrafter] Add vcpkg.json

* Update version files

* Add CRT check for libpcap and update version as versin-semver for libpcap

* Update version files

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-08 07:45:37 -07:00
evpobr
615547c1d5
[libsamplerate] Update 0.2.1 -> 0.2.2 (#20003) 2021-09-07 21:49:35 -07:00
Jafar Abdi
e8661320ba
[libharu] Fix renaming library when one of the build type is selected (#19979)
* libharu: Fix renaming library when build type is either release or debug

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>

* Run vcpkg x-add-version --all

* Small changes

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2021-09-07 21:48:24 -07:00
Phoebe
8ef3e28099
[libuv/librsync/libqrencode] Update to latest release version (#19972)
* [libuv/librsync/libqrencode] Update to latest release version

* Update the baseline version

* [libuv] Add new source file epoll.c

* Update the source

* Small changes
2021-09-07 21:40:10 -07:00
NancyLi1013
e5b6ec234b
[libmediainfo/glslang] Update to the latest version (#19917)
* [libmediainfo/glslang] Update to the latest version

* Update version files

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-07 21:06:30 -07:00
Wolfgang Stöggl
7fae7f5923
[lcms] Update to 2.12 (#19551)
In addition to updating the version to 2.12, the following
modifications were applied to the port:
- Use the name lcms2 for the library, as it is called upstream since
  version 2 of Little-CMS.
  Remark: In the past, the library has already been called lcms2 for
  a while in vcpkg (1e53c60 until 726c111).
  The ports in vcpkg, which currently require the port lcms
  (devil, libraw and opencolorio), use and support lcms2 include/lib.
- Add generating a pkg-config file
- Add quotes to file commands in portfile.cmake
2021-09-07 15:19:07 -07:00
Liu Chenxin
210240b399
[libssh] add static build support for MinGW subsystem (#19854)
* add MinGW subsystem support for nana

* update port version

* [nana] update versions

* format-manifest

* add static build support for MingW subsystem

Co-authored-by: Billy Robert ONeal III <bion@microsoft.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-09-03 22:36:23 -07:00
Dorq
a4d0471091
[libigl] fix imgui feature (#19746)
* [libigl] fix imgui feature

* run x-add-version
2021-09-03 17:38:46 -07:00
JonLiu1993
fbc1e4178a
[libmupdf/liblinear/libkeyfinder] Update to latest version (#19959)
* [libmupdf/liblinear/libkeyfinder] Update to latest version

* update version

* update vcpkg.json format

* update version
2021-09-03 17:37:20 -07:00
NancyLi1013
caf2e7460b
[libosmium/libxlsxwriter] Update to the latest version (#19935)
* [libosmium/libxlsxwriter] Update to the latest version

* Update version files

* Update versions/l-/libosmium.json

* Attempt to fix version database again.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-03 14:14:39 -07:00
Cal McLean
526d0625e1
[libdatachannel] Update to v0.14.3 (#19826)
* [libdatachannel] update to version 0.14.3, fixing linking errors

* [libdatachannel] correctly format manifest

* [libdatachannel]: x-add-version --all
2021-09-02 18:03:41 -07:00
eli
5512566ae7
[lager] add port (#19661)
* add lager port

* run `vcpkg x-add-version --all`

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-09-02 17:57:20 -07:00