Robert Schumacher
674e616a21
[lcms] Backfill compat for lcms::lcms ( #20034 )
...
* [lcms] Backfill compat for lcms::lcms
* Remove :@TARGET_TRIPLET@
* Add comment for duplicate vcpkg_cmake_config_fixup.
* [lcms] Update version db
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-23 11:00:41 -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
Wolfgang Stöggl
7fae7f5923
[lcms] Update to 2.12 ( #19551 )
...
In addition to updating the version to 2.12, the following
modifications were applied to the port:
- Use the name lcms2 for the library, as it is called upstream since
version 2 of Little-CMS.
Remark: In the past, the library has already been called lcms2 for
a while in vcpkg (1e53c60
until 726c111
).
The ports in vcpkg, which currently require the port lcms
(devil, libraw and opencolorio), use and support lcms2 include/lib.
- Add generating a pkg-config file
- Add quotes to file commands in portfile.cmake
2021-09-07 15:19:07 -07: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
Stefano Sinigardi
726c111481
[vcpkg] fatal_error when patch fails to apply ( #8087 )
...
vcpkg will now fail on failure to apply patches except when using `--head`.
2019-10-07 10:35:13 -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
trylle
b286cd50dd
Freeimage/libraw/lcms debug build fixes ( #3643 )
...
* 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
2018-08-07 22:50:51 -07:00
Robert Schumacher
89a49b25b6
[lcms] Bump package version
2017-11-21 21:09:21 -08:00
Sean Warren
28aaced0f5
[lcms] Add 'd' debug postfix
2017-11-14 11:54:11 +11:00
Alexander Karatarakis
cb239b92c0
Fix several port hashes due to github tar.gz change
...
It looks like github changed the version (or the generally the way)
they do tars, causing some hash mismatches. This fixes the affected
ports.
2017-09-12 13:32:26 -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
Robert Schumacher
7f9e9574a3
[lcms] Remove vcpkg_build_cmake()
2017-08-19 18:55:40 -07:00
Mikhail Paulyshka
73a02b9f70
[lcms] fix header file
...
* fix header file
* prefer ninja
* use github
2017-08-19 23:29:24 +03:00
Robert Schumacher
ffbb6ff424
[lcms] Version bump
2017-07-28 10:21:19 -07:00
Mikhail Paulyshka
1e53c60fd7
[lcms] rename library to lcms2
2017-07-25 03:21:57 +03:00
agadoul
4ef429dd9e
implment reviews.
2017-01-30 15:22:39 +01:00
agadoul
798ae24d96
use induced library type.
2017-01-30 14:35:38 +01:00
agadoul
9e34484cbe
uncomment removal of utf-8 flag
2016-12-15 13:16:55 +01:00
agadoul
0b62c9ce91
fix warning due to encoding.
2016-12-15 09:12:00 +01:00
Axel Barrot
6fbd2ad780
support lcms library ( http://www.littlecms.com/download.html )
2016-12-14 15:58:00 +01:00