public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/librealsense] rawhide: [PATCH] fix: patch to remove hidden unicode char
@ 2026-07-10 14:54 Leonardo Rossetti
  0 siblings, 0 replies; only message in thread
From: Leonardo Rossetti @ 2026-07-10 14:54 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/librealsense
            Branch : rawhide
            Commit : 416259b973667e461b13a8861513d8d27e51bd4f
            Author : Leonardo Rossetti <lrossett@redhat.com>
            Date   : 2026-07-10T13:20:35+05:30
            Stats  : +33/-0 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/librealsense/c/416259b973667e461b13a8861513d8d27e51bd4f?branch=rawhide

            Log:
            [PATCH] fix: patch to remove hidden unicode char

Signed-off-by: Leonardo Rossetti <lrossett@redhat.com>

---
diff --git a/librealsense.fix-remove-underlying-unicode-in-rmse.py.patch b/librealsense.fix-remove-underlying-unicode-in-rmse.py.patch
new file mode 100644
index 0000000..b66c6f9
--- /dev/null
+++ b/librealsense.fix-remove-underlying-unicode-in-rmse.py.patch
@@ -0,0 +1,32 @@
+From faae2ee89c9b0dadb0b20a506d9d34fd883b99e0 Mon Sep 17 00:00:00 2001
+From: Sayan Paul <paul.sayan@gmail.com>
+Date: Tue, 30 Jun 2026 19:32:59 +0530
+Subject: [PATCH] Fix: remove underlying unicode in rmse.py
+
+---
+ wrappers/tensorflow/tools/rmse.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/wrappers/tensorflow/tools/rmse.py b/wrappers/tensorflow/tools/rmse.py
+index 87a64e1fe..622313857 100644
+--- a/wrappers/tensorflow/tools/rmse.py
++++ b/wrappers/tensorflow/tools/rmse.py
+@@ -6,7 +6,7 @@ import math
+ from matplotlib import pyplot as plt
+ import os
+ 
+-filename = "‪D:/dataset/gt-4622.png"
++filename = "D:/dataset/gt-4622.png"
+ if (len(sys.argv) > 1):
+     filename = str(sys.argv[1])
+ 
+@@ -202,4 +202,4 @@ while cv.getWindowProperty('image', 0) >= 0:
+     cv.imshow("image", im)
+     key = cv.waitKey(100) & 0xFF
+ 
+-cv.destroyAllWindows()
+\ No newline at end of file
++cv.destroyAllWindows()
+-- 
+2.55.0
+

diff --git a/librealsense.spec b/librealsense.spec
index 1660af6..06d0d4a 100644
--- a/librealsense.spec
+++ b/librealsense.spec
@@ -27,6 +27,7 @@ Patch6:         librealsense.utf8-string-literals.patch
 Patch7:         librealsense.fix-pybind11-keep-alive.patch
 # Use system lz4 via pkg-config instead of bundled static library
 Patch8:         librealsense.use-system-lz4.patch
+Patch9:         librealsense.fix-remove-underlying-unicode-in-rmse.py.patch
 
 BuildRequires:  cmake
 BuildRequires:  cmake(glfw3)

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

only message in thread, other threads:[~2026-07-10 14:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-10 14:54 [rpms/librealsense] rawhide: [PATCH] fix: patch to remove hidden unicode char Leonardo Rossetti

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