Package: libsfml / 3.0.1+dfsg-1

Metadata

Package Version Patches format
libsfml 3.0.1+dfsg-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01_unbundle_catch.patch | (download)

test/CMakeLists.txt | 16 1 + 15 - 0 !
1 file changed, 1 insertion(+), 15 deletions(-)

 unbundle catch2
 Use the system version from libcatch2-dev instead.
03_unbundle_vulkan.patch | (download)

src/SFML/Window/CMakeLists.txt | 3 2 + 1 - 0 !
src/SFML/Window/Unix/VulkanImplX11.cpp | 2 1 + 1 - 0 !
2 files changed, 3 insertions(+), 2 deletions(-)

 unbundle vulkan
 Use headers from libvulkan-dev and link directly to the library
 instead of using bundled copy removed from extlibs.
04_unbundle_stb.patch | (download)

src/SFML/Graphics/CMakeLists.txt | 4 3 + 1 - 0 !
src/SFML/Graphics/Image.cpp | 2 0 + 2 - 0 !
2 files changed, 3 insertions(+), 3 deletions(-)

 unbundle libstb
 Use headers from libstb-dev and link directly to the library instead
 of using bundled copy removed from extlibs.
05_cmake_override_doc_path.patch | (download)

cmake/SFMLConfig.cmake.in | 15 1 + 14 - 0 !
1 file changed, 1 insertion(+), 14 deletions(-)

 override sfml_doc_path in sfmlconfig.cmake
 The existing detection assumes the documentation is installed in
 /usr/share/doc/SFML, but we install it into
 /usr/share/doc/libsfml-dev.
06_pkgconfig libs private.patch | (download)

tools/pkg-config/sfml-audio.pc.in | 1 0 + 1 - 0 !
tools/pkg-config/sfml-graphics.pc.in | 3 0 + 3 - 0 !
tools/pkg-config/sfml-window.pc.in | 2 0 + 2 - 0 !
3 files changed, 6 deletions(-)

 remove *.private fields from pkg-config files
 This avoids unnecessary dependencies which are only needed when building static
 libraries. It also removes the unused dependency on glu.
07_skip_IpAddress_tests.patch | (download)

test/Network/IpAddress.test.cpp | 12 8 + 4 - 0 !
1 file changed, 8 insertions(+), 4 deletions(-)

 stop running tests that require network access
08_skip_sfPacket_tests.patch | (download)

test/Network/Packet.test.cpp | 6 6 + 0 - 0 !
1 file changed, 6 insertions(+)

 skip sf::packet tests that fail on big-endian
09_fix pkgconfig.patch | (download)

CMakeLists.txt | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 fix pkg-config when sfml_pkgconfig_install_dir is unset
 Commit e5127715e64a ("Install pkgconfig only if module is built")
 attempted to move the pkg-config installation rules into
 `sfml_add_library`, but this fails if `SFML_PKGCONFIG_INSTALL_DIR` is
 unset because this code is run before the default value is set in
 `CMakeLists.txt`.
 .
 Fix by moving the `add_subdirectory(src/SFML)` line below the
 pkg-config setup code.
10_sfmlconfig_policy.patch | (download)

cmake/SFMLConfig.cmake.in | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 set cmake_policy in sfmlconfig.cmake
 `SFMLConfig.cmake` uses the `if(... IN_LIST` feature which requires
 policy `CMP0057` to be enabled (added in CMake 3.3). If an application
 uses `find_package(SFML)` with a minimum CMake version set to less
 than `3.3`, the `IN_LIST` lines cause a CMake error.
 .
 Fix this by setting the minimum CMake policy we require in
 `SFMLConfig.cmake`. CMake keeps a policy stack so this does not affect
 the application's policy.