* 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
* [gtk, gtk3] Fix install gschemas.compiled of glib-2.0
* update version
* Revert changes of gtk3 and disable install gschemas.compiled by gtk
* update version
* Update gtk3.json
* [python3] Update to 3.11.3
* Force set PythonForBuild on windows
* Set LD_LIBRARY_PATH on unix
* Always use vcpkg_find_acquire_program(PYTHON3) on windows
* Remove LD_LIBRARY_PATH shenanigans
* [vtk] Parse python version from include folder
* Fix static builds on windows
* Pass --with-build-python on unix
* [omniorb] Fix python version in patch
* Resurrect rpath patch
* [python3] fix usage
* [gobject-introspection] don't hardcode python version
* Update vcpkg_find_aquire_program(PYTHON3)
This is also required for gobject-introspection
* [paraview] don't hardcode python version
* [vtk-dicom] don't hardcode python version
* Update python in vcpkgTools.xml
* Fix host arch detection in vcpkg_find_acquire_program(PYTHON3)
* [libpq] Don't hardcode python version
* [shiva] Don't pass python variables
* [vcpkg-get-python-packages] Delete unused file, update hardcoded python version
* [python3] update to 3.11.4
* [omniorb] Use PREPEND in vcpkg_add_to_path
So that python from vcpkg is picked before system python
* libpq quickfix
* re-fix libpq
* fix vcpkg-get-python-packages
* Make windows 7 patch compatible with unix builds
* Copy pyd files to bin
Also fixes copying files that do not belong to current build tree
* Fix static builds
* Speculatively fix osx regression
* Fix omniorb on unix
* [gobject-introspection] fix windows builds
* [vtk] Update vendored copy of mpi4py for python 3.11 support
* [mdl-sdk] Fix python
* [gobject-introspection] fix the fix of a fix...
* Update versions
* Undo changes in gobject-introspection and vcpkg_find_aquire_program(PYTHON3)
---------
Co-authored-by: root <root@DESKTOP-UIPL9V8>
* Xbox triplets should not support ports with only copyleft licenses
* Reverted ports that build with xbox currently
* Fix conflict and rebase
* Update baseline
* Update baseline
* [games101-cgl] new port
* [games101-cgl] update version file
* [games101-cgl] update version dataset
* Updated the logic for installing the source code repository
* Updated the logic for installing the source code repository
* Update ports/games101-cgl/portfile.cmake
Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
* modify installation behavior
* add git-tree id
* Update version database
* add usage
* modify download hash
* update version data
---------
Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
* Update version to 1.1.6
* run `./vcpkg x-add-version --all --overwrite-version`
* Bump gtl version to 1.1.8
* run `./vcpkg x-add-version --all --overwrite-version`
* Replace hard coded version with `"v${VERSION}"`
* update gtl.json
* Fix version database.
---------
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* [gtk] update to 4.10.1 (microsoft#30896)
gtk-4.8.2 and newer no longer contain a python script to emulate meson's
post-install logic, so we can't manually trigger it after patching meson
not to run the post-install. Patch the meson file to run the post-install
even when cross-compiling, though if it's execution is optional and all
it does is to generate some caches, i.e. pollute the build system, then
we might be better off not running the post-install logic at all.
Also, we now have a direct harfbuzz dependency by gtk/gtkmain.c and
it also needs harfbuzz with glib support enabled.
* [gtk] Regenerate version registries (microsoft#30896)
This aligns with the behaviour of other ports like QT and GStreamer
deadlocks when trying to load glib shared libraries if they are in
the plugin directory.
* [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.
* update geotrans:SHA512
* update version
* format
* update version
* update geotrans 3.9
* update version
* format
* update version
---------
Co-authored-by: MonicaLiu <v-liumonica@microsoft.com>
* [libwebp] Update to 1.3.0
* Fix [core] on x64-osx
* Fix features and dependencies
* Cleanup tool installation
* Usage
* Lift restriction for vwebp tool
* [mapnik] Fix libwebp
* [qt5-imageformats] Use libwebp pc files
* Revert "Lift restriction for vwebp tool"
This reverts commit 42e0273f654117844ae317c06cbaf521d70462e4.
* [gdal] Use upstream WebP config
* Revert no longer necessary changes to mapnik.
* Remove unnecessary patch that git checkout didn't remove.
---------
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* Use VERSION
* Update to 0.21.1
* Update win unicode paths patch
* Revise uwp patches
* Cleanup
* Build tools for uwp in CI
* tools not supported on uwp
* Add license GPL3.0-or-later.
gettext.c has:
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
* Fix license, but better.
* Version database
---------
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* Add wayland to glfw3 port
* Results of x-add-version
* Add Wayland package info to build message
* Ran x-add-version following previous commit
* Update ports/glfw3/vcpkg.json to add wayland dependency
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
* Correct formatting of vcpkg.json
* Ran x-add-version following previous commit
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
* Use official zstd config
* Require packages for features
* Test zstd in CI
* Enable libtiffxx on arm
* Update versions
* Assume ZSTD_decompressStream
* Don't put targets into TIFF_LIBRARIES
* [qt5-imageformats] Use libtiff-4.pc
* [zstd] Revise thread lib export
* Mark link libs with LINK_ONLY
* Revert "[zstd] Revise thread lib export"
This reverts commit a99e6378a67adc68e9e43e6e193206a5ddcba60e.
* [qt5-imageformats] Get all tiff lflags
* [gdk-pixbuf] Use libtiff-4 pc file for msvc
* [qtimageformat] Workaround for QTBUG-95052
* Create portfile.cmake
* Add manifest and patches for glpk-5.0
* Shrink portfile.cmake
Removed some comments
* Update ci.baseline.txt to list glpk:x86-windows
* Addressing some reviewer comments and suggestions
* Addressing comments from microsoft/vcpkg#28364
* Trying out x86-windows again
* Updating the version database
* x-add-version glpk
* Addressing reviews
* Update version database: x-add-version glpk
* More compact code thanks to PR reviews
* format-manifest ports/glpk/vcpkg.json
* Update version database: x-add-version glpk
* No default features
* Update version database: x-add-version glpk
* [ideviceinstaller] Add support !static
* Modify port-version
* x-add-version
* Add getopt as a dependence of argtable2
* Use version
* x-add-version
* Remove space
* Add license
* Fix format error
* x-add-version
* update version
* fix argtable3
* x-add-version
* fix argtable3
* version
* fix gdcm
* format portfile.cmake
* update version
* format vcpkg.json
* x-add-version
* format portfile.cmake
* x-add-version
* Update license
* x-add-version
* Again
* Mistake
Co-authored-by: Lily Wang <494550702@qq.com>
Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
* Update g3log to 2.1
* Update g3log version manifest
* Add license as specified by the github actions bot
* Reupdate the version info again
* [g3log] Address reviews
* Update g3log version manifest
* Update to GStreamer v1.20.3
* Fixed gst-plugins-bad * Made optional dependences features * Added webrtc feature
* webrtc dependency fixes
Set meson option 'gst_debug' to true for both debug and release configurations
Enabled dtls and srtp plugins
Fixed srtp plugin
* [gstreamer] Changed version to 1.20.4
* [gstreamer] Reworked port file
* [gst-rtsp-server] Updated to version 1.20.4
* [opencv4] Update GStreamer dependency
* [qtmultimedia] Update GStreamer dependency
* [qtmultimedia] Enabled AVFoundation (part of the Apple Frameworks)
* [qtbase] Fix PCRE2 static linking for GLib
* Added versions
Co-authored-by: Gerard Ryan <gerard.ryan@immersaview.com>
Co-authored-by: David Ely <david.ely@immersaview.com>
* try qt 6.4-beta4
* fix patch
* fix copyright install
* fix qtdeclarative
* always perform import prefix correction
* adjust qtmultimedia
* fix qttools
* add missing "
* fix linux ?
* fix qtmultimedia with gstreamer
* fix qtvirtualkeyboard
* fix qtwebengine
* fix qmllint regression in qtdeclarative on osx/linux
* fix details
* fix qttools deps
* fix qtdeclarative deps
* remove xcb feature
* fix hunspell patch
* bump qtbase
* add qt3d
* format manifest
* test features in CI
* pass ci baseline stuff
* vulkan is skip in ci so cannot force it.
* remove extra ,
* fix deps
* try to fix promotion
* gstreamer adjustments.
* fix gstreamer on linux
* fix gstreamer stuff
* fix x264 api import macro
* fix gst-rsp-server
* correctly replace
* promote targets....
* enable arm64 qtwebengine
* --trace-expand
* install wrapper for egl.
* add newline
* remove opengl from skip list
* add gl to link
* another try
* retry again
* test dynamic angle linkage
* retry
* link XNVCtrl
* retry
* add libxnvctrl
* retry
* retry again...
* move wrapper to angle
* revert changes to egl-reg
* more debugging
* try again
* fix stuff
* add missing ,
* egl stuff
* wrapper stuff
* fix angle
* remove double dep
* remove libxnvctrl
* format manifest
* revert trace
* bump version
* bump v
* v db
* remove trace
* v db
* refine supports
* v db
* remove qtmultimedia from baseline
* format manifest
* update all the stuff
* refine qtmultimedia
* fix qtmultimedia?
* fix stuff
* fix stuff ?
* trace again
* Try fixing qtmultimedia for static windows builds.
* is ci faster than me...?
* refine
* fix gstreamer static usage
* fix all the qt things!
* fix the path
* try getting logs.
* fix patch
* trace stuff
* only fix stuff when it needs fixing
* force lookup of system EGL. migth need a wrapper in opengl instead.
* try fixing opengl
* don't directly call _find_package
* don't search in install prefix
* retry
* disable trace
* have the correct fix for linux ?
* move angle into a subfolder. No way to deal with it otherwise on linux.
* make the wrapper do nothing
* try fixing allegro5
* lower case
* remove wrapper
* v db
* remove trace
* v db
* remove trace
* v db
* try fixing allegro5 on arm
* retry again
* try again
* revert allegro
* put on ci baseline
* v db
* v db
* bump port
* v db fix
* remove conflicting wrapper
* v db
* glib now uses pcre2
* fix gstreamer picking up egl on windows
* v db
* fix find_package call
* Add bullet feature control
* Disable Qt
* Update versions
* Remove obsolete qt patch junk
* Update versions
* v db
* comments
* v db
* v db
* v db
* v db
* restore correction lost in merge
* v db
* promote to global
* v db
* Fix minimal qtbase builds with opengl disabled
* make host dependency on qtshadertools a normal dependency in qtmultimedia.
* v db
* opengl dynamic doesn't work on !windows
* v db
Co-authored-by: Kai Pastor <dg0yt@darc.de>
* [graphene] update to 1.10.8 (microsoft#27397)
* [graphene] regenerate versions registries (microsoft#27397)
* Use VERSION declared by vcpkg itself, add quotes.
* Add license field.
* Modernize vcpkg_extract_source_archive_ex
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* Minor changes
* Shortcut loaders.cache generation
With -Dbuiltin-loaders=all, the cache file contains nothing but comment lines.
However, the generation is flaky on windows in vcpkg CI.
* Revise tool fixup (fixes mingw cross builds)
* Update versions
* Make glslang binaries an optional feature
* Update versions
* Use 'tools' instead of 'binaries' as feature name
* Update versions
Co-authored-by: Miro Vilkki <miro.vilkki@basemark.com>
* [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>
* [tbb] Update to 2021.3.0
* [tbb] Add Threads dependency
* [pagmo2] Update to support new TBB
* [openvdb] Update to 8.1.0
* [embree2] Remove from baseline -- it is no longer receiving support from upstream
* [usd] Mark as unsupported
* [usd] Disable USD in CI due to policy https://github.com/PixarAnimationStudios/USD/issues/1600
* [openvdb] Bump port-version
* Update version database
* [pagmo2] Fix vcpkg.json
* update version
* wip update
* versions
* [embree2] deprecate, [openvdb,usd] resolve conflicts, [tbb] update
* Added libxml port.
* Remove port version as it's initial port.
* Added baseline version
* Support only for windows and static
* Allowed building debug version
* update versions
* Update ports/libxpm/portfile.cmake
Co-authored-by: Thomas1664 <46387399+Thomas1664@users.noreply.github.com>
* Added new lines
* Update ports/libxpm/vcpkg.json
Co-authored-by: Thomas1664 <46387399+Thomas1664@users.noreply.github.com>
* Update ports/libxpm/portfile.cmake
Co-authored-by: Thomas1664 <46387399+Thomas1664@users.noreply.github.com>
* Update ports/libxpm/vcpkg.json
Co-authored-by: Thomas1664 <46387399+Thomas1664@users.noreply.github.com>
* Regenerated versions
* Update ports/libxpm/vcpkg.json
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
* Libxpm is taken from gitlab now.
* Dropped changes against master in original repo for libxpm.
* Dropped libxpm from baseline
* Dropped version for libxpm
* Update cpuinfo
* Updated date of version
* Update version database
* Removed support for arm32 & uwp as library is not supporting it.
* Version regenerated
* Update ports/cpuinfo/vcpkg.json
Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
* Updated versions
* Initial commit WIP
* Fixed compilation of latest stable version
* Dropped comments
* Switch from version-string to version
* Added versions
* Fixed path of cmake files for other projects
* Updated versions
* Various modernization.
* Fully mark embree2 as deprecated.
* [pagmo2] Disable -Werror
* [cctag] Fix finding and use of TBB.
* [openvdb] Baseline the static versions because they exceed FFFFFFFF in size, and I'm not sure if that's fixable....
* [gazebo] Apply https://github.com/osrf/gazebo/pull/3174 patch to fix TBB.
* Respond to failures in https://dev.azure.com/vcpkg/public/_build/results?buildId=76586
* [pagmo2] Add license. See 19d774fbb6/src/bfe.cpp (L5-L27)
* [tbb] Add license.
* [embree2] Add "license".
* [tbb] Use vcpkg_cmake_config_fixup and fix version as requested by @LilyWangLL
* [usd] Add usd is known broken message.
* [embree2] Remove completely.
* Fix version database.
* Fix usd version database.
* Fix wrong case on Linux.
* Lowercase the tbb directory to get to their configs.
* [cctag] minimize patches
* [tbb] Apply supports expression fix suggested in https://github.com/microsoft/vcpkg/pull/26284#discussion_r967427833
* [usd] Add note about upstream issue.
* [pagmo2] Minimize patch.
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
Co-authored-by: Mathis Logemann <mathisloge@gmail.com>
Co-authored-by: Victor Romero <viromer@microsoft.com>
Co-authored-by: Vladimír Aubrecht <vladimir.aubrecht@me.com>
Co-authored-by: Thomas1664 <46387399+Thomas1664@users.noreply.github.com>
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>