* [PATCH 0/2] bluez4: Install and fix simpe-agent
@ 2013-11-13 10:08 Zhong Hongbo
2013-11-13 10:08 ` [PATCH 1/2] bluez4: Install simple-agent utility for pairing bluetooth devices Zhong Hongbo
2013-11-13 10:08 ` [PATCH 2/2] bluez4: Fix no moudle named gi.repository and GObject for simpel-agent Zhong Hongbo
0 siblings, 2 replies; 12+ messages in thread
From: Zhong Hongbo @ 2013-11-13 10:08 UTC (permalink / raw)
To: openembedded-core
Zhong Hongbo (2):
bluez4: Install simple-agent utility for pairing bluetooth devices
bluez4: Fix no moudle named gi.repository and GObject for
simpel-agent
...x-no-module-name-GObject-for-simple-agent.patch | 25 ++++++++++++++++++++
meta/recipes-connectivity/bluez/bluez4_4.101.bb | 3 +++
2 files changed, 28 insertions(+)
create mode 100644 meta/recipes-connectivity/bluez/bluez4-4.101/fix-no-module-name-GObject-for-simple-agent.patch
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 1/2] bluez4: Install simple-agent utility for pairing bluetooth devices
2013-11-13 10:08 [PATCH 0/2] bluez4: Install and fix simpe-agent Zhong Hongbo
@ 2013-11-13 10:08 ` Zhong Hongbo
2013-11-13 11:38 ` Phil Blundell
2013-11-13 10:08 ` [PATCH 2/2] bluez4: Fix no moudle named gi.repository and GObject for simpel-agent Zhong Hongbo
1 sibling, 1 reply; 12+ messages in thread
From: Zhong Hongbo @ 2013-11-13 10:08 UTC (permalink / raw)
To: openembedded-core
From: Zhong Hongbo <hongbo.zhong@windriver.com>
Signed-off-by: Zhong Hongbo <hongbo.zhong@windriver.com>
---
meta/recipes-connectivity/bluez/bluez4_4.101.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-connectivity/bluez/bluez4_4.101.bb b/meta/recipes-connectivity/bluez/bluez4_4.101.bb
index d6c3e26..c3444ab 100644
--- a/meta/recipes-connectivity/bluez/bluez4_4.101.bb
+++ b/meta/recipes-connectivity/bluez/bluez4_4.101.bb
@@ -18,6 +18,8 @@ do_install_append() {
install -m 0644 ${S}/audio/audio.conf ${D}/${sysconfdir}/bluetooth/
install -m 0644 ${S}/network/network.conf ${D}/${sysconfdir}/bluetooth/
install -m 0644 ${S}/input/input.conf ${D}/${sysconfdir}/bluetooth/
+ install -m 0755 ${S}/test/simple-agent ${D}/${bindir}/simple-agent
+
# at_console doesn't really work with the current state of OE, so punch some more holes so people can actually use BT
install -m 0644 ${WORKDIR}/bluetooth.conf ${D}/${sysconfdir}/dbus-1/system.d/
}
--
1.7.9.5
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 2/2] bluez4: Fix no moudle named gi.repository and GObject for simpel-agent
2013-11-13 10:08 [PATCH 0/2] bluez4: Install and fix simpe-agent Zhong Hongbo
2013-11-13 10:08 ` [PATCH 1/2] bluez4: Install simple-agent utility for pairing bluetooth devices Zhong Hongbo
@ 2013-11-13 10:08 ` Zhong Hongbo
2013-11-13 12:30 ` Burton, Ross
1 sibling, 1 reply; 12+ messages in thread
From: Zhong Hongbo @ 2013-11-13 10:08 UTC (permalink / raw)
To: openembedded-core
From: Zhong Hongbo <hongbo.zhong@windriver.com>
Signed-off-by: Zhong Hongbo <hongbo.zhong@windriver.com>
---
...x-no-module-name-GObject-for-simple-agent.patch | 25 ++++++++++++++++++++
meta/recipes-connectivity/bluez/bluez4_4.101.bb | 1 +
2 files changed, 26 insertions(+)
create mode 100644 meta/recipes-connectivity/bluez/bluez4-4.101/fix-no-module-name-GObject-for-simple-agent.patch
diff --git a/meta/recipes-connectivity/bluez/bluez4-4.101/fix-no-module-name-GObject-for-simple-agent.patch b/meta/recipes-connectivity/bluez/bluez4-4.101/fix-no-module-name-GObject-for-simple-agent.patch
new file mode 100644
index 0000000..245250c
--- /dev/null
+++ b/meta/recipes-connectivity/bluez/bluez4-4.101/fix-no-module-name-GObject-for-simple-agent.patch
@@ -0,0 +1,25 @@
+Fix No module name gi.repository and GObject for simple-agent
+
+Signed-off-by: Zhong Hongbo <hongbo.zhong@windriver.com>
+---
+diff -Nurd bluez-4.101.orig/test/simple-agent bluez-4.101/test/simple-agent
+--- bluez-4.101.orig/test/simple-agent 2013-11-13 17:14:08.138118159 +0800
++++ bluez-4.101/test/simple-agent 2013-11-13 17:14:29.034118107 +0800
+@@ -2,7 +2,7 @@
+
+ from __future__ import absolute_import, print_function, unicode_literals
+
+-from gi.repository import GObject
++import gobject
+
+ import sys
+ import dbus
+@@ -122,7 +122,7 @@
+ path = "/test/agent"
+ agent = Agent(bus, path)
+
+- mainloop = GObject.MainLoop()
++ mainloop = gobject.MainLoop()
+
+ if len(args) > 1:
+ if len(args) > 2:
diff --git a/meta/recipes-connectivity/bluez/bluez4_4.101.bb b/meta/recipes-connectivity/bluez/bluez4_4.101.bb
index c3444ab..03e0964 100644
--- a/meta/recipes-connectivity/bluez/bluez4_4.101.bb
+++ b/meta/recipes-connectivity/bluez/bluez4_4.101.bb
@@ -7,6 +7,7 @@ SRC_URI += "file://bluetooth.conf \
file://fix-udev-paths.patch \
file://obsolete_automake_macros.patch \
file://network-fix-network-Connect-method-parameters.patch \
+ file://fix-no-module-name-GObject-for-simple-agent.patch \
"
SRC_URI[md5sum] = "fb42cb7038c380eb0e2fa208987c96ad"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] bluez4: Install simple-agent utility for pairing bluetooth devices
2013-11-13 10:08 ` [PATCH 1/2] bluez4: Install simple-agent utility for pairing bluetooth devices Zhong Hongbo
@ 2013-11-13 11:38 ` Phil Blundell
2013-11-13 12:34 ` Burton, Ross
0 siblings, 1 reply; 12+ messages in thread
From: Phil Blundell @ 2013-11-13 11:38 UTC (permalink / raw)
To: Zhong Hongbo; +Cc: openembedded-core
On Wed, 2013-11-13 at 18:08 +0800, Zhong Hongbo wrote:
> From: Zhong Hongbo <hongbo.zhong@windriver.com>
>
> Signed-off-by: Zhong Hongbo <hongbo.zhong@windriver.com>
[...]
> install -m 0644 ${S}/input/input.conf ${D}/${sysconfdir}/bluetooth/
> + install -m 0755 ${S}/test/simple-agent ${D}/${bindir}/simple-agent
What does simple-agent actually do? Is it generally enough useful that
it should be installed unconditionally?
p.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 2/2] bluez4: Fix no moudle named gi.repository and GObject for simpel-agent
2013-11-13 10:08 ` [PATCH 2/2] bluez4: Fix no moudle named gi.repository and GObject for simpel-agent Zhong Hongbo
@ 2013-11-13 12:30 ` Burton, Ross
2013-11-14 3:30 ` Zhong Hongbo
2013-11-14 10:47 ` Zhong Hongbo
0 siblings, 2 replies; 12+ messages in thread
From: Burton, Ross @ 2013-11-13 12:30 UTC (permalink / raw)
To: Zhong Hongbo; +Cc: OE-core
On 13 November 2013 10:08, Zhong Hongbo <hongbo.zhong@windriver.com> wrote:
> +++ b/meta/recipes-connectivity/bluez/bluez4-4.101/fix-no-module-name-GObject-for-simple-agent.patch
> @@ -0,0 +1,25 @@
> +Fix No module name gi.repository and GObject for simple-agent
> +
> +Signed-off-by: Zhong Hongbo <hongbo.zhong@windriver.com>
Patch needs an Upstream-Status ("Inappropriate [revert]" would be
suitable), and please rename the patch/comment to something more
accurate along the lines of "use legacy pygobject instead of
gobject-introspection".
Ross
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] bluez4: Install simple-agent utility for pairing bluetooth devices
2013-11-13 11:38 ` Phil Blundell
@ 2013-11-13 12:34 ` Burton, Ross
2013-11-13 13:24 ` Philip Balister
2013-11-14 3:29 ` Zhong Hongbo
0 siblings, 2 replies; 12+ messages in thread
From: Burton, Ross @ 2013-11-13 12:34 UTC (permalink / raw)
To: Phil Blundell; +Cc: OE-core
On 13 November 2013 11:38, Phil Blundell <pb@pbcl.net> wrote:
> On Wed, 2013-11-13 at 18:08 +0800, Zhong Hongbo wrote:
>> From: Zhong Hongbo <hongbo.zhong@windriver.com>
>>
>> Signed-off-by: Zhong Hongbo <hongbo.zhong@windriver.com>
> [...]
>> install -m 0644 ${S}/input/input.conf ${D}/${sysconfdir}/bluetooth/
>> + install -m 0755 ${S}/test/simple-agent ${D}/${bindir}/simple-agent
>
> What does simple-agent actually do? Is it generally enough useful that
> it should be installed unconditionally?
It's a dumb agent for responding to incoming pairing requests, as it
works interactively from a terminal it's purely for testing purposes.
I'd prefer to see it (and probably more utilities) installed in
bluez4-tests as it's not generally useful.
Ross
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] bluez4: Install simple-agent utility for pairing bluetooth devices
2013-11-13 12:34 ` Burton, Ross
@ 2013-11-13 13:24 ` Philip Balister
2013-11-13 14:50 ` Burton, Ross
2013-11-14 3:29 ` Zhong Hongbo
1 sibling, 1 reply; 12+ messages in thread
From: Philip Balister @ 2013-11-13 13:24 UTC (permalink / raw)
To: Burton, Ross; +Cc: OE-core
On 11/13/2013 07:34 AM, Burton, Ross wrote:
> On 13 November 2013 11:38, Phil Blundell <pb@pbcl.net> wrote:
>> On Wed, 2013-11-13 at 18:08 +0800, Zhong Hongbo wrote:
>>> From: Zhong Hongbo <hongbo.zhong@windriver.com>
>>>
>>> Signed-off-by: Zhong Hongbo <hongbo.zhong@windriver.com>
>> [...]
>>> install -m 0644 ${S}/input/input.conf ${D}/${sysconfdir}/bluetooth/
>>> + install -m 0755 ${S}/test/simple-agent ${D}/${bindir}/simple-agent
>>
>> What does simple-agent actually do? Is it generally enough useful that
>> it should be installed unconditionally?
>
> It's a dumb agent for responding to incoming pairing requests, as it
> works interactively from a terminal it's purely for testing purposes.
> I'd prefer to see it (and probably more utilities) installed in
> bluez4-tests as it's not generally useful.
I think it is also useful for console only devices.
Philip
>
> Ross
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] bluez4: Install simple-agent utility for pairing bluetooth devices
2013-11-13 13:24 ` Philip Balister
@ 2013-11-13 14:50 ` Burton, Ross
0 siblings, 0 replies; 12+ messages in thread
From: Burton, Ross @ 2013-11-13 14:50 UTC (permalink / raw)
To: Philip Balister; +Cc: OE-core
On 13 November 2013 13:24, Philip Balister <philip@balister.org> wrote:
> On 11/13/2013 07:34 AM, Burton, Ross wrote:
>> On 13 November 2013 11:38, Phil Blundell <pb@pbcl.net> wrote:
>>> On Wed, 2013-11-13 at 18:08 +0800, Zhong Hongbo wrote:
>>>> From: Zhong Hongbo <hongbo.zhong@windriver.com>
>>>>
>>>> Signed-off-by: Zhong Hongbo <hongbo.zhong@windriver.com>
>>> [...]
>>>> install -m 0644 ${S}/input/input.conf ${D}/${sysconfdir}/bluetooth/
>>>> + install -m 0755 ${S}/test/simple-agent ${D}/${bindir}/simple-agent
>>>
>>> What does simple-agent actually do? Is it generally enough useful that
>>> it should be installed unconditionally?
>>
>> It's a dumb agent for responding to incoming pairing requests, as it
>> works interactively from a terminal it's purely for testing purposes.
>> I'd prefer to see it (and probably more utilities) installed in
>> bluez4-tests as it's not generally useful.
>
> I think it is also useful for console only devices.
Again, only for interactive use where the user is sitting at a shell
and has started the agent themselves. You'd never use it in a
production environment.
Ross
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] bluez4: Install simple-agent utility for pairing bluetooth devices
2013-11-13 12:34 ` Burton, Ross
2013-11-13 13:24 ` Philip Balister
@ 2013-11-14 3:29 ` Zhong Hongbo
1 sibling, 0 replies; 12+ messages in thread
From: Zhong Hongbo @ 2013-11-14 3:29 UTC (permalink / raw)
To: Burton, Ross; +Cc: OE-core
On 11/13/2013 08:34 PM, Burton, Ross wrote:
> On 13 November 2013 11:38, Phil Blundell <pb@pbcl.net> wrote:
>> On Wed, 2013-11-13 at 18:08 +0800, Zhong Hongbo wrote:
>>> From: Zhong Hongbo <hongbo.zhong@windriver.com>
>>>
>>> Signed-off-by: Zhong Hongbo <hongbo.zhong@windriver.com>
>> [...]
>>> install -m 0644 ${S}/input/input.conf ${D}/${sysconfdir}/bluetooth/
>>> + install -m 0755 ${S}/test/simple-agent ${D}/${bindir}/simple-agent
>> What does simple-agent actually do? Is it generally enough useful that
>> it should be installed unconditionally?
> It's a dumb agent for responding to incoming pairing requests, as it
> works interactively from a terminal it's purely for testing purposes.
> I'd prefer to see it (and probably more utilities) installed in
> bluez4-tests as it's not generally useful.
Agree.
But a issue is: How do place this test file? On the /usr/bin directory?
or /usb/bin/bluez? or others?
The below place the test to /usr/bin. as the following:
FILES_${PN}-test += "\
${bindir}/test-* \
${bindir}/simple-* \
${bindir}/agent \
${bindir}/attest \
${bindir}/avtest \
${bindir}/bdaddr \
${bindir}/btiotest \
${bindir}/gaptest \
${bindir}/hsmicro \
${bindir}/hsplay \
${bindir}/hstest \
${bindir}/ipctest \
${bindir}/l2test \
${bindir}/list-devices \
${bindir}/lmptest \
${bindir}/monitor-bluetooth \
${bindir}/mpris-player \
${bindir}/rctest \
${bindir}/scotest \
${bindir}/sdptest \
${bindir}/uuidtest \
"
Thanks,
Hongbo
>
> Ross
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 2/2] bluez4: Fix no moudle named gi.repository and GObject for simpel-agent
2013-11-13 12:30 ` Burton, Ross
@ 2013-11-14 3:30 ` Zhong Hongbo
2013-11-14 10:47 ` Zhong Hongbo
1 sibling, 0 replies; 12+ messages in thread
From: Zhong Hongbo @ 2013-11-14 3:30 UTC (permalink / raw)
To: Burton, Ross; +Cc: OE-core
On 11/13/2013 08:30 PM, Burton, Ross wrote:
> On 13 November 2013 10:08, Zhong Hongbo <hongbo.zhong@windriver.com> wrote:
>> +++ b/meta/recipes-connectivity/bluez/bluez4-4.101/fix-no-module-name-GObject-for-simple-agent.patch
>> @@ -0,0 +1,25 @@
>> +Fix No module name gi.repository and GObject for simple-agent
>> +
>> +Signed-off-by: Zhong Hongbo <hongbo.zhong@windriver.com>
> Patch needs an Upstream-Status ("Inappropriate [revert]" would be
> suitable), and please rename the patch/comment to something more
> accurate along the lines of "use legacy pygobject instead of
> gobject-introspection".
Sorry, This is my first RR. I will do it in the next RR.
Thanks,
Hongbo
>
> Ross
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 2/2] bluez4: Fix no moudle named gi.repository and GObject for simpel-agent
2013-11-13 12:30 ` Burton, Ross
2013-11-14 3:30 ` Zhong Hongbo
@ 2013-11-14 10:47 ` Zhong Hongbo
2013-11-14 10:53 ` Burton, Ross
1 sibling, 1 reply; 12+ messages in thread
From: Zhong Hongbo @ 2013-11-14 10:47 UTC (permalink / raw)
To: Burton, Ross; +Cc: OE-core
On 11/13/2013 08:30 PM, Burton, Ross wrote:
> On 13 November 2013 10:08, Zhong Hongbo <hongbo.zhong@windriver.com> wrote:
>> +++ b/meta/recipes-connectivity/bluez/bluez4-4.101/fix-no-module-name-GObject-for-simple-agent.patch
>> @@ -0,0 +1,25 @@
>> +Fix No module name gi.repository and GObject for simple-agent
>> +
>> +Signed-off-by: Zhong Hongbo <hongbo.zhong@windriver.com>
> Patch needs an Upstream-Status ("Inappropriate [revert]" would be
> suitable), and please rename the patch/comment to something more
> accurate along the lines of "use legacy pygobject instead of
> gobject-introspection".
This patch do not in upstream. I do the change and test it in my x86_64
platform.
What status should fill in Upstream-Status.
Thanks,
Hongbo
>
> Ross
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 2/2] bluez4: Fix no moudle named gi.repository and GObject for simpel-agent
2013-11-14 10:47 ` Zhong Hongbo
@ 2013-11-14 10:53 ` Burton, Ross
0 siblings, 0 replies; 12+ messages in thread
From: Burton, Ross @ 2013-11-14 10:53 UTC (permalink / raw)
To: Zhong Hongbo; +Cc: OE-core
On 14 November 2013 10:47, Zhong Hongbo <hongbo.zhong@windriver.com> wrote:
> What status should fill in Upstream-Status.
As I said, "Inappropriate" is suitable here.
Ross
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2013-11-14 10:54 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-13 10:08 [PATCH 0/2] bluez4: Install and fix simpe-agent Zhong Hongbo
2013-11-13 10:08 ` [PATCH 1/2] bluez4: Install simple-agent utility for pairing bluetooth devices Zhong Hongbo
2013-11-13 11:38 ` Phil Blundell
2013-11-13 12:34 ` Burton, Ross
2013-11-13 13:24 ` Philip Balister
2013-11-13 14:50 ` Burton, Ross
2013-11-14 3:29 ` Zhong Hongbo
2013-11-13 10:08 ` [PATCH 2/2] bluez4: Fix no moudle named gi.repository and GObject for simpel-agent Zhong Hongbo
2013-11-13 12:30 ` Burton, Ross
2013-11-14 3:30 ` Zhong Hongbo
2013-11-14 10:47 ` Zhong Hongbo
2013-11-14 10:53 ` Burton, Ross
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox