Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] linphone package
@ 2011-08-09 14:05 Pedro Sanchez
  2011-08-09 15:21 ` Peter Korsgaard
  0 siblings, 1 reply; 12+ messages in thread
From: Pedro Sanchez @ 2011-08-09 14:05 UTC (permalink / raw)
  To: buildroot

Hello,

I'd like to get linphone-nox (console mode) packaged for buildroot. So 
before I start working on it, is there some previous packaging work that 
I could refer to? or is someone else already working on it?

Thanks,

-- 
Pedro

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

* [Buildroot] linphone package
  2011-08-09 14:05 [Buildroot] linphone package Pedro Sanchez
@ 2011-08-09 15:21 ` Peter Korsgaard
  2011-08-09 18:34   ` Pedro Sanchez
  0 siblings, 1 reply; 12+ messages in thread
From: Peter Korsgaard @ 2011-08-09 15:21 UTC (permalink / raw)
  To: buildroot

>>>>> "Pedro" == Pedro Sanchez <psanchez@fosstel.com> writes:

 Pedro> Hello,
 Pedro> I'd like to get linphone-nox (console mode) packaged for buildroot. So
 Pedro> before I start working on it, is there some previous packaging work
 Pedro> that I could refer to? or is someone else already working on it?

Not that I'm aware of.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] linphone package
  2011-08-09 15:21 ` Peter Korsgaard
@ 2011-08-09 18:34   ` Pedro Sanchez
  2011-08-09 18:39     ` Peter Korsgaard
  0 siblings, 1 reply; 12+ messages in thread
From: Pedro Sanchez @ 2011-08-09 18:34 UTC (permalink / raw)
  To: buildroot

On 08/09/2011 11:21 AM, Peter Korsgaard wrote:
>>>>>> "Pedro" == Pedro Sanchez<psanchez@fosstel.com>  writes:
>
>   Pedro>  Hello,
>   Pedro>  I'd like to get linphone-nox (console mode) packaged for buildroot. So
>   Pedro>  before I start working on it, is there some previous packaging work
>   Pedro>  that I could refer to? or is someone else already working on it?
>
> Not that I'm aware of.
>

OK thanks.

I have now a working version of the linphone.mk file that seems to work 
well in my initial tests:

#############################################################
#
# linphone
#
#############################################################
LINPHONE_VERSION = 3.4.3
LINPHONE_SOURCE = linphone-$(LINPHONE_VERSION).tar.gz
LINPHONE_SITE = 
http://download-mirror.savannah.gnu.org/releases/linphone/3.4.x/sources
LINPHONE_INSTALL_STAGING = YES
LINPHONE_DEPENDENCIES = alsa-lib speex ncurses readline libeXosip2 libosip2
LINPHONE_CONF_OPT = --enable-gnome_ui=no \
		    --enable-gtk_ui=no \
		    --enable-alsa \
		    --disable-manual \
		    --disable-sdl \
		    --disable-theora \
		    --disable-x11 \
		    --disable-shared \
		    --disable-gsm \
		    --disable-jack \
		    --disable-libv4l \
		    --disable-video

$(eval $(call AUTOTARGETS,package,linphone))


I am cross-compiling linphone for ARM and the final executable created 
by buildroot in my target directory is /usr/bin/arm-linux-linphonec. No 
other binaries in the build have this "arm-linux' prefix. I's like the 
binary to be named /usr/bin/linphonec instead? Any suggestions?

Thanks,

-- 
Pedro

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

* [Buildroot] linphone package
  2011-08-09 18:34   ` Pedro Sanchez
@ 2011-08-09 18:39     ` Peter Korsgaard
  2011-08-09 18:56       ` Yann E. MORIN
  2011-08-10 14:26       ` [Buildroot] [PATCH 1/1] New Package: Linphone Pedro Sanchez
  0 siblings, 2 replies; 12+ messages in thread
From: Peter Korsgaard @ 2011-08-09 18:39 UTC (permalink / raw)
  To: buildroot

>>>>> "Pedro" == Pedro Sanchez <psanchez@fosstel.com> writes:

