Commit Graph

13 Commits

Author SHA1 Message Date
jim wang
76d9952e00
[vxl] Fix missing header files (#35875)
* add header file

* update version
2023-12-27 23:53:45 -08:00
autoantwort
2c5e3d573e
[vxl] no absolute paths (#21690)
* [vxl] no absolute paths

* [vxl] Disable build of testlib

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-11-30 13:46:51 -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
NancyLi1013
0c753a2286
[vxl] Update patch (#12854)
* [vxl] Update patch

* Update unsupported variables
2020-08-14 09:59:47 -07:00
Phoebe
5e8bcc9d39
[Many ports] fix invalid character in feature name (#12306) 2020-07-08 14:02:34 -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
Stefano Sinigardi
4068783709 [vxl] move problematic feature to optional one (#6657) 2019-05-28 09:35:54 -07:00
Victor Romero
8641dfd9dd
Modify vcpkg_fixup_cmake_targets() (#5459)
* some libraries export <PackageName>LibraryDepends.cmake
instead of <PackageName>Targets.cmake.
Those file also need the fix of #1044

should close #4753

* prefered the general solution #4622.
hopefully solved the issue within #4150
replaced the regex with something more readable
(also ident is lost)

should close:
#4753
#4633
#4150
and maybe more

* Hash vcpkg_fixup_cmake_targets.cmake

* [boost] Fix use of find_package(Boost) with cache variables
[socket-io-client] Fix install

* reversed change back to use regex replace

* [glbinding] Fix _IMPORT_PREFIX depth in *-export.cmake files

* [tinyspline] Ignore warnings treated as errors

* [libevent, liblemon, libpng, smpeg2, zlib] Fix apply patches

* [libsodium] Fix apply patches

* [folly] Link correct libraries in debug and release

* [vtk] Remove unset of _IMPORT_PREFIX

* [tinyspline] Do not treat warnings as errors

* [smpeg2] Fix double* to int comparison

* [nvtt] Define value for HAVE_UNISTD_H in MacOS

* [libui] Fix MacOS X build

* [zlib] Fix download URL

* [qhull] Update to v7.2.1

* [podofo] Set value for HAVE_UNISTD_H in MacOS

* [mongo-cxx-driver,ogre,podofo,qhull] Bump CONTROL version

* [mongo-c-driver] Set _IMPORT_PREFIX

* [tmxparser] Bump CONTROL version

* [qhull,vxl] Bump CONTROL version
2019-02-28 23:53:42 -08:00
Stefano Sinigardi
885ca2ce6c [libjpeg-turbo] use d suffix for debug libs (#4965)
* use d suffix for debug libs, improve compatibility with official FindJPEG.cmake (cmake 3.13)

* [libjpeg] fix also non-static case

* [libjpeg-turbo] bump version

* [libjpeg-turbo] fixes for regression on Linux/macOS

* [libjpeg-turbo] fix regression in qt5-base

* [linkjpeg-turbo] force CI test
2019-01-11 11:15:34 -08:00
Robert Schumacher
802bc881f5 [vxl] Slight cleanup -- use VCPKG_CMAKE_SYSTEM_NAME to determine target instead of WIN32 2018-11-14 11:28:02 -08:00
TsukasaSugiura
62a2530385 [vxl] Update to VXL v1.18.0
Update vxl port to VXL v1.18.0.
2018-11-12 19:55:47 +09:00
Robert Schumacher
2a80b89ea7 [vxl] Use system dependencies where possible -- note that openjpeg2 is still not used. 2018-04-17 14:46:50 -07:00
Patrick Grison
fbf5fe8229 [vxl] first port - vxl commit 7a130cf of 2018/04/14 (#3265) 2018-04-17 10:25:30 -07:00