public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/Box2D] rawhide: Update to 3.1.1
@ 2026-06-16 13:39 Mattia Verga
0 siblings, 0 replies; only message in thread
From: Mattia Verga @ 2026-06-16 13:39 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/Box2D
Branch : rawhide
Commit : de4a348da86c5a35c1ca9a179aa16697d782e891
Author : Mattia Verga <mattia.verga@proton.me>
Date : 2026-06-06T12:56:38+02:00
Stats : +45/-6 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/Box2D/c/de4a348da86c5a35c1ca9a179aa16697d782e891?branch=rawhide
Log:
Update to 3.1.1
---
diff --git a/.gitignore b/.gitignore
index d71140e..0e21f1f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/Box2D-2.4.0.tar.gz
/Box2D-2.4.1.tar.gz
/Box2D-2.4.2.tar.gz
+/Box2D-3.1.1.tar.gz
diff --git a/Box2D.spec b/Box2D.spec
index 7276994..2f9a057 100644
--- a/Box2D.spec
+++ b/Box2D.spec
@@ -1,11 +1,13 @@
Name: Box2D
-Version: 2.4.2
-Release: 7%{?dist}
+Version: 3.1.1
+Release: 1%{?dist}
Summary: A 2D Physics Engine for Games
License: Zlib
URL: http://box2d.org/
Source0: https://github.com/erincatto/box2d/archive/v%{version}/%{name}-%{version}.tar.gz
+# Don't fetch enkiTS from git
+Patch: noenkit.patch
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: cmake
@@ -29,11 +31,16 @@ we encourage you to give credit to Box2D in your product.
These are the development files.
%prep
-%setup -qn box2d-%{version}
+%autosetup -p1 -n box2d-%{version}
rm -r extern
%build
-%cmake -DBOX2D_INSTALL=ON -DBOX2D_BUILD_SHARED=ON -DBOX2D_BUILD_TESTBED=OFF -DBOX2D_BUILD_UNIT_TESTS=OFF .
+%cmake \
+ -DBOX2D_INSTALL=ON \
+ -DBOX2D_BUILD_SHARED=ON \
+ -DBOX2D_BUILD_TESTBED=OFF \
+ -DBOX2D_BUILD_UNIT_TESTS=OFF \
+ -DBOX2D_SAMPLES=OFF .
%cmake_build
%install
@@ -41,7 +48,7 @@ rm -r extern
%files
%license LICENSE
-%{_libdir}/*.so.2*
+%{_libdir}/*.so.3*
%files devel
%doc README.md docs/
@@ -50,6 +57,9 @@ rm -r extern
%{_libdir}/cmake/box2d/*.cmake
%changelog
+* Sat Jun 06 2026 Mattia Verga <mattia.verga@proton.me> - 3.1.1-1
+- Update to 3.1.1
+
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
diff --git a/noenkit.patch b/noenkit.patch
new file mode 100644
index 0000000..f9af7b9
--- /dev/null
+++ b/noenkit.patch
@@ -0,0 +1,28 @@
+diff -U 3 -dHrN a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt 2025-06-04 02:50:24.000000000 +0200
++++ b/CMakeLists.txt 2026-06-06 11:59:54.124949920 +0200
+@@ -85,14 +85,16 @@
+
+ # Task system used in tests and samples
+ set(ENKITS_BUILD_EXAMPLES OFF CACHE BOOL "Build enkiTS examples")
+- FetchContent_Declare(
+- enkits
+- GIT_REPOSITORY https://github.com/dougbinks/enkiTS.git
+- GIT_TAG master
+- GIT_SHALLOW TRUE
+- GIT_PROGRESS TRUE
+- )
+- FetchContent_MakeAvailable(enkits)
++ if(ENKITS_BUILD_EXAMPLES)
++ FetchContent_Declare(
++ enkits
++ GIT_REPOSITORY https://github.com/dougbinks/enkiTS.git
++ GIT_TAG master
++ GIT_SHALLOW TRUE
++ GIT_PROGRESS TRUE
++ )
++ FetchContent_MakeAvailable(enkits)
++ endif()
+
+ add_subdirectory(shared)
+ endif()
diff --git a/sources b/sources
index b19b272..06df805 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (Box2D-2.4.2.tar.gz) = e769bcfa11028ea2e842bf96da4bef71a58f1b08cd144139adc724acfe3ca5911f84d0be41d9412b302d9e7c17b7741cf56da60df7bd7379c6e11b3eea100153
+SHA512 (Box2D-3.1.1.tar.gz) = 7367640e7f2ff395b8ca48766c71f57c96e08c298627c996eba76899a149ee28b0e3ecacfa4a224fdb5d160c7e25c6069bb8414fd1575787727d796097aa347b
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-16 13:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-16 13:39 [rpms/Box2D] rawhide: Update to 3.1.1 Mattia Verga
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox