Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package Box2D for openSUSE:Factory checked in at 2021-02-17 18:08:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/Box2D (Old) and /work/SRC/openSUSE:Factory/.Box2D.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "Box2D" Wed Feb 17 18:08:59 2021 rev:3 rq:871296 version:2.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/Box2D/Box2D.changes 2016-08-25 09:56:28.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.Box2D.new.28504/Box2D.changes 2021-02-17 18:09:17.165829966 +0100 @@ -1,0 +2,54 @@ +Thu Feb 11 16:05:01 UTC 2021 - Mark??ta Machov?? <mmach...@suse.com> + +- Fix the source URL + +------------------------------------------------------------------- +Thu Dec 3 19:47:03 UTC 2020 - andy great <andythe_gr...@pm.me> + +- Update to version 2.4.1. + * API Changes + * Extended distance joint to have a minimum and maximum limit. + * Removed rope joint. Use the distance joint instead. + * B2_USER_SETTINGS and b2_user_settings.h can control user + data, length units, and maximum polygon vertices. + * Default user data is now uintptr_t instead of void* + * b2FixtureDef::restitutionThreshold lets you set the + restitution velocity threshold per fixture. + * BREAKING Changes + * BREAKING: distance joint 0 stiffness now means the spring is + turned off rather than making the joint rigid. + * BREAKING: distance joint minimum and maximum must be set + correctly to get old behavior. + * Infrastructure + * Library installation function available in CMake. + * Shared library (DLL) option available. + * Bug fixes +- Updates since 2.3.1 + * Infrastructure + * Documentation in Doxygen format + * Unit test support + * Continuous integration testing using Travis CI + * Limited use of C++11 (nullptr and override) + * Collision + * Chain and edge shape must now be one-sided to eliminate ghost + collisions + * Broad-phase optimizations + * Added b2ShapeCast for linear shape casting + * Dynamics + * Joint limits are now predictive and not stateful + * Experimental 2D cloth (rope) + * b2Body::SetActive -> b2Body::SetEnabled + * Better support for running multiple worlds + * Handle zero density better + * The body behaves like a static body + * The body is drawn with a red color + * Added translation limit to wheel joint + * World dump now writes to box2d_dump.inl + * Static bodies are never awake + * All joints with spring-dampers now use stiffness and damping + * Added utility functions to convert frequency and damping + ratio to stiffness and damping +- Remove Box2D-fix-version-2.3.1.patch, fixed. +- Change package name from Box2D to box2d. + +------------------------------------------------------------------- Old: ---- Box2D-2.3.1.tar.gz Box2D-fix-version-2.3.1.patch New: ---- box2d-2.4.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ Box2D.spec ++++++ --- /var/tmp/diff_new_pack.DJ5262/_old 2021-02-17 18:09:17.685830391 +0100 +++ /var/tmp/diff_new_pack.DJ5262/_new 2021-02-17 18:09:17.689830395 +0100 @@ -1,7 +1,7 @@ # # spec file for package Box2D # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2012 Adam Mizerski <a...@mizerski.pl> # # All modifications and additions to the file contributed by third parties @@ -13,60 +13,51 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define so_ver 2_3_1 +%define major 2 +%define libname libbox2d Name: Box2D -Version: 2.3.1 +Version: 2.4.1 Release: 0 Summary: A 2D Physics Engine for Games -License: Zlib +License: MIT Group: Development/Libraries/C and C++ -Url: http://box2d.org/ -Source0: https://github.com/erincatto/Box2D/archive/v%{version}/%{name}-%{version}.tar.gz +URL: https://box2d.org/ +Source0: https://github.com/erincatto/box2d/archive/v%{version}.tar.gz#/box2d-%{version}.tar.gz Source1: baselibs.conf -# PATCH-FIX-UPSTREAM Box2D-fix-version-2.3.1.patch -- already fixed upstream -Patch0: %{name}-fix-version-2.3.1.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cmake >= 3 -BuildRequires: dos2unix BuildRequires: gcc-c++ -%if 0%{?suse_version} -BuildRequires: fdupes -%endif +BuildRequires: glew-devel +BuildRequires: libX11-devel +BuildRequires: libXcursor-devel +BuildRequires: libXi-devel +BuildRequires: libXinerama-devel +BuildRequires: libXrandr-devel +BuildRequires: libglfw-devel %description Box2D is an open source C++ engine for simulating rigid bodies in 2D. -%package -n lib%{name}%{so_ver} +%package -n %{libname}%{major} Summary: A 2D Physics Engine for Games Group: System/Libraries -%description -n lib%{name}%{so_ver} +%description -n %{libname}%{major} Box2D is an open source C++ engine for simulating rigid bodies in 2D. -%package -n lib%{name}-devel +%package -n %{libname}-devel Summary: A 2D Physics Engine for Games Group: Development/Libraries/C and C++ -Requires: lib%{name}%{so_ver} = %{version} +Requires: %{libname}%{major} = %{version} -%description -n lib%{name}-devel -Box2D is an open source C++ engine for simulating rigid bodies in 2D. - -%package doc -Summary: A 2D Physics Engine for Games -Group: Documentation/Other -BuildArch: noarch - -%description doc +%description -n %{libname}-devel Box2D is an open source C++ engine for simulating rigid bodies in 2D. %prep -%setup -q -n %{name}-%{version}/%{name} -dos2unix Changes.txt License.txt Readme.txt -%patch0 +%setup -q -n box2d-%{version} %build %cmake \ @@ -76,32 +67,23 @@ -DBOX2D_BUILD_STATIC=OFF \ -DBOX2D_BUILD_EXAMPLES=OFF \ -DCMAKE_BUILD_TYPE=RelWithDebInfo -make VERBOSE=1 %{?_smp_mflags} +%make_build %install %cmake_install -%if 0%{?suse_version} -%fdupes -s %{buildroot}%{_datadir}/doc/%{name}/Documentation/API/html -%endif - -%post -n lib%{name}%{so_ver} -p /sbin/ldconfig - -%postun -n lib%{name}%{so_ver} -p /sbin/ldconfig - -%files -n lib%{name}%{so_ver} -%defattr(-,root,root,-) -%{_libdir}/lib%{name}.so.* - -%files -n lib%{name}-devel -%defattr(-,root,root,-) -%{_includedir}/%{name} -%{_libdir}/lib%{name}.so -%{_libdir}/%{name} -%{_libdir}/cmake/%{name} - -%files doc -%defattr(-,root,root,-) -%doc Changes.txt License.txt Readme.txt -%{_datadir}/doc/%{name}/ + +%post -n %{libname}%{major} -p /sbin/ldconfig +%postun -n %{libname}%{major} -p /sbin/ldconfig + +%files -n %{libname}%{major} +%license LICENSE +%doc README.md +%{_libdir}/%{libname}.so.%{major} +%{_libdir}/%{libname}.so.%{version} + +%files -n %{libname}-devel +%{_includedir}/box2d +%{_libdir}/%{libname}.so +%{_libdir}/cmake/box2d %changelog ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.DJ5262/_old 2021-02-17 18:09:17.721830421 +0100 +++ /var/tmp/diff_new_pack.DJ5262/_new 2021-02-17 18:09:17.721830421 +0100 @@ -1,2 +1,2 @@ -libBox2D2_3_1 -libBox2D-devel +libbox2d2 +libbox2d-devel ++++++ Box2D-2.3.1.tar.gz -> box2d-2.4.1.tar.gz ++++++ ++++ 256610 lines of diff (skipped)