public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libsurvive] rawhide: Update to latest (fedora#2569267).
@ 2026-11-10 16:18 Jonathan Steffan
  0 siblings, 0 replies; only message in thread
From: Jonathan Steffan @ 2026-11-10 16:18 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/libsurvive
Branch : rawhide
Commit : e65ba35485edc5f7b1ba2fedcbc9134680e04b18
Author : Jonathan Steffan <jsteffan@fedoraproject.org>
Date   : 2026-11-10T09:16:55-07:00
Stats  : +3/-60 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/libsurvive/c/e65ba35485edc5f7b1ba2fedcbc9134680e04b18?branch=rawhide

Log:
Update to latest (fedora#2569267).

---
diff --git a/libsurvive-gss-scene-cleanup.patch b/libsurvive-gss-scene-cleanup.patch
deleted file mode 100644
index 30de176..0000000
--- a/libsurvive-gss-scene-cleanup.patch
+++ /dev/null
@@ -1,53 +0,0 @@
---- a/src/driver_global_scene_solver.c
-+++ b/src/driver_global_scene_solver.c
-@@ -63,29 +63,31 @@
- 	SurviveSensorActivations *activations = &so->activations;
-
--	// TT clean up scenes with invalid SurviveObjects
--	unsigned int free_idx = 0;
--	for (int i = 0; i < GSS_NUM_STORED_SCENES; i++) {
--		if (gss->scenes[i].so == NULL) {
--			continue;
--		}
--		
--		bool is_still_valid = false;
--		if (gss->scenes[i].so == so) {
--			is_still_valid = true;
--		}
--		for (int j = 0; j < ctx->objs_ct; j++) {
--			if (gss->scenes[i].so == ctx->objs[j]) {
--				is_still_valid = true;
--			}
-+	// Drop stored scenes whose SurviveObject no longer exists (e.g. a tracker that was turned off and on again).
-+	// Only the first min(scenes_cnt, N) slots hold scenes. Kept scenes are compacted to the front by swapping whole
-+	// entries so each scene keeps its own pose and measurements and no meas buffer is shared or leaked.
-+	size_t stored = gss->scenes_cnt < GSS_NUM_STORED_SCENES ? gss->scenes_cnt : GSS_NUM_STORED_SCENES;
-+	size_t kept = 0;
-+	for (size_t i = 0; i < stored; i++) {
-+		bool is_still_valid = gss->scenes[i].so == so;
-+		for (int j = 0; j < ctx->objs_ct && !is_still_valid; j++) {
-+			is_still_valid = gss->scenes[i].so == ctx->objs[j];
- 		}
-
- 		if (is_still_valid) {
--			gss->scenes[free_idx].so = gss->scenes[i].so;
--			free_idx++;
-+			if (kept != i) {
-+				struct PoserDataGlobalScene tmp = gss->scenes[kept];
-+				gss->scenes[kept] = gss->scenes[i];
-+				gss->scenes[i] = tmp;
-+			}
-+			kept++;
- 		} else {
--			SV_WARN("in GlobalSceneSolver: deleted scene %d with SurviveObject at adress &%p", i, (void* )so);
-+			SV_WARN("in GlobalSceneSolver: deleted scene %d with SurviveObject at address %p", (int)i,
-+					(void *)gss->scenes[i].so);
-+			gss->scenes[i].so = NULL;
- 		}
- 	}
--	gss->scenes_cnt = free_idx;
-+	// Only touch the ring position when something was actually removed
-+	if (kept != stored)
-+		gss->scenes_cnt = kept;
-
- 	struct PoserDataGlobalScene *scene = &gss->scenes[gss->scenes_cnt % GSS_NUM_STORED_SCENES];

diff --git a/libsurvive.spec b/libsurvive.spec
index 0fee2a7..0b06711 100644
--- a/libsurvive.spec
+++ b/libsurvive.spec
@@ -1,5 +1,5 @@
-%global date 20261009
-%global commit 23f03665070549f0c13a6e768dfaf7764f75c417
+%global date 20261103
+%global commit 44b1e2f0cb95e5697bc0b86f58fd8520a813b713
 %global shortcommit %{sub %{commit} 1 7}
 
 # These are artifacts used by the unit tests
@@ -46,10 +46,6 @@ Patch:          %{name}-no-external-project.patch
 Patch:          %{name}-eigen3.patch
 # Do not build the bundled puff and crc32; zlib provides both
 Patch:          %{name}-system-zlib.patch
-# add_scenes() cleanup (f23d298) copies only the SurviveObject pointer when
-# compacting and resets the scene ring counter on every call, which feeds
-# mismatched scenes to the global solver and fails 2 ctest cases
-Patch:          %{name}-gss-scene-cleanup.patch
 
 ExclusiveArch:  aarch64 %{ix86} x86_64
 

diff --git a/sources b/sources
index 995f3a8..59128da 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (libsurvive-23f0366.tar.gz) = 313b0dc7dda01f8063f845167fddfd137c824bb7cfb8f38632e64fe860f7da640b497a5168876e57f7d92c93143f7e0951dfd961b88c293d270d2499c2e0c270
+SHA512 (libsurvive-44b1e2f.tar.gz) = e6e2cd1fab275b2ca4877899aa1d0785a7d879d7b7f1afe45dc00544ab1c56092088dcf3cfe199e81b7acefbc2adf521aa7aea343de628117a3d1c7f3558b692
 SHA512 (libsurvive-extras-data-1d5bdc7.tar.gz) = 297dda3a3ff02e97656176e1423284ed472804e5abb9be536a173782335843f39657cb742d9452884ac65177b72ca0469012e986cc01630cab18f8ca5e53428e

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-10 16:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-10 16:18 [rpms/libsurvive] rawhide: Update to latest (fedora#2569267) Jonathan Steffan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox