Commit Graph

16 Commits

Author SHA1 Message Date
autoantwort
e7e328cf9d
[many ports] call vcpkg_fixup_pkgconfig() (#20953)
* [many ports] call vcpkg_fixup_pkgconfig()

The ports generate pc files, but don't call vcpkg_fixup_pkgconfig() so that there are absolute paths in the pc files

* Update port-version for armadillo and polyclipping.

* Update version database.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-10-27 15:19:28 -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
Rémy Tassoux
748a2564ef
[sol2] Update to 3.2.2 (#13876)
https://github.com/ThePhD/sol2/releases/tag/v3.2.2

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-10-06 09:24:25 -07:00
hdhog
860046d935
[sol] Update to version 3.2.1 (#11826)
Co-authored-by: hdhog <hdhog@hdhog.ru>
2020-06-10 18:01:07 -07:00
Robert Schumacher
08c951fef9
[many ports] Upgrades to 2020.02.08 (#9986)
* [many ports] Upgrades to 2020.02.08

* Undo asio asmjit libimobiledevice mlpack mongo-c-driver oniguruma openmvg openvdb pcl

* Update ci baseline file

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2020-02-10 16:08:57 -08:00
Rémy Tassoux
81fbbf8d96 [sol2] Use the single header release (#8776)
* [sol2] Use the single header release

Using the single header release of the library is easier, faster to 'build', and is recommended by the documentation. It also fix the duplicated include folder issue of the previous port : <sol/sol/sol.hpp> can now be replaced with <sol/sol.hpp> as it should be.

Is there any drawback about using the single header release that I am not seing?

* [sol2] Re-enable cmake config files export

* [sol2] Fix duplicated line
2019-10-30 18:13:43 -07:00
JackBoosY
13476c9c93 [sol2]Disable export namespace to fix usage issue. (#8243)
* [sol2]Disable export namespace to fix usage issue.

* [sol2]Re-fix namespace issue.
2019-09-26 05:43:46 -07:00
Ehsan
a6bcdb1616 [sol2] Update library to 3.0.3 (#7804) 2019-08-21 07:55:19 -07:00
Justin Bruce Van Horne
494f82b73e Update sol2 portfile to 579908 (#7545)
- Update sol2 port to point to revision that installs to include/sol
  instead of include/sol/include/sol
2019-08-06 13:31:39 -04:00
pravic
18b029a5e3 [WIP] Add a Homepage URL entry for vcpkg ports (#2933)
* [vcpkg] Add "Homepage" field to the CONTROL files.
2019-06-15 16:54:47 -07:00
Robert Schumacher
3fadafface
[many ports] Updates 2019.05.24 (#6618)
* [many ports] Updates 2019.05.24

* Update SHA512 and resolve conflict for ebml and matroska

* [avro-c]Fix build error caused by jansson upgrades.

* [xxhash]Update to the next version to fix build error.(xxhash issue:#179)

* Fix failures and undo asio

* [libyaml, grpc, miniz, paho-mqtt, sqlitecpp] Update patches

* Update REF

* Undo nvtt flann itk libtins aws-sdk-cpp openvdb vlpp xmsh changes

* [flann, fastcdr] Fix old patches and build error.

* [flann, fastcdr] Fix build error.

* Fix ensmallen uvatlas cppcms libplist failures and undo aws-c-common libopusenc arb taglib changes

* [dcmtk, draco, flatbuffers, forge, ftgl, mosquitto,nmslib, ogre] Update old patches and fix build error.

* fix libusbmuxd failures and undo xxhash paho-mqtt mongo-c-driver flann libffi

* fix libimobiledevice and undo qhull harfbuzz lcm libbson draco flatbuffers

* undo libmupdf forge kd-soap qca

* [mosquitto] Fix installation of import libs

* [arb][asio][aws-c-common][collada-dom][concurrentqueue][cryptopp][ebml] Revert trivial/undesired changes

* [fastcdr] Minimize patch

* [many ports] Revert trivial changes

* [libyaml] Switch to non-dist tag

* [sqlite-modern-cpp] Track master due to infrequent release

* [nano-signal-slot] Revert downgrade

* [openvpn3] Bump control version to account for portfile change

* [sqlite-modern-cpp] Fixup wrong hash

* [mosquitto] Commit missing patch
2019-06-10 17:01:54 -07:00
Robert Schumacher
33af90d42a
[many ports] Updates 2019.05.19 (#6524) 2019-05-21 21:00:24 -07:00
Robert Schumacher
ff5d6eb3c8 [fastrtps][forest][octomap][sol2] Update hashes 2018-08-06 19:51:31 -07:00
Sztergbaum Roman
c161d33e44 [pybind11] update to 2.2.3 and remove unwanted python dependancies fr… (#3812)
* [pybind11] update to 2.2.3 and remove unwanted python dependancies from CONTROL

* update sol2/pybind11 CONTROL file
2018-07-17 16:23:02 -07:00
Sztergbaum Roman
898e3e3710 [sol2] update to 2.20.4 and remove deprecated patchs (#3800)
* [sol2] update to 2.20.4 and remove deprecated patchs

* [sol2] remove unecessary commentary
2018-06-27 14:22:43 -07:00
Sztergbaum Roman
bb5303c6e1 [sol2] rename port sol to sol2 and fix the full port (#3766)
* [sol2] rename port sol to sol2 and fix the full port

* [sol2] Simplification and cleanup. Don't remove upstream's include directory.
2018-06-25 21:43:00 -07:00