Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[vcpkg_acquire_msys,vcpkg-ci-msys2] Ensure msys2 package list freshness #29067

Merged
merged 24 commits into from
May 29, 2023
Merged
Show file tree
Hide file tree
Changes from 18 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
d0cc3c8
[vcpkg-ci-msys2] New test port for msys2 freshness
dg0yt Jan 19, 2023
e602d8f
Add features for script updates
dg0yt Jan 20, 2023
d8ed1bc
Remove duplicate libbz2 entry
dg0yt Feb 19, 2023
361cf5c
Merge remote-tracking branch 'origin/master' into HEAD
dg0yt Feb 19, 2023
8010771
Automatically update all msys packages, add autoconf-wrapper
dg0yt Feb 19, 2023
2d9c5b7
Update primary URL and mirrors
dg0yt Jan 20, 2023
248b396
Follow repo renames
dg0yt Jan 20, 2023
741b414
Fix dependencies of 'file'
dg0yt Jan 27, 2023
ac1dbe8
Resolve dependencies at runtime
dg0yt Jan 27, 2023
40ce7c4
Fix updating
dg0yt Mar 19, 2023
b0ce56d
[gettext] Preset more MSVC checks
dg0yt Feb 19, 2023
15c011e
Merge remote-tracking branch 'origin/master' into HEAD
dg0yt Mar 20, 2023
c57a613
Update msys2 packages
dg0yt Feb 20, 2023
869d513
Merge remote-tracking branch 'origin/master' into msys2-refresh
dg0yt Apr 1, 2023
c450022
gettext fixes
dg0yt Apr 1, 2023
6e8f5c3
CI
dg0yt Apr 2, 2023
8b24752
Merge branch 'microsoft:master' into msys2-refresh
dg0yt Apr 5, 2023
7b7af22
Merge branch 'microsoft:master' into msys2-refresh
dg0yt Apr 11, 2023
73c8def
Merge branch 'master' of https://github.com/microsoft/vcpkg into msys…
Apr 14, 2023
191a01b
Merge remote-tracking branch 'origin/master' into HEAD
BillyONeal Apr 14, 2023
f6333c2
Merge remote-tracking branch 'origin/master' into msys2-refresh
dg0yt May 22, 2023
62c7e82
Simplify: Remove update-critical
dg0yt May 22, 2023
fefd698
PKGCONFIG moved
dg0yt May 22, 2023
cf7839a
Merge remote-tracking branch 'origin/master' into HEAD
BillyONeal May 26, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 16 additions & 5 deletions ports/gettext/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,32 @@ set(OPTIONS
--disable-curses
--disable-java
--disable-openmp
# Avoid hidden ABI deps
--with-included-glib
--with-included-libunistring
--with-included-libxml
)
if(VCPKG_TARGET_IS_WINDOWS)
list(APPEND OPTIONS
# Avoid unnecessary test.
--with-included-glib
# This is required. For some reason these do not get correctly identified for release builds.
ac_cv_func_wcslen=yes
ac_cv_func_memmove=yes
# The following are required for a full gettext built (libintl and tools).
gl_cv_func_printf_directive_n=no # segfaults otherwise with popup window
ac_cv_func_memset=yes # not detected in release builds
ac_cv_header_pthread_h=no
ac_cv_header_dirent_h=no
ac_cv_header_getopt_h=no
)
if(NOT VCPKG_TARGET_IS_MINGW)
list(APPEND OPTIONS
# Don't take from port dirent
ac_cv_header_dirent_h=no
# Don't take from port getopt-win32
ac_cv_header_getopt_h=no
# Don't take from port pthreads
ac_cv_header_pthread_h=no
ac_cv_header_sched_h=no
ac_cv_header_semaphore_h=no
)
endif()
endif()

# These functions scope any changes to VCPKG_BUILD_TYPE
Expand Down
1 change: 1 addition & 0 deletions ports/gettext/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "gettext",
"version": "0.21.1",
"port-version": 1,
"description": "GNU gettext provides libintl and a set of tools to help produce multi-lingual messages.",
"homepage": "https://www.gnu.org/software/gettext/",
"license": null,
Expand Down
699 changes: 402 additions & 297 deletions scripts/cmake/vcpkg_acquire_msys.cmake

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/cmake/vcpkg_configure_make.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ function(vcpkg_configure_make)

# Establish a bash environment as expected by autotools.
if(CMAKE_HOST_WIN32)
list(APPEND msys_require_packages binutils libtool autoconf automake-wrapper automake1.16 m4 which)
list(APPEND msys_require_packages autoconf-wrapper automake-wrapper binutils libtool make pkgconf which)
vcpkg_acquire_msys(MSYS_ROOT PACKAGES ${msys_require_packages} ${arg_ADDITIONAL_MSYS_PACKAGES})
set(base_cmd "${MSYS_ROOT}/usr/bin/bash.exe" --noprofile --norc --debug)
vcpkg_list(SET add_to_env)
Expand Down
336 changes: 336 additions & 0 deletions scripts/test_ports/vcpkg-ci-msys2/portfile.cmake

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions scripts/test_ports/vcpkg-ci-msys2/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "vcpkg-ci-msys2",
"version": "1",
"description": "Test vcpkg msys2 freshness",
"license": "MIT",
"supports": "(windows | mingw) & native",
"features": {
"update-all": {
"description": "Update all outdated packages in vcpkg_acquire_msys.cmake",
"dependencies": [
{
"name": "vcpkg-ci-msys2",
"default-features": false,
"features": [
"update-critical"
]
}
]
},
"update-critical": {
"description": "Update overdue outdated packages in vcpkg_acquire_msys.cmake"
}
}
}
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2750,7 +2750,7 @@
},
"gettext": {
"baseline": "0.21.1",
"port-version": 0
"port-version": 1
},
"gettimeofday": {
"baseline": "2017-10-14",
Expand Down
5 changes: 5 additions & 0 deletions versions/g-/gettext.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "35bc877b5cf4be0ea126ee3c82457065d78e22df",
"version": "0.21.1",
"port-version": 1
},
{
"git-tree": "4c583e9adc3ab9a044b241466cebedf162cdc410",
"version": "0.21.1",
Expand Down