Commit Graph

8 Commits

Author SHA1 Message Date
Charles Karney
76bb15b9e4
[Geographiclib] update to v2.0 (#24587)
* Update for geographiclib 2.0

* [geographiclib] Update to version 2.0

* Add license to ports/geographiclib/vcpkg.json

* Update port-version to 1

* Update version database

* Switch to vcpkg_cmake_config_fixup etc.

Switch to
  vcpkg_cmake_configure
  vcpkg_cmake_install,
  vcpkg_cmake_config_fixup

Revert to using vcpkg_fixup_pkgconfig
Revert to port-version = 0
Revert to uwp exclusion to tools

* run x-add-version

* Formatting changes requested by dg0yt

* Update version info

* More cleanup

* Update version info

* Define LIB_OPTION, fix pkg install, etc.

* Update version info

* Fix pkgconfig call

* Update version info

* Use OFF instead of empty string for don't install

* Update version info

* Remove unneeded LIB_OPTION stuff.

* Update version info

* Add more precautionary quotes

* Update version info
2022-05-12 16:27:56 -07:00
Billy O'Neal
d6f3c6f064
[geographiclib] Remove vcpkg_fail_port_install. (#22747)
Separated out into its own PR because it needed to add to a "supports" in a feature.

In support of https://github.com/microsoft/vcpkg/pull/21502
2022-01-24 00:13:59 -08:00
autoantwort
e7e328cf9d
[many ports] call vcpkg_fixup_pkgconfig() (#20953)
* [many ports] call vcpkg_fixup_pkgconfig()

The ports generate pc files, but don't call vcpkg_fixup_pkgconfig() so that there are absolute paths in the pc files

* Update port-version for armadillo and polyclipping.

* Update version database.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-10-27 15:19:28 -07:00
Charles Karney
71ffad876d
[geographiclib] Update to version 1.52 (#18694)
* [geographiclib] Update to version 1.52

* run ./vcpkg x-add-version geographiclib

* ports/geographiclib/vcpkg.json: version-string -> version

* Another iteration with x-add-version
2021-07-01 07:35:58 -07:00
Charles Karney
e7343e50b1
[geographiclib] Update to version 1.51 (#14711)
* [geographiclib] Update to version 1.51

This is just a routine upgrade.

* Use git diff to create patch file

* Preserve execute permissions on tools

* Handle installation of tools so that shared libs are found.

Co-authored-by: Charles Karney <charles.karney@sri.com>
2020-11-30 10:15:15 -08:00
nicole mazzuca
0fec1340eb
[vcpkg manifest] Add documentation! (#13488)
* [vcpkg docs] add docs for manifest files

These are just for the maintainer docs,
not user docs.

* [vcpkg] EBNF-ify platform expression parsing

this modifies nothing about what strings are accepted or rejected,
it just moves stuff around.

also adds tests.

* [vcpkg docs] add manifest mode example

* [wip] docs for augustin

also fix tabs

* [vcpkg manifest] switch to using maps for features

* Apply suggestions from code review

* un-experimentize format-manifest

* flesh out the user manifest mode docs

* CRs

* billy CRs

* final personal pass-thru
2020-09-14 15:07:02 -07:00
nicole mazzuca
1c2af99415
[vcpkg format-manifest] Add convert-control flag (#12471)
* [vcpkg format-manifest] initial convert-control attempt

TODO: manifest comments! we should keep $directives

* Finalize x-format-manifest

First, fix Json::parse -- "\c", for any c, was incorrectly parsed.
It would emit the escaped character, and then parse the character, so
that `\b` would give you { '\b', 'b' }.

Second, canonicalize source paragraphs as we're parsing them. This found
an error in qt5 -- The `declarative` feature was listed twice, and we
now catch it, so I removed the second paragraph.

Add PlatformExpression::complexity to allow ordering platform
expressions in a somewhat reasonable way.

Notes:
  - We allow `all_modules` as a feature name for back-compat with
    paraview
  - In order to actually convert CONTROL to vcpkg.json, we'd need to
    rename the qt5 `default` feature.
  - We need to add support for $directives in x-format-manifest

* fix qt5 port

* format

* fix compile

* fix tests for canonicalization

* Clean up code

* add error message for nothing to format

* add extra_info field

* add `const X&` overloads for `Object::insert[_or_replace]`

* fix compile

* simple CRs

* add tests

* format

* Fix mosquitto port file

also unmerge a line

* fail the tests on malformed manifest

* fix format_all

* fix coroutine port-version

* format manifests
2020-08-02 10:08:07 -07:00
Charles Karney
e554608135
[geographiclib] Update to 1.50.1 (#12379)
* Upgrade geographiclib to version 1.50.1

* Tinker with sourceforge download

* Strip verbiage at top of geographiclib/portfile.cmake

* geographiclib: fix for windows build

* geographiclib: minimize size of patch file

* add missing manifest

* A stab at fixing uwp build error.  But I'm working in the dark!

* Back out of previous commit.  It didn't help.

* Call cmake_minimum_required first

* geographiclib: remove tools from build -- incompatible with uwp

* geographiclib: remove stray reference to TOOLS

* geographiclib: try installing executables into tools

* geographiclib: Do not build tools for uwp

* geographiclib: fix up build of tools

* geographiclib: Minor clean up

* geographiclib: handle uwp vs tools more elegantly

* geographiclib: reformation vcpkg,json

* geographiclib: don't build tools by default

* geographiclib: Don't register the tools as targets; this causes problems if they are moved

Co-authored-by: Charles Karney <charles.karney@sri.com>
2020-07-14 08:44:21 -07:00