Cheney Wang
9117f195fa
[colmap] Fix LNK2019 in x64-windows-static triplet ( #21937 )
...
* [colmap] Fix LNK2019 in x64-windows-static triplet
* [libraw] Add find lcms2 in the cmake wrapper file
Co-authored-by: Cheney-Wang <v-xincwa@microsoft.com>
2022-01-06 13:46:36 -08:00
Jack·Boos·Yu
7de32f0237
[libraw] Add feature openmp and fix usage ( #22336 )
...
* [libraw] Add feature openmp and fix usage
* version
* Add missing code
* version
2022-01-05 18:22:05 -08:00
Jack·Boos·Yu
657d66a6cb
[libraw] Re-fix non-thread-safe library installation, always export pkgconfig files, add usage ( #19593 )
...
* [libraw] Re-fix non-thread-safe library installation, always export pkgconfig files, add usage
* format manifest and version
* Update ports/libraw/portfile.cmake
* Update ports/libraw/portfile.cmake
* Update ports/libraw/portfile.cmake
* update version
* version
* Fix wrapper and usage
* version
* apply suggestions
* version
* Fix cmake install path
* version
* Fix usage
* version
2021-10-18 14:22:23 -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
Billy O'Neal
09a647a526
Delete use of vcpkg_test_cmake and vcpkg_common_functions. ( #13065 )
2020-10-28 14:18:07 -07:00
Phoebe
f21872a1f6
[freeimage libraw] Fix case issue on Linux ( #8707 )
...
* [freeimage libraw] fix build issue on linux
* Update the changes
2020-01-06 13:15:20 -08: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
Frits Talbot
06d5d393b9
[libraw] Add include for select_library_configurations ( #6715 ) ( #6742 )
2019-06-10 16:32:10 -07:00
Mateusz Łoskot
42d7dd7ee8
LibRaw: Switch from release to snapshot
...
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.
2019-06-04 22:55:57 +02:00
Robert Schumacher
33af90d42a
[many ports] Updates 2019.05.19 ( #6524 )
2019-05-21 21:00:24 -07:00
Sean Warren
14dc7af3b1
[libraw] Add wrapper for static build dependencies ( #5626 )
2019-03-11 00:03:47 -07:00
LarryIII
1d442a0b5a
[libraw] Fix build release only issue ( #5484 )
2019-02-27 23:44:03 -08:00
Robert Schumacher
94c644c6d3
[libraw] Replace WIN32 with VCPKG_CMAKE_SYSTEM_NAME
2018-08-28 13:48:03 -07:00
Voskrese
306d019ea6
fix linux
...
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
```
2018-08-29 03:10:26 +08: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
b08e78b07d
[cmark][gl3w][libpopt][libraw][libssh][live555] Fixes, mostly around changing download locations.
2018-07-02 22:16:47 -07:00
Alexander Karatarakis
a4761aa26b
[libraw] Bump version
2017-11-13 02:51:09 -08:00
Sean Warren
6a7d311ea5
[libraw] Add 'd' debug postfix
2017-11-13 12:23:29 +11: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
codicodi
b8f51a1cdb
[libraw] fix import macro, correct dependencies
...
By default, libraw does not attempt to link to libjpeg, but does pick up jasper if present
2017-08-23 17:04:52 +02:00
Mikhail Paulyshka
677db9bffb
[libraw] depend on lcms
2017-07-25 17:20:58 +03:00
Mikhail Paulyshka
b5777c8dbf
[libraw] update to 0.18.2
2017-06-20 02:14:55 +03:00
Felix Huang
8316692e32
[libraw] update to version 0.18.0
2017-02-08 16:39:16 -08:00
Robert Schumacher
af2b0cab42
[libraw] Rename Module to Config to increase flexibility of install locations
2016-11-29 17:48:32 -08:00
Robert Schumacher
ab147b838b
[vcpkg] Remove link-time choice of thread-safe vs non-thread-safe so that dependent libraries make the right choice.
2016-11-29 17:12:45 -08: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
Alexander Karatarakis
9246a0aa7a
[libraw] Remove bin folders in static build
2016-11-02 13:22:10 -07:00
Alexander Karatarakis
53cfd70b1e
[libraw] Redirect FindLibRaw.cmake to the share/libraw folder
2016-11-02 13:16:34 -07:00
Alexander Karatarakis
d962ccfac4
[libraw] Update commit to the latest that has cmake module redirection
2016-11-02 12:59:08 -07:00
Silvio
a217d1b8ac
Add libraw port
2016-11-01 19:37:29 +01:00