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.
Fixes https://github.com/microsoft/vcpkg/issues/39079
- [X] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [X] SHA512s are updated for each updated download.
- [ ] ~~The "supports" clause reflects platforms that may be fixed by
this new version.~~
- [ ] ~~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~~
- [ ] ~~Any patches that are no longer applied are deleted from the
port's directory.~~
- [X] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [X] Only one version is added to each modified port's versions file.
Usage test pass with following triplets:
```
x64-windows
x64-windows-static
```
* Updating SDL2
* Attempting to fix x64-linux downstream
* Another attempt to fix finding ALSA that doesn't break everything
* ANOTHER attempt to find ALSA properly for linux
* This time trying to change sdlFindALSA
* Attempting to use vcpkg version of ALSA
* Actually adding alsa as a dependency
* Another attempt, this time drawing from the inspiration of how libsamplerate is handled
* Another attempt, this time drawing from the inspiration of how libsamplerate is handled
* Trying a different change to sdlFindALSA
* Another attempt
* Trying to se if perhaps the SDL2Config script is problematic
* Possible fix?
* Again, trying to get linux to behave
* A bit of cleanup of unnecessary cruft
* Removing unnecessary feature
* [sdl2] Re-enable ibus as feature
This was disabled in #14275 because it caused the relevant libraries (ibus, glib, ...) to be depended on transitively.
Nowadays, SDL2 loads these completely at runtime, only needing the headers and such at compile time, so it's safe to re-enable this again.
Ibus is gated behind the "ibus" feature, which like the existing x11/wayland ones warn at installation that you need the necessary system packages to use it. The ibus feature is enabled by default.
* [sdl2] Update baseline
* Bump to 2.26.0.
* Add missing include for Wayland builds.
* Update version history
* Make `wayland` option control support altogether.
- Instead of building with/without shared support. Control whether SDL
is built with or without Wayland. See #27947.
- Removes the need for the new patch.
* Update version history.
* Fix pkg-config targets.
* install copyright with `vcpkg_install_copyright`.
* Update version history.
* Remove unecessary patch.
* Update version history.
* Fix UWP pc file.
* Update version history.
* [sdl2] Bump to 2.24.2.
* [sdl2] Add a usage file.
* [sdl2] Update baseline and version history.
* [sdl2] Update `SDL2_VERSION` variable.
* [sdl2] Update `HEAD_REF`.
* Use VERSION.
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* Fix shared libs suffix
* Remove version-string
* version
* Use cmake version of shared lib suffix
* version
* Remove old feature processing
* version
* Real fix
* [sdl2] Fix x11 feature
* format
* version
* Fix suffix again
* version
* Fix external dependencies
* version
* Fix WebP linkage
* version
* Fix PNG linkage
* version
* Mark everything as default feature for testing
* version
* Trigger rebuild of sdl2pp
* version
* congig file
* Fix flags
* version
* Fix flags
* version
* Disable UWP warnings for TIFF
* version
* Fix CXX
* version
* revert cmake version
* version
* Fix config
* version
* Revert sdl2pp
* Fix config
* version
* Create config.cmake.in file
* version
* [sdl2] Fix vulkan feature dependencies
SDL2 ships with its own copy of required Vulkan headers, so the `vulkan` port dependency here is unneeded (and unused).
* Run x-add-version sdl2
* [sdl2] Update to 2.0.14
* Revert "[sdl2] Update to 2.0.14"
This reverts commit b8e82e0dac.
* [sdl2] Update to 2.0.14
* [sdl2] Fix manifest formatting
* [sdl2] Change the shared library preprocessor symbol name to DLL_EXPORT for compatibility with SDL 2.0.14
Co-authored-by: Rémy Tassoux <rt2@rasterizedworld.com>