Commit Graph

18 Commits

Author SHA1 Message Date
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
Weihang Ding
17def508f8
[angle] Avoid link to frameworks with absolute path on macOS (#32890)
* [angle] Avoid link to frameworks with absolute path on macOS

* update version database
2023-08-02 09:08:34 -07:00
Regen
a5fff62846
[angle] Fix typo (#32491)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-07-11 17:35:08 -07:00
jim wang
4d1e0507a3
[angle] Fix gcc13 compilation error (#32499)
* fix uint32_t has not been declared

* update version
2023-07-11 11:20:55 -07:00
Frank
cfa560b585
[angle] Add missing GL define (#32042)
* [angle] Add missing GL define

* version

* add version

* version
2023-06-28 11:13:26 -07:00
xiaozhuai, Weihang Ding
a50b802d6b
[angle] Fix static build (#32120)
* [angle] Fix static build

* update version database
2023-06-21 17:46:47 -07:00
xiaozhuai, Weihang Ding
d5644a46ae
[angle] Fix crash on macos #29622 (#31163)
* [angle] Fix crash on macos #29622

* update version database
2023-05-02 14:47:47 -07:00
Alexander Neumann
dfd7a8275d
[angle] close #4172 (#29861)
* [angle] close #4172

* v db
2023-02-27 11:58:33 -08:00
pastdue
691244117b
[angle] Update to chromium/5414, improve build system (and future updates) (#27444)
* [angle] Update to chromium/5249

- Refactor build system based on WebKit's CMake build system for libANGLE
- Add maintainer-notes.md

* [angle] Fetch & generate more files in portfile

* [angle] Move maintainer-notes.md

* [angle] Port changes from #27701

* Merge install tweak from #28547

* [angle] Tweak PlatformLinux

* Run x-add-version

* [angle] Update to chromium/5414

* Run x-add-version

* Fix version database.

* Fix version database

---------

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
2023-02-10 11:45:11 -08:00
reito
8c9416f444
[multiple-ports] Fix missing usage (#29345)
* Fix missing usage

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes
2023-02-09 10:59:04 -08:00
friendlyanon
58054d0572
[angle] Improve UX for unofficial CMake package (#28547)
* [angle] Propagate transitive dependencies

* [angle] Add usage info for unofficial CMake targets

Only the unofficial::angle::libGLESv2 and unofficial::angle::libEGL
targets are meant to be used, because they are the targets that no other
depends on.

Co-authored-by: friendlyanon <friendlyanon@users.noreply.github.com>
2023-01-04 14:41:32 -08:00
Billy O'Neal
76a79d990d
[angle] Rename libs to avoid conflict with system OpenGL. (#27701)
* [angle] Rename libs to avoid conflict with system OpenGL.

Note that we already rename the headers in e6a79ac018/ports/angle/portfile.cmake (L77)

Also remove what appears to be phantom dependency in qt5-base when not Windows, @Neumann-A reports over Discord https://discord.com/channels/400588936151433218/687365466422902841/1038241263494893649 that they just need any OpenGL implementation.

* Don't rename on Windows.
2022-11-08 11:49:29 -08:00
Alexander Neumann
e1a1ddd093
[Qt3D] add missing qt port (#26928)
* 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
2022-10-12 01:21:25 -07:00
Dawid Wróbel
2f0a16b5ae
[angle] update list of required apt packages (#26815)
* [angle] fix the name of Ubuntu/Debian mesa dev package

* [angle] update version
2022-09-29 14:30:01 -07:00
xiaozhuai, Weihang Ding
52955a7ae5
Fix angle macos build (#24750)
* Fix angle macos build

* Fix angle port version

* Fix angle port version

* Fix angle_common source files for macos

* upgrade angle port version to #4

* Fix angle port version, again...

* Fix angle port version, again, again...
2022-05-18 14:34:45 -07:00
Chris Djali
d4aa0d2bfe
[angle] Enable ANGLE's desktop GL backend (#19891)
* Enable ANGLE's desktop GL backend

Only the D3D and GLES backends were available, but getting desktop GL to
work is trivial.

The Vulkan backend would be a much bigger task, unfortunately.

* x-add-version

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-09 14:11:10 -07:00
Kai Pastor
a9613b5775
[angle] Fix mingw build (#19307)
* Fix import lib prefixes

* Fix mingw build

* x-add-version
2021-08-18 17:21:04 -07:00
pastdue
1c20782ea4
[angle] Update to chromium/4472 (#18432)
* [angle] Update to chromium/4472

* Run x-add-version angle
2021-07-20 11:56:02 -07:00