Hi,

 Pedro> #############################################################
 Pedro> #
 Pedro> # linphone
 Pedro> #
 Pedro> #############################################################
 Pedro> LINPHONE_VERSION = 3.4.3
 Pedro> LINPHONE_SOURCE = linphone-$(LINPHONE_VERSION).tar.gz
 Pedro> LINPHONE_SITE =
 Pedro> http://download-mirror.savannah.gnu.org/releases/linphone/3.4.x/sources
 Pedro> LINPHONE_INSTALL_STAGING = YES
 Pedro> LINPHONE_DEPENDENCIES = alsa-lib speex ncurses readline libeXosip2 libosip2
 Pedro> LINPHONE_CONF_OPT = --enable-gnome_ui=no \
 Pedro> 		    --enable-gtk_ui=no \
 Pedro> 		    --enable-alsa \
 Pedro> 		    --disable-manual \
 Pedro> 		    --disable-sdl \
 Pedro> 		    --disable-theora \
 Pedro> 		    --disable-x11 \
 Pedro> 		    --disable-shared \
 Pedro> 		    --disable-gsm \
 Pedro> 		    --disable-jack \
 Pedro> 		    --disable-libv4l \
 Pedro> 		    --disable-video

We have most of those in BR, so it would be good to optionally enable
them.

 Pedro> $(eval $(call AUTOTARGETS,package,linphone))


 Pedro> I am cross-compiling linphone for ARM and the final executable
 Pedro> created by buildroot in my target directory is
 Pedro> /usr/bin/arm-linux-linphonec. No other binaries in the build
 Pedro> have this "arm-linux' prefix. I's like the binary to be named
 Pedro> /usr/bin/linphonec instead? Any suggestions?

Typically you can pass --program-prefix="" to configure to disable it.

Care to send a real git patch including Config.in once you have it all
working?

-- 
Bye, Peter Korsgaard

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

* [Buildroot] linphone package
  2011-08-09 18:39     ` Peter Korsgaard
@ 2011-08-09 18:56       ` Yann E. MORIN
  2011-08-09 19:25         ` Peter Korsgaard
  2011-08-10 14:26       ` [Buildroot] [PATCH 1/1] New Package: Linphone Pedro Sanchez
  1 sibling, 1 reply; 12+ messages in thread
From: Yann E. MORIN @ 2011-08-09 18:56 UTC (permalink / raw)
  To: buildroot

Peter, Pedro,

On Tuesday 09 August 2011 20:39:31 Peter Korsgaard wrote:
> >>>>> "Pedro" == Pedro Sanchez <psanchez@fosstel.com> writes:
>  Pedro> I am cross-compiling linphone for ARM and the final executable
>  Pedro> created by buildroot in my target directory is
>  Pedro> /usr/bin/arm-linux-linphonec. No other binaries in the build
>  Pedro> have this "arm-linux' prefix. I's like the binary to be named
>  Pedro> /usr/bin/linphonec instead? Any suggestions?
> 
> Typically you can pass --program-prefix="" to configure to disable it.

Maybe it would make sense to add this to the auto-target infrastructure?
Either it is unconditionally added, or the package can set a variable to
use it, eg. PKG_CONF_PROG_PREFIX = YES

I'll take a shot at it.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] linphone package
  2011-08-09 18:56       ` Yann E. MORIN
@ 2011-08-09 19:25         ` Peter Korsgaard
  2011-08-09 19:40           ` Yann E. MORIN
  0 siblings, 1 reply; 12+ messages in thread
From: Peter Korsgaard @ 2011-08-09 19:25 UTC (permalink / raw)
  To: buildroot

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@anciens.enib.fr> writes:

 Yann> Peter, Pedro,
 Yann> On Tuesday 09 August 2011 20:39:31 Peter Korsgaard wrote:
 >> >>>>> "Pedro" == Pedro Sanchez <psanchez@fosstel.com> writes:
 Pedro> I am cross-compiling linphone for ARM and the final executable
 Pedro> created by buildroot in my target directory is
 Pedro> /usr/bin/arm-linux-linphonec. No other binaries in the build
 Pedro> have this "arm-linux' prefix. I's like the binary to be named
 Pedro> /usr/bin/linphonec instead? Any suggestions?
 >> 
 >> Typically you can pass --program-prefix="" to configure to disable it.

 Yann> Maybe it would make sense to add this to the auto-target infrastructure?
 Yann> Either it is unconditionally added, or the package can set a variable to
 Yann> use it, eg. PKG_CONF_PROG_PREFIX = YES

Unconditional should be ok, similar to how we do the ipv6 / nls stuff.

 Yann> I'll take a shot at it.

Thanks!

-- 
Bye, Peter Korsgaard

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

* [Buildroot] linphone package
  2011-08-09 19:25         ` Peter Korsgaard
@ 2011-08-09 19:40           ` Yann E. MORIN
  2011-08-09 19:44             ` Peter Korsgaard
  0 siblings, 1 reply; 12+ messages in thread
