Commit Graph

61 Commits

Author SHA1 Message Date
Kai Pastor
b2f8426094
[vcpkg_configure_make] Misc fixes (#31228)
* Fix lib suffix matching

* Preserve flags when transforming standard libs

* Use separate_arguments

* Fix transform

* [vcpkg_configure_make] Fix SKIP_CONFIGURE

* Update linker flags

* Update linker flags

* Fix regex substitution

* Restore full CI

* Reuse configure's linker flags setup

* Handle ldflags separately from linker flags

* Factor out common definitions

* Control docdir and mandir for debug

* Use vcpkg_list APPEND

* Don't pass -avoid-version into configure

* Restore lost escaping

* Copy --target from LDFLAGS to CC/CXX

* Consolidate macros into one function

* Elaborate ABI flags

* Elaborate flag processing

* Update warnings for embedded space

* Update windows tool path fixup

* [libudns] No cross builds

* [vcpkg_find_acquire_program] Add VSCLANG

Find VS's clang without fallback to the giant LLVM download.

* [gmp] Update CCAS setup

* [nettle] Update CCAS setup

* Fix VSCLANG

* WIP

* Restore processing of isysroot

* [nettle] Fix assembler option

* [liburing] Adjust

* Variable name changes

* Remove redundant separate arguments

* Move -m32/-m64 to ABI flags

* Unify ABIFLAGS spelling

* CI

* Revert VSCLANG

* Use GNU Make to build autotools ports on FreeBSD (microsoft/vcpkg#32282)

* Fix flag removal

* Drop separation of ABI flags

* Handle '-arch=...'

* Revert "Control docdir and mandir for debug"

This reverts commit d8293a1997.

* [icu] Pass uwp option to pkgdata

* Restore old osx flags hook

* Add triplet variable to make libtool pass --target to linker

---------

Co-authored-by: Schaich, Alonso <alonsoschaich@fastmail.fm>
2024-01-23 13:27:46 -08:00
Kai Pastor
a1e13e8d58
[icu] Update, enable uwp, fix osx-dynamic (#35530)
* [cppcms] No uwp

* [libzim] No uwp

* [cppcms] Fix dependencies and linkage

* [libzim] Update to 9.0.0

* [cppcms] No python for build

* Fixup

* CI: uwp

* [vcpkg-ci-boost] Enable boost-regex[icu]

* [icu] Enable uwp

* [icu] Update to 74.1

* [icu] Cleanup

* v

* [icu] Set install names during linking

* Revert "CI: uwp"

This reverts commit 127afe8aa1.

* CI

* [icu] Use --enable-rpath on osx
2023-12-14 17:37:17 -08:00
Kai Pastor
ffc1b51dfb
[icu] Fix wasm, fix icudt for almost-native builds (#35529) 2023-12-07 12:22:04 -08:00
Matthias Kuhn
b94fe49a53
[icu] Fix osx release only builds (#34539)
* [icu] Fix osx release only builds

* Use list
2023-10-30 15:01:58 -07:00
Mengna Li
6507e8cbe5
[icu] update to 73.1 (#31144)
* update to 73.1

* add arm-android to ci.baseline

* remove ci.baseline fail
2023-06-21 22:58:38 -07:00
SIYAO CHEN
65e91ebd9e
feat: fix rpath setting in osx dynamic debug build (#31681) 2023-05-31 18:56:41 -07:00
Michał Janiszewski
4f9d25a7f2
[icu] Fix #30532: trying to set rpath on missing libicutu (#30544)
microsoft/vcpkg#29196 introduced new feature flag `[tools]` which
prevents generation of `libicutu`. The PR in question did not take into
account dynamic linkage target where rpath is set to hardcoded and no
longer valid list of libraries.

This PR dynamically detects presence of `[tools]` feature and adds
`libicutu` for rpath fix as necessary.

Co-authored-by: Monica <v-liumonica@microsoft.com>
2023-04-12 11:29:01 -07:00
Todor Prokopov
f67d9135ae
[icu] Fix x86 MinGW build (#29532) 2023-02-09 12:35:16 -08:00
Matthias Kuhn
261f5b1fcc
Fix https://github.com/microsoft/vcpkg/issues/29322 (#29329) 2023-02-07 15:01:58 -08:00
Matthias Kuhn
cdbcc03212
[icu] Add tools, fix building for ios (#29196)
* [icu] Add tools, fix building for ios

* Make qt5-base depend on icu[tools]

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-01-26 21:40:42 -08:00
Kai Pastor
cd08228e4a
[icu] Update to 72.1 (#28794)
* [icu] Update

* Cleanup
2023-01-09 01:14:24 -08:00
Daniel Schürmann
2930fd4571
icu 71.1 (#24512)
* [icu] Update to upstream version 71.1

* [icu] warn if autoconf-archive is not installed

* [icu] update version database and add license field
2022-05-04 19:25:20 -07:00
Frank
e9fcbfe8e1
[icu] update to 70.1 (#23445)
* [icu] update to 70.1

* update version

* reset patch

* overwrite version

* reset version

* overwrite version

* Fix configure

* version

* update version

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2022-04-11 09:06:15 -07:00
Kai Pastor
cb91b416cb
[cmake-user] Verify library location for debug vs. release, fix ports (#21641)
* Verify library location for debug vs. release

* Use existing variables for wrapper

* Always install freetype wrapper

* Quote @expressions

* Set policies for freetype wrapper (#19459)

* Test JPEG

* Fix jpeg wrapper for CMake < 3.12

* Test TIFF

* Test with current and oldest supported CMake

* Test and fix icu cmake wrapper

* CMake policy fixes [skip actions]

* Update versions

* CI

* CI

* Nicole CRs

* Disable Curses test

* Prefer <Pkg>_VAR over <PKG>_VAR

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-04-01 13:30:43 -07:00
Billy O'Neal
c9e786d81a
[many ports] remove remaining vcpkg_fail_port_install calls. (#22770)
* Bulk remove vcpkg_fail_port_install calls.

Interesting ones have been split out into separate reviews, where "interesting" means "anything more than just deleting the call to vcpkg_fail_port_install",

In support of https://github.com/microsoft/vcpkg/pull/21502

* Update version database.

* Revert google benchmark changes already submitted as https://github.com/microsoft/vcpkg/pull/22728

* Repair version database.
2022-01-25 10:31:15 -08:00
Phoebe
e0315fe85c
[icu] Fix pc files (#22388)
* [icu] Fix pc files

* Patch the issue in configure.ac
2022-01-13 13:23:44 -08:00
autoantwort
979a5197b3
[icu] no absolute paths (#21288) 2021-11-10 10:49:18 -08:00
Kai Pastor
d60da45f54
[icu] Fix mingw builds (#20253)
* Fix mingw dll installation

* Patch static lib naming

* Update icu homepage

* Fix mingw builds on windows triplet host

* Update versions

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-23 17:45:11 -07:00
Phoebe
6a8dea1ace
[icu] Fix tool path (#19726)
* [icu] Fix tool path

* Update the baseline version

* Apply the review suggestions

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-07 15:19:28 -07:00
Adam
aed3b48635
[icu] fixes for macOS dynamic lib install (#19441)
* fixes for macOS dynamic lib install

* bump port version

* remove mingw change

* move install outside of conditional

* update portfile hash

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-03 16:42:38 -07:00
autoantwort
adc1caf8f9
[icu] remove setting triplet (#19620)
* [icu] remove setting triplet

* add version files
2021-09-01 14:29:06 -07:00
Lucius Q. User
80cb194dd7
[icu] Fix x86-osx -> arm64-osx cross-compilation (#18608) 2021-07-22 22:00:40 -07:00
Alexander Neumann
0de461216d
[vcpkg.cmake] Cleanup every special case in the find_package override (#18047)
* move boost out of the toolchain

* move icu out of the toolchain

* remove CURL from the toolchain (was already unreachable?)

* remove gsl from toolchain

* remove grpc from toolchain

* version stuff

* fix indent and missing endif()

* version stuff

* Revert changes to vcpkg.cmake

* push port version

* version stuff
2021-05-28 10:00:20 -07:00
autoantwort
4b6289b936
[icu] add host depedency (#16577)
* [icu] introduce host dependency

* add version files

* [icu] host dependency windows, update ci baseline

* add version files

* [icu] add debug messages

* [icu] do not depend on buildtree, install required files instead

* [icu] set env variable for dynamic libs

* [icu] find dlls for windows

* [icu] copy dlls

* [icu] cleanup, fix apple arm targets

* add version files

* [icu] no for-cross-compile subfolder

* add version files

* [icu] use  instead of

* add version files

* [icu] convert to vcpkg_configure_make

* [icu] also build on arm

* [icu] add DESTINATION param to vcpkg_copy_tools and use it

* [icu] use foreach in macOS build

* [icu] fix of copy tool dependencies on windows

* [icu] delete more folders on windows

* [icu] copy tool dependencies manually

* [icu] don't copy non existing pdb files

* add version files

* [icu] bring vcpkg_copy_pdbs() back

* add version files

* [icu] add comment

* add version files

* [icu] use BUILD_TRIPLET instead of VCPKG_MAKE_BUILD_TRIPLET

* add version files

* [icu] simply logic for build on mac

* add version files

* Trigger Build

* add version files

* Trigger Build

* Trigger Build

* Apply suggestions from code review

* Apply suggestions from code review

* Trigger Build

Co-authored-by: Billy Robert ONeal III <bion@microsoft.com>
Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
2021-05-01 11:16:52 -07:00
Rodrigo Hernandez Cordoba
66ce4e9277
[V8, icu] Update v8 to version 9.0.257.17, icu to 69.1 (#16077)
This change also includes a change to use the
Windows SDK as reported by the WinSDK ENV variable.
v8 9.0257.17 requires ICU to be version 68.x or up.
2021-04-19 17:15:39 -07:00
Adam
e72302d442
[icu] Add support for macos rpath prefix macro (#15706)
* [icu] Add support for macos rpath prefix macro

* update port_versions for icu

* address review comments

* update baseline

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2021-01-26 14:58:42 -08:00
Long Nguyen
7944ed328a
[icu] mingw support + [mp3lame] Fix VCPKG_TARGET_STATIC_LIBRARY_SUFFIX (#14969) 2020-12-15 15:00:41 -08:00
Michał Janiszewski
34e79cb043
[icu] Add MSVC ARM64 support (#14186) 2020-11-18 14:09:34 -08:00
Pierre Gergondet
7dde05990f
[icu] Disable layoutex feature (#13991)
This feature requires icu-le-hb which is not provided by vcpkg. When
this package is otherwise available on the system the build will fail as
the pkg-config file pulls the dependency from the system.
2020-10-15 15:38:23 -07:00
hannesweisbach
15ec0792d8
[icu] Update automake dependency 1.15 -> 1.16 (#13980)
* [icu] Update automake dependency 1.15 -> 1.16 

automake 1.15 is not available through msys anymore; automake 1.16 is the oldest available version.

* [icu] Update CONTROL version

Co-authored-by: LilyWangL <wangli28@beyondsoft.com>
2020-10-13 13:28:09 -07:00
Rodrigo Hernandez Cordoba
5cb765aebe
[v8] Add v8 Javascript engine port (#372). (#12687) 2020-08-28 15:02:08 -07:00
Vicki Pfau
eede79eb27
Fix bootstrapping MSYS2 pacman (#11499) (#12080) 2020-06-24 11:29:28 -07:00
NancyLi1013
e33e3fc229
[icu] Add tools (#11897)
* [icu] Add tools

* Add macro variables
2020-06-23 14:14:02 -07:00
JonLiu1993
8ba7d81bf3
[icu] Update to 67.1 (#11714)
* update [amqpcpp] to 4.1.7

* [icu] update to 67.1

* Rebase changes
2020-06-02 22:36:09 -07:00
Lily
218e87ca1c
[icu] Fix configure failure due to not finding python (#10656)
* [icu] Fix configure failure due to not finding python

* [icu] Remove deprecated functions

* [icu] Fix configure failure due to not finding python

* [icu] Fix deprecated functions

* [icu] Fix deprecated functions
2020-04-27 08:03:18 -07:00
Phoebe
cbaafe76d6
Fix ci baseline (#10390)
* Rebuild failed ports on ci baseline

* Remove passed port osg-qt:x64-linux from ci baseline file

* Add mirrors for qt5
2020-03-19 10:33:59 -07:00
Leonid Pospelov
98513a5056
[icu] Fix typo (#10128) 2020-02-28 22:27:28 -08:00
Hongxu Xu
f53110de25
[ICU] Upgrade ICU to 65.1 (#9122)
* [ICU] Upgrade ICU to 65.1

* Fix wrong diff format.

* Removed deprecated vcpkg_common_functions
2020-02-04 14:14:45 -08:00
Phil Christensen
e62d136128
[vcpkg] Add Supports: field. Use contents of triplets instead of names for dependency resolution. (#8601)
* remove unfinished "supports" tag

* extract "supports" from control files
But do nothing with the value

* Start `Supports` documentation

* Use Supports in a bunch of control files

I only tried matching the already existing logic in the portfile.cmake.

* Cmake var provider (#8)

* Cmake var provider (#9)

* fix windows build (#10)

* Add missing files to build

* Fix test (#11)

* adding hooks for cmake variables in expressions

* Adding hooks for 'supports' in CI test

* Fix test (#12)

* Add overrides to evaluation environment

* use "supported" tag in CI testing

* cleanup comment

* Fix issues with PR

* [var_provider] Get library linkage variables from triplet

* Fix compilation errors in tests

* Add unimplemented functions

* Fix unit tests part 1

* Fix issue when buildtrees dir does not exist

* Change binary output hash

* Fix handling of * feature

* Add core feature when using *

* Do not add Default-Features when installing 'core'

* [vcpkg] WIP. 6 failing tests.

* [vcpkg] WIP. 1 failing tests.

* [vcpkg] WIP. 0 failing tests.

* [vcpkg] Removed 'remove_graph'. 0 failing tests.

* [vcpkg] Removed 'install_graph'. 0 failing tests.

* [vcpkg] Remove AnyAction; replace with ActionPlan

* [vcpkg] Minor cleanup.

* [vcpkg][z3][qt5-connectivity][qt5-purchasing] Improve error messages while parsing. Fix a few trivial port issues.

* [vcpkg] Work around ICE with MSVC v140

* [vcpkg] Add purge on fail to decompress for CI

* [vcpkg] Fix parsing of nested parentheses in qualifiers

* [vcpkg] Fix Linux builds (explicit qualification in declaration)

* [vcpkg] Fix Build-Depends implying default features. Fix qualified dependencies regression.

* [mmx] Add to skip list and full rebuild -- mmx causes problems by installing 'sched.h'

* [libpqxx][mqtt-cpp] Prevent installing include/CMakeLists.txt

* [cppitertools] Fix installed include namespace (should be include/cppitertools)

* [libsoundio] Move headers into soundio/ subdirectory as per original cmake

* [ci.baseline] Temporarily skip charls due to conflict with dcmtk

* [vcpkg] Add restricted include files post build check -- bump global abi version

* [libsoundio] Hotfix stray line in portfile

* [vcpkg] Fix regression: CMake information was not being displayed for build-and-install actions

* [jsonnet] Fix installation of internal headers; use system nlohmann-json

* [grpc][upb] Teach grpc to use packaged upb. Add find_package(upb). Remove inappropriate upb features.

* [zfp] Move problematic 'include/bitstream.h' to 'include/zfp/bitstream.h'

* [x265] Bump control version to trigger rebuild after zfp conflict

* [akali] Disable parallel configure

* [dirent][dlfcn-win32][getopt-win32][pthreads] Grandfather into VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS

* [ci.baseline] Update baseline for improved upb support

* [tgui] Disable parallel configure

* [libiconv] Enable VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS

* [aws-sdk-cpp] Disable parallel configure

* [vcpkg] Implement policy VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS

* [aws-sdk-cpp] Fix amount of escaping semicolons -- Note: I do not know the root cause requiring this change

* [libodb-sqlite] Fix configuring into source directory

* [gettext] Grandfather into VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS

* [libodb] DISABLE_PARALLEL_CONFIGURE

* [vcpkg] Add 'config.h' and 'local.h' to restricted header list

* [mcpp] Remove unused and problematic include 'config.h' from installed files

* [teemo] Move installed headers into subdirectory to prevent conflicts with x265

* [ci.baseline] Update current OSX. Skip libmesh on all platforms due to heavy conflicts.

* [vcpkg] Add 'slice.h' as a restricted header

* [osg] Improve accuracy of dependencies (disable some, add some to Depends)

* [vcpkg] Skip invoking a subprocess for 0 specs in load_tag_vars

* [ci.baseline] Skip mongo-c-driver on osx due to flakiness

* [teemo] Fix incorrect include file read

* [osg] Fix dependency typo: glut -> freeglut

* [vcpkg] Recover some lost performance with the addition of vcpkg_get_tags.

A huge performance cost was loading the triplet files over and over; instead, we splice the sources into a macro and load it once, then just call that macro for each port.
Remove use of hashing because we aren't cross-process-safe anyway (global static will do instead).

* [vcpkg] Change Supports atom 'windows' to include UWP. Improve Supports field documentation.

* [vcpkg] Add docs for VCPKG_ENV_PASSTHROUGH and VCPKG_DEP_INFO_OVERRIDE_VARS

* Fix typo

Co-authored-by: Curtis J Bezault <curtbezault@gmail.com>
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-02-03 14:22:52 -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
Curtis J Bezault
b7d6160b80
[icu] Enable parallel builds (#6695)
* Add VCPKG_NUM_LOGICAL_CORES

* break out logic that retries running a command several times into its own function

* Parallelize icu
2019-06-12 14:18:43 -07:00
emptyVoid
c52522983c [icu] Bump version number 2019-06-04 09:23:55 +07:00
emptyVoid
c76cc635dc Move gpg-agent termination to vcpkg_acquire_msys. 2019-06-02 22:26:04 +07:00
heydojo
58c7cfaae9 [icu] Prevent stale MSYS gpg-agent.exe process blocking command control (#6407)
* Prevent stale MSYS gpg-agent.exe process blocking command control

This commit fixes:
https://github.com/microsoft/vcpkg/issues/5476

The issue is that CI environments such as Appveyor's VS2017 image will wait for all processes to complete. If a stale process resides as a result, builds will hang.
There does not appear to be any good reason for gpg-agent.exe to be running once the build of icu has completed.

Without this patch builds of icu4c using CI systems will very likely hang and not in an obvious way.

Is this the _right_ solution to this problem? Probably not but it is one solution. And it degrades gracefully in that the build will not fail if gpg-agent.exe is not running. The gpg-agent.exe will not run again once MSYS has been configured, so to test this patch, a fresh install of vcpkg is required. Open the task manager and before the icu build completes, look for gpg-agent.exe just sitting there for no reason.
Might I suggest that the issue is fixed in vcpkg MSYS instead or as well?

Please don't request further from this commit.

* [icu] Kill MSYS gpg-agent.exe on Windows
2019-05-15 17:47:00 -07:00
Phil Christensen
bf4a864a73 [msys2] bump control version in msys dependant ports 2018-12-21 00:42:50 -08:00
hlysunnaram
008c5d8668 Handle VCPKG_BUILD_TYPE (#4287)
* [curl] fix build failure when VCPKG_BUILD_TYPE is set

* [libmysql] fix build failure when VCPKG_BUILD_TYPE is set

* [openssl-windows] use VCPKG_BUILD_TYPE to build release or debug only

* [icu] use VCPKG_BUILD_TYPE to build release or debug only

* [gdal] use VCPKG_BUILD_TYPE to build release or debug only

* bump versions of curl, gdal, icu, libmysql and openssl-windows
2018-10-03 23:09:42 -07:00
Robert Schumacher
711034e583 [icu] Bump package version 2018-08-28 14:04:04 -07:00
icedream2linxi
197645a0f7 [icu] Support for compiling static libraries. 2018-08-26 10:05:56 +08:00
James Clark
f46cd9ae88 fix issue #3683 - fix ICU build on Linux (#3685)
* fix issue #3683 - fix ICU build on Linux

The following changes allow ICU to build on Linux:
- use the ICU tgz distribution rather than the zip file, to avoid CRLF
  line endings on Linux
- don't use MSYS on Linux
- fix runConfigureICU options for Linux
- fix CFLAGS, CXXFLAGS, and LDFLAGS for Linux
- don't rename the resulting libraries on Linux

* [icu] Enable VCPKG_CXX_FLAGS

* [icu] Formatting
2018-08-15 09:54:57 -07:00