This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Subject: Add a small script to update .po files
Author:  Mauro Carvalho Chehab <[email protected]>
Date:    Thu Feb 5 12:07:32 2026 +0100

With auto-tools, updating .po files were automatically done during
normal build. Meson has a special target for it, but it has to be
called twice (one for v4l-utils and another one for libdvbv5).

As syntax is a little bit weird, and it sounds that nobody did that
for quite a while, since the po files we have are from 2023:

    -"POT-Creation-Date: 2023-02-23 09:16+0100\n"
    -"POT-Creation-Date: 2023-02-23 09:16+0100\n"
    -"POT-Creation-Date: 2023-08-03 14:12+0200\n"
    -"POT-Creation-Date: 2023-02-23 09:16+0100\n"
    -"POT-Creation-Date: 2023-02-23 09:16+0100\n"
    -"POT-Creation-Date: 2023-02-23 09:16+0100\n"
    -"POT-Creation-Date: 2023-02-23 09:16+0100\n"
    -"POT-Creation-Date: 2023-02-23 09:16+0100\n"
    -"POT-Creation-Date: 2023-02-23 09:16+0100\n"
    -"POT-Creation-Date: 2025-06-10 23:30+0200\n"
    -"POT-Creation-Date: 2023-02-23 09:16+0100\n"
    -"POT-Creation-Date: 2023-02-23 09:16+0100\n"
    -"POT-Creation-Date: 2023-02-23 09:16+0100\n"

It means that nobody did that after we moved to Meson.

So, add a small helper script to do that.

Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 sync-with-kernel.sh |  4 ++++
 update_po.sh        | 10 ++++++++++
 2 files changed, 14 insertions(+)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=8f43398145e19a0741cefab6475589194b7a0361
diff --git a/sync-with-kernel.sh b/sync-with-kernel.sh
index 12a2a5313cf7..8e29341b0c8f 100755
--- a/sync-with-kernel.sh
+++ b/sync-with-kernel.sh
@@ -28,6 +28,10 @@ if [ -z "${KERNEL_DIR}" -o \
        exit 1
 fi
 
+# Update translations
+echo "Updating transations"
+./update_po.sh
+
 cp -a ${KERNEL_DIR}/usr/include/linux/videodev2.h ${TOPSRCDIR}/include/linux
 cp -a ${KERNEL_DIR}/usr/include/linux/fb.h ${TOPSRCDIR}/include/linux
 cp -a ${KERNEL_DIR}/usr/include/linux/vesa.h ${TOPSRCDIR}/include/linux
diff --git a/update_po.sh b/update_po.sh
new file mode 100755
index 000000000000..23121e7a5164
--- /dev/null
+++ b/update_po.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+if [ ! -d "build" ]; then
+    meson setup build
+fi
+
+( cd build && \
+ ( meson compile v4l-utils-update-po;
+   meson compile libdvbv5-update-po; )
+)
_______________________________________________
linuxtv-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to