Commit Graph

24 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
Johnny Willemsen
485799e37b
[xercesc] rename feature from xmlch_wchar to xmlch-wchar (#12205) 2020-07-02 21:12:23 -07:00
Roger Leigh
5f77f3e92b
[xerces-c] Update to version 3.2.3 (#10779)
* [xerces-c] Update to version 3.2.3

Drop patch no-symlinks-in-static-build.patch (fixed upstream)

* [xerces-c] Correct version number

* [xerces-c] Remove no-symlinks-in-static-build.patch
2020-04-17 14:10:35 -07:00
Adam Mitz
b5b21df60a
[xerces-c] fixed issue #9654 using git tag (#9702) 2020-01-29 11:52:41 -08:00
Jack·Boos·Yu
8a721c2b87 Fix osx baseline build failures (#9726)
* [xerces-c] Update REF and SHA512

* [sfml] re-trigger ci

* [pcl] re-trigger ci

* [boost-signals] re-trigger ci

* [tmxparser] re-trigger ci

* [soil2] switch repo to github

* [gtest] re-trigger ci
2020-01-21 10:03:57 -08:00
Robert Schumacher
0e9d0cd89b
[tiff][tesseract][xerces-c] Disable unmanaged optional dependencies (#7622) 2019-08-12 14:42:45 -07:00
crusader-mike
26a7e9ad34 [xercec-c] no symlinks in static build (#7490) (#7500) 2019-08-06 13:31:03 -04:00
JackBoosY
321540a82a [xerces-c]Replace the macro DLL_EXPORT with the macro XERCES_DLL_EXPORT (#6970)
* [xerces-c]Disable defining DLL_EXPORT to avoid affecting other ports

* [xerces-c]Replace the macro DLL_EXPORT with the macro XERCES_DLL_EXPORT
2019-06-20 14:44:03 -07: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
33af90d42a
[many ports] Updates 2019.05.19 (#6524) 2019-05-21 21:00:24 -07:00
Sean Warren
125df93c5e [xerces-c] Add libraries required on osx to target using wrapper (#5858)
* [xerces-c] Add libraries required on osx to target using wrapper

* [xerces-c] Bump version number
2019-03-30 22:35:47 -07:00
Johnny Willemsen
c297b43896 [xerces-c] Add support for xmlch_wchar feature (#5602)
* Add feature for wchar

    * ports/xerces-c/portfile.cmake:

* Document new feature

    * ports/xerces-c/CONTROL:

* [xerces-c] bump control version number
2019-03-08 10:18:01 -08:00
Roger Leigh
e04b4ed5b5 xalan-c: Remove use of obsolete unary_ and binary_function for C++17 compatibility (#4575)
* xalan-c: Remove use of obsolete unary_ and binary_function for C++17 compatibility

* [xerces-c] Improve port stability by adding control over ICU dependency
2018-12-12 12:47:57 -08:00
Robert Schumacher
cc3fae8e5c
[xerces-c] Avoid building executables (#4576) 2018-11-01 19:47:20 -07:00
Roger Leigh
6f2bc84506 [xerces-c] Update to 3.2.2 (#4246)
* [xerces-c] Update to 3.2.2

* [xalan-c] Build against xerces-c 3.2.2 and include extra patches

* [xalan-c] Use new vcpkg_extract_source_archive_ex()

* [xerces-c] Use vcpkg_fixup_cmake_targets

* [xerces-c] Disable vcpkg_test_cmake due to misbehavior in x64

* [xerces-c] Remove bin directory when building static

* [xalan-c] Modernize
2018-10-24 12:50:57 -07:00
Robert Schumacher
7955320bf3 [msix] Initial commit of 1.0 2018-03-08 15:37:01 -08:00
paercebal
38712f755b Removing explicit setting of SOURCE_PATH 2017-08-31 00:56:49 +02:00
paercebal
3b8159bad0 use vcpkg_from_github instead 2017-08-30 23:57:27 +02:00
paercebal
d0155a477e Update xerces-c port files to retrieve it from github 2017-08-30 22:18:58 +02:00
Jackie Ng
2d581484b4 [xerces-c]: Certain headers include .c files, this commit ensures that such files are also copied across 2017-04-09 23:57:57 +10:00
Robert Schumacher
cea5cb99b2 [xerces-c] Fixup omission in previous commit -- handle CRT as well. 2017-04-08 18:43:08 -07:00
Robert Schumacher
eac027233e [xerces-c] Fix packaging to also deploy the built library 2017-04-08 18:41:52 -07:00
Alexander Karatarakis
5de87096b1 Rename xercesc to xerces-c and fix copyright file placement 2017-01-26 16:43:22 -08:00