* [PATCH 1/2] libgudev: fix SRC_URI
@ 2021-06-28 16:04 Ross Burton
2021-06-28 16:04 ` [PATCH 2/2] cantarell-fonts: " Ross Burton
0 siblings, 1 reply; 2+ messages in thread
From: Ross Burton @ 2021-06-28 16:04 UTC (permalink / raw)
To: openembedded-core
Since oe-core fa8950d0c the logic to turn a version into a directory name
doesn't work for versions which are too short.
Solve this by overriding gnome_verdir() to return the version as-is, as
that is what the directory is called.
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
meta/recipes-gnome/libgudev/libgudev_236.bb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta/recipes-gnome/libgudev/libgudev_236.bb b/meta/recipes-gnome/libgudev/libgudev_236.bb
index daa578ddb19..5d1d2d782be 100644
--- a/meta/recipes-gnome/libgudev/libgudev_236.bb
+++ b/meta/recipes-gnome/libgudev/libgudev_236.bb
@@ -26,3 +26,8 @@ GTKDOC_MESON_OPTION = "gtk_doc"
UPSTREAM_CHECK_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgudev/"
UPSTREAM_CHECK_REGEX = "(?P<pver>(\d+))"
+
+# This isn't a GNOME-style version do gnome_verdir fails. Just return the
+# version as that is how the directory is structured.
+def gnome_verdir(v):
+ return v
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 2/2] cantarell-fonts: fix SRC_URI
2021-06-28 16:04 [PATCH 1/2] libgudev: fix SRC_URI Ross Burton
@ 2021-06-28 16:04 ` Ross Burton
0 siblings, 0 replies; 2+ messages in thread
From: Ross Burton @ 2021-06-28 16:04 UTC (permalink / raw)
To: openembedded-core
Since oe-core fa8950d0c the logic to turn a version into a directory name
doesn't work for versions which are too short.
Solve this by overriding gnome_verdir() to return the version as-is, as
that is what the directory is called.
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
.../cantarell-fonts/cantarell-fonts_0.301.bb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.301.bb b/meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.301.bb
index 8dc4ceb399e..b0ce56127d8 100644
--- a/meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.301.bb
+++ b/meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.301.bb
@@ -20,3 +20,8 @@ HASHEQUIV_HASH_VERSION .= ".2"
EXTRA_OEMESON += "-Duseprebuilt=true -Dbuildappstream=false"
FILES_${PN} = "${datadir}/fonts ${datadir}/fontconfig"
+
+# This isn't a GNOME-style version do gnome_verdir fails. Just return the
+# version as that is how the directory is structured.
+def gnome_verdir(v):
+ return v
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-28 16:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-28 16:04 [PATCH 1/2] libgudev: fix SRC_URI Ross Burton
2021-06-28 16:04 ` [PATCH 2/2] cantarell-fonts: " Ross Burton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.