mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] libmediastreamer: a multimedia streaming engine for linphone
@ 2012-04-04  8:07 Juergen Beisert
  2012-04-06  5:51 ` Michael Olbrich
  2012-04-06  9:47 ` Juergen Beisert
  0 siblings, 2 replies; 4+ messages in thread
From: Juergen Beisert @ 2012-04-04  8:07 UTC (permalink / raw)
  To: ptxdist

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

diff --git a/patches/mediastreamer-2.8.0/add_floating_cap_guessed.diff b/patches/mediastreamer-2.8.0/add_floating_cap_guessed.diff
new file mode 100644
index 0000000..e2d69b3
--- /dev/null
+++ b/patches/mediastreamer-2.8.0/add_floating_cap_guessed.diff
@@ -0,0 +1,55 @@
+From: Juergen Beisert <jbe@pengutronix.de>
+Subject: Read floating/fixed point arithemetics from the compiler
+
+The user can still force fixed or floating point usage.
+
+Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
+---
+ configure.ac |   33 +++++++++++++++++++--------------
+ 1 file changed, 19 insertions(+), 14 deletions(-)
+
+Index: mediastreamer-2.8.0/configure.ac
+===================================================================
+--- mediastreamer-2.8.0.orig/configure.ac
++++ mediastreamer-2.8.0/configure.ac
+@@ -224,21 +224,26 @@ AC_ARG_ENABLE(fixed_point,
+       esac],[fixed_point=guess])
+ 
+ if test "$fixed_point" = "guess" ; then
+-	AC_MSG_CHECKING([whether fixed point arithmetic is preferred])
+-	case ${target_cpu}${host_cpu} in
+-		*bfin*)
+-			fixed_point=true
+-		;;
+-		*arm*)
+-			fixed_point=true
+-		;;
+-		*)
+-			fixed_point=false
+-		;;
+-	esac
+-	AC_MSG_RESULT([$fixed_point])
++#
++# If the compiler comes with software float support, we guess using
++# fixed point is more performant on this architecture
++#
++AC_MSG_CHECKING(for fix point arithmetics restriction)
++AC_COMPILE_IFELSE(
++	[AC_LANG_PROGRAM([[]],
++	[[
++#define HARD_FP_SUPPORT 1
++#if defined(__SOFTFP__)
++# undef HARD_FP_SUPPORT
++#endif
++int foo = HARD_FP_SUPPORT;
++	]])],
++	[fixed_point=false],
++	[fixed_point=true],
++	[fixed point arithmetics])
++AC_MSG_RESULT(${fixed_point})
++
+ fi
+-  
+ 
+ if test x$fixed_point = xtrue ; then
+ 	MS_PUBLIC_CFLAGS="$MS_PUBLIC_CFLAGS -DMS_FIXED_POINT"
diff --git a/patches/mediastreamer-2.8.0/autogen.sh b/patches/mediastreamer-2.8.0/autogen.sh
new file mode 120000
index 0000000..9f8a4cb
--- /dev/null
+++ b/patches/mediastreamer-2.8.0/autogen.sh
@@ -0,0 +1 @@
+../autogen.sh
\ No newline at end of file
diff --git a/patches/mediastreamer-2.8.0/series b/patches/mediastreamer-2.8.0/series
new file mode 100644
index 0000000..2f2bc7e
--- /dev/null
+++ b/patches/mediastreamer-2.8.0/series
@@ -0,0 +1 @@
+add_floating_cap_guessed.diff
diff --git a/rules/libmediastreamer.in b/rules/libmediastreamer.in
new file mode 100644
index 0000000..3aa990a
--- /dev/null
+++ b/rules/libmediastreamer.in
@@ -0,0 +1,56 @@
+## SECTION=system_libraries
+
+menuconfig LIBMEDIASTREAMER
+	tristate
+	prompt "libmediastreamer              "
+	select LIBORTP
+	select SPEEX if LIBMEDIASTREAMER_SPEEX
+	select ALSA_LIB if LIBMEDIASTREAMER_ALSA
+	select LIBC_PTHREAD
+	select LIBC_M
+	select LIBC_RT
+	select LIBC_DL
+	select GCCLIBS_GCC_S
+	select GCCLIBS_CXX
+# this only to re-generate the configure.ac
+	select HOST_GETTEXT
+	select HOST_INTLTOOL
+	help
+	  Multimedia streaming engine for linphone
+
+if LIBMEDIASTREAMER
+
+config LIBMEDIASTREAMER_DEBUG
+	bool
+	prompt "enable debug"
+	help
+	  Make the library larger and more noisy.
+
+config LIBMEDIASTREAMER_ALSA
+	bool
+	default y
+	help
+	  Only *with* ALSA tested yet.
+
+config LIBMEDIASTREAMER_OSS
+	bool
+	help
+	  Only *without* OSS tested yet.
+
+config LIBMEDIASTREAMER_SPEEX
+	bool
+	default y
+	help
+	  Only *with* SPEEX tested yet.
+
+config LIBMEDIASTREAMER_FFMPEG
+	bool
+	help
+	  Only *without* ffmpeg tested yet.
+
+config LIBMEDIASTREAMER_FIXED_FPOINT
+	bool
+	help
+	  Force using of fixed point arithmetic
+
+endif
diff --git a/rules/libmediastreamer.make b/rules/libmediastreamer.make
new file mode 100644
index 0000000..7cf9df8
--- /dev/null
+++ b/rules/libmediastreamer.make
@@ -0,0 +1,96 @@
+# -*-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_LIBMEDIASTREAMER) += libmediastreamer
+
+#
+# Paths and names
+#
+LIBMEDIASTREAMER_VERSION:= 2.8.0
+LIBMEDIASTREAMER_MD5	:= e5744a02f9d3788df4bde730bb00d832
+LIBMEDIASTREAMER	:= mediastreamer-$(LIBMEDIASTREAMER_VERSION)
+LIBMEDIASTREAMER_SUFFIX	:= tgz
+LIBMEDIASTREAMER_URL	:= http://download.savannah.gnu.org/releases/linphone/mediastreamer/$(LIBMEDIASTREAMER).$(LIBMEDIASTREAMER_SUFFIX)
+LIBMEDIASTREAMER_SOURCE	:= $(SRCDIR)/$(LIBMEDIASTREAMER).$(LIBMEDIASTREAMER_SUFFIX)
+LIBMEDIASTREAMER_DIR	:= $(BUILDDIR)/$(LIBMEDIASTREAMER)
+LIBMEDIASTREAMER_LICENSE:= GPLv2
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+LIBMEDIASTREAMER_CONF_TOOL	:= autoconf
+LIBMEDIASTREAMER_CONF_OPT	:= $(CROSS_AUTOCONF_USR) \
+	--disable-strict \
+	$(GLOBAL_IPV6_OPTION) \
+	--enable-shared \
+	--disable-static \
+	--$(call ptx/endis, PTXCONF_LIBMEDIASTREAMER_DEBUG)-debug \
+	--disable-nls \
+	--disable-rpath \
+	--$(call ptx/endis, PTXCONF_LIBMEDIASTREAMER_OSS)-oss \
+	--$(call ptx/endis, PTXCONF_LIBMEDIASTREAMER_ALSA)-alsa \
+	--disable-artsc \
+	--disable-portaudio \
+	--disable-macsnd \
+	--disable-macaqsnd \
+	--disable-pulseaudio \
+	--$(call ptx/endis, PTXCONF_LIBMEDIASTREAMER_SPEEX)-speex \
+	--disable-gsm \
+	--disable-spandsp \
+	--disable-video \
+	--$(call ptx/endis, PTXCONF_LIBMEDIASTREAMER_FFMPEG)-ffmpeg \
+	--disable-sdl \
+	--disable-x11 \
+	--disable-xv \
+	--disable-theora \
+	--disable-vp8 \
+	--enable-external-ortp \
+	--disable-libv4l1 \
+	--disable-libv4l2 \
+	--disable-tests \
+	ac_cv_path_DOXYGEN=false
+
+# force fixed point or let the configure guess it
+# enable = force fixed point
+# disable = force floating point
+# "not given" = guess from compiler's settings
+ifdef PTXCONF_LIBMEDIASTREAMER_FIXED_FPOINT
+LIBMEDIASTREAMER_CONF_OPT += --enable-fixed-point
+endif
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libmediastreamer.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, libmediastreamer)
+	@$(call install_fixup, libmediastreamer,PRIORITY,optional)
+	@$(call install_fixup, libmediastreamer,SECTION,base)
+	@$(call install_fixup, libmediastreamer,AUTHOR,"Juergen Beisert <jbe@pengutronix.de>")
+	@$(call install_fixup, libmediastreamer,DESCRIPTION,"multimedia streaming engine")
+
+	@$(call install_copy, libmediastreamer, 0, 0, 0755, /usr/lib/mediastreamer)
+	@$(call install_copy, libmediastreamer, 0, 0, 0755, /usr/lib/mediastreamer/plugins)
+	@$(call install_lib, libmediastreamer, 0, 0, 0644, libmediastreamer)
+
+	@$(call install_finish, libmediastreamer)
+
+	@$(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] 4+ messages in thread