From: Yann E. MORIN @ 2011-08-09 19:40 UTC (permalink / raw)
  To: buildroot

Peter, All,

On Tuesday 09 August 2011 21:25:02 Peter Korsgaard wrote:
>  Yann> Maybe it would make sense to add this to the auto-target infrastructure?
>  Yann> Either it is unconditionally added, or the package can set a variable to
>  Yann> use it, eg. PKG_CONF_PROG_PREFIX = YES
> 
> Unconditional should be ok, similar to how we do the ipv6 / nls stuff.

OK.

I'm also removing it from PKG_CONF_OPT variables. Do you want a single patch
that removes all instances in one go, or do you want one patch per package?
I'm tempted to do the latter, so we can revert only those that break.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] linphone package
  2011-08-09 19:40           ` Yann E. MORIN
@ 2011-08-09 19:44             ` Peter Korsgaard
  2011-08-09 19:50               ` Yann E. MORIN
  0 siblings, 1 reply; 12+ messages in thread
From: Peter Korsgaard @ 2011-08-09 19:44 UTC (permalink / raw)
  To: buildroot

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@anciens.enib.fr> writes:

 Yann> Peter, All,
 Yann> On Tuesday 09 August 2011 21:25:02 Peter Korsgaard wrote:
 Yann> Maybe it would make sense to add this to the auto-target infrastructure?
 Yann> Either it is unconditionally added, or the package can set a variable to
 Yann> use it, eg. PKG_CONF_PROG_PREFIX = YES
 >> 
 >> Unconditional should be ok, similar to how we do the ipv6 / nls stuff.

 Yann> OK.

 Yann> I'm also removing it from PKG_CONF_OPT variables. Do you want a
 Yann> single patch that removes all instances in one go, or do you want
 Yann> one patch per package?  I'm tempted to do the latter, so we can
 Yann> revert only those that break.

Up to you. Seems we have it in 21 files. I'll prefer to only commit
post-2011.08 though.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] linphone package
  2011-08-09 19:44             ` Peter Korsgaard
@ 2011-08-09 19:50               ` Yann E. MORIN
  0 siblings, 0 replies; 12+ messages in thread
From: Yann E. MORIN @ 2011-08-09 19:50 UTC (permalink / raw)
  To: buildroot

Peter, All,

On Tuesday 09 August 2011 21:44:59 Peter Korsgaard wrote:
> >>>>> "Yann" == Yann E MORIN <yann.morin.1998@anciens.enib.fr> writes:
>  Yann> I'm also removing it from PKG_CONF_OPT variables. Do you want a
>  Yann> single patch that removes all instances in one go, or do you want
>  Yann> one patch per package?  I'm tempted to do the latter, so we can
>  Yann> revert only those that break.
> 
> Up to you. Seems we have it in 21 files.

Sure! So, one patch per change it will be. :-)

> I'll prefer to only commit post-2011.08 though.

I'm doing it now, `cause I get a bit bored. So, systematicaly editing a
bunch of files, and just do the same thing again-and-again won't get me
more bored than I currently am... ;-]

And then, I can easily rebase later. Hopefully... :-]

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] [PATCH 1/1] New Package: Linphone
  2011-08-09 18:39     ` Peter Korsgaard
  2011-08-09 18:56       ` Yann E. MORIN
