summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2025-03-15 07:16:57 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-03-19 11:49:45 +0000
commit70e450217bc1ec7e36293fde52ae77c7b682463c (patch)
tree037175238bca5c12f7171dc1f6f87703cbab631d
parentd8e3567d85ce673f17a765ca00741c2a4725d563 (diff)
downloadpoky-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.patch16
-rw-r--r--meta/recipes-core/dbus/dbus-glib/test-install-makefile.patch17
-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 @@
1Disable compiling examples 1From 8bb06c2f0929a4b878fd9abdb63c177a7c308b9d Mon Sep 17 00:00:00 2001
2From: Kevin Tian <kevin.tian@intel.com>
3Date: Tue, 21 Nov 2006 14:20:37 +0000
4Subject: [PATCH] Disable compiling examples
2 5
3Upstream-Status: Inappropriate [disable feature] 6Upstream-Status: Inappropriate [disable feature]
4 7
5Signed-off-by: Kevin Tian <kevin.tian@intel.com> 8Signed-off-by: Kevin Tian <kevin.tian@intel.com>
6Signed-off-by: Scott Garman <scott.a.garman@intel.com> 9Signed-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
8Index: dbus-glib-0.108/dbus/Makefile.am 14diff --git a/dbus/Makefile.am b/dbus/Makefile.am
9=================================================================== 15index 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 @@
1Change Makefile.am to install regression tests for test package purpose. 1From 4dbb1a459c281eeb716b4f0ce2fc01e8034c3e20 Mon Sep 17 00:00:00 2001
2From: Yao Zhao <yao.zhao@windriver.com>
3Date: Tue, 17 Jul 2012 16:46:30 -0400
4Subject: [PATCH] Change Makefile.am to install regression tests for test
5 package purpose.
2 6
3Upstream-Status: Inappropriate [test not install is for purpose from upstream] 7Upstream-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
13diff --git a/test/Makefile.am b/test/Makefile.am 17diff --git a/test/Makefile.am b/test/Makefile.am
14index 379c8c3..6580927 100644 18index 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)
27diff --git a/test/core/Makefile.am b/test/core/Makefile.am 31diff --git a/test/core/Makefile.am b/test/core/Makefile.am
28index e4bceb4..54b077d 100644 32index 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 \
41diff --git a/test/interfaces/Makefile.am b/test/interfaces/Makefile.am 45diff --git a/test/interfaces/Makefile.am b/test/interfaces/Makefile.am
42index a94d08d..707dcac 100644 46index 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--
561.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"
2DESCRIPTION = "GLib bindings for the D-Bus message bus that integrate \ 2DESCRIPTION = "GLib bindings for the D-Bus message bus that integrate \
3the D-Bus library with the GLib thread abstraction and main loop." 3the D-Bus library with the GLib thread abstraction and main loop."
4HOMEPAGE = "https://www.freedesktop.org/Software/dbus" 4HOMEPAGE = "https://www.freedesktop.org/Software/dbus"
5LICENSE = "AFL-2.1 | GPL-2.0-or-later" 5LICENSE = "(AFL-2.1 & LGPL-2.0-or-later & MIT) | (GPL-2.0-or-later & LGPL-2.0-or-later & MIT)"
6LIC_FILES_CHKSUM = "file://COPYING;md5=c31c73c1d8f5d06784b2ccd22e42d641 \ 6LIC_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 "
8SECTION = "base" 13SECTION = "base"
9 14
10DEPENDS = "expat glib-2.0 virtual/libintl dbus-glib-native dbus" 15DEPENDS = "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"
17SRC_URI[md5sum] = "021e6c8a288df02c227e4aafbf7e7527" 22SRC_URI[sha256sum] = "c09c5c085b2a0e391b8ee7d783a1d63fe444e96717cc1814d61b5e8fc2827a7c"
18SRC_URI[sha256sum] = "7d550dccdfcd286e33895501829ed971eeb65c614e73aadb4a08aeef719b143a"
19 23
20inherit autotools pkgconfig gettext bash-completion gtk-doc 24inherit autotools pkgconfig gettext bash-completion gtk-doc
21 25
@@ -30,6 +34,7 @@ PACKAGES += "${PN}-tests"
30 34
31FILES:${PN} = "${libdir}/lib*${SOLIBS}" 35FILES:${PN} = "${libdir}/lib*${SOLIBS}"
32FILES:${PN}-bash-completion += "${libexecdir}/dbus-bash-completion-helper" 36FILES:${PN}-bash-completion += "${libexecdir}/dbus-bash-completion-helper"
37LICENSE:${PN}-bash-completion = "GPL-2.0-or-later"
33FILES:${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool" 38FILES:${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool"
34FILES:${PN}-dev += "${bindir}/dbus-binding-tool" 39FILES:${PN}-dev += "${bindir}/dbus-binding-tool"
35 40