* Re: [ptxdist] [PATCH] libmediastreamer: a multimedia streaming engine for linphone
  2012-04-04  8:07 [ptxdist] [PATCH] libmediastreamer: a multimedia streaming engine for linphone Juergen Beisert
@ 2012-04-06  5:51 ` Michael Olbrich
  2012-04-06  9:47 ` Juergen Beisert
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2012-04-06  5:51 UTC (permalink / raw)
  To: ptxdist

On Wed, Apr 04, 2012 at 10:07:30AM +0200, Juergen Beisert wrote:
> Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
> 
> diff --git a/patches/mediastreamer-2.8.0/add_floating_cap_guessed.diff b/patches/mediastreamer-2.8.0/add_floating_cap_guessed.diff
> new file mode 100644
> index 0000000..e2d69b3
> --- /dev/null
> +++ b/patches/mediastreamer-2.8.0/add_floating_cap_guessed.diff
> @@ -0,0 +1,55 @@
> +From: Juergen Beisert <jbe@pengutronix.de>
> +Subject: Read floating/fixed point arithemetics from the compiler
> +
> +The user can still force fixed or floating point usage.
> +
> +Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
> +---
> + configure.ac |   33 +++++++++++++++++++--------------
> + 1 file changed, 19 insertions(+), 14 deletions(-)
> +
> +Index: mediastreamer-2.8.0/configure.ac
> +===================================================================
> +--- mediastreamer-2.8.0.orig/configure.ac
> ++++ mediastreamer-2.8.0/configure.ac
> +@@ -224,21 +224,26 @@ AC_ARG_ENABLE(fixed_point,
> +       esac],[fixed_point=guess])
> + 
> + if test "$fixed_point" = "guess" ; then
> +-	AC_MSG_CHECKING([whether fixed point arithmetic is preferred])
> +-	case ${target_cpu}${host_cpu} in
> +-		*bfin*)
> +-			fixed_point=true
> +-		;;
> +-		*arm*)
> +-			fixed_point=true
> +-		;;
> +-		*)
> +-			fixed_point=false
> +-		;;
> +-	esac
> +-	AC_MSG_RESULT([$fixed_point])
> ++#
> ++# If the compiler comes with software float support, we guess using
> ++# fixed point is more performant on this architecture
> ++#
> ++AC_MSG_CHECKING(for fix point arithmetics restriction)
> ++AC_COMPILE_IFELSE(
> ++	[AC_LANG_PROGRAM([[]],
> ++	[[
> ++#define HARD_FP_SUPPORT 1
> ++#if defined(__SOFTFP__)
> ++# undef HARD_FP_SUPPORT
> ++#endif
> ++int foo = HARD_FP_SUPPORT;
> ++	]])],
> ++	[fixed_point=false],
> ++	[fixed_point=true],
> ++	[fixed point arithmetics])
> ++AC_MSG_RESULT(${fixed_point})
> ++
> + fi
> +-  
> + 
> + if test x$fixed_point = xtrue ; then
> + 	MS_PUBLIC_CFLAGS="$MS_PUBLIC_CFLAGS -DMS_FIXED_POINT"
> diff --git a/patches/mediastreamer-2.8.0/autogen.sh b/patches/mediastreamer-2.8.0/autogen.sh
> new file mode 120000
> index 0000000..9f8a4cb
> --- /dev/null
> +++ b/patches/mediastreamer-2.8.0/autogen.sh
> @@ -0,0 +1 @@
> +../autogen.sh
> \ No newline at end of file
> diff --git a/patches/mediastreamer-2.8.0/series b/patches/mediastreamer-2.8.0/series
> new file mode 100644
> index 0000000..2f2bc7e
> --- /dev/null
> +++ b/patches/mediastreamer-2.8.0/series
> @@ -0,0 +1 @@
> +add_floating_cap_guessed.diff
> diff --git a/rules/libmediastreamer.in b/rules/libmediastreamer.in
> new file mode 100644
> index 0000000..3aa990a
> --- /dev/null
> +++ b/rules/libmediastreamer.in
> @@ -0,0 +1,56 @@
> +## SECTION=system_libraries
> +
> +menuconfig LIBMEDIASTREAMER
> +	tristate
> +	prompt "libmediastreamer              "
> +	select LIBORTP
> +	select SPEEX if LIBMEDIASTREAMER_SPEEX
> +	select ALSA_LIB if LIBMEDIASTREAMER_ALSA
> +	select LIBC_PTHREAD
> +	select LIBC_M
> +	select LIBC_RT
> +	select LIBC_DL
> +	select GCCLIBS_GCC_S
> +	select GCCLIBS_CXX
> +# this only to re-generate the configure.ac
> +	select HOST_GETTEXT
> +	select HOST_INTLTOOL
> +	help
> +	  Multimedia streaming engine for linphone
> +
> +if LIBMEDIASTREAMER
> +
> +config LIBMEDIASTREAMER_DEBUG
> +	bool
> +	prompt "enable debug"
> +	help
> +	  Make the library larger and more noisy.
> +
> +config LIBMEDIASTREAMER_ALSA
> +	bool
> +	default y
> +	help
> +	  Only *with* ALSA tested yet.
> +
> +config LIBMEDIASTREAMER_OSS
> +	bool
> +	help
> +	  Only *without* OSS tested yet.
> +
> +config LIBMEDIASTREAMER_SPEEX
> +	bool
> +	default y
> +	help
> +	  Only *with* SPEEX tested yet.
> +
> +config LIBMEDIASTREAMER_FFMPEG
> +	bool
> +	help
> +	  Only *without* ffmpeg tested yet.
> +
> +config LIBMEDIASTREAMER_FIXED_FPOINT
> +	bool
> +	help
> +	  Force using of fixed point arithmetic
> +
> +endif
> diff --git a/rules/libmediastreamer.make b/rules/libmediastreamer.make
> new file mode 100644
> index 0000000..7cf9df8
> --- /dev/null
> +++ b/rules/libmediastreamer.make
> @@ -0,0 +1,96 @@
> +# -*-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_LIBMEDIASTREAMER) += libmediastreamer
> +
> +#
> +# Paths and names
> +#
> +LIBMEDIASTREAMER_VERSION:= 2.8.0

