All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] connman: enable connman client
@ 2013-02-22 20:10 Cristian Iorga
  2013-02-23  8:34 ` Ross Burton
  0 siblings, 1 reply; 8+ messages in thread
From: Cristian Iorga @ 2013-02-22 20:10 UTC (permalink / raw)
  To: openembedded-core

connmanctl is now included when connman is installed

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
---
 meta/recipes-connectivity/connman/connman.inc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
index b61e2af..69cb74c 100644
--- a/meta/recipes-connectivity/connman/connman.inc
+++ b/meta/recipes-connectivity/connman/connman.inc
@@ -20,7 +20,7 @@ DEPENDS  = "dbus glib-2.0 ppp iptables gnutls \
             ${@base_contains('DISTRO_FEATURES', '3g','ofono', '', d)} \
             "
 
-INC_PR = "r17"
+INC_PR = "r18"
 
 TIST = "--enable-tist"
 TIST_powerpc = ""
@@ -38,7 +38,6 @@ EXTRA_OECONF += "\
     --enable-tools \
     --enable-test \
     --disable-polkit \
-    --disable-client \
     --enable-fake \
     ${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdunitdir=${systemd_unitdir}/system/', '', d)} \
 "
@@ -73,6 +72,7 @@ do_install_append() {
 	install -d ${D}${bindir}
 	install -m 0755 ${S}/tools/*-test ${D}${bindir}
 	install -m 0755 ${S}/tools/wispr ${D}${bindir}
+	install -m 0755 ${S}/client/connmanctl ${D}${bindir}
 
 	# We don't need to package an empty directory
 	rmdir ${D}${libdir}/connman/scripts
-- 
1.7.10.4




^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH] connman: enable connman client
  2013-02-22 20:10 [PATCH] connman: enable connman client Cristian Iorga
@ 2013-02-23  8:34 ` Ross Burton
  2013-02-23  9:02   ` Jack Mitchell
                     ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Ross Burton @ 2013-02-23  8:34 UTC (permalink / raw)
  To: Cristian Iorga; +Cc: openembedded-core

Hi Cristian,

On Friday, 22 February 2013 at 20:10, Cristian Iorga wrote: 
> - --disable-client \

I'd prefer to see an explicit --enable-client here to make it clear what we're turning on and off.
 
> + install -m 0755 ${S}/client/connmanctl ${D}${bindir}

${S} (source) should be ${B} (build), although at the moment they are the same directory I've been slowly working on changing that.

Also the fact that you have to do this is depressing.  I wonder why upstream doesn't want to install any of the tools?

Ross 





^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] connman: enable connman client
  2013-02-23  8:34 ` Ross Burton
@ 2013-02-23  9:02   ` Jack Mitchell
  2013-02-23 11:30     ` Paul Eggleton
  2013-02-25  7:18   ` Iorga, Cristian
  2013-02-25  7:36   ` Iorga, Cristian
  2 siblings, 1 reply; 8+ messages in thread
From: Jack Mitchell @ 2013-02-23  9:02 UTC (permalink / raw)
  To: openembedded-core

On 02/23/13 08:34, Ross Burton wrote:
> Hi Cristian,
>
> On Friday, 22 February 2013 at 20:10, Cristian Iorga wrote:
>> - --disable-client \
> I'd prefer to see an explicit --enable-client here to make it clear what we're turning on and off.
>   
>> + install -m 0755 ${S}/client/connmanctl ${D}${bindir}
> ${S} (source) should be ${B} (build), although at the moment they are the same directory I've been slowly working on changing that.
>
> Also the fact that you have to do this is depressing.  I wonder why upstream doesn't want to install any of the tools?

Connmanctl is a helper, even though I have connman in my image, I 
wouldn't want connmanctl. I assume this is why they don't ship it by 
default; as my use case is fairly normal for connman.

Which leads to the next point, this should be a seperate package.

>
> Ross
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] connman: enable connman client
  2013-02-23  9:02   ` Jack Mitchell
@ 2013-02-23 11:30     ` Paul Eggleton
  2013-02-23 12:43       ` Jack Mitchell
  0 siblings, 1 reply; 8+ messages in thread
From: Paul Eggleton @ 2013-02-23 11:30 UTC (permalink / raw)
  To: ml, openembedded-core

On Saturday 23 February 2013 09:02:07 Jack Mitchell wrote:
> On 02/23/13 08:34, Ross Burton wrote:
> > Also the fact that you have to do this is depressing.  I wonder why
> > upstream doesn't want to install any of the tools?
>
> Connmanctl is a helper, even though I have connman in my image, I
> wouldn't want connmanctl. I assume this is why they don't ship it by
> default; as my use case is fairly normal for connman.

I would have thought if you had asked for the client to be built (or not asked 
for it not to be built, as the case may be) then surely you would want it 
installed (as far as make install goes anyway)?

> Which leads to the next point, this should be a seperate package.

Probably should be I think yes.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] connman: enable connman client
  2013-02-23 11:30     ` Paul Eggleton
