Commit Graph

18 Commits

Author SHA1 Message Date
Matthias Kuhn
7d9775a3c3
[qhull] make tools optional (#27260)
* [qhull] add feature to build tools

* Update versions/q-/qhull.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* version

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
2022-11-17 23:32:39 -08:00
Kai Pastor
61ae96ea06
[qhull] Fix copyright, pc files, cmake usage (#23129)
* Modernize portfile

* Install COPYING.txt for copyright

* Create uniform pc file names for all configurations

* Provide uniform and documented CMake config

* Update versions

* Use version field

* Update versions

* CI
2022-02-22 13:08:24 -08: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
Francisco Facioni
4caec04fdb
qhull - fix missing symbols (#19276)
Co-authored-by: Francisco Facioni <francisco.facioni@hawkeyeinnovations.com>
2021-08-05 03:05:30 -07:00
ras0219
988cabb2df
[qhull] Update to 8.0.2 (#13445)
* [qhull] Extracted from Microsoft/vcpkg#12199

* [qhull] Update to 8.0.2 release

Co-authored-by: Stefano Sinigardi <stesinigardi@hotmail.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-09-11 12:44:26 -07:00
Giulio Romualdi
a2cd3ad3d8
[qhull] update version 8.0.0 (#12015)
* [qhull] Update the library version to 8.0.0 (2020.1)

* [qhull] Update the patches:
* uwp.patch has been removed
* mac-fix.patch is updated. Now C++11 is required to compile the library
2020-06-18 15:18:12 -07:00
SeekingMeaning
ecf83936b2 [qhull] Fix Mac support (#9651) 2020-01-13 11:34:35 -08:00
contre
2bf8b26aa4 [qhull] fix UWP building (#7370) 2019-08-07 12:43:13 -04:00
contre
031dd7610f [qhull] Update to 7.3.2 and fix postbuild validation (#7340) 2019-07-21 23:28:04 -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
Alexander Neumann
1feb0dc3d8 workaround for qhull regression in static build see #5574 2019-03-14 22:38:17 +01:00
Victor Romero
8641dfd9dd
Modify vcpkg_fixup_cmake_targets() (#5459)
* some libraries export <PackageName>LibraryDepends.cmake
instead of <PackageName>Targets.cmake.
Those file also need the fix of #1044

should close #4753

* prefered the general solution #4622.
hopefully solved the issue within #4150
replaced the regex with something more readable
(also ident is lost)

should close:
#4753
#4633
#4150
and maybe more

* Hash vcpkg_fixup_cmake_targets.cmake

* [boost] Fix use of find_package(Boost) with cache variables
[socket-io-client] Fix install

* reversed change back to use regex replace

* [glbinding] Fix _IMPORT_PREFIX depth in *-export.cmake files

* [tinyspline] Ignore warnings treated as errors

* [libevent, liblemon, libpng, smpeg2, zlib] Fix apply patches

* [libsodium] Fix apply patches

* [folly] Link correct libraries in debug and release

* [vtk] Remove unset of _IMPORT_PREFIX

* [tinyspline] Do not treat warnings as errors

* [smpeg2] Fix double* to int comparison

* [nvtt] Define value for HAVE_UNISTD_H in MacOS

* [libui] Fix MacOS X build

* [zlib] Fix download URL

* [qhull] Update to v7.2.1

* [podofo] Set value for HAVE_UNISTD_H in MacOS

* [mongo-cxx-driver,ogre,podofo,qhull] Bump CONTROL version

* [mongo-c-driver] Set _IMPORT_PREFIX

* [tmxparser] Bump CONTROL version

* [qhull,vxl] Bump CONTROL version
2019-02-28 23:53:42 -08:00
Tsukasa Sugiura
075d0d4ecd [qhull] Remove tools of debug configuration (#4681)
Remove tools of debug configuration. (<triplet>/debug/tools/qhull)
It is unnecessary.
2018-11-14 11:12:36 -08:00
Tsukasa Sugiura
173a1d59a5 Fix remove files when install dynamic libraries
Fix remove files when install dynamic libraries.
2017-11-26 07:36:03 +09:00
Tsukasa Sugiura
fda988964d Enable Ninja build in QHull port
Enable Ninja build in QHull port.
2017-11-26 07:29:56 +09: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
Tsukasa Sugiura
053f3ee32f Fix QHull port to use release version
Fix QHull port to use latest release version, because master/HEAD of
QHull has some bugs.
2017-06-22 00:21:29 +09:00
mmazaherit
c4de5e29b1 check in qhull 2017-06-10 18:06:52 -04:00