* 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 42e0273f65.
* [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 a99e6378a6.
* [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>