mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] Linphone: add Linux based VoIP app
@ 2012-04-04  8:09 Juergen Beisert
  2012-04-04  8:34 ` Alexander Stein
  2012-04-06  5:55 ` Michael Olbrich
  0 siblings, 2 replies; 3+ messages in thread
From: Juergen Beisert @ 2012-04-04  8:09 UTC (permalink / raw)
  To: ptxdist

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>

diff --git a/rules/linphone.in b/rules/linphone.in
new file mode 100644
index 0000000..c375cc6
--- /dev/null
+++ b/rules/linphone.in
@@ -0,0 +1,40 @@
+## SECTION=applications
+
+menuconfig LINPHONE
+	tristate
+	prompt "linphone                      "
+	select LIBEXOSIP2
+	select LIBMEDIASTREAMER
+	select READLINE
+	select ALSA_LIB if LINPHONE_ALSA
+	select LIBSRTP if LINPHONE_LIBSRTP
+	select GCCLIBS_GCC_S
+	select GCCLIBS_CXX
+	select LIBC_RT
+	select LIBC_DL
+	select LIBC_PTHREAD
+	select LIBC_M
+	select LIBC_NSL
+	help
+	  Open source video SIP phone. Refer http://www.linphone.org/ for
+	  further details.
+	  Note: video support is currently disabled
+
+if LINPHONE
+
+config LINPHONE_ALSA
+	bool
+	depends on BROKEN
+	prompt "use ALSA library"
+	help
+	  Build the embedded mediastreamer library with ALAS sound.
+
+config LINPHONE_LIBSRTP
+	bool
+	depends on BROKEN
+	prompt "use srtp library"
+	help
+	  Build the embedded oRTP with support for the
+	  Secure Real-time Transport Protocol (SRTP)
+
+endif
diff --git a/rules/linphone.make b/rules/linphone.make
new file mode 100644
index 0000000..e66a9bb
--- /dev/null
+++ b/rules/linphone.make
@@ -0,0 +1,100 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2011 by Juergen Beisert <jbe@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_LINPHONE) += linphone
+
+#
+# Paths and names
+#
+LINPHONE_VERSION	:= 3.5.0
+LINPHONE_MD5		:= 95111861f71c455f58b5177863b8e566
+LINPHONE		:= linphone-$(LINPHONE_VERSION)
+LINPHONE_SUFFIX		:= tar.gz
+LINPHONE_URL		:= http://download-mirror.savannah.gnu.org/releases/linphone/3.5.x/sources/$(LINPHONE).$(LINPHONE_SUFFIX)
+LINPHONE_SOURCE		:= $(SRCDIR)/$(LINPHONE).$(LINPHONE_SUFFIX)
+LINPHONE_DIR		:= $(BUILDDIR)/$(LINPHONE)
+LINPHONE_LICENSE	:= GPL
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+LINPHONE_CONF_TOOL	:= autoconf
+LINPHONE_CONF_OPT	:= $(CROSS_AUTOCONF_USR) \
+	--disable-nls \
+	--enable-shared \
+	--disable-static \
+	--disable-rpath \
+	--disable-x11 \
+	--enable-console_ui=yes \
+	--enable-gtk_ui=no \
+	--enable-notify=no \
+	--enable-date \
+	--enable-ipv6=no \
+	--enable-truespeech=no \
+	--enable-nonstandard-gsm=no \
+	--enable-rsvp \
+	--enable-ssl=no \
+	--enable-video=no \
+	--disable-zrtp \
+	--enable-portaudio=no \
+	--enable-tunnel=no \
+	--disable-tests \
+	--with-osip=/usr \
+	--without-ffmpeg \
+	--disable-strict \
+	--$(call ptx/endis, PTXCONF_LINPHONE_ALSA)-alsa \
+	ac_cv_path_DOXYGEN=false
+
+# do not use the built in ortp and mediastreamer libs. Their configure stage
+# is broken and they compile-in things we do not want.
+
+LINPHONE_CONF_OPT += --enable-external-mediastreamer \
+	--enable-external-ortp
+
+# switches with trouble
+#  --without-readline
+#  --enable-relativeprefix
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/linphone.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, linphone)
+	@$(call install_fixup, linphone,PRIORITY,optional)
+	@$(call install_fixup, linphone,SECTION,base)
+	@$(call install_fixup, linphone,AUTHOR,"Juergen Beisert <jbe@pengutronix.de>")
+	@$(call install_fixup, linphone,DESCRIPTION,missing)
+
+	@$(call install_copy, linphone, 0, 0, 0755, -, /usr/bin/linphonec)
+	@$(call install_copy, linphone, 0, 0, 0755, -, /usr/bin/linphonecsh)
+	@$(call install_lib, linphone, 0, 0, 0644, liblinphone)
+
+
+	@$(call install_copy, linphone, 0, 0, 0755, /usr/lib/liblinphone)
+	@$(call install_copy, linphone, 0, 0, 0755, /usr/lib/liblinphone/plugins)
+
+	@$(call install_tree, linphone, 0, 0, -, /usr/share/linphone/)
+	@$(call install_tree, linphone, 0, 0, -, /usr/share/sounds/linphone/)
+
+	@$(call install_finish, linphone)
+
+	@$(call touch)
+
+# vim: syntax=make

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH] Linphone: add Linux based VoIP app
  2012-04-04  8:09 [ptxdist] [PATCH] Linphone: add Linux based VoIP app Juergen Beisert
