diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-03-15 07:16:57 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-03-19 11:49:45 +0000 |
commit | 70e450217bc1ec7e36293fde52ae77c7b682463c (patch) | |
tree | 037175238bca5c12f7171dc1f6f87703cbab631d | |
parent | d8e3567d85ce673f17a765ca00741c2a4725d563 (diff) | |
download | poky-70e450217bc1ec7e36293fde52ae77c7b682463c.tar.gz |
dbus-glib: Upgrade 0.112 -> 0.114
License-Update: Upstream added SPDX tags and more license information. The
main license is AFL-2.1 | GPL-2.0-or-later however some files are
LGPL-2.1-or-later or MIT licensed. The bash completiion plugin is
GPL-2.0-or-later only.
Therefore:
* Add checksums for the separated license files
* Update the main LICENSE
* Specify the correct license for the bash completion plugin
(From OE-Core rev: 82f2675ad3821398a849ced303b6f637f14723d1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/dbus/dbus-glib/no-examples.patch | 16 | ||||
-rw-r--r-- | meta/recipes-core/dbus/dbus-glib/test-install-makefile.patch | 17 | ||||
-rw-r--r-- | meta/recipes-core/dbus/dbus-glib_0.114.bb (renamed from meta/recipes-core/dbus/dbus-glib_0.112.bb) | 15 |
3 files changed, 30 insertions, 18 deletions
diff --git a/meta/recipes-core/dbus/dbus-glib/no-examples.patch b/meta/recipes-core/dbus/dbus-glib/no-examples.patch index 32e7611718..3e2fa41c59 100644 --- a/meta/recipes-core/dbus/dbus-glib/no-examples.patch +++ b/meta/recipes-core/dbus/dbus-glib/no-examples.patch | |||
@@ -1,14 +1,20 @@ | |||
1 | Disable compiling examples | 1 | From 8bb06c2f0929a4b878fd9abdb63c177a7c308b9d Mon Sep 17 00:00:00 2001 |
2 | From: Kevin Tian <kevin.tian@intel.com> | ||
3 | Date: Tue, 21 Nov 2006 14:20:37 +0000 | ||
4 | Subject: [PATCH] Disable compiling examples | ||
2 | 5 | ||
3 | Upstream-Status: Inappropriate [disable feature] | 6 | Upstream-Status: Inappropriate [disable feature] |
4 | 7 | ||
5 | Signed-off-by: Kevin Tian <kevin.tian@intel.com> | 8 | Signed-off-by: Kevin Tian <kevin.tian@intel.com> |
6 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | 9 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> |
10 | --- | ||
11 | dbus/Makefile.am | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
7 | 13 | ||
8 | Index: dbus-glib-0.108/dbus/Makefile.am | 14 | diff --git a/dbus/Makefile.am b/dbus/Makefile.am |
9 | =================================================================== | 15 | index 2e8cb27..a86df30 100644 |
10 | --- dbus-glib-0.108.orig/dbus/Makefile.am | 16 | --- a/dbus/Makefile.am |
11 | +++ dbus-glib-0.108/dbus/Makefile.am | 17 | +++ b/dbus/Makefile.am |
12 | @@ -1,4 +1,4 @@ | 18 | @@ -1,4 +1,4 @@ |
13 | -SUBDIRS = . examples | 19 | -SUBDIRS = . examples |
14 | +SUBDIRS = . | 20 | +SUBDIRS = . |
diff --git a/meta/recipes-core/dbus/dbus-glib/test-install-makefile.patch b/meta/recipes-core/dbus/dbus-glib/test-install-makefile.patch index 027c82b27e..0b1b712dd9 100644 --- a/meta/recipes-core/dbus/dbus-glib/test-install-makefile.patch +++ b/meta/recipes-core/dbus/dbus-glib/test-install-makefile.patch | |||
@@ -1,4 +1,8 @@ | |||
1 | Change Makefile.am to install regression tests for test package purpose. | 1 | From 4dbb1a459c281eeb716b4f0ce2fc01e8034c3e20 Mon Sep 17 00:00:00 2001 |
2 | From: Yao Zhao <yao.zhao@windriver.com> | ||
3 | Date: Tue, 17 Jul 2012 16:46:30 -0400 | ||
4 | Subject: [PATCH] Change Makefile.am to install regression tests for test | ||
5 | package purpose. | ||
2 | 6 | ||
3 | Upstream-Status: Inappropriate [test not install is for purpose from upstream] | 7 | Upstream-Status: Inappropriate [test not install is for purpose from upstream] |
4 | 8 | ||
@@ -11,7 +15,7 @@ Signed-off-by: Chong Lu <Chong.Lu@windriver.com> | |||
11 | 3 files changed, 6 insertions(+), 3 deletions(-) | 15 | 3 files changed, 6 insertions(+), 3 deletions(-) |
12 | 16 | ||
13 | diff --git a/test/Makefile.am b/test/Makefile.am | 17 | diff --git a/test/Makefile.am b/test/Makefile.am |
14 | index 379c8c3..6580927 100644 | 18 | index 7393bed..1c25d5d 100644 |
15 | --- a/test/Makefile.am | 19 | --- a/test/Makefile.am |
16 | +++ b/test/Makefile.am | 20 | +++ b/test/Makefile.am |
17 | @@ -48,7 +48,8 @@ TESTS = \ | 21 | @@ -48,7 +48,8 @@ TESTS = \ |
@@ -25,10 +29,10 @@ index 379c8c3..6580927 100644 | |||
25 | $(test_related_programs) \ | 29 | $(test_related_programs) \ |
26 | $(NULL) | 30 | $(NULL) |
27 | diff --git a/test/core/Makefile.am b/test/core/Makefile.am | 31 | diff --git a/test/core/Makefile.am b/test/core/Makefile.am |
28 | index e4bceb4..54b077d 100644 | 32 | index 35defa9..295202f 100644 |
29 | --- a/test/core/Makefile.am | 33 | --- a/test/core/Makefile.am |
30 | +++ b/test/core/Makefile.am | 34 | +++ b/test/core/Makefile.am |
31 | @@ -64,7 +64,8 @@ endif | 35 | @@ -57,7 +57,8 @@ if DBUS_BUILD_TESTS |
32 | 36 | ||
33 | ## we use noinst_PROGRAMS not check_PROGRAMS for TESTS so that we | 37 | ## we use noinst_PROGRAMS not check_PROGRAMS for TESTS so that we |
34 | ## build even when not doing "make check" | 38 | ## build even when not doing "make check" |
@@ -39,7 +43,7 @@ index e4bceb4..54b077d 100644 | |||
39 | test-error-mapping \ | 43 | test-error-mapping \ |
40 | test-service-glib \ | 44 | test-service-glib \ |
41 | diff --git a/test/interfaces/Makefile.am b/test/interfaces/Makefile.am | 45 | diff --git a/test/interfaces/Makefile.am b/test/interfaces/Makefile.am |
42 | index a94d08d..707dcac 100644 | 46 | index f3f62e4..f034b95 100644 |
43 | --- a/test/interfaces/Makefile.am | 47 | --- a/test/interfaces/Makefile.am |
44 | +++ b/test/interfaces/Makefile.am | 48 | +++ b/test/interfaces/Makefile.am |
45 | @@ -57,7 +57,8 @@ if DBUS_BUILD_TESTS | 49 | @@ -57,7 +57,8 @@ if DBUS_BUILD_TESTS |
@@ -52,6 +56,3 @@ index a94d08d..707dcac 100644 | |||
52 | 56 | ||
53 | test_service_SOURCES = \ | 57 | test_service_SOURCES = \ |
54 | test-interfaces.c \ | 58 | test-interfaces.c \ |
55 | -- | ||
56 | 1.9.1 | ||
57 | |||
diff --git a/meta/recipes-core/dbus/dbus-glib_0.112.bb b/meta/recipes-core/dbus/dbus-glib_0.114.bb index 4753997d3d..ff7c2d6613 100644 --- a/meta/recipes-core/dbus/dbus-glib_0.112.bb +++ b/meta/recipes-core/dbus/dbus-glib_0.114.bb | |||
@@ -2,9 +2,14 @@ SUMMARY = "High level language (GLib) binding for D-Bus" | |||
2 | DESCRIPTION = "GLib bindings for the D-Bus message bus that integrate \ | 2 | DESCRIPTION = "GLib bindings for the D-Bus message bus that integrate \ |
3 | the D-Bus library with the GLib thread abstraction and main loop." | 3 | the D-Bus library with the GLib thread abstraction and main loop." |
4 | HOMEPAGE = "https://www.freedesktop.org/Software/dbus" | 4 | HOMEPAGE = "https://www.freedesktop.org/Software/dbus" |
5 | LICENSE = "AFL-2.1 | GPL-2.0-or-later" | 5 | LICENSE = "(AFL-2.1 & LGPL-2.0-or-later & MIT) | (GPL-2.0-or-later & LGPL-2.0-or-later & MIT)" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=c31c73c1d8f5d06784b2ccd22e42d641 \ | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=267b04646da5ce3ea2df7a38a07c3f0b \ |
7 | file://dbus/dbus-glib.h;beginline=7;endline=21;md5=c374833bd817988323f3a8fda0dc7f48" | 7 | file://LICENSES/AFL-2.1.txt;md5=f3ad2f482ec639b440413665cfb9e714 \ |
8 | file://LICENSES/GPL-2.0-or-later.txt;md5=3d26203303a722dedc6bf909d95ba815 \ | ||
9 | file://LICENSES/LGPL-2.1-or-later.txt;md5=41890f71f740302b785c27661123bff5 \ | ||
10 | file://LICENSES/MIT.txt;md5=7dda4e90ded66ab88b86f76169f28663 \ | ||
11 | file://dbus/dbus-glib.h;beginline=7;endline=21;md5=c374833bd817988323f3a8fda0dc7f48 \ | ||
12 | " | ||
8 | SECTION = "base" | 13 | SECTION = "base" |
9 | 14 | ||
10 | DEPENDS = "expat glib-2.0 virtual/libintl dbus-glib-native dbus" | 15 | DEPENDS = "expat glib-2.0 virtual/libintl dbus-glib-native dbus" |
@@ -14,8 +19,7 @@ SRC_URI = "https://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-${PV}.tar.g | |||
14 | file://no-examples.patch \ | 19 | file://no-examples.patch \ |
15 | file://test-install-makefile.patch \ | 20 | file://test-install-makefile.patch \ |
16 | " | 21 | " |
17 | SRC_URI[md5sum] = "021e6c8a288df02c227e4aafbf7e7527" | 22 | SRC_URI[sha256sum] = "c09c5c085b2a0e391b8ee7d783a1d63fe444e96717cc1814d61b5e8fc2827a7c" |
18 | SRC_URI[sha256sum] = "7d550dccdfcd286e33895501829ed971eeb65c614e73aadb4a08aeef719b143a" | ||
19 | 23 | ||
20 | inherit autotools pkgconfig gettext bash-completion gtk-doc | 24 | inherit autotools pkgconfig gettext bash-completion gtk-doc |
21 | 25 | ||
@@ -30,6 +34,7 @@ PACKAGES += "${PN}-tests" | |||
30 | 34 | ||
31 | FILES:${PN} = "${libdir}/lib*${SOLIBS}" | 35 | FILES:${PN} = "${libdir}/lib*${SOLIBS}" |
32 | FILES:${PN}-bash-completion += "${libexecdir}/dbus-bash-completion-helper" | 36 | FILES:${PN}-bash-completion += "${libexecdir}/dbus-bash-completion-helper" |
37 | LICENSE:${PN}-bash-completion = "GPL-2.0-or-later" | ||
33 | FILES:${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool" | 38 | FILES:${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool" |
34 | FILES:${PN}-dev += "${bindir}/dbus-binding-tool" | 39 | FILES:${PN}-dev += "${bindir}/dbus-binding-tool" |
35 | 40 | ||