Commit Graph

88 Commits

Author SHA1 Message Date
Matthias Kuhn
061e92ab17
[gdal] Make building executables optional (#19243)
* [gdal] Optional "tool" feature to build executables

Fixes #19189

* x-add-version

* Fix remove of tools

* Always delete the debug tools

* Add patch to make tools build optional (non-windows)

* Update patch to make tools build optional (windows)

* Update git-tree

* Update tools patch

* Update git-tree

* Revise windows tools handling

* x-add-version

* Remove empty bin dir

* Update git-tree

* Remove obsolete static tools patch

* Update git-tree

* update

* reindent

* x-add-version

* restore version

Co-authored-by: Kai Pastor <dg0yt@darc.de>
2021-09-13 14:41:20 -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
Phoebe
277e9a7f46
[glew/openvdb/xtensor-io] Update to latest release version (#20022)
* [glew/openvdb/xtensor-io] Update to latest release version

* [glew] Update patch

* [xtensor-io] Update version
2021-09-08 07:56:56 -07:00
Carlos O'Ryan
b5865bfeba
[google-cloud-cpp] update to latest release (v1.31.1) (#19957) 2021-09-07 21:06:57 -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
Carlos O'Ryan
7e7bcf8917
[google-cloud-cpp] update to latest release (v1.31.0) (#19889) 2021-09-02 17:59:28 -07:00
Kai Pastor
080bd7537f
[geos,librttopo] Fix linkage and other quirks (#19492)
* [geos] Minor portfile maintenance

* [geos] Export implicit C++ lib dependencies

* [geos] x-add-version

* [librttopo] New port version, format manifest

* [librttopo] Modernize portfile

* [librttopo] Fix mingw build

* [librttopo] Use geos-config, allow dynamic linkage for non-windows

* [librttopo] Fix pc file

* [librttopo] Use pristine download from osgeo.org

* [librttopo] x-add-version
2021-09-02 17:54:14 -07:00
Kai Pastor
9f73bc1a0e
Fix target_link_libraries on repeated inclusion of wrappers (#19120)
* Fix repeated inclusion of wrappers

* x-add-version
2021-09-02 13:21:52 -07:00
Carlos O'Ryan
4529856aeb
[google-cloud-cpp] use features to stop package growth (#19600)
* [google-cloud-cpp] use features to stop package growth

We have plans to grow `google-cloud-cpp`, but we think the build times
are large enough already. This creates "features" to at least stop the
package growth as new features are added. The "default-features"
reflects the current features in the package.

* Remove versions created during development

* Address review comments
2021-08-30 17:14:50 -07:00
bucurb
3582b8a4f0
[glog] Fixed gflags dependency (#18739) 2021-08-27 16:43:13 -07:00
Kai Pastor
c350a3b712
[gettext] Add "autopoint" tool to gettext[core] (#17317) 2021-08-27 14:24:56 -07:00
Tobias Ribizel
410a157896
[ginkgo] Update to 1.4.0 (#19731)
* [ginkgo] add release 1.4.0

* [ginkgo] x-add-version

* Update ports/ginkgo/usage

* [ginkgo] download large patch on demand

* [ginkgo] x-add-version
2021-08-26 09:34:31 -07:00
Carlos O'Ryan
7e396645d9
[google-cloud-cpp] update to latest release (v1.30.1) (#19507) 2021-08-13 13:40:21 -07:00
Carlos O'Ryan
8932964226
[google-cloud-cpp] update to latest version (v1.30.0) (#19336) 2021-08-05 03:02:21 -07:00
Carlos O'Ryan
dc35791a56
[grpc] fix generated pkg-config file (#19174)
gRPC uses `upb`, but normally it vendors-in the dependency. The
vendored-in version uses a single library artifact, and the generated
pkg-config file simply adds `-lupb`.  In `vcpkg` we use the `upb`
package. This has more libraries, and thus more `-lupb_*` options are
needed.  Ideally we would use a `upb.pc` file, but that does not exist.
2021-07-27 15:29:44 -07:00
Kai Pastor
bbf9b17d32
[gdal] Fix GDAL_LIBRARY passing by cache variable (#19119)
* Fix GDAL_LIBRARY passing by cache variable

* x-add-version
2021-07-26 11:11:05 -07:00
Kai Pastor
7d2541c69c
[gettext] Add gettext cmake wrapper (#18159)
* Add gettext cmake wrapper

* x-add-version

* Make kf5i18n use gettext[tools]:host

* x-add-version

* Revise wrapper source names

* Update git-tree

* Provide host tools via port config, not wrapper

* Enable tools on linux

* Fix linux libintl.h hint

* Update git-tree

* Update git-tree

* Revise vcpkg port config

* Revise linux libintl.h message

* Revise cmake style

* Build only release variant of tools

* Cache configuration for faster build

* Update git-tree

* Fix typo

* Revise options

* Add top-level Makefile for tools

* Remove non-libintl libs and includes

* Update git-tree

* Update port-version

* x-add-version

* [gettext] Address PR comments

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-07-24 13:10:41 -07:00
Kai Pastor
2acd21e5e8
[gdal] Repair gdal wrapper (#19105)
* Repair gdal wrapper

* x-add-version
2021-07-23 13:34:02 -07:00
Kai Pastor
4990d2b951
[gdal] Fix build for non-Windows targets (#17698)
* Remove obsolete GDAL_VERSION_LIB

* Build mingw with configure/make

* Rearrange CONF_OPTS, expose tiff dependency

* Revise linkage configuration

* Rearrange GDAL_PATCHES

* Put optional drivers into non-default feature

* Fix gdal build

* Update vcpkg.json

* Re-enable netcdf support

* Revise cmake wrapper

* Final portfile cleanup

* Remove curl osx system dependencies

* Verify configuration results before building

* Update and revise configure.ac patch

* Fix dllexport for mingw-dynamic

* Fix pc file

* Add dependencies to cmake wrapper

* Increment port-version

* x-add-version

* Fix typo

* Update git-tree

* strega-nil CRs

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2021-07-23 10:38:02 -07:00
Kai Pastor
635361d801
[giflib] Update to 5.2.1 (#18836)
* Update to 5.2.1

* Modernize portfile

* Enable shared lib

* Handle system reallocarray

* x-add-version

* Disable GifDrawBoxedText8x8 on windows

* Update git-tree

* Add separate patch for GifDrawBoxedText8x8

* Update git-tree
2021-07-23 09:02:46 -07:00
Luke
071f53715b
[glslang] Update to 11.1.0 (#15719)
* [shaderc] remove port since it does not build

* [glslang] updated to version 11.1.0

* [glslang] Add python path

* [glslang] baseline.json and glslang.json updated

* Update portfile.cmake

* Update CONTROL

* Update port_versions

* Update port_versions

* Update port_versions

* Update port_versions

* Update port_versions

* [glslang] port update to version 11.4.0

* [glslang] port version removed from json

* [glslang] remove shaderc

* [glslang] baseline update

* [glslang] versions hash update

* [glslang] portfile format fix + use of ${PORT}

* [glslang] new hash

* [glslang] revert portfile back

* [glslang] portfile apply changes

* [glslang] update hash for x86 windows

* [glslang] update to 1.5.0

* [glslang] git-tree hash update

* [glslang] remove old version 1.4.0

* [glslang] git-tree hash update

* [glslang][shaderc] Update and fix targets to match upstream

* Update versions

Co-authored-by: Lukas Lipp <llipp@cg.tuwien.ac.at>
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: JonLiu1993 <13720414433@163.com>
Co-authored-by: Robert Schumacher <ras0219@outlook.com>
2021-07-15 07:00:19 -07:00
Billy O'Neal
957d2024b8
Update to Ubuntu 20.04. (#18892)
* Update Ubuntu to 20.04.

* [tfhe] Disable -Wall -Werror

* [sophus] Disable -Werror.

* Fix typo in deployment of CUDA.

* Add libxxf86vm-dev for opensubdiv.

* [opensubdiv] Fix OpenCL search on Ubuntu 20.04, and document libxxf86vm-dev dependency

* [msgpack11] Disable -Werror.

* [qtwayland, qt5wayland] Add system library notice.

* Add python-is-python3 to unbreak tensorflow, v8, and others

* [graphqlparser] Remove directive rejected by Bison 3.5.1

* [ogdf] Mark as failing in ci.baseline.txt. Issue filed https://github.com/microsoft/vcpkg/issues/18936

* [bde] Mark failing in ci.baseline.txt, issue filed https://github.com/microsoft/vcpkg/issues/18937

* [soem] Patch out -Werror

* Update pool.
2021-07-14 12:46:05 -07:00
Xing Ji
e681ff653c
[gli] upgrade the gli to latest (#18715)
* upgrade the gli to latest

* update the version of gli

* update the version of gli

* [gli] Revert patch, use date scheme

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-07-08 10:51:05 -07:00
Billy O'Neal
b761301f77
Download khrplatform.h with vcpkg instead of gl3w_gen.py so that our downloader settings are used (#18858)
Alternative resolution of https://github.com/microsoft/vcpkg/pull/18846/
2021-07-07 18:24:13 -07:00
Phoebe
959e4c61cd
[glew] Improve messages for system opengl dependency (#18672)
* [glew] Fix the dependency

* Update baseline version

* Adress the review suggestions

* Update the baseline revision
2021-07-07 09:26:06 -07:00
Carlos O'Ryan
84e3c0a0b7
[google-cloud-cpp] update to latest release (v1.29.0) (#18759) 2021-07-06 13:46:21 -07:00
Charles Karney
71ffad876d
[geographiclib] Update to version 1.52 (#18694)
* [geographiclib] Update to version 1.52

* run ./vcpkg x-add-version geographiclib

* ports/geographiclib/vcpkg.json: version-string -> version

* Another iteration with x-add-version
2021-07-01 07:35:58 -07:00
Park DongHa
9172179c51
[gstreamer] create a new port (#17394)
* [gstreamer] create port with meson

* initial build config
* nodownload in vcpkg_configure_meson needs be removed

* [gstreamer] remove duplicated GL headers

* 1st check for deps in windows
* mac: fix regex for bison

* [gstreamer] more detailed options

* remove glib usage

Will use WIP changes in microsoft/vcpkg

* [gstreamer] build with glib port

* [gstreamer] extract plugins to features

* fix some config errors in windows
* fails to find z.lib. this should be zlib.lib

* [gstreamer] create patches to search 'zlib'

* update tool list

* [vcpkg meson] add path of GIT

* use append for LINKER_FLAGS

Allow injection of LINKER_FLAGS to vcpkg_configure_meson

* [gstreamer] update baseline and port SHA

* [gstreamer] zlib is required for Windows

* Revert "[vcpkg meson] add path of GIT"

This reverts commit 8a67fbd1d2.

* [gstreamer] make git visible in meson

* [gstreamer] fix platform expression

* [gstreamer] revert change of vcpkg_configure_meson

* [gstreamer] modify build.ninja after configure

* [gstreamer] drop unknown flag with vcpkg_replace_string

* [gstreamer] disable 'devtools' option

* [gstreamer] remove dylib

* [gstreamer] move dll,pdb after install

* [gstreamer] remove 'nls' feature

Co-authored-by: Billy Robert ONeal III <bion@microsoft.com>
2021-06-24 13:57:45 -07:00
SvenPStarFinanz
a07171a4cf
[gtest] Update to 1.11.0 (#18509)
* [gtest] Update to release version 1.11.0

* x-add-version

* Update ports/gtest/vcpkg.json

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* renewal of x-add-version.

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-06-21 13:44:04 -07:00
Dorq
cdbbbf4e41
[gamenetworkingsockets] update to 1.3.0 (#18313)
* [gamenetworkingsockets] update to v1.3.0

* [gamenetworkingsockets] run x-add-version

* requested changes

* [gamenetworkingsockets] fix hash
2021-06-11 09:25:48 -07:00
Matthias Kuhn
f7612e6e14
[gettext] Fix building for android (#18128)
* Fix building gettext for android

Taken from https://github.com/navit-gps/navit/pull/1087/files

* Bump gettext port version
2021-06-09 15:49:39 -07:00
Carlos O'Ryan
751fc199af
[google-cloud-cpp] update to latest (v1.28.0) version (#18246)
* [google-cloud-cpp] update to latest (v1.28.0) version

* Address review comments

* Revert "Address review comments"

This reverts commit db47320dda.
2021-06-04 16:50:36 -07:00
Alexander Neumann
0de461216d
[vcpkg.cmake] Cleanup every special case in the find_package override (#18047)
* move boost out of the toolchain

* move icu out of the toolchain

* remove CURL from the toolchain (was already unreachable?)

* remove gsl from toolchain

* remove grpc from toolchain

* version stuff

* fix indent and missing endif()

* version stuff

* Revert changes to vcpkg.cmake

* push port version

* version stuff
2021-05-28 10:00:20 -07:00
Kai Pastor
f0b32c558a
[geos] Relocatable geos-config; dynamic builds on Unix (#17616)
* Provide geos-config, and fix dynamic builds on Unix

* x-add-version

* Fix debug suffix handling

* Update git-tree

* Don't build benchmarks

* Revise pc file and geos-config handling

Fixup pc files.
Add -lgeos to Libs.private to satisfy common usage requirement
(already present in geos-config).
Install executable geos-config into tools.
Rewrite geos-config relocatability as patch.

* Port to non-deprecated cmake functions

* Add usage

* Update git-tree
2021-05-26 13:29:02 -07:00
nicole mazzuca
49b67d9cb8
[yasm-tool] Migrate to Host Dependencies (#16478)
* [yasm-tool] Fix usage of port to be host dependencies

This allows mpg123, nettle, and gmp to support non-x86 windows manifest mode

* fix gmp

* oops

* versions update
2021-05-21 11:56:32 -07:00
Alexander Neumann
71f5a6f9fe
[getopt-win32] fix static builds (#17942)
* vcpkg_fixup_pkgconfig for allgero5

* version stuff

* Small MSbuild fixes for static builds.

* version stuff

* update baseline

* commit vcpkg.json

* version stuff

* remove blocking line

* version stuff

* fix missing preprocessor definition

* version stuff

* Update ports/getopt-win32/portfile.cmake

Apply CR changes

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* version stuff

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2021-05-21 00:50:11 -07:00
Alexander Neumann
7e5febae30
[glad] fix features (#17966)
* [glad] fix features

* version stuff
2021-05-18 15:24:02 -07:00
JonLiu1993
03c81310b5
[glfw3] update to 3.3.4 (#17910)
* [glfw3] update to 3.3.4

* update version
2021-05-18 00:42:12 -07:00
JonLiu1993
822c2dde6a
[gtest] Update to the latest commit (#17709)
* [gtest] Update to the latest commit

* update version

* update version-date

* update version

* modify version notes

* update version
2021-05-11 00:33:14 -07:00
Alexander Neumann
da0f1cc2bb
[gtk] update to 4.3.0 (#17670)
* [gtk] update to 4.3.0

* version stuff
2021-05-07 14:19:42 -07:00
Carlos O'Ryan
f1cfb2f925
[google-cloud-cpp] update to latest (v1.27.0) version (#17661) 2021-05-06 13:40:20 -07:00
Alexander Neumann
be660920b3
[gtkmm] Update to 4.0.1 (#17669)
* update gtkmm

* version stuff
2021-05-06 13:31:48 -07:00
ras0219
82583bb6fe
[grpc] Create codegen feature (#17424)
* [grpc] Create codegen feature

* [grpc] Update port-version

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-05-03 14:14:17 -07:00
AndyBrown91
27f892aa14
[ghc-filesystem] Fix port/package name discrepancy (#17589) 2021-05-03 10:52:53 -07:00
Ilya Arzhannikov
c6f8dbac62
[Gmp] add cflags to build commands for compiletime tools (#17264)
* add cflags for compile time tools

* vcpkg x-add-version gmp

* add yasm-tool as host dependency

* ./vcpkg x-add-version gmp --overwrite-version

* formating

* ./vcpkg x-add-version gmp

* Update ports/gmp/vcpkg.json

* Update versions/baseline.json

* Update versions/g-/gmp.json

* Update versions/g-/gmp.json

Co-authored-by: Ilya Arzhannikov <iarzhannikov@artec3d.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2021-04-29 16:13:35 -07:00
ahugeat
0e9dd06bd3
[gamedev-framework] Update to 0.20.0 (#17445)
* Update gamedev-framework to v0.20.0

* Add missing x-add-version

* Update description

* Update x-add-version after description update

* Update versions/g-/gamedev-framework.json

* Update ports/gamedev-framework/vcpkg.json

* Update ci.baseline.txt

* Fix wrong git-tree hash

* Use fail in ci.baseline.txt.

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2021-04-28 16:37:44 -07:00
Alexander Neumann
a679cddd07
[gettext] disable dirent detection on windows (#17523) 2021-04-28 13:55:54 -07:00
JonLiu1993
574ac20545
[grpc] update to 1.37.0 (#17496) 2021-04-28 13:24:37 -07:00
JonLiu1993
4a58116c3c
[gamenetworkingsockets] Update to the latest commit to include headers (#17507)
* [gamenetworkingsockets] Update to the latest commit to include headers

* update version

* Update portfile.cmake

* update version

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-04-28 13:12:19 -07:00
Phoebe
e01bb32836
[vcpkg baseline][gdk-pixbuf] Fix build error on windows (#17528)
Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
2021-04-28 12:06:01 -07:00