@ 2012-04-04  8:34 ` Alexander Stein
  2012-04-06  5:55 ` Michael Olbrich
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander Stein @ 2012-04-04  8:34 UTC (permalink / raw)
  To: ptxdist

Am Mittwoch, 4. April 2012, 10:09:15 schrieb Juergen Beisert:
> Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
> 
> diff --git a/rules/linphone.in b/rules/linphone.in
> new file mode 100644
> index 0000000..c375cc6
> --- /dev/null
> +++ b/rules/linphone.in
> @@ -0,0 +1,40 @@
> +## SECTION=applications
> +
> +menuconfig LINPHONE
> +	tristate
> +	prompt "linphone                      "
> +	select LIBEXOSIP2
> +	select LIBMEDIASTREAMER
> +	select READLINE
> +	select ALSA_LIB if LINPHONE_ALSA
> +	select LIBSRTP if LINPHONE_LIBSRTP
> +	select GCCLIBS_GCC_S
> +	select GCCLIBS_CXX
> +	select LIBC_RT
> +	select LIBC_DL
> +	select LIBC_PTHREAD
> +	select LIBC_M
> +	select LIBC_NSL
> +	help
> +	  Open source video SIP phone. Refer http://www.linphone.org/ for
> +	  further details.
> +	  Note: video support is currently disabled
> +
> +if LINPHONE
> +
> +config LINPHONE_ALSA
> +	bool
> +	depends on BROKEN
> +	prompt "use ALSA library"
> +	help
> +	  Build the embedded mediastreamer library with ALAS sound.
> +

Nitpick:                                         typo ^^

Best regards,
Alexander
-- 
Dipl.-Inf. Alexander Stein

SYS TEC electronic GmbH
August-Bebel-Str. 29
D-07973 Greiz

Tel: +49-3661-6279-0, Fax: +49-3661-6279-99
eMail:    Alexander.Stein@systec-electronic.com
Internet: http://www.systec-electronic.com

Managing Director: Dipl.-Phys. Siegmar Schmidt
Commercial registry: Amtsgericht Jena, HRB 205563

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH] Linphone: add Linux based VoIP app
  2012-04-04  8:09 [ptxdist] [PATCH] Linphone: add Linux based VoIP app Juergen Beisert
  2012-04-04  8:34 ` Alexander Stein
@ 2012-04-06  5:55 ` Michael Olbrich
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Olbrich @ 2012-04-06  5:55 UTC (permalink / raw)
  To: ptxdist

On Wed, Apr 04, 2012 at 10:09:15AM +0200, Juergen Beisert wrote:
> Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
> 
> diff --git a/rules/linphone.in b/rules/linphone.in
> new file mode 100644
> index 0000000..c375cc6
> --- /dev/null
> +++ b/rules/linphone.in
> @@ -0,0 +1,40 @@
> +## SECTION=applications
> +
> +menuconfig LINPHONE
> +	tristate
> +	prompt "linphone                      "
> +	select LIBEXOSIP2
> +	select LIBMEDIASTREAMER
> +	select READLINE
> +	select ALSA_LIB if LINPHONE_ALSA
> +	select LIBSRTP if LINPHONE_LIBSRTP
> +	select GCCLIBS_GCC_S
> +	select GCCLIBS_CXX
> +	select LIBC_RT
> +	select LIBC_DL
> +	select LIBC_PTHREAD
> +	select LIBC_M
> +	select LIBC_NSL
> +	help
> +	  Open source video SIP phone. Refer http://www.linphone.org/ for
> +	  further details.
> +	  Note: video support is currently disabled
> +
> +if LINPHONE
> +
> +config LINPHONE_ALSA
> +	bool
> +	depends on BROKEN
> +	prompt "use ALSA library"
> +	help
> +	  Build the embedded mediastreamer library with ALAS sound.
> +
> +config LINPHONE_LIBSRTP
> +	bool
> +	depends on BROKEN
> +	prompt "use srtp library"
> +	help
> +	  Build the embedded oRTP with support for the
> +	  Secure Real-time Transport Protocol (SRTP)
> +
> +endif
> diff --git a/rules/linphone.make b/rules/linphone.make
> new file mode 100644
> index 0000000..e66a9bb
> --- /dev/null
> +++ b/rules/linphone.make
> @@ -0,0 +1,100 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2011 by Juergen Beisert <jbe@pengutronix.de>
> +#
> +# See CREDITS for details about who has contributed to this project.
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_LINPHONE) += linphone
> +
> +#
> +# Paths and names
> +#
> +LINPHONE_VERSION	:= 3.5.0

