mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
libgudev: update 234 -> 236
Convert to meson. (From OE-Core rev: 80bf33236e26c57f441ebebce758afad9900f27e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ab3a1f4262
commit
b36bf2f6d4
@@ -0,0 +1,44 @@
|
|||||||
|
From 078c0db2bc3adf7c665190ee7a9263d7fd1ec618 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||||
|
Date: Thu, 29 Apr 2021 13:06:12 +0200
|
||||||
|
Subject: [PATCH] gudevenumtypes: make deterministic
|
||||||
|
|
||||||
|
@filename@ writes the full path to the generated file,
|
||||||
|
which can vary in CI systems and make outputs non-reproducible.
|
||||||
|
|
||||||
|
Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/libgudev/-/merge_requests/15]
|
||||||
|
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||||
|
---
|
||||||
|
gudev/gudevenumtypes.c.template | 2 +-
|
||||||
|
gudev/gudevenumtypes.h.template | 2 +-
|
||||||
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/gudev/gudevenumtypes.c.template b/gudev/gudevenumtypes.c.template
|
||||||
|
index fc30b39..4918f7e 100644
|
||||||
|
--- a/gudev/gudevenumtypes.c.template
|
||||||
|
+++ b/gudev/gudevenumtypes.c.template
|
||||||
|
@@ -4,7 +4,7 @@
|
||||||
|
/*** END file-header ***/
|
||||||
|
|
||||||
|
/*** BEGIN file-production ***/
|
||||||
|
-/* enumerations from "@filename@" */
|
||||||
|
+/* enumerations from "@basename@" */
|
||||||
|
/*** END file-production ***/
|
||||||
|
|
||||||
|
/*** BEGIN value-header ***/
|
||||||
|
diff --git a/gudev/gudevenumtypes.h.template b/gudev/gudevenumtypes.h.template
|
||||||
|
index d0ab339..79bf7c4 100644
|
||||||
|
--- a/gudev/gudevenumtypes.h.template
|
||||||
|
+++ b/gudev/gudevenumtypes.h.template
|
||||||
|
@@ -9,7 +9,7 @@ G_BEGIN_DECLS
|
||||||
|
|
||||||
|
/*** BEGIN file-production ***/
|
||||||
|
|
||||||
|
-/* enumerations from "@filename@" */
|
||||||
|
+/* enumerations from "@basename@" */
|
||||||
|
/*** END file-production ***/
|
||||||
|
|
||||||
|
/*** BEGIN value-header ***/
|
||||||
|
--
|
||||||
|
2.30.2
|
||||||
|
|
||||||
+9
-3
@@ -5,18 +5,24 @@ other programming languages, such as Javascript, because of GObject \
|
|||||||
introspection support."
|
introspection support."
|
||||||
HOMEPAGE = "https://wiki.gnome.org/Projects/libgudev"
|
HOMEPAGE = "https://wiki.gnome.org/Projects/libgudev"
|
||||||
BUGTRACKER = "https://gitlab.gnome.org/GNOME/libgudev/issues"
|
BUGTRACKER = "https://gitlab.gnome.org/GNOME/libgudev/issues"
|
||||||
SRC_URI[archive.sha256sum] = "1baeacacf0db42fa073ad5183d1decce9317857416a2b0f82ce3370d711a2e37"
|
SRC_URI[archive.sha256sum] = "e50369d06d594bae615eb7aeb787de304ebaad07a26d1043cef8e9c7ab7c9524"
|
||||||
|
|
||||||
|
SRC_URI_append = " file://0001-gudevenumtypes-make-deterministic.patch"
|
||||||
|
|
||||||
DEPENDS = "glib-2.0 udev"
|
DEPENDS = "glib-2.0 udev"
|
||||||
|
|
||||||
EXTRA_OECONF = "--disable-umockdev"
|
|
||||||
|
|
||||||
RCONFLICTS_${PN} = "systemd (<= 220)"
|
RCONFLICTS_${PN} = "systemd (<= 220)"
|
||||||
|
|
||||||
LICENSE = "LGPLv2.1"
|
LICENSE = "LGPLv2.1"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
|
||||||
|
|
||||||
|
GNOMEBASEBUILDCLASS = "meson"
|
||||||
inherit gnomebase gobject-introspection gtk-doc
|
inherit gnomebase gobject-introspection gtk-doc
|
||||||
|
|
||||||
|
GIR_MESON_ENABLE_FLAG = 'enabled'
|
||||||
|
GIR_MESON_DISABLE_FLAG = 'disabled'
|
||||||
|
|
||||||
|
GTKDOC_MESON_OPTION = "gtk_doc"
|
||||||
|
|
||||||
UPSTREAM_CHECK_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgudev/"
|
UPSTREAM_CHECK_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgudev/"
|
||||||
UPSTREAM_CHECK_REGEX = "(?P<pver>(\d+))"
|
UPSTREAM_CHECK_REGEX = "(?P<pver>(\d+))"
|
||||||
Reference in New Issue
Block a user