public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mattia Verga <mattia.verga@proton.me>
To: git-commits@fedoraproject.org
Subject: [rpms/Box2D] rawhide: Update to 3.1.1
Date: Tue, 16 Jun 2026 13:39:16 GMT	[thread overview]
Message-ID: <178161715680.1.2277105675020276540.rpms-Box2D-de4a348da86c@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-06-16 13:39 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=178161715680.1.2277105675020276540.rpms-Box2D-de4a348da86c@fedoraproject.org \
    --to=mattia.verga@proton.me \
    --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