Commit Graph

21 Commits

Author SHA1 Message Date
Kai Pastor
873263a7c0
[skia] Fix vulkan (#29448)
* [skia] Fix vulkan

* Use vulkan-memory-allocator
2023-02-06 11:53:39 -08:00
reito
75381ea7fa
[gn-related-ports] Fix gn based projects build error on Windows (#29058)
* fix gn path error on windows

* add quotes

* vcpkg cmake guidelines

* Fix version database.

* Use Z_VCPKG_BACKCOMPAT_MESSAGE_LEVEL instead of WARNING

* Quotes 🤦

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-01-26 18:53:54 -08:00
Kai Pastor
0a761bd013
[skia] Fix compiler forwarding (#29138) 2023-01-23 16:03:29 -08:00
Kai Pastor
01350d0b49
[skia] Misc fixes (#28971)
* Handle core opengl32 dependency

* Fix regressions for legacy config

* Transform frameworks and SDK during build

* Fix python3 configuration

* Update versions

* Drop unused dep

* Fix python3 again
2023-01-18 13:38:56 -08:00
Kai Pastor
e07c62d059
[skia] Turn into usable and maintainable port (#28007)
* Remove unused SKIA_PUBLIC_DEFINITIONS

* Revise python3 injection

* Major overhaul

* Revise third-party downloads

Declare them early in a single location, but use as needed.
Validate agains skia's DEPS.

* Integrate download & pkgconfig externals handling

Ensure that downloads are complete with --only-downloads mode.

* Move cmake functions to separate file

* Turn source fixups into proper patches

* Update versions

* Generally disable msvc env setup

* Update python patch

* Remove unused patch

* Rename function

* Update versions

* Handle third-party licenses

* Move block

* Rename and unset skia root variable

* Fix usage with alternative build types

* Update versions
2022-12-20 19:29:21 -08:00
xiaozhuai, Weihang Ding
cb76ac9e92
[expat] Fix expat msvc link static crt (#27948)
* Fix expat msvc link static crt

* update port version
2022-11-23 10:12:44 -08:00
Viktor Chlumský
e6a79ac018
[skia] Fix build for release-only triplets (#27196)
* Fix Skia in relase-only config

* Use the modern

release_thing()
if (NOT VCPKG_BUILD_TYPE)
    debug_thing()
endif()

form

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-11-07 15:42:19 -08:00
Lily Wang
af908b85af
[skia] Update to 0.36.0 (#26419)
* [skia] Update to 0.36.0

* x-add-version

* fix Linux build error

* x-add-version
2022-08-31 13:32:04 -07:00
Viktor Chlumský
e1f3eecdeb
[skia] Build configuration fix (#25247)
* [skia] Build configuration fix

* [skia] Changed declared port-version
2022-06-17 13:57:34 -07:00
Benjamin Oldenburg
ce910bb87b
[skia,crashpad,zeroc-ice,vcpkg-tool-gn] New vcpkg-tool-gn and update of several ports (#24066) 2022-04-25 15:39:10 -07:00
Kai Pastor
99346bb692
[libwebp] Update, cleanup (#23864)
* Update to v1.2.2

* Fix libwebpmux Windows name breakage

The pc file relies on the original output name:
No 'lib' prefix for MSVC. No 'liblib' prefix for mingw.

* Minor portfile updates

* Don't self-depend on default features

* Fix the libwebpmux feature

* Fix internal tool dependencies

* Drop Xrandr patch (fixed in freeglut)

* Drop X11 patch (fixed in freeglut)

* Cleanup CMake config patch, no extra case hacks

* Adjust webp lib names in skia, qt5-imageformats

* Adjust downstream WEBP cmake usage

* Debug qtimageformats [skip actions]

* [tiff] Drive-by fix for CMake warning

* Drop non-standard debug postfix

* Update indentation

* Update port versions

* Update versions

* Revert qtimageformat debug change

* Fixup qt5-imageformats change

* Update versions
2022-04-13 11:26:56 -07:00
Benjamin Oldenburg
38d99c1dd7
[skia] Arm64 for skia on osx (#23222)
* build on apple M1

* fixed port version and date

* more changes

* Update version database

* reverted date

* updated versions
2022-02-24 10:35:14 -08:00
Billy O'Neal
c9e786d81a
[many ports] remove remaining vcpkg_fail_port_install calls. (#22770)
* Bulk remove vcpkg_fail_port_install calls.

Interesting ones have been split out into separate reviews, where "interesting" means "anything more than just deleting the call to vcpkg_fail_port_install",

In support of https://github.com/microsoft/vcpkg/pull/21502

* Update version database.

* Revert google benchmark changes already submitted as https://github.com/microsoft/vcpkg/pull/22728

* Repair version database.
2022-01-25 10:31:15 -08:00
autoantwort
a118f6af79
[skia] no absolute paths (#21717) 2021-11-29 16:59:50 -08: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
Billy O'Neal
854f50e50c
[skia] Remove use of vcpkg_apply_patches. (#13186)
Co-authored-by: wangli28 <wangli28@beyondsoft.com>
2020-08-28 14:52:33 -07:00
Billy O'Neal
8054263f15
[skia, ompl, capnproto] Update VMs for 2020-08-12 (including VS 16.7) (#12884)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2020-08-27 12:27:39 -07:00
NancyLi1013
d6285bc24b
[expat] Update the version to 2.2.9 (add support for uwp) (#9146)
* [expat] Update the version to 2.2.9(support uwp)

* [readosm] Fix expat.lib cannot be found

* Remove expat:arm-uwp and expat:x64-uwp from fail list in ci.baseline.txt

* [apr-util,io2d,skia] Fix expat cannot be found and also update expat

* [many ports] Add supports and fix the regressions

* Fix new regressions

* Fix typo

* [io2d] Update expat patch

* [io2d,libkml,skia] Fix expat cannot find and also fix typo

* [expat] Remove usage

* [libkml,vtk] Update expat patch and fix static build

* [wxwidgets] Fix static build caused by expat cannot found

* Update as review suggestion

* Add Port-Version

* Remove evpp:x64-osx=fail from ci.baseline.txt

* [wxwidgest] Remove unnecessary spaces

* [itk] Fix expat cannot be found

* fix cmake test port

* [wxwidgets] Update Port-Version

Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2020-08-17 08:33:44 -07:00
Martin Vejdarski
ec2b59b93e
[harfbuzz,skia] Update and replace Skia dependencies with vcpkg (#11416) 2020-05-19 15:20:18 -07:00
Lily
2d9a32b46f
[skia] Fix vswhere.exe can't find VS2017 with -sort (#10437)
* [skia] Fix vswhere.exe can't find VS2017

* [skia] Use $ENV{VCINSTALLDIR}
2020-03-23 11:56:44 -07:00
nicole mazzuca
e368f0f4ce
[skia] add new port (#10083)
* [skia] add new port

* [skia] add support for x64-windows

* [skia] use vswhere to locate MSVC

* [skia] update supports CONTROL field

* [skia] address review comments

* [skia] add compile definitions for metal

* [skia] use vcpkg to find programfiles

* [skia] add glob_single_file function
2020-03-04 13:06:24 -08:00