public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jeremy Newton <Jeremy.Newton@amd.com>
To: git-commits@fedoraproject.org
Subject: [rpms/SFML] rawhide: Update to 3.1.0
Date: Wed, 18 Nov 2026 15:54:23 GMT [thread overview]
Message-ID: <179501726357.1.10693412339712599486.rpms-SFML-0ecdfeeed64f@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/SFML
Branch : rawhide
Commit : 0ecdfeeed64f6f076168e289982bb3aee5662763
Author : Jeremy Newton <Jeremy.Newton@amd.com>
Date : 2026-11-18T10:49:24-05:00
Stats : +30/-12 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/SFML/c/0ecdfeeed64f6f076168e289982bb3aee5662763?branch=rawhide
Log:
Update to 3.1.0
---
diff --git a/.gitignore b/.gitignore
index 4e341b2..e307da0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
/SFML-2.5.1-clean.tar.gz
/SFML-2.6.1-sources.zip
/SFML-2.6.2-sources.zip
+/SFML-3.1.0-sources.zip
+/SheenBidi-3.0.0-sources.zip
diff --git a/SFML.spec b/SFML.spec
index 4e830ca..fe97b93 100644
--- a/SFML.spec
+++ b/SFML.spec
@@ -1,5 +1,7 @@
+%global sheenbidi_version 3.0.0
+
Name: SFML
-Version: 2.6.2
+Version: 3.1.0
Release: %autorelease
Summary: Simple and Fast Multimedia Library
@@ -46,21 +48,26 @@ URL: http://www.sfml-dev.org/
# And here's the PR that changed (most) of the things: https://github.com/SFML/SFML/pull/1718
Source0: https://www.sfml-dev.org/files/%{name}-%{version}-sources.zip
+Source1: https://github.com/Tehreer/SheenBidi/archive/refs/tags/v%{sheenbidi_version}.zip#/SheenBidi-%{sheenbidi_version}-sources.zip
+
+# Fedora doesn't have this yet, and upstream appears to assume bundling:
+Provides: bundled(SheenBidi) = %{sheenbidi_version}
BuildRequires: cmake
BuildRequires: doxygen
BuildRequires: gcc-c++
BuildRequires: pkgconfig(flac)
BuildRequires: pkgconfig(freetype2)
-BuildRequires: pkgconfig(glew)
-BuildRequires: pkgconfig(libjpeg)
+BuildRequires: pkgconfig(libssh2)
BuildRequires: pkgconfig(libsystemd)
-BuildRequires: pkgconfig(openal)
-BuildRequires: pkgconfig(sndfile)
+BuildRequires: pkgconfig(mbedtls)
+BuildRequires: pkgconfig(opengl)
BuildRequires: pkgconfig(vorbis)
BuildRequires: pkgconfig(xcb-image)
BuildRequires: pkgconfig(xcursor)
+BuildRequires: pkgconfig(xi)
BuildRequires: pkgconfig(xrandr)
+BuildRequires: qoi-static
BuildRequires: stb_image-devel >= 2.30^20251025gitf1c79c0-2
BuildRequires: stb_image_write-devel
# BuildRequires: vulkan-headers
@@ -83,22 +90,25 @@ developing applications that use %{name}.
%prep
-%autosetup -p1
+%autosetup -p1 -a 1
# fixup non needed executable permission on regular files
find -type f -print0 | xargs -0 chmod -x
+#
+sed -i "s/add_custom_target(doc/add_custom_target(doc ALL/" doc/CMakeLists.txt
+sed -i "s/Doxygen::doxygen/\${DOXYGEN_EXECUTABLE}/" doc/CMakeLists.txt
-# use system-wide extlibs; so, delete everything except glad, minimp3 and vulkan header files
+# use system-wide extlibs; so, delete everything except cpp-unicodelib, glad, dr_mp3, miniaudio, and vulkan header files
pushd extlibs
shopt -s extglob
-rm -r !(headers)
cd headers/
-rm -r !(glad|minimp3|vulkan)
+rm -r !(cpp-unicodelib|dr_mp3|glad|miniaudio|vulkan)
shopt -u extglob
popd
%build
-%cmake -DSFML_BUILD_DOC=TRUE
+%cmake -DSFML_BUILD_DOC=TRUE \
+ -DFETCHCONTENT_SOURCE_DIR_SHEENBIDI:PATH=$(pwd)/SheenBidi-%{sheenbidi_version}
%cmake_build
@@ -108,7 +118,7 @@ popd
%files
%doc %{_datadir}/doc/%{name}/readme.md
%license %{_datadir}/doc/%{name}/license.md
-%{_libdir}/libsfml-*.so.2*
+%{_libdir}/libsfml-*.so.3*
%files devel
%doc %{_datadir}/doc/%{name}/html/*
@@ -117,6 +127,11 @@ popd
%{_includedir}/%{name}/
%{_libdir}/pkgconfig/sfml-*.pc
%{_libdir}/libsfml-*.so
+#exclude bundled devel files:
+%exclude %{_includedir}/SheenBidi/
+%exclude %{_libdir}/cmake/SheenBidi/*.cmake
+%exclude %{_libdir}/libSheenBidi.a
+%exclude %{_libdir}/pkgconfig/sheenbidi.pc
%changelog
diff --git a/sources b/sources
index 7c8a384..e9aea0a 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
-SHA512 (SFML-2.6.2-sources.zip) = bbbcc55766a7da16a7293117328b80ba028e653bf3e32f7a8e84f9509464635b2295d4557c51fa2e4cb4649237940178a7310271f1f246705e1fcc6cf7803070
+SHA512 (SFML-3.1.0-sources.zip) = 10c3d47635e5a51d0e357ea4e71372323873882b7f78311d4901a2d64ca9d3f80fece3c3aaa234e81867e2ef1055b2b8acec5d8b04a87be11e5f610868b6e910
+SHA512 (SheenBidi-3.0.0-sources.zip) = 597a146a32625d9eebfe2781ed6465aa43acc79cd7a9b4c7abc046f848e09493c2361abde4590962a1d60a9dd2e7d068efcb81cbb92bd1c80655ddcc7de2cd5d
reply other threads:[~2026-11-18 15:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179501726357.1.10693412339712599486.rpms-SFML-0ecdfeeed64f@fedoraproject.org \
--to=jeremy.newton@amd.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox