Commit Graph

17 Commits

Author SHA1 Message Date
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
Kai Pastor
603643dcbf
[geos,libspatialite] Fix various quirks (#35574)
* [geos] Fix geos-config

* [libspatialite] Fix quirks
2023-12-12 01:42:45 -08:00
Kai Pastor
38acea0c4c
[freexl,libspatialite,spatialite-tools] Update, [minizip] Enable DLL, [libkml] Update minizip import (#33044)
* [freexl] Update to 2.0.0

* Skip tests, examples

* [minizip] Build DLL

* [libspatialite] Update to 5.1.0

* Fix utf8 source

* [spatialite-tools] Update to 5.1.0a

* [libkml] Update minizip prefix

* [libkml] Fix all minizip names
2023-08-15 16:31:44 -07:00
autoantwort
5b11232d00
[many-ports] Don't use deprecated functions (autogenerated) (#26981)
* [libuvc,qt5-virtualkeyboard] remove duplicated dependency entry

* [many-ports] don't use deprecated functions (autogenerated)

* atkmm: Fix license.
gperftools: Reformat vcpkg_check_features call.
gsl: Fix license.
libpff: Fix license.
pangomm: Fix license.
qtbase: Revert, only comment changes.
type-lite: Reformat vcpkg_check_features and actually use the feature options.

---------

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-04-13 09:13:15 -07:00
Yury Bura
eb11dbb245
[libxml2] add more features (#30154)
* [libxml2] move hardcoded external dependencies (iconv, lzma, zlib) to features, disable legacy flag by default

* add version

* [libxml2] add ftp and http options

* overwrite version

* [libxml2] restore formatting, remove ftp from defaults

* overwrite version

* [libxml2] remove hhtp from default-features

* overwrite version

* [libxml2] add network future dependent on platform

* [libspatialite][pdal][spatialite-tools] define libxml2[http] dependency explicitly

* update versions

* [libspatialite] update version

* add version

* Revert "[libxml2] add network future dependent on platform"

* overwrite version
2023-03-22 16:20:43 -07:00
Kai Pastor
f880a3718c
[libspatialite] Fix android (#30173) 2023-03-15 10:35:09 -07:00
Kai Pastor
3e35cb0a15
[scripts|nmake] Add jom option, add language control (#27255)
* Add CL_LANGUAGE option

* Add PREFER_JOM option

* Append install target to targets, not options

* Update vcpkg_install_nmake

* Re-enable nmake UWP builds for C projects

* Use PREFER_JOM

* Update documentation

* Update versions

* Add license fields

* Update versions
2022-11-02 11:32:43 -07:00
Kai Pastor
793fd2bff1
[libspatialite] Fix host dependency (#26741)
* Fix host dependency

* Update versions

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2022-09-15 12:44:27 -07:00
Matthias Kuhn
dd73b021dc
[libspatialite] mingw support (#25881) 2022-07-27 12:39:11 -07:00
Kai Pastor
9f31c7765d
[libspatialite] Fix mingw crossbuilds (#25513)
* Fix mingw cross-builds

* Licensing depends on feature set

* Update versions
2022-07-01 14:13:10 -07:00
Matthias Kuhn
70cfcd0e18
[libspatialite] Fix build with VCPKG_BUILD_TYPE=release (#25180) 2022-06-13 16:29:51 -07:00
Kai Pastor
fb3416466f
[proj, proj4] Update to PROJ 9.0.0 & make proj the regular port (#23186)
* Update to PROJ 9.0.0 & make proj the regular port

* Consolidate files in share, move data to subdir

* Update versions

* Update proj to 9.0.0 RC2

* Add license fields

* Update versions

* Update to PROJ 9.0.0 release

* Update versions

* Update versions
2022-03-09 10:33:02 -08:00
Jack·Boos·Yu
7f3e168d8f
[sqlite3] Add more features (#23009)
* [sqlite3] Add more features

* version

* Add dependency zlib for feature zlib

* version

* Remove -DSQLITE_API=extern

* version

* Add pre-defines to pkgconfig

* Add new option CFLAGS to get all clfags

* Get pkgconfig cflags, add sqlite3 feature dependency

* version

* doc
2022-02-16 13:00:36 -08:00
Kai Pastor
a4f322c567
[proj4] Update to 8.1.1, revise features and dependencies (#20443)
* Update to 8.1.1, cleanup patches

* Patch and use pc file installation from upstream

* Simplify dependency fixup

* Remove obsolete VCPKG_BUILD_SHARED_LIBS

* Revise feature and dependency interface

* Update versions

* Use all libs from proj.pc for gdal

* Set CMP0012 for dependency control

* Update versions

* Update versions

* Fix missing user32.lib when using libcrypto

* Update versions

* Fix missing user32.lib when using libcrypto

* Update versions
2021-12-09 18:18:18 -08:00
Kai Pastor
94b2a07762
[libspatialite] Use pkgconfig for nmake and autotools (#20480)
* Enable CI for libspatialite:x64-windows-static-md

* Use pkgconfig for nmake

* Use pkgconfig for autotools; fix mingw

* Install pc file for windows

* Add feature interface, make GPLv2+ features optional

* spatialite-tools need libspatialite[rttopo]

* Update versions
2021-11-18 21:36:42 -08:00
Kai Pastor
4584197cb0
[libspatialite] Revise portfile and update to 5.0.1 (#20445)
* Modernize portfile

* Update indentation

* Update to 5.0.1

* Don't enable legacy PROJ API on Windows

* Fix copyright

* Update versions

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-10-05 16:22:00 -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