3.5.2 ?

> +LINPHONE_MD5		:= 95111861f71c455f58b5177863b8e566
> +LINPHONE		:= linphone-$(LINPHONE_VERSION)
> +LINPHONE_SUFFIX		:= tar.gz
> +LINPHONE_URL		:= http://download-mirror.savannah.gnu.org/releases/linphone/3.5.x/sources/$(LINPHONE).$(LINPHONE_SUFFIX)
> +LINPHONE_SOURCE		:= $(SRCDIR)/$(LINPHONE).$(LINPHONE_SUFFIX)
> +LINPHONE_DIR		:= $(BUILDDIR)/$(LINPHONE)
> +LINPHONE_LICENSE	:= GPL
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +#
> +# autoconf
> +#
> +LINPHONE_CONF_TOOL	:= autoconf
> +LINPHONE_CONF_OPT	:= $(CROSS_AUTOCONF_USR) \
> +	--disable-nls \
> +	--enable-shared \
> +	--disable-static \
> +	--disable-rpath \
> +	--disable-x11 \
> +	--enable-console_ui=yes \
> +	--enable-gtk_ui=no \
> +	--enable-notify=no \
> +	--enable-date \
> +	--enable-ipv6=no \

Make this conditional on PTXCONF_GLOBAL_IPV6

> +	--enable-truespeech=no \
> +	--enable-nonstandard-gsm=no \
> +	--enable-rsvp \
> +	--enable-ssl=no \
> +	--enable-video=no \
> +	--disable-zrtp \
> +	--enable-portaudio=no \
> +	--enable-tunnel=no \
> +	--disable-tests \
> +	--with-osip=/usr \
> +	--without-ffmpeg \
> +	--disable-strict \
> +	--$(call ptx/endis, PTXCONF_LINPHONE_ALSA)-alsa \
> +	ac_cv_path_DOXYGEN=false
> +
> +# do not use the built in ortp and mediastreamer libs. Their configure stage
> +# is broken and they compile-in things we do not want.
> +
> +LINPHONE_CONF_OPT += --enable-external-mediastreamer \
> +	--enable-external-ortp
> +
> +# switches with trouble
> +#  --without-readline
> +#  --enable-relativeprefix
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/linphone.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, linphone)
> +	@$(call install_fixup, linphone,PRIORITY,optional)
> +	@$(call install_fixup, linphone,SECTION,base)
> +	@$(call install_fixup, linphone,AUTHOR,"Juergen Beisert <jbe@pengutronix.de>")
> +	@$(call install_fixup, linphone,DESCRIPTION,missing)
> +
> +	@$(call install_copy, linphone, 0, 0, 0755, -, /usr/bin/linphonec)
> +	@$(call install_copy, linphone, 0, 0, 0755, -, /usr/bin/linphonecsh)
> +	@$(call install_lib, linphone, 0, 0, 0644, liblinphone)
> +
> +
> +	@$(call install_copy, linphone, 0, 0, 0755, /usr/lib/liblinphone)
> +	@$(call install_copy, linphone, 0, 0, 0755, /usr/lib/liblinphone/plugins)
> +
> +	@$(call install_tree, linphone, 0, 0, -, /usr/share/linphone/)
> +	@$(call install_tree, linphone, 0, 0, -, /usr/share/sounds/linphone/)
> +
> +	@$(call install_finish, linphone)
> +
> +	@$(call touch)
> +
> +# vim: syntax=make
> 
> -- 
> Pengutronix e.K.                              | Juergen Beisert             |
> Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |
> 
> -- 
> ptxdist mailing list
> ptxdist@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2012-04-06  5:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-04  8:09 [ptxdist] [PATCH] Linphone: add Linux based VoIP app Juergen Beisert
2012-04-04  8:34 ` Alexander Stein
2012-04-06  5:55 ` Michael Olbrich

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