Commit Graph

26 Commits

Author SHA1 Message Date
Alexander Neumann
2aa0d83ee7
[gmp] Switch sources on windows away from SMP fork. (#23466)
* [gmp] use native buildsystem on windows

* fix stuff from merge

* fix version

* version stuff

* trying patching some symbols for dynamic builds

* fix nettle build

* fix more dependent ports using gmpd

* fix uwp builds by copying tools

* missing host dep

* fix mpfr

* version-string nettle

* port-version mpfr

* version stuff

* remove patch from portfile

* version stuff

Co-authored-by: Alexander Neumann <you@example.com>
2022-03-23 12:14:40 -07:00
Kai Pastor
55e666af39
[mpfr] Skip doc and examples (#22859)
* Trim build

* Update license info

* Update versions

* Remove mpfr from ci baseline
2022-02-16 12:56:41 -08:00
LilyWangLL
c6e208fccf
[mpfr] Add warning message on Linux (#21940)
* [mpfr] Add warning message on Linux

* update version

* Update portfile.cmake

* update version

Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2021-12-10 14:01:15 -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
Alexander Neumann
f2ec6c5a7c
[mpc/mpfr] Add new port / update mpfr (#13081)
* [mpc] add mpc port

* [mpfr] update mpfr to use make.

* [gmp] fix preprocessor define for dlls.

* more fixes

* fix mpfr regression on !windows

* install autoconf-archive in provisioning script

* change indent of patches

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* fix merge error

* update PR

* update baseline

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2021-01-24 23:01:16 -08:00
Michael Konečný
7edaafb077
[mpfr] Add mirror for mpfr at gnu.org (#10035)
* add mirror for mpfr at gnu.org

* remove deprecated include(vcpkg_common_functions)

* update version number after modified port

* update copyright handling command to install
2020-04-06 15:21:36 -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
Lennart Trunk
45e70a9f78 update mpfr to 4.0.2 and fix build on osx (#8324)
* update mpfr to 4.0.2
2019-09-24 11:05:30 -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
Phil Christensen
dd00565627 [mpfr] update CMakeLists for new version 2018-12-19 16:38:14 -08:00
Phil Christensen
f6db046bed [mpfr] fix version in CONTROL file 2018-12-19 16:09:39 -08:00
Phil Christensen
83b8a6e036 [mpfr] bump control version number 2018-12-13 16:11:58 -08:00
ing. Federico Fuga
a2c846338c Update mpfr to 4.0.1 and fix compilation under gcc 7
gcc 7 deprecates the use of varargs.h in favour of stdarg.h.
mpfr already fixes it, but the fix is enabled if stdarg is available.
This patch adds the test on CMakeLists.txt and enables the fix if
needed.
2018-12-13 11:59:19 +01:00
xoviat
55d8069da3
mpfr: fix download link 2017-12-26 12:16:50 -06:00
xoviat
9bc2ba5357
[mpfr] bump version 2017-11-29 12:33:08 -06:00
xoviat
b12e76cd60
[mpfr] prefer ninja 2017-11-29 12:23:46 -06:00
xoviat
8c6eb97ec7
[mpfr] revert portfile patch 2017-11-29 12:17:53 -06:00
xoviat
e0362393cf
[mpfr] define have_stdint_h 2017-11-29 12:17:31 -06:00
xoviat
d0f6656b55
[mpfr] fix source path 2017-11-29 11:56:17 -06:00
xoviat
7dda8dcdd0
[mpfr] fix portfile 2017-11-29 11:49:54 -06:00
xoviat
51c9c6eb61
[mpfr] prepend stdint to header 2017-11-29 11:49:09 -06:00
xoviat
6de016f753
[mpfr] add MPFR_USE_INTMAX_T 2017-11-29 11:28:30 -06:00
xoviat
1a6d0f5611 [mprf] add missing symbol (#2226)
* [mprf] create printf

* Update CMakeLists.txt

* [mpfr:portile] copy file
2017-11-20 15:10:00 -08:00
jasjuang
c7914d34de update mpfr to 3.1.6 2017-10-10 23:06:14 -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
Albert Ziegenhagel
7e0be3c9cc [mpfr] add initial port 2017-08-08 17:48:24 +02:00