* [Buildroot] linphone package
@ 2011-08-09 14:05 Pedro Sanchez
2011-08-09 15:21 ` Peter Korsgaard
0 siblings, 1 reply; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ messages in thread
end of thread, other threads:[~2011-08-10 14:26 UTC | newest]
Thread overview: 10+ 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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox