Commit Graph

22 Commits

Author SHA1 Message Date
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
Matthias Kuhn
ed98cae63f
[libgeotiff] fix build on ios (#19113)
* libgeotiff on ios

* x-add-version
2021-07-26 11:10:39 -07:00
Kai Pastor
fc07d6946c
[libgeotiff] Fix mingw build (#17206)
* Provide install dir parameters

Fixes a build error with MINGW.

* Update version
2021-04-12 11:14:09 -07:00
NancyLi1013
82a9a8436e
[libgeotiff] Fix packagename via find_package (#15750)
* [libgeotiff] Fix packagename via find_package

* Update port_versions

* Update portfile.cmake

* Update patch

* [libgeotiff] Fix packagename via find_package

* Update port_versions

* Update patch

* [pdal] Fix geotiff package name

* Update versions

* [pdal] Update dependency

* Update versions/p-/pdal.json
2021-01-28 19:26:11 -08:00
Lily
eaa2e3db0f
[libgeotiff] Upgrade to version 1.6.0 (#10408) 2020-10-13 14:38:05 -07:00
JackBoosY
75dd38cd8a [proj4] Upgrade version to 6.1.1 and remove patches. (#7917)
* [proj4]Upgrade version to 6.1.1 and remove useless patches.

* [libgeotiff]Fix build errors using proj4 6.1.1.

* [libspatialite]Fix build errors using proj4 6.1.1.

* [gdal]Fix build errors using proj4 6.1.1.

* [spatialite-tools]Fix build errors using proj4 6.1.1.

* [spatialite-tools]Fix build errors using proj4 6.1.1.

* [libgeotiff]Re-fix build errors using proj4 6.1.1.

* [vtk]Fix build errors using proj4 6.1.1.

* [proj4]Fix find sqlite binary failure.

* [proj4]Disable build tools when building proj4 in arm/uwp.

* [sqlite3/libgeotiff]Fix libdl library linkage. Re-fix use proj issue.

* add back dl libs

* [gdal]Fix dependent port proj library name.

* [proj4]Set Windows library name to "proj" and revert fix-proj-name changes.

* [liblas]Fix build errors using proj4 6.1.1.

* [liblas]Fix build errors using proj4 6.1.1.

* [liblas]Fix build errors using proj4 6.1.1.

* [proj4]Fix feature database on triplet arm/uwp.

* [gdal]Remove useless flag PROJ_STATIC.

* [proj4]Fix build error on x64-windows-static.

* [liblas]Use find_library to get proj4/sqlite3 libraries.

* [proj4]Fix sqlite dependency.

* [proj4]Fix arm/uwp dependency.

* [proj4]Fix linux build: configure error.

* [proj4]Disable export proj4 namespace.

* [liblas]Delete proj dependency.

* [libspatialite]Fix linux build.

* [libspatialite]Fix linux command.

* [libspatialite]Fix configure error.

* [proj4]fix static cmake tools path.

* [libgeotiff]Set configure options to 1/0 to avoid the "if" comparison failure in config.cmake.
[proj4]Revert changes about namespace.
[liblas]Remove FindPROJ4.cmake and FindGeoTIFF.cmake from the source.

* [vtk]Fix using latest proj4 issue.

* [proj4]Delete missing patch.
2019-10-17 17:15:52 -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
Stefano Sinigardi
a9303736fd [LibLZMA] automatic configuration (#6000)
* [LibLZMA] add a config-generated by CMake

* bump control files of LibLZMA and dependent ports

* [tiff] use proper liblzma target
[OpenCV] add an explicit dependency on LibLZMA for static linking

* [liblzma] fix header install path

* [LibLZMA] avoid using targets in old symbols

* fixes for windows-static and trying to see if CI is happier with a share/lib folder written in lowercase

* [LibLZMA] use only modern CMake language, remove patch in favour of target public definition

* [lzma] put symbols in cmake cache

* [libxmlpp] remove CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS regression

* [lzma] fix header install path

* [liblzma] install wrapper to force config mode

* [liblzma] remove function check inside cmake config since we know it will pass

* [liblzma] wrapper fix

* [tiff,geotiff] general cleanup and patch fixes

* [libgeotiff] remove debug tools

* [tesseract] modernize

* [tiff] fix also tiff_library symbol

* [pdal,libgeotiff] better library integration

* [tiff] restore using unix i/o on UWP, since it was working... for sure win32 one cannot work

* [tiff] enable lzma also on uwp, since it works and is requested by many dependencies

* [selene] enable build on arm/arm64-windows, which was surely broken before

* [lzma] uniform naming with cmake 3.14

* [podofo] fix regression, it requires openssl which was disabled in dependencies

* [many ports] remove unnecessary mods

* [boost-iostream] chmod

* [openssl] fix regression due to missing architecture

* [podofo] fix regression on uwp due to missing include

* [libpq] explicitly fail on UWP, it should avoid being marked as regression

* [shiva] fix regression on linux
2019-05-28 16:58:00 -07:00
Alexander Neumann
c5bd18d373 [libgeotiff] fix problems with config/targets (#6596)
* [libgeotiff] fix problems with config/targets

* fixing case

* all lower case....

* hopefully this fix works everywhere
2019-05-24 15:11:42 -07:00
Raynor Vliegendhart
b7d5f8cbee [libgeotiff] Remove FindPROJ4.cmake from src
The GeoTIFF library ships with its own FindPROJ4.cmake module. This file
interferes with the cmake files that are installed by vcpkg for the PROJ4
package. As a result, the debug version of libgeotiff gets incorrectly
linked to the release version of PROJ4. By removing FindPROJ4.cmake from
the source directory, the vcpkg's .cmake files are used instead,
allowing CMake to find the debug version of PROJ4 when building the
debug version of libgeotiff.
2019-01-23 10:35:53 +01:00
Raynor Vliegendhart
b084ab0103 [libgeotiff] Install doc files into the correct place (#4593)
* [libgeotiff] Install doc files in the correct place

The original portfile put documentation (authors, readme, etc.) inside
of vcpkg/installed/<triplet>/doc. This commit modifies the portfile such
that the files are installed to
vcpkg/installed/<triplet>/share/libgeotiff/doc instead.

* [libgeotiff] Bump version

* [libgeotiff] Avoid file(INSTALL)
2018-10-28 14:51:30 -07:00
Robert Schumacher
bdb1ae9907 [tiff] Use lzma on linux 2018-10-25 10:28:08 -07:00
Hiroshi Miura
3eeaf564d1 [libgeotiff] support linux build (#3843)
* [libgeotiff] fix compile on linux

Fix cmake libtiff functions detetion failure
caused by finding no functions in libm.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* [libgeotiff] fix utility binary handling in linux

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* [tiff] Fix static transitive dependencies

* [libgeotiff] Fix .dll and .exe manipulation

* [leptonica] Find dependencies in installed cmake config file

* [tiff] Do not add cmake targets to TIFF_LIBRARIES

* [tiff] Link consumers against m on unix platforms
2018-08-03 00:14:51 -07:00
Hiroshi Miura
fd08d14bdb [libgeotiff] fix util link error (#2896)
* [libgeotiff] fix util link error

* [libgeotiff] Bump package version
2018-02-27 12:13:57 -08:00
Hiroshi Miura
67d3662845 [libgeotiff] Fix libgeotiff link error
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2018-02-18 09:56:27 +09:00
Hiroshi Miura
6f92f7acc5 [libgeotiff] Update patches
- Import CMakeLists updates from libgeotiff trunk HEAD.
  It makes unify target name among static/shared libs.
- Rebased patches and generated from git format-patch command.
  These two patches are as same code as previous one.
- Publish patches on https://github.com/miurahr/libgeotiff

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2018-02-18 09:54:19 +09:00
Hiroshi Miura
6142925568 [libgeotiff] build and install utility commands (#2784)
* [libgeotiff] install utility commands

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* [libgeotiff] install utility only when release build and unconditionaly copy tool dependencies

* [libgeotiff] fix tool instalation when static and bump version

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2018-02-17 03:14:58 -08:00
Hiroshi Miura
ee84a44871 [libgeotiff] update description 2018-02-09 13:44:45 +09:00
Hiroshi Miura
e8899b37d2 [libgeotiff] remove installed dlls when static build 2018-02-09 13:39:22 +09:00
Hiroshi Miura
fc888e4617 fix tiff detection error when static build 2018-02-09 13:29:00 +09:00
Hiroshi Miura
f68711ed02 [libgeotiff] fix install directory for cmake configurations
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2018-02-09 07:24:25 +09:00
Hiroshi Miura
5ef129e880 Add libgeotiff port
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2018-02-09 07:24:25 +09:00