Commit Graph

53 Commits

Author SHA1 Message Date
Kai Pastor
419d6258d0
[vcpkg-tool-meson,glib] Update meson, fix languages (#41135) 2024-09-25 15:16:27 -04: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
Kai Pastor
47633daa65
[vcpkg-scripts] Catch use of ambiguous cmake vars (#34546)
Avoid wrong use of popular but ambiguous variables (`WIN32` etc.) in
scripts and portfiles by detection in CI.

Sometimes the variables are used wrongly, and sometimes this isn't
caught in PR review. This PR tries to catch those variables (when in the
active code path in script mode). [This can happen to every
contributor](https://github.com/microsoft/vcpkg/pull/34356#discussion_r1360074122),
even if he/she knows the rules ... vcpkg is raising the bar higher than
usual, having to deal with targets and hosts even in script mode.

(`b2-options.cmake` (boost fragment) shows where we get if we don't pay
attention: the same code being used in script mode (`WIN32` meaning
host) and in project mode (`WIN32` meaning target).)

The new check doesn't break any user builds because it relies on command
line options. However it changes the ABI hashes.
2024-06-14 11:40:01 -07:00
Alonso Schaich
34e163f0ce
[glib] Update to 2.78.4 (microsoft/vcpkg#36330) (#36353)
* [glib] Update to 2.78.4 (microsoft/vcpkg#36330)

* [glib] regenerate versions (microsoft/vcpkg#36330)
2024-02-05 11:42:29 -08:00
Alonso Schaich
5c02b81bb5
[glib] update to 2.78.1 (#34964)
* [glib] update to 2.78.1 (microsoft/vcpkg#34963)

libelf suppression patch has been obsoleted by GNOME/glib@3916368 .

* [glib] regenerate version registry (microsoft/vcpkg#34963)
2023-11-09 10:35:39 -08:00
Alonso Schaich
860c966502
[glib] update to 2.78.0 (#34439) 2023-10-13 11:05:57 -07:00
Frank
ba3a8acdba
[glib] Update version to 2.76.5 (#33696)
* [glib] Update version to 2.76.5

* version
2023-09-13 16:39:29 -07:00
Frederik Carlier
ba58a3fdf2
[glib] Support cross-compiling Objective C code using Meson (#33313)
* Support cross-compiling Objective C code using Meson

The glib port uses Objective C code and the Meson build system.
You'll end up cross compiling glib when compiling for x64 osx
on an arm64 osx machine, or vice versa.

For this to work, an Objective C compiler needs to be set
in the Meson cross file.

vcpkg generates this file based on the
`scripts/buildsystems/meson/meson.template.in` template, and expects
the `MESON_OBJC` CMake variable to be set.

That's the job of `z_vcpkg_meson_set_proglist_variables` in
`scripts/cmake/vcpkg_configure_meson.cmake`.  It will only generate data
for an Objective C compiler if:

- The `Languages` argument includes `OBJC`
- CMake has detected a Objective C compiler, and has set `VCPKG_DETECTED_CMAKE_OBJC_COMPILER`

To make this work, this patch:
- Enables the OBJC and OBJCXX language on Apple platforms
- Updates the call to `vcpkg_configure_meson` in the glib port file
  to include the OBJC OBJCXX languages.

Fixes https://github.com/microsoft/vcpkg/issues/26147
Fixes https://github.com/microsoft/vcpkg/issues/20341
Based on https://github.com/microsoft/vcpkg/pull/26259
Based on 27dee354e4

Tested on an arm64 mac to compile glib for x64 macos

* Update version database
2023-08-25 12:25:28 -07:00
Lily Wang
fc59c2a30a
[glib] Fix build race between gio subdirs and gversionmacros.h (#32785)
* [glib] Fix build race between gio subdirs and gversionmacros.h

* update version
2023-07-31 11:44:42 -07:00
Alonso Schaich
0f8a0f084a
[glib] Update glib to 2.76.3 (#31786)
* [glib] Update glib to 2.76.3 (microsoft/vcpkg#31785)

* [glib] regenerate versions repository (microsoft/vcpkg#31785)
2023-06-07 09:49:58 -07:00
Alonso Schaich
df788a288c
[glib] update to 2.76.2 (#31491)
* [glib] update to 2.76.2 (microsoft/vcpkg#31490)

* [glib] regenerate version registries (microsoft/vcpkg#31490)
2023-05-18 11:18:29 -07:00
Kai Pastor
0be3552301
[glib] Fix build failures (#31034)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-04-25 22:59:22 -07:00
Alonso Schaich
5272ddc90b
[glib] update to 2.76.1 (#30809)
* [glib] update to 2.76.1 (microsoft#30808)

* [glib] regenerate version registries (microsoft#30808)
2023-04-13 12:31:25 -07:00
Kevin Pfeifer
d13e3a0602
build glib-gettextize on windows (#28207) 2023-03-28 11:00:54 -07:00
Pierre Wendling
8875aa3cd9
[glib] update to 2.76.0 (#30316)
* [glib] Bump to 2.76.0

* [glib] Update baseline.
2023-03-22 16:35:27 -07:00
Pierre Wendling
f468f46b78
[glib] Bump to 2.75.3 (#29644)
* [glib] Update to 2.75.3.

* [glib] Fix intl detection when consumed in CMake.

When consuming glib in CMake through `pkg_check_modules`, libintl
(provided by `gettext`) needs to specified in the pc file as `-lintl`
without any quotation. Otherwise it is not picked up as a dependency
and static linking fails.

Also `vcpkg_fixup_pkgconfig` needs to be called before editing pc files.

* [glib] Cleanup portfile.

* [glib] Update baseline.
2023-02-15 10:00:35 -08:00
Alexander Neumann
c61d55dbd9
[Glib] update to 2.75.1 (#28546)
* [glib] update to 2.75.1

* v db
2022-12-27 00:53:38 -08:00
Alexander Neumann
f7608f748a
[glib] update to 2.75.0 (#28246)
* [glib] update to 2.75.0

* remove empty folder

* empty dir removal

* v db

* v db
2022-12-12 14:37:00 -08:00
Kai Pastor
10f955dd4a
[glib] Update and cleanup (#27554)
* Update and cleanup [skip actions]

* Trim patch

* Update versions
2022-10-31 16:05:59 -07:00
hesham-essam
51b5543484
[glib]: bump version to 2.74.0 (#26949)
* [glib]: bump version to 2.74.0

* Disable gtkdocize for libmount

* restore git-tree

* update version

* Recommend installing libselinux1-dev to enable selinux support

Co-authored-by: Jonliu1993 <13720414433@163.com>
2022-10-13 11:20:24 -07:00
Hesham Essam
88fe6621ed
[glib]: fix pkgconfig tools path (#26743)
* [glib]: fix pkgconfig tools path

* Update version database
2022-09-13 16:50:41 -07:00
Billy O'Neal
42886097a9
[glib] Support static build on Windows. (#25937)
* [glib] Support static build on Windows.

As suggested by @Neumann-A

* Remove ci.baseline.txt entries.

* ci.baseline.txt updates.

REGRESSION: atk:x64-windows-static failed with BUILD_FAILED. If expected, add atk:x64-windows-static=fail to C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: gdk-pixbuf:x64-windows-static failed with BUILD_FAILED. If expected, add gdk-pixbuf:x64-windows-static=fail to C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: glibmm:x64-windows-static failed with BUILD_FAILED. If expected, add glibmm:x64-windows-static=fail to C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: glibmm:x64-windows-static-md failed with BUILD_FAILED. If expected, add glibmm:x64-windows-static-md=fail to C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: gstreamer:x64-windows-static failed with BUILD_FAILED. If expected, add gstreamer:x64-windows-static=fail to C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: gstreamer:x64-windows-static-md failed with BUILD_FAILED. If expected, add gstreamer:x64-windows-static-md=fail to C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: lcm:x64-windows-static-md failed with BUILD_FAILED. If expected, add lcm:x64-windows-static-md=fail to C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: libgxps:x64-windows-static-md failed with BUILD_FAILED. If expected, add libgxps:x64-windows-static-md=fail to C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt.
Previously blocked by glib supports expression.

REGRESSION: mfl:x64-windows-static-md failed with BUILD_FAILED. If expected, add mfl:x64-windows-static-md=fail to C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt.
This was not blocked before but it's an ICE; I'm going to hope it's intermittent I guess?

Drive by fixed alphabetizing boringssl.

* [mfl] Skip ICE.

* openscap was previously blocked by the supports, the others are just extending the static-md skip to static.
2022-08-03 18:59:19 -07:00
Osyotr
b29fa4b8ef
[glib] Fix x64-linux-dynamic build (#26074) 2022-08-01 12:48:35 -07:00
Frank
e347f74179
[glib] update to 2.72.3 (#25853)
* [glib] update to 2.72.3

* update version

* add patch

* overwrite version

* patch name

* version

* update patch

* version
2022-07-22 10:54:34 -07:00
Billy O'Neal
309f985971
[atk,gdk-pixbuf,glib] Use vcpkg_from_gitlab. (#24541)
* [atk,gdk-pixbuf,glib] Use vcpkg_from_gitlab.

* Add quotes and licenses.
2022-05-06 11:20:25 -07:00
talregev
43e3594578
Add ipv6 glib source code source (#24503) 2022-05-02 20:45:24 -07:00
Alonso Schaich
e00234bedd
2022 03 19 glib update (#23652)
* [glib] Update to 2.70.5 (microsoft#23647)

See https://github.com/GNOME/glib/commits/glib-2-70 for an
extensive list of changes

* [glibmm] update to 2.70 (microsoft#23649)

See https://github.com/GNOME/glibmm/commits/glibmm-2-70 for an
extensive list of changes

* [glibmm] support msvc2022 (microsoft#23650)

The latest release of glibmm manually configures the v142 compiler
toolchain to be used on msvc2022 environments, which results in
binarycache and export metadata to indicate msvc's v143 compiler
having built the package while it was in fact the v142 toolchain
from the windows sdk.

Upstream has "fixed" this issue, but the patch didn't make it into
the latest release. Apply
  https://github.com/GNOME/glibmm/commit/b3a77c3
manually on our side to make sure we use the toolchain we
instructed to be used.
2022-03-21 13:42:20 -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
Alexander Neumann
60a8f7971e
[glib] update to 2.70.1 (#21676)
* [glib] update to 2.70.1

* version stuff

* fix dependency

* version stuff

* CI Retrigger

* trying to fix glib on osx.

* version stuff

* Trigger CI
2021-11-29 12:31:32 -08:00
Dawid Wróbel
a2fcb03749
[libmount] New port (#21491)
* [libmount] new port

* [libmount] update versions

* [kf5solid] add libmount feature

* [kf5solid] update versions

* [kf5kio] add libmount dependency

* [kf5kio] update versions

* [libmount] Remove libmount-dev from Linux CI image

* [glib] Add libmount feature

* [glib] update versions

* [ECM] fix linking against static LibMount

* [ECM] update versions

* [kf5solid] make libmount feature a default on Linux

* [kf5solid, kf5kio] update versions
2021-11-23 20:54:53 -08:00
autoantwort
d5e338ae9f
[glib] remove absolute paths (#21065) 2021-11-09 11:49:00 -08:00
Alexander Neumann
546813ae7b
[glib up to gtk] update and make it work with meson (#13100)
* update glib to meson

* update ci baseline

* update glib to 2.66.3
remove cmakelists

* fix some minor meson issue but meson is still a mess

* add_bin_to_path to vcpkg_install_meson

* regen docs

* try fixing/touching all glib dependent ports

* fix libsigcpp-3 version

* fix glibmm

* fix gmime

* fix libcroco

* update libnice

* fix atk build

* update harfbuzz

* fix few builds

* update libxmlpp

* fix gdk-pixbuf

* fix gts

* gts add patch

* remove old libsigcpp

* add missing comma

* fix supports logic

* fix name mismatch

* restore original ci baseline.

* fix a lot of small details.
increment controls.

* fix harfbuzz & glib

* bump port version

* update port_versions

* fix version field

* update versions

* fix glib in harfbuzz

* update port versions

* silly uppercase type

* update port-versions

* fix cairo build

* update version

* fix atk

* update atk port-verisons

* fix gts public includes

* update versions

* fix cairomm

* fix pango

* fix ignition

* update versions.

* fix gtk

* fix librsvg

* update versions

* fix atk linux

* fix libgpod

* update versions

* fix lcm

* fix librsvg

* update pango and pangomm

* update pango to meson

* more updates

* update pixman

* fix cairo

* fix cairo

* some fixes

* reorder meson a bit

* add none.txt for meson

* fix x86_x64 to x86 "cross" builds

* add tiff pkgconfig

* update gdk-pixbuf

* fix tiff and jpeg

* add graphene

* fix gdk-pixbuf

* add sassc

* update gtk

* fix cairo complete build

* add harfbuzz inlcude in pango since meson does not add it into pkgconfig.

* fix gtk build. Remaining issue fix install script.

* fix gtk build

* fix io2d

* add supports field

* fix cartographer?

* fix librsvg build

* fix gtk build

* fix cartographer

* fix sassc on linux

* fix tiff and libjpeg pc files

* fix pixman x86

* _isnanf is undefined on arm-

* merge fix for make on arm64

* fix gdk-pixbuf on arm64-windows

* pixman remove test/demos.
should fix it on osx.

* [vcpkg_install_meson] add bin to path to run code generators

* [vcpkg_configure_meson]
deactivate native compiler in cross builds
make x86 on x86_x64 a native instead of a cross build
(as long as we are not building for UWP)

* pixman reenable UWP support.

* pixman reenable arm support

* add pixman:arm-uwp=fail to baseline

* update gtkmm

* remove double whitespaces

* gtk baseline
gtk dependency on cairo x11
remove double spaces in flags

* fix linux build

* native none again

* cairo fix cairo-script.pc

* comment out patch since the cairo changes should have fixed it.

* disable wayland backend in GTK since CI is missing system packages

* silly typo in cairo pc file correction
install lzo pc on windows

* remove double spaces in _FLAGS
remove unnecessary comments

* actually disabling wayland backend

* fix glib codegen issue having the wrong path

* try to fix paths in glib codegen

* integrate changes form #12860

* add the uwp patch back in

* deactivate extra harfbuzz shapers.

* vcpkg x-add-version --all --overwrite-version

* remove patches in tesseract.

* fix version

* rerun add-version

* add libgpod:x64-linux=fail to baseline due to missing system tools/libraries

* change regex to take double - into account.

* run x-add-version

* run format-manifest

* add missing removal of multiple spaces back into the regex

* remove ws diff change

* fix gtkmm the upstream way

* remove ws to reduce diff

* make glib build on osx

* format manifest

* run x-add-version

* add pthread dependency

* update baseline due to glib compiling on osx now.

* add meson as a dep to glib

* - add glib host dependencies
- switch to manifest of touched ports

* switch to manifest.

* [libxml2] add gnuinstalldirs

* [libxml2] add missing include of GNUInstallDirs

* add version info

* add include dir to pc files ....

* update version

* add UWP as crosscompiling target

* Apply suggestions from code review

* trying to fix cairo pthread detection on osx.

* fix libmicrohttpd by adding the required system frameworks on osx

* fix poppler by not removing the CXX standard

* fix missing coretext header from harfbuzz in pano

* fix formating issues

* fix librsvg on osx

* revert version changes

* bump version

* version stuff.

* fix graphene version stuff

* fix version stuff

* removing ports from ci baseline to cause me pain

* move cairomm:x64-linux=fail
to gtkmm:x64-linx=fail
remove pangomm:x64-osx=fail

* fix typo

* revert ws changes to vcpkg_install_meson

* update port version after merge

* version stuff

* fix fluidsynth by adding vcpkg_check_features

* move cairo to ci baseline on osx

* version stuff

* fluidsynth corrections

* more version stuff

* apply code review changes

* clean version stuff.

* update version stuff

* code review cleanup

* version stuff

* formating

* update version stuff again

* remove gdi again

* version stuff

* version stuff

* version baseline

* Apply strega-nil suggestions from code review

* run x-add-version

* reset versions to upstream/master

* v8 CONTROL -> json

* reset fluidsynth to upstream/master

* first batch of version-string -> version conversion

* second and last batch of version-string -> version conversions

* update version stuff

* disable gdi feature in harfbuzz (missing user32 linkage in qt5-base)

* version stuff

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* more CR stuff

* update versions

* back out provision changes so that pr can be merged.

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-04-26 10:28:21 -07:00
Phoebe
38c6fbd0c7
[glib] Fix pkgconfig files (#15360)
* [glib] Fix pkgconfig files

* Use GLIB_VERSION instead
2020-12-30 10:39:50 -08:00
Phoebe
df99d8dcc2
[glib/gts] Add pkgconfig files (#11884)
* [glib/gts] Add pkgconfig files

* Update the patch

* Update ports/glib/CMakeLists.txt
2020-06-11 21:30:40 -07:00
NancyLi1013
6c0d8bdd61
[glib] Update the usage of string(TOUPPER ...) (#10856)
* [glib] Update the usage of string(TOUPPER ...)

* Add a newline to the end of the file

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-05-07 22:22:28 -07:00
Lily
ee0716be5b [glib] Install msvc_recommended_pragmas.h to <vcpkg>/installed/include (#9054) 2020-01-06 15:07:30 -08:00
JackBoosY
741106fa23 [glib]Fix missing dependency selinux. (#7988)
* [glib]Fix missing dependency selinux.

* [glib]Improve warning message.

* [sdl1]Set selinux to a feature.

* Update portfile.cmake
2019-09-16 15:10:11 -07:00
Lily
2b78cac373 [glib] Fix install config.h (#7963)
* [glib] Fix install config.h
2019-08-30 11:53:11 -07:00
driver1998
5ea9105f15 [glib] arm/arm64 windows support (#6116)
* glib port update for arm/arm64 windows

* bump glib version to 2.52.3-14
2019-05-03 16:21:44 -07:00
Victor Romero
050e71d01d
Remove references to CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS (#5937)
* [various ports] remove references to CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS

* [alac,benchmark,capnproto] Fix  check_linkage call

* [fastlz] Fix SHA512

* [coroutine] Fix dynamic build

* [folly] Find double-conversion

* [gamma] Use vcpkg_from_github

* [librsync] Enable static builds

* [netcdf-cxx4] Fix SHA512

* [octomap] Fix static build

* [tidy-html5] Fix static build

* [various ports] remove custom messages for shared/static builds, modernize some scripts in the meantime

* [folly] Use ras0219's fix for link paths

* [octomap] Fix exported targets

* [uvatlas] Set tool download SHA512

* [duktape+python2] fix portfile to call configure with correct python version, manage python2 also outside win32

* [suitesparse] osx fix

* [gtkmm] Call vcpkg_check_linkage after including vcpkg functions

* [duktape] Resolve conflicts

* [duktape] FIxed typo in Python paths

* [wangle] Find zlib

* [openssl-uwp] Fix SHA512

* [glib] Allow static builds on non-Windows

* [suitesparse] Fix build on Windows

* [multiple ports] Bump CONTROL version

* [multiple ports] Fix description indent

* [directxtk] Fix CONTROL file

* [bde,duktape,qpid-proton] Build packages with python2 installed

* [binn] remove CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS

* [gdal,live555,uriparser] Fix regressions

* [live555] Update to 2019.04.24
2019-05-02 22:57:43 -07:00
Todor Prokopov
1afa2b0f7b Build glib on x86-linux (#5313)
* Build glib on x86-linux

* [libffi] Code cleanup

* [glib] Use CMAKE_CXX_FLAGS instead of VCPKG_CXX_FLAGS

* [libffi] Use ${TARGET} in conditions
2019-02-28 22:58:46 -08:00
Robert Schumacher
984d95fa5f [glib] Add unofficial exports to propagate static dependencies 2018-07-17 16:09:12 -07:00
Robert Schumacher
79a526a375 [glib][glibmm] Fix for non-windows. For glibmm, use CMake replacement buildsystem. 2018-04-19 10:40:06 -07:00
Robert Schumacher
26fabaf880 [glib][atk] Disable static builds, fix generation to happen outside the source directory 2018-03-05 12:07:43 -08:00
codicodi
c0da751264 [glib] update to 2.52.3 2017-08-30 15:08:46 +02:00
codicodi
257ba6f7ac [glib] update to 2.52.2 2017-05-10 23:29:37 +02:00
codicodi
0af686a9f7 [glib] update to 2.52.1 2017-04-09 11:15:32 +02:00
codicodi
83e7591377 [glib] update to 2.50.3 2017-03-13 23:29:40 +01:00
codicodi
f5a0a64e44 [glib] tooools 2017-01-14 02:59:41 +01:00
codicodi
eb7ccc1223 Revert "[glib] use win_iconv and add subdir for tools"
This reverts commit ccd3e399f0.
2017-01-14 02:55:41 +01:00