public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Leonardo Rossetti <lrossett@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/librealsense] rawhide: [PATCH] fix: patch to remove hidden unicode char
Date: Fri, 10 Jul 2026 14:54:05 GMT	[thread overview]
Message-ID: <178369524578.1.8824294062015250084.rpms-librealsense-416259b97366@fedoraproject.org> (raw)

            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)

                 reply	other threads:[~2026-07-10 14:54 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=178369524578.1.8824294062015250084.rpms-librealsense-416259b97366@fedoraproject.org \
    --to=lrossett@redhat.com \
    --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