Commit Graph

41 Commits

Author SHA1 Message Date
WangWeiLin-MV
d121b49f2f
[apr] Add HOST_TOOLS_DIR/gen_test_char for cross-compiling to Windows (#41416) 2024-10-16 13:33:00 -04:00
Timofei Zhakov
52fa4fb378
[apr] add usage (#40805) 2024-09-09 20:22:46 -07:00
Timofei Zhakov
f7a181aa36
[apr] bump to 1.7.5 and did some imporvements, availible from this version of the library. (#40742) 2024-09-03 11:51:48 -07:00
gerard-ryan-immersaview
6db51d86a9
[vcpkg_replace_string] warn unchanged by call (#34719)
If a call to `vcpkg_replace_string` makes no changes i.e doesn't
effectively replace a string, A warning is logged.

This should also help identify ports that no longer need these calls to
fix things in `.pc` files etc.
2024-06-19 14:07:05 -07:00
jim wang
c68a56a40c
[apr] update to 1.7.4 (#33993)
* fix apr

* update version

---------

Co-authored-by: Jim wang (BEYONDSOFT CONSULTING INC) <v-wangjim@microsoft.com>
2023-09-25 23:38:01 -07:00
Kevin Lalumiere
f99fcd105c
Fix #30416 (#30418) 2023-03-28 14:53:57 -07:00
Kevin Lalumiere
df82854502
[apr] Update to 1.7.2 (#30217)
* Update Apr to 1.7.2

* Fix formatting

* Fix new crosscompile check in apr's apr-1-config

* Replace absolute paths in apr_rules.mk

They would poison the binary cache

* Stop using deprecated vcpkg_extract_source_archive_ex
2023-03-19 23:36:01 -07:00
Gordon Smith
f7ada2a292
[activemq-cpp,apr,arrow] Switch apache urls to pull from "archive" (#29388)
Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
2023-02-02 15:46:55 -08:00
Alexander Neumann
6691c1a042
[apr] unglue version string (#26005)
* apr unglue version string

* v db
2022-07-28 14:54:27 -07:00
autoantwort
9ab9880238
[apr] no absolute paths (#25816) 2022-07-18 13:14:05 -07:00
JonLiu1993
6be82cfac6
[apr] provides CMake targets (#23499)
* [apr] provides CMake targets

* update version

* update patch

* update version

* Export CMake files

* x-add-version

* update vcpkg.json

* x-add-version

* update patch

* x-add-version

* remove target export

* x-add-version

Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2022-05-12 19:36:04 -07:00
Thomas1664
277e5ebed8
[apr] Fix release only builds on Linux (#24220)
* [apr] Fix release only builds on Linux

* version
2022-04-19 09:06:53 -07:00
Jack·Boos·Yu
e86ed50718
[vcpkg_configure_make] Report warning when unresolved arguments are passed in (#22567)
* [vcpkg_configure_make] Report warning when unresolved arguments are passed in

* Add missing option NO_DEBUG

* Add _VCPKG_MAKE_NO_DEBUG for vcpkg_configure_make

* Add more condition

* [apr] Remove NO_DEBUG

* [liburing] Remove NO_DEBUG

* [apr-util] Remove NO_DEBUG

* version

* Mssing port-version ++

* version
2022-03-02 13:43:19 -08:00
autoantwort
fadc22acfe
[apr] no absolute paths (#21860) 2021-12-06 21:13:20 -08:00
autoantwort
66301f1911
[apr] no absolute paths (#21180) 2021-11-08 21:07:51 -08:00
nicole mazzuca
0e1dc12185
[rollup] Rollup PR 2021-07-16 (#19001)
* [rollup:2021-07-16 1/7] PR #18201 (@JackBoosY)

[vcpkg-cmake] Add check for unused cmake variables

* [rollup:2021-07-16 2/7] PR #18397 (@strega-nil)

[vcpkg_list] add new function

* [rollup:2021-07-16 3/7] PR #18782 (@strega-nil)

[scripts-audit] vcpkg_build_ninja

* [rollup:2021-07-16 4/7] PR #18784 (@strega-nil)

[scripts-audit] vcpkg_minimum_required

* [rollup:2021-07-16 5/7] PR #18785 (@strega-nil)

[scripts-audit] vcpkg_replace_string

* [rollup:2021-07-16 6/7] PR #18786 (@strega-nil)

[scripts-audit] windows scripts

* [rollup:2021-07-16 7/7] PR #18945 (@strega-nil)

[many ports] remove deprecated vcpkg_check_features call [1/5]

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
2021-07-20 10:24:58 -07:00
nicole mazzuca
4cbbcbddfd
[vcpkg macos ci] Switch to using our own base boxes, to fix bringing up mac machines (#13619)
* [vcpkg ci:osx] Remove brew install

* add instructions for creating a new vagrant box

* fix the vagrant scripts for the new box

* finish fixing the setup

* [mecab jxrlib] fix ports for CI

mecab needed to use an actual ref that wasn't master,
and jxrlib needed a patch for xcode 12 CLTs.

Additionally, this fixes the mecab version to be a date, the date of the last commit,
since `1.0` is not the correct version (mecab doesn't have released versions)

* [many ports] fix compile with Xcode 12 CLTs

This mostly means fixing errors on implicit-function-declaration,
and removing some Werrors
* alac-decoder
* apr
* argtable2
* arrow
* hyperscan
* mcpp
* minizip
* mosquitto
* stormlib

* [many ports] even more Xcode 12 CLT fixes

* [jxrlib darknet] fix the last ports! (hopefully)

* CRs, plus minor wip changes to osx scripts
2020-09-24 15:15:06 -07:00
Alexander Neumann
458c20e94b
[vcpkg/scripts/pkgconfig] rewrite pkg-config check for libraries (#11550)
* [vcpkg/scripts/pkgconfig] rewrite pkgconfig check for libraries.

* [vcpkg/scripts/pkgconfig] fix more details.

* [vcpkg/scripts/pkgconfig] smaller improvements

* ws change to check functionallity of script for testing.

* [vcpkg/scripts/pkgconfig] update to latest test version

* Revert "ws change to check functionallity of script for testing."

This reverts commit 26269e9e77.

* [nettle] bump control for vcpkg_fixup_pkgconfig test

* [gmp] rerun CI to create new *.pc files

* [gmp/nettle] enable port debug

* [vcpkg/script/pkgconfig] fix path conversion regex for CI

* [CI|OSX] install pkg-config on osx

* [gmp/nettle] disable port debug

* [vcpkg/scripts/pkgconfig] update to latest version of x windows pr

* [zlib] add pkgconfig file

* [zstd] add fixup pkgconfig

* [libpng] add pc file installation

* [bzip2] install pc file and leave a TODO for somebody else ;)

* [bzip2] bump control

* [vcpkg/scripts/pkgconfig] skip checks if pkgconfig cannot be found.
- small bugfix in ignore flags regex

* retry zstd and zlib

* [libpng] retry by adding dl and m to system libraries for osx

* [libpng] add missing vcpkg_fixup_pkgconfig()

* [vcpkg/scripts/pkgconfig] unset var if found. 

fixes checks for other configurations which will be always succesful otherwise

* [libpng] bump control

* [libpng] enable port debug to debug osx regression

* ws change to retrigger osx ci and hopeing that it works

* fix typo

* [libpng] remove -lm flag on apple platforms

* ws change to rerun some ports in ci for good measure after the merge with master

* Re-trigger CI test

* [zstd] add pkgconfig

* [zstd] correct debug link

* [vcpkg/script/pkgconfig] - add more search suffixes for static libs
- add additional debug messages for debuging
- fix unsetting of cache variables hiding issues with debug libraries
- fixed pkgconfig fix in the debug case

* [pcre] add pthread dependency to pcre

* [protobuf] fix pkgconfig

* include quotes around the prefix in the case the prefix path was quoted (fixes some regressions)
add option NOT_STATIC_PKGCONFIG to run pkg-config without the --static argument

* [ignition-msgs5] get rid of a dev warning

* [apr] fix apr regression

* [protobuf] fix protobuf regression

* [sdl1] fix regression due to variable expansion of pkg-config. Use similar regex to the library removal for ignored flags.

* [ignition] fix regression

* remove changes of zlib portfile.

* reset changes in osx ci pipeline

* add DISABLE_PARALLEL_CONFIGURE

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Billy Robert O'Neal <bion@microsoft.com>
2020-07-24 11:39:21 -07:00
Jack·Boos·Yu
1f0db1f06a
[vcpkg baseline] Fix baseline errors (#12067)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-06-25 11:11:17 -07:00
Stephen Webb
9614c6a962
[apr apr-util] Apr and apr-util for non windows systems (#8579)
* Allow the apr port to be used on non-windows systems

* Allow the apr-util port to be used on non-windows systems

* Allow the apr-util port to be used on non-windows systems

* Allow the apr-util port to be used on non-windows systems

* [log4cxx] add new port

* Add aarch64 cross compilation support

* Allow apr and apr-util ports to used with a cross compiling tool chain

* @PhoebeHui requested changes

* Remove files that leaked from 'add-log4cxx-port' branch

* @PhoebeHui requested changes

* Move apr-util-unix and apr-util-windows portfile.cmake content back into apr-util/portfile.cmake

* Use the same released archive for unix and windows

* Use the same released archive for unix and windows (1.6.1)

* Update APR version to the latest

* Prevent unrelated CI failures

* Prevent CI failure for arm64 on x86 CI machine

* Prevent CI failure for arm64 on x86 CI machine

* Use vcpkg_configure_make and vcpkg_install_make instead of vcpkg_execute_required_process

* Remove shared libraries if a static build

* Revert "Remove shared libraries if a static build"

This reverts commit 540e158e1fbfe53b889bef8b928bc8feb62775c2.

* Prevent CI failures due to static build installing apr-1-config into bin

* @PhoebeHui requested changes

Co-authored-by: Stephen Webb <stephen.webb@sabreautonomous.com.au>
2020-05-06 13:20:49 -07: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
Phoebe
bcff929875 Add PREFER_NINJA to many ports (#7468)
* Add PREFER_NINJA to many ports
2019-07-31 13:01:02 -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
Griffin Downs
6880f4e6e3 Remove options var; Create var for setting APR_INSTALL_PRIVATE_H 2019-03-12 14:26:38 -07:00
Griffin Downs
57cf77dc72 Add newline 2019-03-12 13:51:52 -07:00
Griffin Downs
ff28cc2d22 Express install private headers as feature 2019-03-12 13:37:08 -07:00
JackBoosY
fe626490f0 [apr]Modify cmake file instead of make a patch. 2019-03-12 00:50:17 +00:00
JackBoosY
443579a064 [apr]remove enviroment variable "${CMAKE_CURRENT_LIST_DIR}" 2019-03-11 01:40:50 +00:00
JackBoosY
0b5982aaf2 [apr]Enable option "APR_INSTALL_PRIVATE_H" to build non-standard files. 2019-03-07 09:37:21 +00:00
Alexander Karatarakis
9122643930 [apr] Update to 1.6.5 2018-10-05 16:03:15 -07:00
Robert Schumacher
7938006022 [ports] Mark several ports as unbuildable on UWP 2017-11-26 10:28:16 -08:00
Alexander Karatarakis
fae64c544e [apr] Update to 1.6.3 2017-11-01 16:35:07 -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
atkawa7
c21a0604e0 [apr] port update 2017-06-23 12:25:20 -07:00
Alexander Karatarakis
1808d461b0 triplet is now automatically included before portfiles.
Also remove trailing whitespaces from portfiles
2016-11-08 14:25:47 -08:00
Alexander Karatarakis
12d61331d2 [apr] Retain only dynamic/static files from the corresponding build 2016-11-03 12:08:24 -07:00
Bert Huijben
41bc51b5e7 Add vcpkg_copy_pdbs() line to copy PDB files properly 2016-11-03 17:01:49 +01:00
Bert Huijben
6f74f29784 More line ending fixes 2016-11-03 14:10:04 +01:00
Bert Huijben
3998871e54 Fix line-endings in files and minor comment update. 2016-11-03 14:06:02 +01:00
Bert Huijben
56a30ed4bc Add APR port 2016-11-03 14:00:49 +01:00