2.8.2 maybe?

> +LIBMEDIASTREAMER_MD5	:= e5744a02f9d3788df4bde730bb00d832
> +LIBMEDIASTREAMER	:= mediastreamer-$(LIBMEDIASTREAMER_VERSION)
> +LIBMEDIASTREAMER_SUFFIX	:= tgz

tar.gz

Michael

> +LIBMEDIASTREAMER_URL	:= http://download.savannah.gnu.org/releases/linphone/mediastreamer/$(LIBMEDIASTREAMER).$(LIBMEDIASTREAMER_SUFFIX)
> +LIBMEDIASTREAMER_SOURCE	:= $(SRCDIR)/$(LIBMEDIASTREAMER).$(LIBMEDIASTREAMER_SUFFIX)
> +LIBMEDIASTREAMER_DIR	:= $(BUILDDIR)/$(LIBMEDIASTREAMER)
> +LIBMEDIASTREAMER_LICENSE:= GPLv2
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +#
> +# autoconf
> +#
> +LIBMEDIASTREAMER_CONF_TOOL	:= autoconf
> +LIBMEDIASTREAMER_CONF_OPT	:= $(CROSS_AUTOCONF_USR) \
> +	--disable-strict \
> +	$(GLOBAL_IPV6_OPTION) \
> +	--enable-shared \
> +	--disable-static \
> +	--$(call ptx/endis, PTXCONF_LIBMEDIASTREAMER_DEBUG)-debug \
> +	--disable-nls \
> +	--disable-rpath \
> +	--$(call ptx/endis, PTXCONF_LIBMEDIASTREAMER_OSS)-oss \
> +	--$(call ptx/endis, PTXCONF_LIBMEDIASTREAMER_ALSA)-alsa \
> +	--disable-artsc \
> +	--disable-portaudio \
> +	--disable-macsnd \
> +	--disable-macaqsnd \
> +	--disable-pulseaudio \
> +	--$(call ptx/endis, PTXCONF_LIBMEDIASTREAMER_SPEEX)-speex \
> +	--disable-gsm \
> +	--disable-spandsp \
> +	--disable-video \
> +	--$(call ptx/endis, PTXCONF_LIBMEDIASTREAMER_FFMPEG)-ffmpeg \
> +	--disable-sdl \
> +	--disable-x11 \
> +	--disable-xv \
> +	--disable-theora \
> +	--disable-vp8 \
> +	--enable-external-ortp \
> +	--disable-libv4l1 \
> +	--disable-libv4l2 \
> +	--disable-tests \
> +	ac_cv_path_DOXYGEN=false
> +
> +# force fixed point or let the configure guess it
> +# enable = force fixed point
> +# disable = force floating point
> +# "not given" = guess from compiler's settings
> +ifdef PTXCONF_LIBMEDIASTREAMER_FIXED_FPOINT
> +LIBMEDIASTREAMER_CONF_OPT += --enable-fixed-point
> +endif
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/libmediastreamer.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, libmediastreamer)
> +	@$(call install_fixup, libmediastreamer,PRIORITY,optional)
> +	@$(call install_fixup, libmediastreamer,SECTION,base)
> +	@$(call install_fixup, libmediastreamer,AUTHOR,"Juergen Beisert <jbe@pengutronix.de>")
> +	@$(call install_fixup, libmediastreamer,DESCRIPTION,"multimedia streaming engine")
> +
> +	@$(call install_copy, libmediastreamer, 0, 0, 0755, /usr/lib/mediastreamer)
> +	@$(call install_copy, libmediastreamer, 0, 0, 0755, /usr/lib/mediastreamer/plugins)
> +	@$(call install_lib, libmediastreamer, 0, 0, 0644, libmediastreamer)
> +
> +	@$(call install_finish, libmediastreamer)
> +
> +	@$(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] 4+ messages in thread