@ 2011-08-10 14:26       ` Pedro Sanchez
  1 sibling, 0 replies; 12+ messages in thread
From: Pedro Sanchez @ 2011-08-10 14:26 UTC (permalink / raw)
  To: buildroot

This is a package for the Linphone VoIP client, console mode operation 
only (linphonec).

Signed-off-by: Pedro Sanchez <psanchez@fosstel.com>
---
  package/Config.in            |    1 +
  package/linphone/Config.in   |   12 ++++++++++++
  package/linphone/linphone.mk |   24 ++++++++++++++++++++++++
  3 files changed, 37 insertions(+), 0 deletions(-)
  create mode 100644 package/linphone/Config.in
  create mode 100644 package/linphone/linphone.mk

diff --git a/package/Config.in b/package/Config.in
index 7112e05..ebe583e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -417,6 +417,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
  source "package/lighttpd/Config.in"
  endif
  source "package/links/Config.in"
+source "package/linphone/Config.in"
  source "package/lrzsz/Config.in"
  source "package/mii-diag/Config.in"
  source "package/mrouted/Config.in"
diff --git a/package/linphone/Config.in b/package/linphone/Config.in
new file mode 100644
index 0000000..60739cc
--- /dev/null
+++ b/package/linphone/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_LINPHONE
+	bool "linphone"
+	select BR2_PACKAGE_ALSA_LIB
+	select BR2_PACKAGE_SPEEX
+	select BR2_PACKAGE_NCURSES
+	select BR2_PACKAGE_READLINE
+	select BR2_PACKAGE_LIBEXOSIP2
+	select BR2_PACKAGE_LIBOSIP2
+	help
+	  Install the linphone package, console mode (linphonec)
+
+          http://www.linphone.org
diff --git a/package/linphone/linphone.mk b/package/linphone/linphone.mk
new file mode 100644
index 0000000..0945722
--- /dev/null
+++ b/package/linphone/linphone.mk
@@ -0,0 +1,24 @@
+#############################################################
+#
+# linphone
+#
+#############################################################
+LINPHONE_VERSION = 3.4.3
+LINPHONE_SOURCE = linphone-$(LINPHONE_VERSION).tar.gz
+LINPHONE_SITE = 
http://download-mirror.savannah.gnu.org/releases/linphone/3.4.x/sources
+LINPHONE_INSTALL_STAGING = YES
+LINPHONE_DEPENDENCIES = alsa-lib speex ncurses readline libeXosip2 libosip2
+LINPHONE_CONF_OPT = --enable-gnome_ui=no \
+		    --enable-gtk_ui=no \
+		    --enable-alsa \
+		    --disable-manual \
+		    --disable-sdl \
+		    --disable-theora \
+		    --disable-x11 \
+		    --disable-shared \
+		    --disable-gsm \
+		    --disable-jack \
+		    --disable-libv4l \
+		    --disable-video
+
+$(eval $(call AUTOTARGETS,package,linphone))
-- 
1.7.0.4

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

* [Buildroot] linphone package
@ 2012-03-06  0:42 Choi, David
  2012-03-06  9:36 ` Thomas Petazzoni
  0 siblings, 1 reply; 12+ messages in thread
From: Choi, David @ 2012-03-06  0:42 UTC (permalink / raw)
  To: buildroot

Hello everybody,

After seeing a patch submitted during the August last year, I checked out the latest stable version of buildroot last night.
But After uncompressed the buildroot source tree, I could not find the patch applied to the package/Config.in for the linphone.

How can I check out the buildroot source tree including the linphone patch?

Thank you in advance.

Regards,
David J. Choi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120306/880c9336/attachment.html>

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

* [Buildroot] linphone package
  2012-03-06  0:42 [Buildroot] linphone package Choi, David
@ 2012-03-06  9:36 ` Thomas Petazzoni
  0 siblings, 0 replies; 12+ messages in thread
From: Thomas Petazzoni @ 2012-03-06  9:36 UTC (permalink / raw)
  To: buildroot

Hello David,

Le Tue, 6 Mar 2012 00:42:58 +0000,
"Choi, David" <David.Choi@Micrel.Com> a ?crit :

> After seeing a patch submitted during the August last year, I checked
> out the latest stable version of buildroot last night. But After
> uncompressed the buildroot source tree, I could not find the patch
> applied to the package/Config.in for the linphone.

The patch at:

From: Pedro Sanchez <psanchez@fosstel.com>
To: buildroot at busybox.net
Subject: [Buildroot] [PATCH 1/1] New Package: Linphone
Date: Wed, 10 Aug 2011 10:26:34 -0400

has apparently not been applied, even though it looked quite good (but
the contributor hasn't been persistent enough by re-sending updated
versions of the patch).

Can you take the patch, update it and push it again so that we can merge
it?

Thanks,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

end of thread, other threads:[~2012-03-06  9:36 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-09 14:05 [Buildroot] linphone package Pedro Sanchez
2011-08-09 15:21 ` Peter Korsgaard
2011-08-09 18:34   ` Pedro Sanchez
2011-08-09 18:39     ` Peter Korsgaard
2011-08-09 18:56       ` Yann E. MORIN
2011-08-09 19:25         ` Peter Korsgaard
2011-08-09 19:40           ` Yann E. MORIN
2011-08-09 19:44             ` Peter Korsgaard
2011-08-09 19:50               ` Yann E. MORIN
2011-08-10 14:26       ` [Buildroot] [PATCH 1/1] New Package: Linphone Pedro Sanchez
  -- strict thread matches above, loose matches on Subject: below --
2012-03-06  0:42 [Buildroot] linphone package Choi, David
2012-03-06  9:36 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox