| Age | Commit message (Collapse) | Author |
|
```
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
```
|
|
|
|
* [freeimage libraw] fix build issue on linux
* Update the changes
|
|
vcpkg will now fail on failure to apply patches except when using `--head`.
|
|
* [vcpkg] Add "Homepage" field to the CONTROL files.
|
|
|
|
Update from the latest release 0.19 to use the latest snapshot
LibRaw-201903 (SHA-1:d4f05dd1b9b2d44c8f7e82043cbad3c724db2416).
The rationale is that LibRaw publishes:
- snapshots every 5-7 months (in master branch)
- releases (0.18, 0.19, etc.) every 1-1.5 years.
- security hotfixes for releases (0.19.1, 0.19.2, etc.)
Hence, from user point of view, it is practical to refer to
the latest snapshot, instead of the latest release.
Another issue is that the latest release 0.19 does not include
support for C++17 (does not allow to replace std::auto_ptr with
std::unique_ptr). The latest LibRaw-201903 includes related fixes.
|
|
|
|
|
|
|
|
|
|
error
```
CMake Error at ports/libraw/portfile.cmake:53 (file):
file RENAME failed to rename
/opt/vcpkg/packages/libraw_x64-linux/lib/raw_r.lib
to
/opt/vcpkg/packages/libraw_x64-linux/lib/raw.lib
because: No such file or directory
Call Stack (most recent call first):
scripts/ports.cmake:71 (include)
```
```
Include files should not be duplicated into the /debug/include directory. If this cannot be disabled in the project cmake, use
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
/debug/share should not exist. Please reorganize any important files, then use
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
Found 2 error(s). Please correct the portfile:
/opt/vcpkg/ports/libraw/portfile.cmake
-- Performing post-build validation done
```
|
|
* Patch libraw-local FindLCMS2.cmake to handle debug postfix
* Remove library statement from def as name is incorrect for debug builds
https://msdn.microsoft.com/en-us/library/d91k01sh.aspx claims it is
required, but works fine (better) without.
* Patch FindLibRaw.cmake to handle debug postfix
* [lcms] Use vcpkg_from_github()'s PATCHES parameter
|
|
changing download locations.
|
|
|
|
|
|
libs (/Z7)
|
|
By default, libraw does not attempt to link to libjpeg, but does pick up jasper if present
|
|
|
|
|
|
|
|
|
|
dependent libraries make the right choice.
|
|
Also remove trailing whitespaces from portfiles
|
|
|
|
|
|
|
|
|