* Re: [ptxdist] [PATCH] libmediastreamer: a multimedia streaming engine for linphone
  2012-04-04  8:07 [ptxdist] [PATCH] libmediastreamer: a multimedia streaming engine for linphone Juergen Beisert
  2012-04-06  5:51 ` Michael Olbrich
@ 2012-04-06  9:47 ` Juergen Beisert
  2012-04-06 20:10   ` Michael Olbrich
  1 sibling, 1 reply; 4+ messages in thread
From: Juergen Beisert @ 2012-04-06  9:47 UTC (permalink / raw)
  To: ptxdist

Hi Michael,

Juergen Beisert wrote:
> [...]
> diff --git a/rules/libmediastreamer.in b/rules/libmediastreamer.in
> new file mode 100644
> index 0000000..3aa990a
> --- /dev/null
> +++ b/rules/libmediastreamer.in
> @@ -0,0 +1,56 @@
> +## SECTION=system_libraries
> +
> +menuconfig LIBMEDIASTREAMER
> +	tristate
> +	prompt "libmediastreamer              "
> +	select LIBORTP
> +	select SPEEX if LIBMEDIASTREAMER_SPEEX
> +	select ALSA_LIB if LIBMEDIASTREAMER_ALSA
> +	select LIBC_PTHREAD
> +	select LIBC_M
> +	select LIBC_RT
> +	select LIBC_DL
> +	select GCCLIBS_GCC_S
> +	select GCCLIBS_CXX
> +# this only to re-generate the configure.ac
> +	select HOST_GETTEXT
> +	select HOST_INTLTOOL
> +	help
> +	  Multimedia streaming engine for linphone

In the meantime I changed the dependencies to:

> +# this only to re-generate the configure.ac
> +	select HOST_GETTEXT if BUILDTIME
> +	select HOST_INTLTOOL if BUILDTIME

But it seems it does not work as intended or at least not how I understand it. 
Because the "extract" stage with the running autoreconf fails due to a 
missing 'AM_GNU_GETTEXT' which only is present when the 'HOST_GETTEXT' 
dependency is correctly handled.

Am I wrong with the "if BUILDTIME" dependency for the host tools?

When I remove the "if BUILDTIME" the host's gettext package is built first and 
the build continues successfuly.

jbe

-- 
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] 4+ messages in thread

* Re: [ptxdist] [PATCH] libmediastreamer: a multimedia streaming engine for linphone
  2012-04-06  9:47 ` Juergen Beisert
