diff mbox series

[3/7] dbus-glib: remove no-examples.patch

Message ID 20250804195237.149379-3-ross.burton@arm.com
State New
Headers show
Series [1/7] dbus-glib: package the binding tool into PN-tools, enable nativesdk | expand

Commit Message

Ross Burton Aug. 4, 2025, 7:52 p.m. UTC
This patch has been in OpenEmbedded since 2006 with no explanation[1].

Possibly the intention was to reduce build time slightly or remove some
breakage, but it's useful to link the library we're building against a
test binary.

[1] oe-classic cc5c376f17 ("dbus: add 0.90, dbus-glib and dbus-python bindings 0.70")

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../dbus/dbus-glib/no-examples.patch          | 23 -------------------
 meta/recipes-core/dbus/dbus-glib_0.114.bb     |  4 +---
 2 files changed, 1 insertion(+), 26 deletions(-)
 delete mode 100644 meta/recipes-core/dbus/dbus-glib/no-examples.patch
diff mbox series

Patch

diff --git a/meta/recipes-core/dbus/dbus-glib/no-examples.patch b/meta/recipes-core/dbus/dbus-glib/no-examples.patch
deleted file mode 100644
index 3e2fa41c59d..00000000000
--- a/meta/recipes-core/dbus/dbus-glib/no-examples.patch
+++ /dev/null
@@ -1,23 +0,0 @@ 
-From 8bb06c2f0929a4b878fd9abdb63c177a7c308b9d Mon Sep 17 00:00:00 2001
-From: Kevin Tian <kevin.tian@intel.com>
-Date: Tue, 21 Nov 2006 14:20:37 +0000
-Subject: [PATCH] Disable compiling examples
-
-Upstream-Status: Inappropriate [disable feature]
-
-Signed-off-by: Kevin Tian <kevin.tian@intel.com>
-Signed-off-by: Scott Garman <scott.a.garman@intel.com>
----
- dbus/Makefile.am | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/dbus/Makefile.am b/dbus/Makefile.am
-index 2e8cb27..a86df30 100644
---- a/dbus/Makefile.am
-+++ b/dbus/Makefile.am
-@@ -1,4 +1,4 @@
--SUBDIRS = . examples
-+SUBDIRS = .
- 
- AM_CPPFLAGS = \
- 	-I$(top_srcdir)						\
diff --git a/meta/recipes-core/dbus/dbus-glib_0.114.bb b/meta/recipes-core/dbus/dbus-glib_0.114.bb
index 4a827b1cbf8..cc15cafe495 100644
--- a/meta/recipes-core/dbus/dbus-glib_0.114.bb
+++ b/meta/recipes-core/dbus/dbus-glib_0.114.bb
@@ -15,9 +15,7 @@  SECTION = "base"
 DEPENDS = "expat glib-2.0 virtual/libintl dbus-glib-native dbus"
 DEPENDS:class-native = "glib-2.0-native dbus-native"
 
-SRC_URI = "https://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-${PV}.tar.gz \
-           file://no-examples.patch \
-"
+SRC_URI = "https://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-${PV}.tar.gz"
 SRC_URI[sha256sum] = "c09c5c085b2a0e391b8ee7d783a1d63fe444e96717cc1814d61b5e8fc2827a7c"
 
 inherit autotools pkgconfig gettext bash-completion gtk-doc