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
Long Nguyen
6654632423
[zziplib] Uses upstream CMakeLists.txt ( #15215 )
2020-12-23 17:12:03 -08:00
Billy O'Neal
09a647a526
Delete use of vcpkg_test_cmake and vcpkg_common_functions. ( #13065 )
2020-10-28 14:18:07 -07:00
Robert Schumacher
75bd2efe0d
[many ports] 2019.09.14 Updates ( #13536 )
...
* [many ports] 2019.09.14 Updates
* Revert failure ports
* Revert failure ports
* Revert failure ports
* [urdfdom] Fix find dependency console_bridge
* Revert failure ports
* [devil] Compatible with jasper 2.0.20
* [devil] Refix compatible with jasper functions declaration on different os
* Update ports/alembic/CONTROL
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
* Revert failure ports wangle
* [azure-kinect-sensor-sdk] Fix build with matroska 1.6.2
* Revert failure ports
* Revert failure ports
* [urdfdom-headers] Fix include path in config.cmake file
* upload patch
* [urdfdom-headers] Refix include path in config.cmake file
* [qt5-imageformats] Fix missing include math.h
* [urdfdom-headers] Refix include path in config.cmake file
* [qt5] Fix adding option PATCHES and other options when using qt_submodule_installation
* Remove updated ports version
* Commit suggestions
* [libideviceactivation] revert
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-10-13 13:17:32 -07:00
Phil Christensen
8d7245a91e
[zziplib] fix flaky build ( #7090 )
2019-06-29 22:21:00 -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
JackBoosY
41c7755acf
[zziplib]Fix build error in linux. ( #6471 )
...
* [zziplib]Fix build error in linux.
* [zziplib]Use configure_file to generate config.h
2019-05-17 13:08:11 -07:00
Victor Romero
050e71d01d
Remove references to CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ( #5937 )
...
* [various ports] remove references to CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS
* [alac,benchmark,capnproto] Fix check_linkage call
* [fastlz] Fix SHA512
* [coroutine] Fix dynamic build
* [folly] Find double-conversion
* [gamma] Use vcpkg_from_github
* [librsync] Enable static builds
* [netcdf-cxx4] Fix SHA512
* [octomap] Fix static build
* [tidy-html5] Fix static build
* [various ports] remove custom messages for shared/static builds, modernize some scripts in the meantime
* [folly] Use ras0219's fix for link paths
* [octomap] Fix exported targets
* [uvatlas] Set tool download SHA512
* [duktape+python2] fix portfile to call configure with correct python version, manage python2 also outside win32
* [suitesparse] osx fix
* [gtkmm] Call vcpkg_check_linkage after including vcpkg functions
* [duktape] Resolve conflicts
* [duktape] FIxed typo in Python paths
* [wangle] Find zlib
* [openssl-uwp] Fix SHA512
* [glib] Allow static builds on non-Windows
* [suitesparse] Fix build on Windows
* [multiple ports] Bump CONTROL version
* [multiple ports] Fix description indent
* [directxtk] Fix CONTROL file
* [bde,duktape,qpid-proton] Build packages with python2 installed
* [binn] remove CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS
* [gdal,live555,uriparser] Fix regressions
* [live555] Update to 2019.04.24
2019-05-02 22:57:43 -07:00
Victor Romero
fd0e13db04
[zziplib] Fix autotool generated includes ( #6284 )
...
* [zziplib] Fix autotool generated includes
* [zziplib] Configure zziplib in portfile
2019-05-02 16:06:44 -07:00
Victor Romero
e03ee9cace
[ceres,jxrlib,zziplib] Fixes for non-windows ( #6188 )
...
* [ceres, zziplib] fixes for building on non-windows systems
* [jxrlib, zziplib] other fixes for non-windows systems
* [zziplib] fix CMakeLists.txt for non win32 platforms, there were missing exported headers
* [ceres] Fix targets path
* [ceres] Fix typo
* [ceres] trigger CI build
* [ceres] use proper glog/gflags targets
2019-04-30 16:54:33 -07:00
Robert Schumacher
adb8edddbb
[abseil][exiv2][jsonnet][ms-gsl][nuklear][re2][rs-core-lib][thrift][zeromq][zziplib] Upgrades
2018-03-17 20:10:17 -07:00
Jacob Zhong
d559aaefd6
[zziplib] bump verison
2018-02-25 23:17:45 +08:00
Jacob Zhong
fd1e314a98
[zziplib] Update archive source to github
2018-02-25 22:37:39 +08:00
Robert Schumacher
d2c728e0bc
[several ports] Remove CMake double expansions inside if() directives
2017-10-12 07:52:48 -07:00
Alexander Karatarakis
26516fe485
vcpkg_configure_cmake (and _meson) now embed debug symbols within static libs (/Z7)
2017-09-09 00:12:54 -07:00
Alexander Karatarakis
1808d461b0
triplet is now automatically included before portfiles.
...
Also remove trailing whitespaces from portfiles
2016-11-08 14:25:47 -08:00
Silvio
eae7c5a75b
Add zziplib port
...
To facilitate support of VS2015 in all the different configurations,
a CMake-based build system based on the one found in
https://sourceforge.net/p/zziplib/patches/17/
is used.
2016-10-21 22:45:44 +02:00