From: Emil Velikov <emil.l.velikov@gmail.com>
To: linux-bluetooth@vger.kernel.org
Cc: Emil Velikov <emil.velikov@collabora.com>
Subject: [PATCH BlueZ v3 3/8] bluetoothd: remove external-dummy plugin
Date: Thu, 25 Jan 2024 00:07:28 +0000 [thread overview]
Message-ID: <20240125-rm-ext-plugins-v3-3-d141f7870bb6@gmail.com> (raw)
In-Reply-To: <20240125-rm-ext-plugins-v3-0-d141f7870bb6@gmail.com>
From: Emil Velikov <emil.velikov@collabora.com>
The external plugins infra is getting deprecated and disabled by
default. Remove this dummy plugin.
---
Makefile.am | 8 --------
plugins/external-dummy.c | 28 ----------------------------
2 files changed, 36 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index e738eb3a5..ea51b25cc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -293,14 +293,6 @@ builtin_ldadd =
include Makefile.plugins
-if MAINTAINER_MODE
-plugin_LTLIBRARIES += plugins/external-dummy.la
-plugins_external_dummy_la_SOURCES = plugins/external-dummy.c
-plugins_external_dummy_la_LDFLAGS = $(AM_LDFLAGS) -module -avoid-version \
- -no-undefined
-plugins_external_dummy_la_CFLAGS = $(AM_CFLAGS) -fvisibility=hidden
-endif
-
pkglibexec_PROGRAMS += src/bluetoothd
src_bluetoothd_SOURCES = $(builtin_sources) \
diff --git a/plugins/external-dummy.c b/plugins/external-dummy.c
deleted file mode 100644
index 1c209e8b7..000000000
--- a/plugins/external-dummy.c
+++ /dev/null
@@ -1,28 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-or-later
-/*
- *
- * BlueZ - Bluetooth protocol stack for Linux
- *
- */
-
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include "src/plugin.h"
-#include "src/log.h"
-
-static int dummy_init(void)
-{
- DBG("");
-
- return 0;
-}
-
-static void dummy_exit(void)
-{
- DBG("");
-}
-
-BLUETOOTH_PLUGIN_DEFINE(external_dummy, VERSION,
- BLUETOOTH_PLUGIN_PRIORITY_LOW, dummy_init, dummy_exit)
--
2.43.0
WARNING: multiple messages have this Message-ID (diff)
From: Emil Velikov via B4 Relay <devnull+emil.l.velikov.gmail.com@kernel.org>
To: linux-bluetooth@vger.kernel.org
Cc: Emil Velikov <emil.velikov@collabora.com>
Subject: [PATCH BlueZ v3 3/8] bluetoothd: remove external-dummy plugin
Date: Thu, 25 Jan 2024 00:07:28 +0000 [thread overview]
Message-ID: <20240125-rm-ext-plugins-v3-3-d141f7870bb6@gmail.com> (raw)
In-Reply-To: <20240125-rm-ext-plugins-v3-0-d141f7870bb6@gmail.com>
From: Emil Velikov <emil.velikov@collabora.com>
The external plugins infra is getting deprecated and disabled by
default. Remove this dummy plugin.
---
Makefile.am | 8 --------
plugins/external-dummy.c | 28 ----------------------------
2 files changed, 36 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index e738eb3a5..ea51b25cc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -293,14 +293,6 @@ builtin_ldadd =
include Makefile.plugins
-if MAINTAINER_MODE
-plugin_LTLIBRARIES += plugins/external-dummy.la
-plugins_external_dummy_la_SOURCES = plugins/external-dummy.c
-plugins_external_dummy_la_LDFLAGS = $(AM_LDFLAGS) -module -avoid-version \
- -no-undefined
-plugins_external_dummy_la_CFLAGS = $(AM_CFLAGS) -fvisibility=hidden
-endif
-
pkglibexec_PROGRAMS += src/bluetoothd
src_bluetoothd_SOURCES = $(builtin_sources) \
diff --git a/plugins/external-dummy.c b/plugins/external-dummy.c
deleted file mode 100644
index 1c209e8b7..000000000
--- a/plugins/external-dummy.c
+++ /dev/null
@@ -1,28 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-or-later
-/*
- *
- * BlueZ - Bluetooth protocol stack for Linux
- *
- */
-
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include "src/plugin.h"
-#include "src/log.h"
-
-static int dummy_init(void)
-{
- DBG("");
-
- return 0;
-}
-
-static void dummy_exit(void)
-{
- DBG("");
-}
-
-BLUETOOTH_PLUGIN_DEFINE(external_dummy, VERSION,
- BLUETOOTH_PLUGIN_PRIORITY_LOW, dummy_init, dummy_exit)
--
2.43.0
next prev parent reply other threads:[~2024-01-25 0:07 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-25 0:07 [PATCH BlueZ v3 0/8] Remove support for external plugins Emil Velikov
2024-01-25 0:07 ` Emil Velikov via B4 Relay
2024-01-25 0:07 ` [PATCH BlueZ v3 1/8] configure, README: introduce --enable-external-plugins Emil Velikov
2024-01-25 0:07 ` Emil Velikov via B4 Relay
2024-01-25 3:15 ` Remove support for external plugins bluez.test.bot
2024-01-25 0:07 ` [PATCH BlueZ v3 2/8] obexd: factor out external plugin support Emil Velikov
2024-01-25 0:07 ` Emil Velikov via B4 Relay
2024-01-26 18:50 ` Luiz Augusto von Dentz
2024-01-29 14:48 ` Emil Velikov
2024-01-25 0:07 ` Emil Velikov [this message]
2024-01-25 0:07 ` [PATCH BlueZ v3 3/8] bluetoothd: remove external-dummy plugin Emil Velikov via B4 Relay
2024-01-25 0:07 ` [PATCH BlueZ v3 4/8] bluetoothd: convert external sixaxis plugin to builtin Emil Velikov
2024-01-25 0:07 ` Emil Velikov via B4 Relay
2024-01-25 0:07 ` [PATCH BlueZ v3 5/8] bluetoothd: factor out external plugin support Emil Velikov
2024-01-25 0:07 ` Emil Velikov via B4 Relay
2024-01-25 0:07 ` [PATCH BlueZ v3 6/8] bluetoothd: don't export internal API Emil Velikov
2024-01-25 0:07 ` Emil Velikov via B4 Relay
2024-01-25 0:07 ` [PATCH BlueZ v3 7/8] bluetoothd: change plugin loading alike obexd Emil Velikov
2024-01-25 0:07 ` Emil Velikov via B4 Relay
2024-01-25 0:07 ` [PATCH BlueZ v3 8/8] android: export only (android) entrypoint from the modules Emil Velikov
2024-01-25 0:07 ` Emil Velikov via B4 Relay
2024-01-25 13:02 ` [PATCH BlueZ v3 0/8] Remove support for external plugins Szymon Janc
2024-01-25 13:48 ` Emil Velikov
2024-01-25 18:30 ` Luiz Augusto von Dentz
2024-01-26 15:43 ` Emil Velikov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240125-rm-ext-plugins-v3-3-d141f7870bb6@gmail.com \
--to=emil.l.velikov@gmail.com \
--cc=emil.velikov@collabora.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.