@ 2013-02-23 12:43       ` Jack Mitchell
  0 siblings, 0 replies; 8+ messages in thread
From: Jack Mitchell @ 2013-02-23 12:43 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: openembedded-core

On 02/23/13 11:30, Paul Eggleton wrote:
> On Saturday 23 February 2013 09:02:07 Jack Mitchell wrote:
>> On 02/23/13 08:34, Ross Burton wrote:
>>> Also the fact that you have to do this is depressing.  I wonder why
>>> upstream doesn't want to install any of the tools?
>> Connmanctl is a helper, even though I have connman in my image, I
>> wouldn't want connmanctl. I assume this is why they don't ship it by
>> default; as my use case is fairly normal for connman.
> I would have thought if you had asked for the client to be built (or not asked
> for it not to be built, as the case may be) then surely you would want it
> installed (as far as make install goes anyway)?

Yes I misread, I thought we were explicity enabling it. I'll try to send 
an email off to upstream and see what they think.

>
>> Which leads to the next point, this should be a seperate package.
> Probably should be I think yes.

If no one beats me to it I'll look into this at work next week. Some of 
the tools should be split into packages too and I think there may be 
some distro specific tweaks also (e.g. wifi enabled etc).

>
> Cheers,
> Paul
>




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] connman: enable connman client
  2013-02-23  8:34 ` Ross Burton
  2013-02-23  9:02   ` Jack Mitchell
@ 2013-02-25  7:18   ` Iorga, Cristian
  2013-02-25  8:21     ` Burton, Ross
  2013-02-25  7:36   ` Iorga, Cristian
  2 siblings, 1 reply; 8+ messages in thread
From: Iorga, Cristian @ 2013-02-25  7:18 UTC (permalink / raw)
  To: Burton, Ross; +Cc: openembedded-core

Hello Ross,

1. As far as I have seen, building the connmanctl is the default, there is no --enable-client.
	Maybe I am wrong, I have extracted this info from the documentation.
2. Like you said, at the moment, the client executable is produced directly in the source directory, hence my install command.
	If I understand correctly, will be the same thing if I change into build directory?

Regards,
Cristian

-----Original Message-----
From: Ross Burton [mailto:ross.burton@intel.com] 
Sent: Saturday, February 23, 2013 10:34 AM
To: Iorga, Cristian
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH] connman: enable connman client

Hi Cristian,

On Friday, 22 February 2013 at 20:10, Cristian Iorga wrote: 
> - --disable-client \

I'd prefer to see an explicit --enable-client here to make it clear what we're turning on and off.
 
> + install -m 0755 ${S}/client/connmanctl ${D}${bindir}

${S} (source) should be ${B} (build), although at the moment they are the same directory I've been slowly working on changing that.

Also the fact that you have to do this is depressing.  I wonder why upstream doesn't want to install any of the tools?

Ross 



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] connman: enable connman client
  2013-02-23  8:34 ` Ross Burton
  2013-02-23  9:02   ` Jack Mitchell
  2013-02-25  7:18   ` Iorga, Cristian
@ 2013-02-25  7:36   ` Iorga, Cristian
  2 siblings, 0 replies; 8+ messages in thread
From: Iorga, Cristian @ 2013-02-25  7:36 UTC (permalink / raw)
  To: Iorga, Cristian, Burton, Ross; +Cc: openembedded-core

Also, please note that tools-test and tools-wispr use also the ${S} dir in install, so my code is in accordance to previous code (prior artwork :-) ).

-----Original Message-----
From: Iorga, Cristian 
Sent: Monday, February 25, 2013 9:19 AM
To: Burton, Ross
Cc: openembedded-core@lists.openembedded.org
Subject: RE: [OE-core] [PATCH] connman: enable connman client

Hello Ross,

1. As far as I have seen, building the connmanctl is the default, there is no --enable-client.
	Maybe I am wrong, I have extracted this info from the documentation.
2. Like you said, at the moment, the client executable is produced directly in the source directory, hence my install command.
	If I understand correctly, will be the same thing if I change into build directory?

Regards,
Cristian

-----Original Message-----
From: Ross Burton [mailto:ross.burton@intel.com] 
Sent: Saturday, February 23, 2013 10:34 AM
To: Iorga, Cristian
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH] connman: enable connman client

Hi Cristian,

On Friday, 22 February 2013 at 20:10, Cristian Iorga wrote: 
> - --disable-client \

I'd prefer to see an explicit --enable-client here to make it clear what we're turning on and off.
 
> + install -m 0755 ${S}/client/connmanctl ${D}${bindir}

${S} (source) should be ${B} (build), although at the moment they are the same directory I've been slowly working on changing that.

Also the fact that you have to do this is depressing.  I wonder why upstream doesn't want to install any of the tools?

Ross 



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] connman: enable connman client
  2013-02-25  7:18   ` Iorga, Cristian
@ 2013-02-25  8:21     ` Burton, Ross
  0 siblings, 0 replies; 8+ messages in thread
From: Burton, Ross @ 2013-02-25  8:21 UTC (permalink / raw)
  To: Iorga, Cristian; +Cc: openembedded-core

Hi Cristian,

On 25 February 2013 07:18, Iorga, Cristian <cristian.iorga@intel.com> wrote:
> 1. As far as I have seen, building the connmanctl is the default, there is no --enable-client.
>         Maybe I am wrong, I have extracted this info from the documentation.

With autotools if there's a --disable-something there's always a
--enable-something (actually, --disable-something is implemented as
--enable-something=no).

> 2. Like you said, at the moment, the client executable is produced directly in the source directory, hence my install command.
>         If I understand correctly, will be the same thing if I change into build directory?

The binary is produced in the build directory, it just happens that it
is the same directory as the source directory at present.

> Also, please note that tools-test and tools-wispr use also the ${S} dir in install, so my code is in accordance to previous code (prior artwork :-) ).

Yes, lots of code is wrong. I'm slowly working through all of oe-core...

Ross



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-02-25  8:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-22 20:10 [PATCH] connman: enable connman client Cristian Iorga
2013-02-23  8:34 ` Ross Burton
2013-02-23  9:02   ` Jack Mitchell
2013-02-23 11:30     ` Paul Eggleton
2013-02-23 12:43       ` Jack Mitchell
2013-02-25  7:18   ` Iorga, Cristian
2013-02-25  8:21     ` Burton, Ross
2013-02-25  7:36   ` Iorga, Cristian

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.