@ 2012-04-06 20:10   ` Michael Olbrich
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2012-04-06 20:10 UTC (permalink / raw)
  To: ptxdist

On Fri, Apr 06, 2012 at 11:47:40AM +0200, Juergen Beisert wrote:
> Hi Michael,
> 
> Juergen Beisert wrote:
> > [...]
> > diff --git a/rules/libmediastreamer.in b/rules/libmediastreamer.in
> > new file mode 100644
> > index 0000000..3aa990a
> > --- /dev/null
> > +++ b/rules/libmediastreamer.in
> > @@ -0,0 +1,56 @@
> > +## SECTION=system_libraries
> > +
> > +menuconfig LIBMEDIASTREAMER
> > +	tristate
> > +	prompt "libmediastreamer              "
> > +	select LIBORTP
> > +	select SPEEX if LIBMEDIASTREAMER_SPEEX
> > +	select ALSA_LIB if LIBMEDIASTREAMER_ALSA
> > +	select LIBC_PTHREAD
> > +	select LIBC_M
> > +	select LIBC_RT
> > +	select LIBC_DL
> > +	select GCCLIBS_GCC_S
> > +	select GCCLIBS_CXX
> > +# this only to re-generate the configure.ac
> > +	select HOST_GETTEXT
> > +	select HOST_INTLTOOL
> > +	help
> > +	  Multimedia streaming engine for linphone
> 
> In the meantime I changed the dependencies to:
> 
> > +# this only to re-generate the configure.ac
> > +	select HOST_GETTEXT if BUILDTIME
> > +	select HOST_INTLTOOL if BUILDTIME
> 
> But it seems it does not work as intended or at least not how I understand it. 
> Because the "extract" stage with the running autoreconf fails due to a 
> missing 'AM_GNU_GETTEXT' which only is present when the 'HOST_GETTEXT' 
> dependency is correctly handled.
> 
> Am I wrong with the "if BUILDTIME" dependency for the host tools?

using "if BUILDTIME" on host tools should be a noop.

> When I remove the "if BUILDTIME" the host's gettext package is built first and 
> the build continues successfuly.

I'll try to reproduce this. Something really strange is going on here. Just
drop the "if BUILDTIME" for now. It shouldn't make a difference anyways.

Michael

-- 
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] 4+ messages in thread

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-04  8:07 [ptxdist] [PATCH] libmediastreamer: a multimedia streaming engine for linphone Juergen Beisert
2012-04-06  5:51 ` Michael Olbrich
2012-04-06  9:47 ` Juergen Beisert
2012-04-06 20:10   ` Michael Olbrich

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