Skip to contentSkip to conversation

libmatchbox: fix version mismatch

PATCH In review Yi Zhao 3 participants 3 messages Apr 30, 2025

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/1 libmatchbox: fix version mismatch

Backport a patch to update version to 1.13 to match current version.

---
 ...ate-version-to-match-the-tag-version.patch | 30 +++++++++++++++++++
 .../libmatchbox/libmatchbox_1.13.bb           |  3 +-
 2 files changed, 32 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-graphics/libmatchbox/files/0001-configure.ac-update-version-to-match-the-tag-version.patch
meta/recipes-graphics/libmatchbox/files/0001-configure.ac-update-version-to-match-the-tag-version.patch new file +30 -0
new file mode 100644
index 0000000000..093adc89ae
@@ -0,0 +1,30 @@
+From 18a5c0969cdf2e6e2e20ad29e7b23c6fb58dcd6c Mon Sep 17 00:00:00 2001
+From: Yi Zhao <[email protected]>
+Date: Tue, 29 Apr 2025 10:25:29 +0800
+Subject: [PATCH] configure.ac: update version to match the tag version
+
+Update version to 1.13 to match the current tag.
+
+Upstream-Status: Backport
+[https://git.yoctoproject.org/libmatchbox/commit/?id=18a5c0969cdf2e6e2e20ad29e7b23c6fb58dcd6c]
+
+Signed-off-by: Yi Zhao <[email protected]>
+Signed-off-by: Richard Purdie <[email protected]>
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index ab9f60f..0ef4977 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1,5 +1,5 @@
+ AC_PREREQ(2.53)
+-AC_INIT([libmatchbox], 1.12, [[email protected]])
++AC_INIT([libmatchbox], 1.13, [[email protected]])
+ AC_CONFIG_SRCDIR([libmb/mbtray.c])
+ 
+ AC_CONFIG_AUX_DIR(.)
+-- 
+2.34.1
+
meta/recipes-graphics/libmatchbox/libmatchbox_1.13.bb +2 -1
index f212eb5e96..af3aa23110 100644
@@ -14,7 +14,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=87712c91ca9a2c2d475a0604c00f8f54 \
 DEPENDS = "virtual/libx11 libxext"
 
 SRCREV = "35cd78efa3120efc46497f55c04382be960d1864"
-SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master;protocol=https;tag=${PV}"
+SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master;protocol=https;tag=${PV} \
+           file://0001-configure.ac-update-version-to-match-the-tag-version.patch"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.34.1
#1 lore raw
Quoted 35 lines · Yi Zhao via lists.openembedded.org

Backport a patch to update version to 1.13 to match current version.

---
 ...ate-version-to-match-the-tag-version.patch | 30 +++++++++++++++++++
 .../libmatchbox/libmatchbox_1.13.bb           |  3 +-
 2 files changed, 32 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-graphics/libmatchbox/files/0001-configure.ac-update-version-to-match-the-tag-version.patch
meta/recipes-graphics/libmatchbox/files/0001-configure.ac-update-version-to-match-the-tag-version.patch new file +20 -0
new file mode 100644
index 0000000000..093adc89ae
@@ -0,0 +1,30 @@
+From 18a5c0969cdf2e6e2e20ad29e7b23c6fb58dcd6c Mon Sep 17 00:00:00 2001
+From: Yi Zhao <[email protected]>
+Date: Tue, 29 Apr 2025 10:25:29 +0800
+Subject: [PATCH] configure.ac: update version to match the tag version
+
+Update version to 1.13 to match the current tag.
+
+Upstream-Status: Backport
+[https://git.yoctoproject.org/libmatchbox/commit/?id=18a5c0969cdf2e6e2e20ad29e7b23c6fb58dcd6c]
+
+Signed-off-by: Yi Zhao <[email protected]>
+Signed-off-by: Richard Purdie <[email protected]>
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index ab9f60f..0ef4977 100644
+--- a/configure.ac
++++ b/configure.ac

meta/recipes-graphics/libmatchbox/files/0001-configure.ac-update-version-to-match-the-tag-version.patch line 30

Quoted 10 lines
meta/recipes-graphics/libmatchbox/files/0001-configure.ac-update-version-to-match-the-tag-version.patch new file +10 -0
+@@ -1,5 +1,5 @@
+ AC_PREREQ(2.53)
+-AC_INIT([libmatchbox], 1.12, [[email protected]])
++AC_INIT([libmatchbox], 1.13, [[email protected]])
+ AC_CONFIG_SRCDIR([libmb/mbtray.c])
+ 
+ AC_CONFIG_AUX_DIR(.)
+-- 
+2.34.1
+

I wonder if instead of carrying a patch in master branch for a Yocto-internal project wouldn't it be better to create a new tag with the correct version info.

Quoted 14 lines
meta/recipes-graphics/libmatchbox/libmatchbox_1.13.bb +2 -1
index f212eb5e96..af3aa23110 100644
@@ -14,7 +14,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=87712c91ca9a2c2d475a0604c00f8f54 \
 DEPENDS = "virtual/libx11 libxext"
 
 SRCREV = "35cd78efa3120efc46497f55c04382be960d1864"
-SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master;protocol=https;tag=${PV}"
+SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master;protocol=https;tag=${PV} \
+           file://0001-configure.ac-update-version-to-match-the-tag-version.patch"
 
 S = "${WORKDIR}/git"
 
#2 lore raw

On Wed, 2025-04-30 at 10:32 +0200, Gyorgy Sarvari via lists.openembedded.org wrote:
On 4/30/25 02:39, Yi Zhao via lists.openembedded.org wrote:
Backport a patch to update version to 1.13 to match current version.

---
 ...ate-version-to-match-the-tag-version.patch | 30 +++++++++++++++++++ .../libmatchbox/libmatchbox_1.13.bb           |  3 +-

 2 files changed, 32 insertions(+), 1 deletion(-)

 create mode 100644 meta/recipes-graphics/libmatchbox/files/0001- configure.ac-update-version-to-match-the-tag-version.patch

(quoted diff) +0 -0

update-version-to-match-the-tag-version.patch b/meta/recipes- graphics/libmatchbox/files/0001-configure.ac-update-version-to-match- the-tag-version.patch
new file mode 100644
index 0000000000..093adc89ae
--- /dev/null
+++ b/meta/recipes-graphics/libmatchbox/files/0001-configure.ac-update- version-to-match-the-tag-version.patch
@@ -0,0 +1,30 @@
+From 18a5c0969cdf2e6e2e20ad29e7b23c6fb58dcd6c Mon Sep 17 00:00:00 2001 +From: Yi Zhao <[email protected]>
+Date: Tue, 29 Apr 2025 10:25:29 +0800
+Subject: [PATCH] configure.ac: update version to match the tag version +
+Update version to 1.13 to match the current tag.
+
+Upstream-Status: Backport +[https://git.yoctoproject.org/libmatchbox/commit/?id=18a5c0969cdf2e6e2 e20ad29e7b23c6fb58dcd6c]
+
+Signed-off-by: Yi Zhao <[email protected]> +Signed-off-by: Richard Purdie <[email protected]>

+---
+ configure.ac | 2 +-

+ 1 file changed, 1 insertion(+), 1 deletion(-) +
+diff --git a/configure.ac b/configure.ac +index ab9f60f..0ef4977 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1,5 +1,5 @@
+ AC_PREREQ(2.53)
+-AC_INIT([libmatchbox], 1.12, [[email protected]]) ++AC_INIT([libmatchbox], 1.13, [[email protected]])
+ AC_CONFIG_SRCDIR([libmb/mbtray.c])
+
+ AC_CONFIG_AUX_DIR(.)
+--
+2.34.1
+

I wonder if instead of carrying a patch in master branch for a Yocto-internal project wouldn't it be better to create a new tag with the correct version info.

FWIW I agree. I'll create a 1.14.

Cheers,

Richard

Quoted 2 lines