mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/3] speex: version bump 1.2rc1 -> 1.2
@ 2018-11-05 15:01 Lucas Stach
  2018-11-05 15:01 ` [ptxdist] [PATCH 2/3] sbc: new package Lucas Stach
  2018-11-05 15:01 ` [ptxdist] [PATCH 3/3] pulseaudio: version bump 8.0 -> 12.2 Lucas Stach
  0 siblings, 2 replies; 7+ messages in thread
From: Lucas Stach @ 2018-11-05 15:01 UTC (permalink / raw)
  To: ptxdist

- version bump
- speexdsp has been split out by upstream into own library
  with most recent release version 1.2rc3

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 patches/speex-1.2rc1/0001-speex_header.patch  |  45 ----
 patches/speex-1.2rc1/0002-resample.patch      |  84 -------
 .../0003-Make-speex-Thumb2-compatible.patch   | 228 ------------------
 patches/speex-1.2rc1/series                   |   6 -
 rules/speex.in                                |   8 +-
 rules/speex.make                              |  38 +--
 rules/speexdsp.in                             |  35 +++
 rules/speexdsp.make                           |  74 ++++++
 8 files changed, 126 insertions(+), 392 deletions(-)
 delete mode 100644 patches/speex-1.2rc1/0001-speex_header.patch
 delete mode 100644 patches/speex-1.2rc1/0002-resample.patch
 delete mode 100644 patches/speex-1.2rc1/0003-Make-speex-Thumb2-compatible.patch
 delete mode 100644 patches/speex-1.2rc1/series
 create mode 100644 rules/speexdsp.in
 create mode 100644 rules/speexdsp.make

diff --git a/patches/speex-1.2rc1/0001-speex_header.patch b/patches/speex-1.2rc1/0001-speex_header.patch
deleted file mode 100644
index 9bb09737a130..000000000000
--- a/patches/speex-1.2rc1/0001-speex_header.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From: Ron Lee <ron@debian.org>
-Date: Fri, 11 Jan 2013 12:13:50 +0100
-Subject: [PATCH] speex_header
-
-from: http://patch-tracker.debian.org/package/speex/1.2~rc1-7
-
-Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
----
- libspeex/speex_header.c |   17 +++++++++--------
- 1 file changed, 9 insertions(+), 8 deletions(-)
-
-diff --git a/libspeex/speex_header.c b/libspeex/speex_header.c
-index b743059..92cc0d4 100644
---- a/libspeex/speex_header.c
-+++ b/libspeex/speex_header.c
-@@ -147,20 +147,21 @@ EXPORT SpeexHeader *speex_packet_to_header(char *packet, int size)
-    int i;
-    SpeexHeader *le_header;
-    const char *h = "Speex   ";
--   for (i=0;i<8;i++)
--      if (packet[i]!=h[i])
--      {
--         speex_notify("This doesn't look like a Speex file");
--         return NULL;
--      }
--   
-+
-    /*FIXME: Do we allow larger headers?*/
-    if (size < (int)sizeof(SpeexHeader))
-    {
-       speex_notify("Speex header too small");
-       return NULL;
-    }
--   
-+
-+   for (i=0;i<8;i++)
-+      if (packet[i]!=h[i])
-+      {
-+         speex_notify("This doesn't look like a Speex file");
-+         return NULL;
-+      }
-+
-    le_header = (SpeexHeader*)speex_alloc(sizeof(SpeexHeader));
-    
-    SPEEX_COPY(le_header, (SpeexHeader*)packet, 1);
diff --git a/patches/speex-1.2rc1/0002-resample.patch b/patches/speex-1.2rc1/0002-resample.patch
deleted file mode 100644
index db79c6fb014a..000000000000
--- a/patches/speex-1.2rc1/0002-resample.patch
+++ /dev/null
@@ -1,84 +0,0 @@
-From: Ron Lee <ron@debian.org>
-Date: Fri, 11 Jan 2013 12:13:50 +0100
-Subject: [PATCH] resample
-
-from: http://patch-tracker.debian.org/package/speex/1.2~rc1-7
-
-Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
----
- libspeex/resample.c |   24 ++++++++++++++----------
- 1 file changed, 14 insertions(+), 10 deletions(-)
-
-diff --git a/libspeex/resample.c b/libspeex/resample.c
-index bebd1a8..0a0296b 100644
---- a/libspeex/resample.c
-+++ b/libspeex/resample.c
-@@ -561,8 +561,8 @@ static void update_filter(SpeexResamplerState *st)
-       st->cutoff = quality_map[st->quality].downsample_bandwidth * st->den_rate / st->num_rate;
-       /* FIXME: divide the numerator and denominator by a certain amount if they're too large */
-       st->filt_len = st->filt_len*st->num_rate / st->den_rate;
--      /* Round down to make sure we have a multiple of 4 */
--      st->filt_len &= (~0x3);
-+      /* Round up to make sure we have a multiple of 8 for SSE */
-+      st->filt_len = ((st->filt_len-1)&(~0x7))+8;
-       if (2*st->den_rate < st->num_rate)
-          st->oversample >>= 1;
-       if (4*st->den_rate < st->num_rate)
-@@ -579,7 +579,7 @@ static void update_filter(SpeexResamplerState *st)
-    }
-    
-    /* Choose the resampling type that requires the least amount of memory */
--   if (st->den_rate <= st->oversample)
-+   if (st->filt_len*st->den_rate <= st->filt_len*st->oversample+8)
-    {
-       spx_uint32_t i;
-       if (!st->sinc_table)
-@@ -756,9 +756,9 @@ EXPORT SpeexResamplerState *speex_resampler_init_frac(spx_uint32_t nb_channels,
- #endif
-    
-    /* Per channel data */
--   st->last_sample = (spx_int32_t*)speex_alloc(nb_channels*sizeof(int));
--   st->magic_samples = (spx_uint32_t*)speex_alloc(nb_channels*sizeof(int));
--   st->samp_frac_num = (spx_uint32_t*)speex_alloc(nb_channels*sizeof(int));
-+   st->last_sample = (spx_int32_t*)speex_alloc(nb_channels*sizeof(spx_int32_t));
-+   st->magic_samples = (spx_uint32_t*)speex_alloc(nb_channels*sizeof(spx_uint32_t));
-+   st->samp_frac_num = (spx_uint32_t*)speex_alloc(nb_channels*sizeof(spx_uint32_t));
-    for (i=0;i<nb_channels;i++)
-    {
-       st->last_sample[i] = 0;
-@@ -954,13 +954,15 @@ EXPORT int speex_resampler_process_interleaved_float(SpeexResamplerState *st, co
- {
-    spx_uint32_t i;
-    int istride_save, ostride_save;
--   spx_uint32_t bak_len = *out_len;
-+   spx_uint32_t bak_out_len = *out_len;
-+   spx_uint32_t bak_in_len = *in_len;
-    istride_save = st->in_stride;
-    ostride_save = st->out_stride;
-    st->in_stride = st->out_stride = st->nb_channels;
-    for (i=0;i<st->nb_channels;i++)
-    {
--      *out_len = bak_len;
-+      *out_len = bak_out_len;
-+      *in_len = bak_in_len;
-       if (in != NULL)
-          speex_resampler_process_float(st, i, in+i, in_len, out+i, out_len);
-       else
-@@ -975,13 +977,15 @@ EXPORT int speex_resampler_process_interleaved_int(SpeexResamplerState *st, cons
- {
-    spx_uint32_t i;
-    int istride_save, ostride_save;
--   spx_uint32_t bak_len = *out_len;
-+   spx_uint32_t bak_out_len = *out_len;
-+   spx_uint32_t bak_in_len = *in_len;
-    istride_save = st->in_stride;
-    ostride_save = st->out_stride;
-    st->in_stride = st->out_stride = st->nb_channels;
-    for (i=0;i<st->nb_channels;i++)
-    {
--      *out_len = bak_len;
-+      *out_len = bak_out_len;
-+      *in_len = bak_in_len;
-       if (in != NULL)
-          speex_resampler_process_int(st, i, in+i, in_len, out+i, out_len);
-       else
diff --git a/patches/speex-1.2rc1/0003-Make-speex-Thumb2-compatible.patch b/patches/speex-1.2rc1/0003-Make-speex-Thumb2-compatible.patch
deleted file mode 100644
index f47df1dc9090..000000000000
--- a/patches/speex-1.2rc1/0003-Make-speex-Thumb2-compatible.patch
+++ /dev/null
@@ -1,228 +0,0 @@
-From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-Date: Fri, 11 Jan 2013 12:13:50 +0100
-Subject: [PATCH] Make speex Thumb2 compatible
-
-Patch written by Michael Hope from Linaro, available at
-http://lists.xiph.org/pipermail/speex-dev/2010-November/008041.html.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
----
- libspeex/filters_arm4.h |    3 +++
- libspeex/fixed_arm4.h   |   18 ++++++++++++++++++
- libspeex/fixed_arm5e.h  |   18 ++++++++++++++++++
- 3 files changed, 39 insertions(+)
-
-diff --git a/libspeex/filters_arm4.h b/libspeex/filters_arm4.h
-index 7a74042..6ec1f75 100644
---- a/libspeex/filters_arm4.h
-+++ b/libspeex/filters_arm4.h
-@@ -47,8 +47,10 @@ int normalize16(const spx_sig_t *x, spx_word16_t *y, spx_sig_t max_scale, int le
- 
-          "\tldr %4, [%0], #4 \n"
-          "\tcmps %4, %1 \n"
-+         "\tit gt \n"
-          "\tmovgt %1, %4 \n"
-          "\tcmps %4, %3 \n"
-+         "\tit lt \n"
-          "\tmovlt %3, %4 \n"
- 
-          "\tsubs %2, %2, #1 \n"
-@@ -56,6 +58,7 @@ int normalize16(const spx_sig_t *x, spx_word16_t *y, spx_sig_t max_scale, int le
- 
-          "\trsb %3, %3, #0 \n"
-          "\tcmp %1, %3 \n"
-+         "\tit lt \n"
-          "\tmovlt %1, %3 \n"
-    : "=r" (dead1), "=r" (max_val), "=r" (dead3), "=r" (dead4),
-    "=r" (dead5), "=r" (dead6)
-diff --git a/libspeex/fixed_arm4.h b/libspeex/fixed_arm4.h
-index b6981ca..b6218ca 100644
---- a/libspeex/fixed_arm4.h
-+++ b/libspeex/fixed_arm4.h
-@@ -69,72 +69,90 @@ static inline short DIV32_16(int a, int b)
-    __asm__ __volatile__ (
-          "\teor %5, %0, %1\n"
-          "\tmovs %4, %0\n"
-+         "\tit mi \n"
-          "\trsbmi %0, %0, #0 \n"
-          "\tmovs %4, %1\n"
-+         "\tit mi \n"
-          "\trsbmi %1, %1, #0 \n"
-          "\tmov %4, #1\n"
- 
-          "\tsubs %3, %0, %1, asl #14 \n"
-+         "\titt pl \n"
-          "\tmovpl %0, %3 \n"
-          "\torrpl %2, %2, %4, asl #14 \n"
- 
-          "\tsubs %3, %0, %1, asl #13 \n"
-+         "\titt pl \n"
-          "\tmovpl %0, %3 \n"
-          "\torrpl %2, %2, %4, asl #13 \n"
- 
-          "\tsubs %3, %0, %1, asl #12 \n"
-+         "\titt pl \n"
-          "\tmovpl %0, %3 \n"
-          "\torrpl %2, %2, %4, asl #12 \n"
- 
-          "\tsubs %3, %0, %1, asl #11 \n"
-+         "\titt pl \n"
-          "\tmovpl %0, %3 \n"
-          "\torrpl %2, %2, %4, asl #11 \n"
- 
-          "\tsubs %3, %0, %1, asl #10 \n"
-+         "\titt pl \n"
-          "\tmovpl %0, %3 \n"
-          "\torrpl %2, %2, %4, asl #10 \n"
- 
-          "\tsubs %3, %0, %1, asl #9 \n"
-+         "\titt pl \n"
-          "\tmovpl %0, %3 \n"
-          "\torrpl %2, %2, %4, asl #9 \n"
- 
-          "\tsubs %3, %0, %1, asl #8 \n"
-+         "\titt pl \n"
-          "\tmovpl %0, %3 \n"
-          "\torrpl %2, %2, %4, asl #8 \n"
- 
-          "\tsubs %3, %0, %1, asl #7 \n"
-+         "\titt pl \n"
-          "\tmovpl %0, %3 \n"
-          "\torrpl %2, %2, %4, asl #7 \n"
- 
-          "\tsubs %3, %0, %1, asl #6 \n"
-+         "\titt pl \n"
-          "\tmovpl %0, %3 \n"
-          "\torrpl %2, %2, %4, asl #6 \n"
-          
-          "\tsubs %3, %0, %1, asl #5 \n"
-+         "\titt pl \n"
-          "\tmovpl %0, %3 \n"
-          "\torrpl %2, %2, %4, asl #5 \n"
- 
-          "\tsubs %3, %0, %1, asl #4 \n"
-+         "\titt pl \n"
-          "\tmovpl %0, %3 \n"
-          "\torrpl %2, %2, %4, asl #4 \n"
- 
-          "\tsubs %3, %0, %1, asl #3 \n"
-+         "\titt pl \n"
-          "\tmovpl %0, %3 \n"
-          "\torrpl %2, %2, %4, asl #3 \n"
- 
-          "\tsubs %3, %0, %1, asl #2 \n"
-+         "\titt pl \n"
-          "\tmovpl %0, %3 \n"
-          "\torrpl %2, %2, %4, asl #2 \n"
- 
-          "\tsubs %3, %0, %1, asl #1 \n"
-+         "\titt pl \n"
-          "\tmovpl %0, %3 \n"
-          "\torrpl %2, %2, %4, asl #1 \n"
- 
-          "\tsubs %3, %0, %1 \n"
-+         "\titt pl \n"
-          "\tmovpl %0, %3 \n"
-          "\torrpl %2, %2, %4 \n"
- 
-          "\tmovs %5, %5, lsr #31 \n"
-+         "\tit ne \n"
-          "\trsbne %2, %2, #0 \n"
-    : "=r" (dead1), "=r" (dead2), "=r" (res),
-    "=r" (dead3), "=r" (dead4), "=r" (dead5)
-diff --git a/libspeex/fixed_arm5e.h b/libspeex/fixed_arm5e.h
-index 9b4861c..bdadd02 100644
---- a/libspeex/fixed_arm5e.h
-+++ b/libspeex/fixed_arm5e.h
-@@ -97,72 +97,90 @@ static inline short DIV32_16(int a, int b)
-    __asm__ __volatile__ (
-          "\teor %5, %0, %1\n"
-          "\tmovs %4, %0\n"
-+         "\tit mi \n"
-          "\trsbmi %0, %0, #0 \n"
-          "\tmovs %4, %1\n"
-+         "\tit mi \n"
-          "\trsbmi %1, %1, #0 \n"
-          "\tmov %4, #1\n"
- 
-          "\tsubs %3, %0, %1, asl #14 \n"
-+         "\titt pl \n"
-          "\torrpl %2, %2, %4, asl #14 \n"
-          "\tmovpl %0, %3 \n"
- 
-          "\tsubs %3, %0, %1, asl #13 \n"
-+         "\titt pl \n"
-          "\torrpl %2, %2, %4, asl #13 \n"
-          "\tmovpl %0, %3 \n"
- 
-          "\tsubs %3, %0, %1, asl #12 \n"
-+         "\titt pl \n"
-          "\torrpl %2, %2, %4, asl #12 \n"
-          "\tmovpl %0, %3 \n"
- 
-          "\tsubs %3, %0, %1, asl #11 \n"
-+         "\titt pl \n"
-          "\torrpl %2, %2, %4, asl #11 \n"
-          "\tmovpl %0, %3 \n"
- 
-          "\tsubs %3, %0, %1, asl #10 \n"
-+         "\titt pl \n"
-          "\torrpl %2, %2, %4, asl #10 \n"
-          "\tmovpl %0, %3 \n"
- 
-          "\tsubs %3, %0, %1, asl #9 \n"
-+         "\titt pl \n"
-          "\torrpl %2, %2, %4, asl #9 \n"
-          "\tmovpl %0, %3 \n"
- 
-          "\tsubs %3, %0, %1, asl #8 \n"
-+         "\titt pl \n"
-          "\torrpl %2, %2, %4, asl #8 \n"
-          "\tmovpl %0, %3 \n"
- 
-          "\tsubs %3, %0, %1, asl #7 \n"
-+         "\titt pl \n"
-          "\torrpl %2, %2, %4, asl #7 \n"
-          "\tmovpl %0, %3 \n"
- 
-          "\tsubs %3, %0, %1, asl #6 \n"
-+         "\titt pl \n"
-          "\torrpl %2, %2, %4, asl #6 \n"
-          "\tmovpl %0, %3 \n"
- 
-          "\tsubs %3, %0, %1, asl #5 \n"
-+         "\titt pl \n"
-          "\torrpl %2, %2, %4, asl #5 \n"
-          "\tmovpl %0, %3 \n"
- 
-          "\tsubs %3, %0, %1, asl #4 \n"
-+         "\titt pl \n"
-          "\torrpl %2, %2, %4, asl #4 \n"
-          "\tmovpl %0, %3 \n"
- 
-          "\tsubs %3, %0, %1, asl #3 \n"
-+         "\titt pl \n"
-          "\torrpl %2, %2, %4, asl #3 \n"
-          "\tmovpl %0, %3 \n"
- 
-          "\tsubs %3, %0, %1, asl #2 \n"
-+         "\titt pl \n"
-          "\torrpl %2, %2, %4, asl #2 \n"
-          "\tmovpl %0, %3 \n"
- 
-          "\tsubs %3, %0, %1, asl #1 \n"
-+         "\titt pl \n"
-          "\torrpl %2, %2, %4, asl #1 \n"
-          "\tmovpl %0, %3 \n"
- 
-          "\tsubs %3, %0, %1 \n"
-+         "\titt pl \n"
-          "\torrpl %2, %2, %4 \n"
-          "\tmovpl %0, %3 \n"
-          
-          "\tmovs %5, %5, lsr #31 \n"
-+         "\tit ne \n"
-          "\trsbne %2, %2, #0 \n"
-    : "=r" (dead1), "=r" (dead2), "=r" (res),
-    "=r" (dead3), "=r" (dead4), "=r" (dead5)
diff --git a/patches/speex-1.2rc1/series b/patches/speex-1.2rc1/series
deleted file mode 100644
index a708dd0f71b3..000000000000
--- a/patches/speex-1.2rc1/series
+++ /dev/null
@@ -1,6 +0,0 @@
-# generated by git-ptx-patches
-#tag:base --start-number 1
-0001-speex_header.patch
-0002-resample.patch
-0003-Make-speex-Thumb2-compatible.patch
-# 15de47bd7bc882627946c5258a755571  - git-ptx-patches magic
diff --git a/rules/speex.in b/rules/speex.in
index 0629947b1642..617b68e2bd57 100644
--- a/rules/speex.in
+++ b/rules/speex.in
@@ -4,7 +4,8 @@ menuconfig SPEEX
 	tristate
 	select LIBC_M
 	select GCCLIBS_GCC_S
-	select LIBOGG
+	select LIBOGG			if SPEEX_BINARIES
+	select SPEEXDSP
 	prompt "speex                         "
 	help
 	  Speex is an Open Source/Free Software
@@ -48,12 +49,17 @@ choice
 		prompt "proprietary-intel-mkl [BROKEN]"
 endchoice
 
+config SPEEX_BINARIES
+	bool
+
 config SPEEX_INSTALL_SPEEXENC
 	bool
+	select SPEEX_BINARIES
 	prompt "Install speexenc"
 
 config SPEEX_INSTALL_SPEEXDEC
 	bool
+	select SPEEX_BINARIES
 	prompt "Install speexdec"
 
 endif
diff --git a/rules/speex.make b/rules/speex.make
index 1f2218cfc464..2d21f81b5b1e 100644
--- a/rules/speex.make
+++ b/rules/speex.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_SPEEX) += speex
 #
 # Paths and names
 #
-SPEEX_VERSION	:= 1.2rc1
-SPEEX_MD5	:= c4438b22c08e5811ff10e2b06ee9b9ae
+SPEEX_VERSION	:= 1.2.0
+SPEEX_MD5	:= 8ab7bb2589110dfaf0ed7fa7757dc49c
 SPEEX		:= speex-$(SPEEX_VERSION)
 SPEEX_SUFFIX	:= tar.gz
 SPEEX_URL	:= http://downloads.xiph.org/releases/speex/$(SPEEX).$(SPEEX_SUFFIX)
@@ -40,36 +40,19 @@ SPEEX_FFT-$(PTXCONF_SPEEX_FFT_PROPRIETARY_INTL_MKL)	+= proprietary-intel-mkl
 SPEEX_CONF_TOOL := autoconf
 SPEEX_CONF_OPT := \
 	$(CROSS_AUTOCONF_USR) \
-	--disable-oggtest \
 	--disable-valgrind \
+	--$(call ptx/endis, PTXCONF_ARCH_X86)-sse \
 	--$(call ptx/endis, PTXCONF_SPEEX_FIXED_POINT)-fixed-point \
-	--disable-fixed-point-debug \
 	--$(call ptx/endis, PTXCONF_SPEEX_FLOAT_API)-float-api \
+	--$(call ptx/endis, PTXCONF_SPEEX_BINARIES)-binaries \
 	--$(call ptx/endis, PTXCONF_SPEEX_VBR)-vbr \
+	--$(call ptx/endis, PTXCONF_ARCH_ARM_V4)-arm4-asm \
+	--$(call ptx/endis, PTXCONF_ARCH_ARM_V5E)-arm5e-asm \
+	--$(call ptx/endis, PTXCONF_ARCH_BLACKFIN)-blackfin-asm \
+	--disable-fixed-point-debug \
 	--disable-ti-c55x \
-	--with-fft=$(SPEEX_FFT-y) \
-	--with-ogg=$(PTXDIST_SYSROOT_TARGET)/usr
-
-ifdef PTXCONF_ARCH_ARM_V4
-SPEEX_CONF_OPT += --enable-arm4-asm
-else
-SPEEX_CONF_OPT += --disable-arm4-asm
-endif
-ifdef PTXCONF_ARCH_ARM_V5E
-SPEEX_CONF_OPT += --enable-arm5e-asm
-else
-SPEEX_CONF_OPT += --disable-arm5e-asm
-endif
-ifdef PTXCONF_ARCH_X86
-SPEEX_CONF_OPT += --enable-sse
-else
-SPEEX_CONF_OPT += --disable-sse
-endif
-ifdef PTXCONF_ARCH_BLACKFIN
-SPEEX_CONF_OPT += --enable-blackfin-asm
-else
-SPEEX_CONF_OPT += --disable-blackfin-asm
-endif
+	--enable-vorbis-psy \
+	--with-fft=$(SPEEX_FFT-y)
 
 # ----------------------------------------------------------------------------
 # Target-Install
@@ -91,7 +74,6 @@ ifdef PTXCONF_SPEEX_INSTALL_SPEEXDEC
 	@$(call install_copy, speex, 0, 0, 0755, -, /usr/bin/speexdec)
 endif
 
-	@$(call install_lib, speex, 0, 0, 0644, libspeexdsp)
 	@$(call install_lib, speex, 0, 0, 0644, libspeex)
 
 	@$(call install_finish, speex)
diff --git a/rules/speexdsp.in b/rules/speexdsp.in
new file mode 100644
index 000000000000..eb756d9bcb85
--- /dev/null
+++ b/rules/speexdsp.in
@@ -0,0 +1,35 @@
+## SECTION=multimedia_libs
+
+config SPEEXDSP
+	tristate
+	select LIBC_M
+	select GCCLIBS_GCC_S
+	prompt "speexdsp"
+	help
+	  SpeexDSP is the signal processing library
+	  developed by the Speex codec.
+
+if SPEEXDSP
+
+config SPEEXDSP_FIXED_POINT
+	bool
+	prompt "use fixed point"
+
+config SPEEXDSP_FLOAT_API
+	bool
+	prompt "enable float api"
+
+choice
+	prompt "Kind of FFT to use"
+	default SPEEXDSP_FFT_KISS
+
+	config SPEEXDSP_FFT_KISS
+		bool
+		prompt "kiss"
+
+	config SPEEXDSP_FFT_SMALLFT
+		bool
+		prompt "smallft"
+endchoice
+
+endif
diff --git a/rules/speexdsp.make b/rules/speexdsp.make
new file mode 100644
index 000000000000..aeca8395b552
--- /dev/null
+++ b/rules/speexdsp.make
@@ -0,0 +1,74 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2018 by Lucas Stach <l.stach@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_SPEEXDSP) += speexdsp
+
+#
+# Paths and names
+#
+SPEEXDSP_VERSION	:= 1.2rc3
+SPEEXDSP_MD5		:= 70d9d31184f7eb761192fd1ef0b73333
+SPEEXDSP		:= speexdsp-$(SPEEXDSP_VERSION)
+SPEEXDSP_SUFFIX		:= tar.gz
+SPEEXDSP_URL		:= http://downloads.xiph.org/releases/speex//$(SPEEXDSP).$(SPEEXDSP_SUFFIX)
+SPEEXDSP_SOURCE		:= $(SRCDIR)/$(SPEEXDSP).$(SPEEXDSP_SUFFIX)
+SPEEXDSP_DIR		:= $(BUILDDIR)/$(SPEEXDSP)
+SPEEXDSP_LICENSE	:= BSD-3-Clause
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+SPEEXDSP_FFT-$(PTXCONF_SPEEXDSP_FFT_KISS)		+= kiss
+SPEEXDSP_FFT-$(PTXCONF_SPEEXDSP_FFT_SMALLFT)		+= smallft
+
+#
+# autoconf
+#
+SPEEXDSP_CONF_TOOL	:= autoconf
+SPEEXDSP_CONF_OPT	:= \
+	$(CROSS_AUTOCONF_USR) \
+	--disable-valgrind \
+	--$(call ptx/endis, PTXCONF_ARCH_X86)-sse \
+	--$(call ptx/endis, PTXCONF_ARCH_ARM_NEON)-neon \
+	--$(call ptx/endis, PTXCONF_SPEEXDSP_FIXED_POINT)-fixed-point \
+	--$(call ptx/endis, PTXCONF_SPEEXDSP_FLOAT_API)-float-api \
+	--disable-examples \
+	--$(call ptx/endis, PTXCONF_ARCH_ARM_V4)-arm4-asm \
+	--$(call ptx/endis, PTXCONF_ARCH_ARM_V5E)-arm5e-asm \
+	--$(call ptx/endis, PTXCONF_ARCH_BLACKFIN)-blackfin-asm \
+	--disable-fixed-point-debug \
+	--enable-resample-full-sinc-table \
+	--disable-ti-c55x \
+	--with-fft=$(SPEEXDSP_FFT-y)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/speexdsp.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, speexdsp)
+	@$(call install_fixup, speexdsp,PRIORITY,optional)
+	@$(call install_fixup, speexdsp,SECTION,base)
+	@$(call install_fixup, speexdsp,AUTHOR,"Lucas Stach <l.stach@pengutronix.de>")
+	@$(call install_fixup, speexdsp,DESCRIPTION,missing)
+
+	@$(call install_lib, speexdsp, 0, 0, 0644, libspeexdsp)
+
+	@$(call install_finish, speexdsp)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.19.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* [ptxdist] [PATCH 2/3] sbc: new package
  2018-11-05 15:01 [ptxdist] [PATCH 1/3] speex: version bump 1.2rc1 -> 1.2 Lucas Stach
@ 2018-11-05 15:01 ` Lucas Stach
  2018-11-05 15:01 ` [ptxdist] [PATCH 3/3] pulseaudio: version bump 8.0 -> 12.2 Lucas Stach
  1 sibling, 0 replies; 7+ messages in thread
From: Lucas Stach @ 2018-11-05 15:01 UTC (permalink / raw)
  To: ptxdist

SBC (Low Complexity Subband Codec) is the audio codec
commonly used in Bluetooth devices.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 rules/sbc.in   |  8 +++++++
 rules/sbc.make | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)
 create mode 100644 rules/sbc.in
 create mode 100644 rules/sbc.make

diff --git a/rules/sbc.in b/rules/sbc.in
new file mode 100644
index 000000000000..3d19a36da16b
--- /dev/null
+++ b/rules/sbc.in
@@ -0,0 +1,8 @@
+## SECTION=multimedia_libs
+
+config SBC
+	tristate
+	prompt "sbc"
+	help
+	  SBC (Low Complexity Subband Codec) is the audio codec
+	  commonly used in Bluetooth devices.
diff --git a/rules/sbc.make b/rules/sbc.make
new file mode 100644
index 000000000000..a7bad239371c
--- /dev/null
+++ b/rules/sbc.make
@@ -0,0 +1,64 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2018 by Lucas Stach <l.stach@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_SBC) += sbc
+
+#
+# Paths and names
+#
+SBC_VERSION	:= 1.3
+SBC_MD5		:= 2d8b7841f2c11ab287718d562f2b981c
+SBC		:= sbc-$(SBC_VERSION)
+SBC_SUFFIX	:= tar.xz
+SBC_URL		:= https://www.kernel.org/pub/linux/bluetooth/$(SBC).$(SBC_SUFFIX)
+SBC_SOURCE	:= $(SRCDIR)/$(SBC).$(SBC_SUFFIX)
+SBC_DIR		:= $(BUILDDIR)/$(SBC)
+SBC_LICENSE	:= GPL-2.0-only
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+SBC_CONF_TOOL	:= autoconf
+SBC_CONF_OPT	:= \
+	$(CROSS_AUTOCONF_USR) \
+	--enable-optimization \
+	--disable-debug \
+	--$(call ptx/endis, PTXCONF_TARGET_HARDEN_PIE)-pie \
+	--enable-high-precision \
+	--disable-tools \
+	--disable-tester
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/sbc.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, sbc)
+	@$(call install_fixup, sbc,PRIORITY,optional)
+	@$(call install_fixup, sbc,SECTION,base)
+	@$(call install_fixup, sbc,AUTHOR,"Lucas Stach <l.stach@pengutronix.de>")
+	@$(call install_fixup, sbc,DESCRIPTION,missing)
+
+	@$(call install_lib, sbc, 0, 0, 0644, libsbc)
+
+	@$(call install_finish, sbc)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.19.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* [ptxdist] [PATCH 3/3] pulseaudio: version bump 8.0 -> 12.2
  2018-11-05 15:01 [ptxdist] [PATCH 1/3] speex: version bump 1.2rc1 -> 1.2 Lucas Stach
  2018-11-05 15:01 ` [ptxdist] [PATCH 2/3] sbc: new package Lucas Stach
@ 2018-11-05 15:01 ` Lucas Stach
  2018-11-22  6:24   ` Michael Olbrich
  2018-11-22 10:06   ` Roland Hieber
  1 sibling, 2 replies; 7+ messages in thread
From: Lucas Stach @ 2018-11-05 15:01 UTC (permalink / raw)
  To: ptxdist

- version bump
- add glib support
- add speex resampler support
- add bluetooth support

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 rules/pulseaudio.in   | 25 +++++++++++++++++++++++--
 rules/pulseaudio.make | 41 ++++++++++++++++++++++++++++++++---------
 2 files changed, 55 insertions(+), 11 deletions(-)

diff --git a/rules/pulseaudio.in b/rules/pulseaudio.in
index f59ad470e6df..13ec74b87cd5 100644
--- a/rules/pulseaudio.in
+++ b/rules/pulseaudio.in
@@ -8,12 +8,16 @@ config PULSEAUDIO
 	select LIBC_PTHREAD
 	select ALSA_LIB
 	select ALSA_LIB_MIXER
-	select JSON_C
 	select LIBCAP
 	select LIBLTDL
 	select LIBSNDFILE
 	select ORC
-	select SYSTEMD		if PULSEAUDIO_SYSTEMD
+	select SYSTEMD			if PULSEAUDIO_SYSTEMD
+	select GLIB			if PULSEAUDIO_GLIB
+	select SBC			if PULSEAUDIO_BLUETOOTH
+	select DBUS			if PULSEAUDIO_BLUETOOTH
+	select SPEEXDSP			if PULSEAUDIO_SPEEX
+	select SPEEXDSP_FLOAT_API	if PULSEAUDIO_SPEEX
 	select UDEV
 	select UDEV_LIBUDEV
 	prompt "pulseaudio"
@@ -29,4 +33,21 @@ config PULSEAUDIO_SYSTEMD
 	bool
 	default INITMETHOD_SYSTEMD
 
+config PULSEAUDIO_BLUETOOTH
+        bool
+        prompt "enable bluetooth support"
+
+config PULSEAUDIO_GLIB
+	bool
+	prompt "enable glib support"
+
+config PULSEAUDIO_SPEEX
+	bool
+	default y
+	prompt "enable speex based resamplers"
+	help
+	  The speex based resamplers provide the best cost/quality
+	  trade-off on most platforms. It's recommended to only disable
+	  this when no resampling is required.
+
 endif
diff --git a/rules/pulseaudio.make b/rules/pulseaudio.make
index 8dda3501a0a9..2e3d2167aa3c 100644
--- a/rules/pulseaudio.make
+++ b/rules/pulseaudio.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_PULSEAUDIO) += pulseaudio
 #
 # Paths and names
 #
-PULSEAUDIO_VERSION	:= 8.0
-PULSEAUDIO_MD5		:= 8678442ba0bb4b4c33ac6f62542962df
+PULSEAUDIO_VERSION	:= 12.2
+PULSEAUDIO_MD5		:= c42f1f1465e8df9859d023dc184734bf
 PULSEAUDIO		:= pulseaudio-$(PULSEAUDIO_VERSION)
 PULSEAUDIO_SUFFIX	:= tar.xz
 PULSEAUDIO_URL		:= http://freedesktop.org/software/pulseaudio/releases/$(PULSEAUDIO).$(PULSEAUDIO_SUFFIX)
@@ -51,6 +51,7 @@ PULSEAUDIO_CONF_OPT	:= \
 	--enable-atomic-arm-memory-barrier \
 	--$(call ptx/endis, PTXCONF_ARCH_ARM_NEON)-neon-opt \
 	$(GLOBAL_LARGE_FILE_OPTION) \
+	--enable-memfd \
 	--disable-x11 \
 	--disable-tests \
 	--disable-samplerate \
@@ -61,24 +62,25 @@ PULSEAUDIO_CONF_OPT	:= \
 	--disable-esound \
 	--disable-solaris \
 	--disable-waveout \
-	--disable-glib2 \
+	--$(call ptx/endis, PTXCONF_PULSEAUDIO_GLIB)-glib2 \
 	--disable-gtk3 \
+	--disable-gsettings \
 	--disable-gconf \
+	--disable-schemas-compile \
 	--disable-avahi \
 	--disable-jack \
 	--disable-asyncns \
 	--disable-tcpwrap \
-	--disable-tcpwrap \
-	--disable-dbus \
+	--disable-lirc \
+	--$(call ptx/endis, PTXCONF_PULSEAUDIO_BLUETOOTH)-dbus \
 	--disable-bluez4 \
-	--disable-bluez5 \
+	--$(call ptx/endis, PTXCONF_PULSEAUDIO_BLUETOOTH)-bluez5 \
 	--disable-bluez5-ofono-headset \
 	--disable-bluez5-native-headset \
 	--enable-udev \
 	--disable-hal-compat \
 	$(GLOBAL_IPV6_OPTION) \
 	--disable-openssl \
-	--disable-xen \
 	--disable-gcov \
 	--enable-orc \
 	--$(call ptx/endis, PTXCONF_PULSEAUDIO_SYSTEMD)-systemd-daemon \
@@ -95,10 +97,20 @@ PULSEAUDIO_CONF_OPT	:= \
 	--disable-force-preopen \
 	--with-caps \
 	--with-database=simple \
+	--with-pulsedsp-location= \
 	--without-fftw \
-	--without-speex \
+	--$(call ptx/wwo, PTXCONF_PULSEAUDIO_SPEEX)-speex \
 	--without-soxr \
-	--with-systemduserunitdir=/usr/lib/systemd/user
+	--with-systemduserunitdir=/usr/lib/systemd/user \
+	--with-system-user= \
+	--with-system-group= \
+	--with-access-group=pulse-access \
+	--with-mac-version-min= \
+	--with-mac-sysroot= \
+	--with-preopen-mods=all \
+	--with-module-dir=/usr/lib/pulse-$(PULSEAUDIO_VERSION)/modules \
+	--with-udev-rules-dir=lib/udev/rules.d \
+	--with-zsh-completion-dir=
 
 PULSEAUDIO_LDFLAGS	:= -Wl,-rpath,/usr/lib/pulseaudio:/usr/lib/pulse-$(PULSEAUDIO_VERSION)/modules
 
@@ -129,9 +141,16 @@ $(STATEDIR)/pulseaudio.targetinstall:
 	@$(call install_alternative, pulseaudio, 0, 0, 0644, /etc/pulse/system.pa)
 	@$(call install_alternative, pulseaudio, 0, 0, 0644, /etc/pulse/default.pa)
 
+ifdef PTXCONF_PULSEAUDIO_BLUETOOTH
+	@$(call install_alternative, pulseaudio, 0, 0, 0644, \
+		/usr/share/dbus-1/system.d/org.PulseAudio1.conf)
+endif
+
 ifdef PTXCONF_PULSEAUDIO_SYSTEMD
 	@$(call install_alternative, pulseaudio, 0, 0, 0644, \
 		/usr/lib/systemd/system/pulseaudio.service)
+	@$(call install_link, pulseaudio, ../pulseaudio.service, \
+                /usr/lib/systemd/system/multi-user.target.wants/pulseaudio.service)
 	@$(call install_alternative, pulseaudio, 0, 0, 0644, \
 		/usr/lib/systemd/system/pulseaudio.socket)
 	@$(call install_link, pulseaudio, ../pulseaudio.socket, \
@@ -153,6 +172,10 @@ endif
 	@$(call install_lib, pulseaudio, 0, 0, 0644, pulseaudio/libpulsecommon-$(PULSEAUDIO_VERSION))
 	@$(call install_tree, pulseaudio, 0, 0, -, /usr/lib/pulse-$(PULSEAUDIO_VERSION)/modules)
 
+ifdef PTXCONF_PULSEAUDIO_GLIB
+	@$(call install_lib, pulseaudio, 0, 0, 0644, libpulse-mainloop-glib)
+endif
+
 	@$(call install_tree, pulseaudio, 0, 0, -, /usr/share/pulseaudio)
 
 	@$(call install_finish, pulseaudio)
-- 
2.19.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH 3/3] pulseaudio: version bump 8.0 -> 12.2
  2018-11-05 15:01 ` [ptxdist] [PATCH 3/3] pulseaudio: version bump 8.0 -> 12.2 Lucas Stach
@ 2018-11-22  6:24   ` Michael Olbrich
  2018-11-22 10:06   ` Roland Hieber
  1 sibling, 0 replies; 7+ messages in thread
From: Michael Olbrich @ 2018-11-22  6:24 UTC (permalink / raw)
  To: Lucas Stach; +Cc: ptxdist

On Mon, Nov 05, 2018 at 04:01:17PM +0100, Lucas Stach wrote:
> - version bump
> - add glib support
> - add speex resampler support
> - add bluetooth support
> 
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
>  rules/pulseaudio.in   | 25 +++++++++++++++++++++++--
>  rules/pulseaudio.make | 41 ++++++++++++++++++++++++++++++++---------
>  2 files changed, 55 insertions(+), 11 deletions(-)
> 
> diff --git a/rules/pulseaudio.in b/rules/pulseaudio.in
> index f59ad470e6df..13ec74b87cd5 100644
> --- a/rules/pulseaudio.in
> +++ b/rules/pulseaudio.in
> @@ -8,12 +8,16 @@ config PULSEAUDIO
>  	select LIBC_PTHREAD
>  	select ALSA_LIB
>  	select ALSA_LIB_MIXER
> -	select JSON_C
>  	select LIBCAP
>  	select LIBLTDL
>  	select LIBSNDFILE
>  	select ORC
> -	select SYSTEMD		if PULSEAUDIO_SYSTEMD
> +	select SYSTEMD			if PULSEAUDIO_SYSTEMD
> +	select GLIB			if PULSEAUDIO_GLIB
> +	select SBC			if PULSEAUDIO_BLUETOOTH
> +	select DBUS			if PULSEAUDIO_BLUETOOTH
> +	select SPEEXDSP			if PULSEAUDIO_SPEEX
> +	select SPEEXDSP_FLOAT_API	if PULSEAUDIO_SPEEX
>  	select UDEV
>  	select UDEV_LIBUDEV
>  	prompt "pulseaudio"
> @@ -29,4 +33,21 @@ config PULSEAUDIO_SYSTEMD
>  	bool
>  	default INITMETHOD_SYSTEMD
>  
> +config PULSEAUDIO_BLUETOOTH
> +        bool
> +        prompt "enable bluetooth support"
> +
> +config PULSEAUDIO_GLIB
> +	bool
> +	prompt "enable glib support"
> +
> +config PULSEAUDIO_SPEEX
> +	bool
> +	default y
> +	prompt "enable speex based resamplers"
> +	help
> +	  The speex based resamplers provide the best cost/quality
> +	  trade-off on most platforms. It's recommended to only disable
> +	  this when no resampling is required.
> +
>  endif
> diff --git a/rules/pulseaudio.make b/rules/pulseaudio.make
> index 8dda3501a0a9..2e3d2167aa3c 100644
> --- a/rules/pulseaudio.make
> +++ b/rules/pulseaudio.make
> @@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_PULSEAUDIO) += pulseaudio
>  #
>  # Paths and names
>  #
> -PULSEAUDIO_VERSION	:= 8.0
> -PULSEAUDIO_MD5		:= 8678442ba0bb4b4c33ac6f62542962df
> +PULSEAUDIO_VERSION	:= 12.2
> +PULSEAUDIO_MD5		:= c42f1f1465e8df9859d023dc184734bf
>  PULSEAUDIO		:= pulseaudio-$(PULSEAUDIO_VERSION)
>  PULSEAUDIO_SUFFIX	:= tar.xz
>  PULSEAUDIO_URL		:= http://freedesktop.org/software/pulseaudio/releases/$(PULSEAUDIO).$(PULSEAUDIO_SUFFIX)

The md5 for LICENSE has changed.

> @@ -51,6 +51,7 @@ PULSEAUDIO_CONF_OPT	:= \
>  	--enable-atomic-arm-memory-barrier \
>  	--$(call ptx/endis, PTXCONF_ARCH_ARM_NEON)-neon-opt \
>  	$(GLOBAL_LARGE_FILE_OPTION) \
> +	--enable-memfd \
>  	--disable-x11 \
>  	--disable-tests \
>  	--disable-samplerate \
> @@ -61,24 +62,25 @@ PULSEAUDIO_CONF_OPT	:= \
>  	--disable-esound \
>  	--disable-solaris \
>  	--disable-waveout \
> -	--disable-glib2 \
> +	--$(call ptx/endis, PTXCONF_PULSEAUDIO_GLIB)-glib2 \
>  	--disable-gtk3 \
> +	--disable-gsettings \
>  	--disable-gconf \
> +	--disable-schemas-compile \
>  	--disable-avahi \
>  	--disable-jack \
>  	--disable-asyncns \
>  	--disable-tcpwrap \
> -	--disable-tcpwrap \
> -	--disable-dbus \
> +	--disable-lirc \
> +	--$(call ptx/endis, PTXCONF_PULSEAUDIO_BLUETOOTH)-dbus \
>  	--disable-bluez4 \
> -	--disable-bluez5 \
> +	--$(call ptx/endis, PTXCONF_PULSEAUDIO_BLUETOOTH)-bluez5 \
>  	--disable-bluez5-ofono-headset \
>  	--disable-bluez5-native-headset \
>  	--enable-udev \
>  	--disable-hal-compat \
>  	$(GLOBAL_IPV6_OPTION) \
>  	--disable-openssl \
> -	--disable-xen \
>  	--disable-gcov \
>  	--enable-orc \
>  	--$(call ptx/endis, PTXCONF_PULSEAUDIO_SYSTEMD)-systemd-daemon \
> @@ -95,10 +97,20 @@ PULSEAUDIO_CONF_OPT	:= \
>  	--disable-force-preopen \
>  	--with-caps \
>  	--with-database=simple \
> +	--with-pulsedsp-location= \
>  	--without-fftw \
> -	--without-speex \
> +	--$(call ptx/wwo, PTXCONF_PULSEAUDIO_SPEEX)-speex \
>  	--without-soxr \
> -	--with-systemduserunitdir=/usr/lib/systemd/user
> +	--with-systemduserunitdir=/usr/lib/systemd/user \
> +	--with-system-user= \
> +	--with-system-group= \

This will result pulse/pulse. Those users should be added.

> +	--with-access-group=pulse-access \
> +	--with-mac-version-min= \
> +	--with-mac-sysroot= \
> +	--with-preopen-mods=all \
> +	--with-module-dir=/usr/lib/pulse-$(PULSEAUDIO_VERSION)/modules \
> +	--with-udev-rules-dir=lib/udev/rules.d \
> +	--with-zsh-completion-dir=
>  
>  PULSEAUDIO_LDFLAGS	:= -Wl,-rpath,/usr/lib/pulseaudio:/usr/lib/pulse-$(PULSEAUDIO_VERSION)/modules
>  
> @@ -129,9 +141,16 @@ $(STATEDIR)/pulseaudio.targetinstall:
>  	@$(call install_alternative, pulseaudio, 0, 0, 0644, /etc/pulse/system.pa)
>  	@$(call install_alternative, pulseaudio, 0, 0, 0644, /etc/pulse/default.pa)
>  
> +ifdef PTXCONF_PULSEAUDIO_BLUETOOTH
> +	@$(call install_alternative, pulseaudio, 0, 0, 0644, \
> +		/usr/share/dbus-1/system.d/org.PulseAudio1.conf)

This file does not exist, but /etc/dbus-1/system.d/pulseaudio-system.conf
does and should be installed.

Michael

> +endif
> +
>  ifdef PTXCONF_PULSEAUDIO_SYSTEMD
>  	@$(call install_alternative, pulseaudio, 0, 0, 0644, \
>  		/usr/lib/systemd/system/pulseaudio.service)
> +	@$(call install_link, pulseaudio, ../pulseaudio.service, \
> +                /usr/lib/systemd/system/multi-user.target.wants/pulseaudio.service)
>  	@$(call install_alternative, pulseaudio, 0, 0, 0644, \
>  		/usr/lib/systemd/system/pulseaudio.socket)
>  	@$(call install_link, pulseaudio, ../pulseaudio.socket, \
> @@ -153,6 +172,10 @@ endif
>  	@$(call install_lib, pulseaudio, 0, 0, 0644, pulseaudio/libpulsecommon-$(PULSEAUDIO_VERSION))
>  	@$(call install_tree, pulseaudio, 0, 0, -, /usr/lib/pulse-$(PULSEAUDIO_VERSION)/modules)
>  
> +ifdef PTXCONF_PULSEAUDIO_GLIB
> +	@$(call install_lib, pulseaudio, 0, 0, 0644, libpulse-mainloop-glib)
> +endif
> +
>  	@$(call install_tree, pulseaudio, 0, 0, -, /usr/share/pulseaudio)
>  
>  	@$(call install_finish, pulseaudio)
> -- 
> 2.19.1
> 
> 
> _______________________________________________
> 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] 7+ messages in thread

* Re: [ptxdist] [PATCH 3/3] pulseaudio: version bump 8.0 -> 12.2
  2018-11-05 15:01 ` [ptxdist] [PATCH 3/3] pulseaudio: version bump 8.0 -> 12.2 Lucas Stach
  2018-11-22  6:24   ` Michael Olbrich
@ 2018-11-22 10:06   ` Roland Hieber
  2018-11-22 10:12     ` Michael Olbrich
  1 sibling, 1 reply; 7+ messages in thread
From: Roland Hieber @ 2018-11-22 10:06 UTC (permalink / raw)
  To: Lucas Stach; +Cc: ptxdist

On Mon, Nov 05, 2018 at 04:01:17PM +0100, Lucas Stach wrote:
> - version bump
> - add glib support
> - add speex resampler support
> - add bluetooth support
> 
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
>  rules/pulseaudio.in   | 25 +++++++++++++++++++++++--
>  rules/pulseaudio.make | 41 ++++++++++++++++++++++++++++++++---------
>  2 files changed, 55 insertions(+), 11 deletions(-)
> 
> diff --git a/rules/pulseaudio.in b/rules/pulseaudio.in
> index f59ad470e6df..13ec74b87cd5 100644
> --- a/rules/pulseaudio.in
> +++ b/rules/pulseaudio.in
> @@ -8,12 +8,16 @@ config PULSEAUDIO
>  	select LIBC_PTHREAD
>  	select ALSA_LIB
>  	select ALSA_LIB_MIXER
> -	select JSON_C
>  	select LIBCAP
>  	select LIBLTDL
>  	select LIBSNDFILE
>  	select ORC
> -	select SYSTEMD		if PULSEAUDIO_SYSTEMD
> +	select SYSTEMD			if PULSEAUDIO_SYSTEMD
> +	select GLIB			if PULSEAUDIO_GLIB
> +	select SBC			if PULSEAUDIO_BLUETOOTH
> +	select DBUS			if PULSEAUDIO_BLUETOOTH
> +	select SPEEXDSP			if PULSEAUDIO_SPEEX
> +	select SPEEXDSP_FLOAT_API	if PULSEAUDIO_SPEEX
>  	select UDEV
>  	select UDEV_LIBUDEV
>  	prompt "pulseaudio"
> @@ -29,4 +33,21 @@ config PULSEAUDIO_SYSTEMD
>  	bool
>  	default INITMETHOD_SYSTEMD
>  
> +config PULSEAUDIO_BLUETOOTH
> +        bool
> +        prompt "enable bluetooth support"
> +
> +config PULSEAUDIO_GLIB
> +	bool
> +	prompt "enable glib support"
> +
> +config PULSEAUDIO_SPEEX
> +	bool
> +	default y
> +	prompt "enable speex based resamplers"
> +	help
> +	  The speex based resamplers provide the best cost/quality
> +	  trade-off on most platforms. It's recommended to only disable
> +	  this when no resampling is required.
> +
>  endif
> diff --git a/rules/pulseaudio.make b/rules/pulseaudio.make
> index 8dda3501a0a9..2e3d2167aa3c 100644
> --- a/rules/pulseaudio.make
> +++ b/rules/pulseaudio.make
> @@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_PULSEAUDIO) += pulseaudio
>  #
>  # Paths and names
>  #
> -PULSEAUDIO_VERSION	:= 8.0
> -PULSEAUDIO_MD5		:= 8678442ba0bb4b4c33ac6f62542962df
> +PULSEAUDIO_VERSION	:= 12.2
> +PULSEAUDIO_MD5		:= c42f1f1465e8df9859d023dc184734bf
>  PULSEAUDIO		:= pulseaudio-$(PULSEAUDIO_VERSION)
>  PULSEAUDIO_SUFFIX	:= tar.xz
>  PULSEAUDIO_URL		:= http://freedesktop.org/software/pulseaudio/releases/$(PULSEAUDIO).$(PULSEAUDIO_SUFFIX)
> @@ -51,6 +51,7 @@ PULSEAUDIO_CONF_OPT	:= \
>  	--enable-atomic-arm-memory-barrier \
>  	--$(call ptx/endis, PTXCONF_ARCH_ARM_NEON)-neon-opt \
>  	$(GLOBAL_LARGE_FILE_OPTION) \
> +	--enable-memfd \
>  	--disable-x11 \
>  	--disable-tests \
>  	--disable-samplerate \
> @@ -61,24 +62,25 @@ PULSEAUDIO_CONF_OPT	:= \
>  	--disable-esound \
>  	--disable-solaris \
>  	--disable-waveout \
> -	--disable-glib2 \
> +	--$(call ptx/endis, PTXCONF_PULSEAUDIO_GLIB)-glib2 \
>  	--disable-gtk3 \
> +	--disable-gsettings \
>  	--disable-gconf \
> +	--disable-schemas-compile \
>  	--disable-avahi \
>  	--disable-jack \
>  	--disable-asyncns \
>  	--disable-tcpwrap \
> -	--disable-tcpwrap \
> -	--disable-dbus \
> +	--disable-lirc \
> +	--$(call ptx/endis, PTXCONF_PULSEAUDIO_BLUETOOTH)-dbus \
>  	--disable-bluez4 \
> -	--disable-bluez5 \
> +	--$(call ptx/endis, PTXCONF_PULSEAUDIO_BLUETOOTH)-bluez5 \

This suggests that a "select BLUEZ" should be present in the kconfig
snippet, but it looks like it is missing.

 - Roland

>  	--disable-bluez5-ofono-headset \
>  	--disable-bluez5-native-headset \
>  	--enable-udev \
>  	--disable-hal-compat \
>  	$(GLOBAL_IPV6_OPTION) \
>  	--disable-openssl \
> -	--disable-xen \
>  	--disable-gcov \
>  	--enable-orc \
>  	--$(call ptx/endis, PTXCONF_PULSEAUDIO_SYSTEMD)-systemd-daemon \
> @@ -95,10 +97,20 @@ PULSEAUDIO_CONF_OPT	:= \
>  	--disable-force-preopen \
>  	--with-caps \
>  	--with-database=simple \
> +	--with-pulsedsp-location= \
>  	--without-fftw \
> -	--without-speex \
> +	--$(call ptx/wwo, PTXCONF_PULSEAUDIO_SPEEX)-speex \
>  	--without-soxr \
> -	--with-systemduserunitdir=/usr/lib/systemd/user
> +	--with-systemduserunitdir=/usr/lib/systemd/user \
> +	--with-system-user= \
> +	--with-system-group= \
> +	--with-access-group=pulse-access \
> +	--with-mac-version-min= \
> +	--with-mac-sysroot= \
> +	--with-preopen-mods=all \
> +	--with-module-dir=/usr/lib/pulse-$(PULSEAUDIO_VERSION)/modules \
> +	--with-udev-rules-dir=lib/udev/rules.d \
> +	--with-zsh-completion-dir=
>  
>  PULSEAUDIO_LDFLAGS	:= -Wl,-rpath,/usr/lib/pulseaudio:/usr/lib/pulse-$(PULSEAUDIO_VERSION)/modules
>  
> @@ -129,9 +141,16 @@ $(STATEDIR)/pulseaudio.targetinstall:
>  	@$(call install_alternative, pulseaudio, 0, 0, 0644, /etc/pulse/system.pa)
>  	@$(call install_alternative, pulseaudio, 0, 0, 0644, /etc/pulse/default.pa)
>  
> +ifdef PTXCONF_PULSEAUDIO_BLUETOOTH
> +	@$(call install_alternative, pulseaudio, 0, 0, 0644, \
> +		/usr/share/dbus-1/system.d/org.PulseAudio1.conf)
> +endif
> +
>  ifdef PTXCONF_PULSEAUDIO_SYSTEMD
>  	@$(call install_alternative, pulseaudio, 0, 0, 0644, \
>  		/usr/lib/systemd/system/pulseaudio.service)
> +	@$(call install_link, pulseaudio, ../pulseaudio.service, \
> +                /usr/lib/systemd/system/multi-user.target.wants/pulseaudio.service)
>  	@$(call install_alternative, pulseaudio, 0, 0, 0644, \
>  		/usr/lib/systemd/system/pulseaudio.socket)
>  	@$(call install_link, pulseaudio, ../pulseaudio.socket, \
> @@ -153,6 +172,10 @@ endif
>  	@$(call install_lib, pulseaudio, 0, 0, 0644, pulseaudio/libpulsecommon-$(PULSEAUDIO_VERSION))
>  	@$(call install_tree, pulseaudio, 0, 0, -, /usr/lib/pulse-$(PULSEAUDIO_VERSION)/modules)
>  
> +ifdef PTXCONF_PULSEAUDIO_GLIB
> +	@$(call install_lib, pulseaudio, 0, 0, 0644, libpulse-mainloop-glib)
> +endif
> +
>  	@$(call install_tree, pulseaudio, 0, 0, -, /usr/share/pulseaudio)
>  
>  	@$(call install_finish, pulseaudio)
> -- 
> 2.19.1
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Roland Hieber                     | r.hieber@pengutronix.de     |
Pengutronix e.K.                  | https://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121-206917-5086 |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH 3/3] pulseaudio: version bump 8.0 -> 12.2
  2018-11-22 10:06   ` Roland Hieber
@ 2018-11-22 10:12     ` Michael Olbrich
  2018-11-22 10:27       ` Lucas Stach
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Olbrich @ 2018-11-22 10:12 UTC (permalink / raw)
  To: ptxdist; +Cc: Lucas Stach

On Thu, Nov 22, 2018 at 11:06:40AM +0100, Roland Hieber wrote:
> On Mon, Nov 05, 2018 at 04:01:17PM +0100, Lucas Stach wrote:
> > - version bump
> > - add glib support
> > - add speex resampler support
> > - add bluetooth support
> > 
> > Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> > ---
> >  rules/pulseaudio.in   | 25 +++++++++++++++++++++++--
> >  rules/pulseaudio.make | 41 ++++++++++++++++++++++++++++++++---------
> >  2 files changed, 55 insertions(+), 11 deletions(-)
> > 
> > diff --git a/rules/pulseaudio.in b/rules/pulseaudio.in
> > index f59ad470e6df..13ec74b87cd5 100644
> > --- a/rules/pulseaudio.in
> > +++ b/rules/pulseaudio.in
> > @@ -8,12 +8,16 @@ config PULSEAUDIO
> >  	select LIBC_PTHREAD
> >  	select ALSA_LIB
> >  	select ALSA_LIB_MIXER
> > -	select JSON_C
> >  	select LIBCAP
> >  	select LIBLTDL
> >  	select LIBSNDFILE
> >  	select ORC
> > -	select SYSTEMD		if PULSEAUDIO_SYSTEMD
> > +	select SYSTEMD			if PULSEAUDIO_SYSTEMD
> > +	select GLIB			if PULSEAUDIO_GLIB
> > +	select SBC			if PULSEAUDIO_BLUETOOTH
> > +	select DBUS			if PULSEAUDIO_BLUETOOTH
> > +	select SPEEXDSP			if PULSEAUDIO_SPEEX
> > +	select SPEEXDSP_FLOAT_API	if PULSEAUDIO_SPEEX
> >  	select UDEV
> >  	select UDEV_LIBUDEV
> >  	prompt "pulseaudio"
> > @@ -29,4 +33,21 @@ config PULSEAUDIO_SYSTEMD
> >  	bool
> >  	default INITMETHOD_SYSTEMD
> >  
> > +config PULSEAUDIO_BLUETOOTH
> > +        bool
> > +        prompt "enable bluetooth support"
> > +
> > +config PULSEAUDIO_GLIB
> > +	bool
> > +	prompt "enable glib support"
> > +
> > +config PULSEAUDIO_SPEEX
> > +	bool
> > +	default y
> > +	prompt "enable speex based resamplers"
> > +	help
> > +	  The speex based resamplers provide the best cost/quality
> > +	  trade-off on most platforms. It's recommended to only disable
> > +	  this when no resampling is required.
> > +
> >  endif
> > diff --git a/rules/pulseaudio.make b/rules/pulseaudio.make
> > index 8dda3501a0a9..2e3d2167aa3c 100644
> > --- a/rules/pulseaudio.make
> > +++ b/rules/pulseaudio.make
> > @@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_PULSEAUDIO) += pulseaudio
> >  #
> >  # Paths and names
> >  #
> > -PULSEAUDIO_VERSION	:= 8.0
> > -PULSEAUDIO_MD5		:= 8678442ba0bb4b4c33ac6f62542962df
> > +PULSEAUDIO_VERSION	:= 12.2
> > +PULSEAUDIO_MD5		:= c42f1f1465e8df9859d023dc184734bf
> >  PULSEAUDIO		:= pulseaudio-$(PULSEAUDIO_VERSION)
> >  PULSEAUDIO_SUFFIX	:= tar.xz
> >  PULSEAUDIO_URL		:= http://freedesktop.org/software/pulseaudio/releases/$(PULSEAUDIO).$(PULSEAUDIO_SUFFIX)
> > @@ -51,6 +51,7 @@ PULSEAUDIO_CONF_OPT	:= \
> >  	--enable-atomic-arm-memory-barrier \
> >  	--$(call ptx/endis, PTXCONF_ARCH_ARM_NEON)-neon-opt \
> >  	$(GLOBAL_LARGE_FILE_OPTION) \
> > +	--enable-memfd \
> >  	--disable-x11 \
> >  	--disable-tests \
> >  	--disable-samplerate \
> > @@ -61,24 +62,25 @@ PULSEAUDIO_CONF_OPT	:= \
> >  	--disable-esound \
> >  	--disable-solaris \
> >  	--disable-waveout \
> > -	--disable-glib2 \
> > +	--$(call ptx/endis, PTXCONF_PULSEAUDIO_GLIB)-glib2 \
> >  	--disable-gtk3 \
> > +	--disable-gsettings \
> >  	--disable-gconf \
> > +	--disable-schemas-compile \
> >  	--disable-avahi \
> >  	--disable-jack \
> >  	--disable-asyncns \
> >  	--disable-tcpwrap \
> > -	--disable-tcpwrap \
> > -	--disable-dbus \
> > +	--disable-lirc \
> > +	--$(call ptx/endis, PTXCONF_PULSEAUDIO_BLUETOOTH)-dbus \
> >  	--disable-bluez4 \
> > -	--disable-bluez5 \
> > +	--$(call ptx/endis, PTXCONF_PULSEAUDIO_BLUETOOTH)-bluez5 \
> 
> This suggests that a "select BLUEZ" should be present in the kconfig
> snippet, but it looks like it is missing.

Maybe only 'select BLUEZ if RUNTIME'. Lucas?

Michael
 
> >  	--disable-bluez5-ofono-headset \
> >  	--disable-bluez5-native-headset \
> >  	--enable-udev \
> >  	--disable-hal-compat \
> >  	$(GLOBAL_IPV6_OPTION) \
> >  	--disable-openssl \
> > -	--disable-xen \
> >  	--disable-gcov \
> >  	--enable-orc \
> >  	--$(call ptx/endis, PTXCONF_PULSEAUDIO_SYSTEMD)-systemd-daemon \
> > @@ -95,10 +97,20 @@ PULSEAUDIO_CONF_OPT	:= \
> >  	--disable-force-preopen \
> >  	--with-caps \
> >  	--with-database=simple \
> > +	--with-pulsedsp-location= \
> >  	--without-fftw \
> > -	--without-speex \
> > +	--$(call ptx/wwo, PTXCONF_PULSEAUDIO_SPEEX)-speex \
> >  	--without-soxr \
> > -	--with-systemduserunitdir=/usr/lib/systemd/user
> > +	--with-systemduserunitdir=/usr/lib/systemd/user \
> > +	--with-system-user= \
> > +	--with-system-group= \
> > +	--with-access-group=pulse-access \
> > +	--with-mac-version-min= \
> > +	--with-mac-sysroot= \
> > +	--with-preopen-mods=all \
> > +	--with-module-dir=/usr/lib/pulse-$(PULSEAUDIO_VERSION)/modules \
> > +	--with-udev-rules-dir=lib/udev/rules.d \
> > +	--with-zsh-completion-dir=
> >  
> >  PULSEAUDIO_LDFLAGS	:= -Wl,-rpath,/usr/lib/pulseaudio:/usr/lib/pulse-$(PULSEAUDIO_VERSION)/modules
> >  
> > @@ -129,9 +141,16 @@ $(STATEDIR)/pulseaudio.targetinstall:
> >  	@$(call install_alternative, pulseaudio, 0, 0, 0644, /etc/pulse/system.pa)
> >  	@$(call install_alternative, pulseaudio, 0, 0, 0644, /etc/pulse/default.pa)
> >  
> > +ifdef PTXCONF_PULSEAUDIO_BLUETOOTH
> > +	@$(call install_alternative, pulseaudio, 0, 0, 0644, \
> > +		/usr/share/dbus-1/system.d/org.PulseAudio1.conf)
> > +endif
> > +
> >  ifdef PTXCONF_PULSEAUDIO_SYSTEMD
> >  	@$(call install_alternative, pulseaudio, 0, 0, 0644, \
> >  		/usr/lib/systemd/system/pulseaudio.service)
> > +	@$(call install_link, pulseaudio, ../pulseaudio.service, \
> > +                /usr/lib/systemd/system/multi-user.target.wants/pulseaudio.service)
> >  	@$(call install_alternative, pulseaudio, 0, 0, 0644, \
> >  		/usr/lib/systemd/system/pulseaudio.socket)
> >  	@$(call install_link, pulseaudio, ../pulseaudio.socket, \
> > @@ -153,6 +172,10 @@ endif
> >  	@$(call install_lib, pulseaudio, 0, 0, 0644, pulseaudio/libpulsecommon-$(PULSEAUDIO_VERSION))
> >  	@$(call install_tree, pulseaudio, 0, 0, -, /usr/lib/pulse-$(PULSEAUDIO_VERSION)/modules)
> >  
> > +ifdef PTXCONF_PULSEAUDIO_GLIB
> > +	@$(call install_lib, pulseaudio, 0, 0, 0644, libpulse-mainloop-glib)
> > +endif
> > +
> >  	@$(call install_tree, pulseaudio, 0, 0, -, /usr/share/pulseaudio)
> >  
> >  	@$(call install_finish, pulseaudio)
> > -- 
> > 2.19.1
> > 
> > 
> > _______________________________________________
> > ptxdist mailing list
> > ptxdist@pengutronix.de
> 
> -- 
> Roland Hieber                     | r.hieber@pengutronix.de     |
> Pengutronix e.K.                  | https://www.pengutronix.de/ |
> Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121-206917-5086 |
> Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |
> 
> _______________________________________________
> 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] 7+ messages in thread

* Re: [ptxdist] [PATCH 3/3] pulseaudio: version bump 8.0 -> 12.2
  2018-11-22 10:12     ` Michael Olbrich
@ 2018-11-22 10:27       ` Lucas Stach
  0 siblings, 0 replies; 7+ messages in thread
From: Lucas Stach @ 2018-11-22 10:27 UTC (permalink / raw)
  To: ptxdist

Am Donnerstag, den 22.11.2018, 11:12 +0100 schrieb Michael Olbrich:
> On Thu, Nov 22, 2018 at 11:06:40AM +0100, Roland Hieber wrote:
> > On Mon, Nov 05, 2018 at 04:01:17PM +0100, Lucas Stach wrote:
> > > - version bump
> > > - add glib support
> > > - add speex resampler support
> > > - add bluetooth support
> > > 
> > > > > > Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> > > ---
> > >  rules/pulseaudio.in   | 25 +++++++++++++++++++++++--
> > >  rules/pulseaudio.make | 41 ++++++++++++++++++++++++++++++++---------
> > >  2 files changed, 55 insertions(+), 11 deletions(-)
> > > 
> > > diff --git a/rules/pulseaudio.in b/rules/pulseaudio.in
> > > index f59ad470e6df..13ec74b87cd5 100644
> > > --- a/rules/pulseaudio.in
> > > +++ b/rules/pulseaudio.in
> > > @@ -8,12 +8,16 @@ config PULSEAUDIO
> > > > > >  	select LIBC_PTHREAD
> > > > > >  	select ALSA_LIB
> > > > > >  	select ALSA_LIB_MIXER
> > > > > > -	select JSON_C
> > > > > >  	select LIBCAP
> > > > > >  	select LIBLTDL
> > > > > >  	select LIBSNDFILE
> > > > > >  	select ORC
> > > > > > > > > -	select SYSTEMD		if PULSEAUDIO_SYSTEMD
> > > > > > > > > +	select SYSTEMD			if PULSEAUDIO_SYSTEMD
> > > > > > > > > +	select GLIB			if PULSEAUDIO_GLIB
> > > > > > > > > +	select SBC			if PULSEAUDIO_BLUETOOTH
> > > > > > > > > +	select DBUS			if PULSEAUDIO_BLUETOOTH
> > > > > > > > > +	select SPEEXDSP			if PULSEAUDIO_SPEEX
> > > > > > > > > +	select SPEEXDSP_FLOAT_API	if PULSEAUDIO_SPEEX
> > > > > >  	select UDEV
> > > > > >  	select UDEV_LIBUDEV
> > > > > >  	prompt "pulseaudio"
> > > @@ -29,4 +33,21 @@ config PULSEAUDIO_SYSTEMD
> > > > > >  	bool
> > > > > >  	default INITMETHOD_SYSTEMD
> > >  
> > > +config PULSEAUDIO_BLUETOOTH
> > > +        bool
> > > +        prompt "enable bluetooth support"
> > > +
> > > +config PULSEAUDIO_GLIB
> > > > > > +	bool
> > > > > > +	prompt "enable glib support"
> > > +
> > > +config PULSEAUDIO_SPEEX
> > > > > > +	bool
> > > > > > +	default y
> > > > > > +	prompt "enable speex based resamplers"
> > > > > > +	help
> > > > > > +	  The speex based resamplers provide the best cost/quality
> > > > > > +	  trade-off on most platforms. It's recommended to only disable
> > > > > > +	  this when no resampling is required.
> > > +
> > >  endif
> > > diff --git a/rules/pulseaudio.make b/rules/pulseaudio.make
> > > index 8dda3501a0a9..2e3d2167aa3c 100644
> > > --- a/rules/pulseaudio.make
> > > +++ b/rules/pulseaudio.make
> > > @@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_PULSEAUDIO) += pulseaudio
> > >  #
> > >  # Paths and names
> > >  #
> > > > > > -PULSEAUDIO_VERSION	:= 8.0
> > > > > > -PULSEAUDIO_MD5		:= 8678442ba0bb4b4c33ac6f62542962df
> > > > > > +PULSEAUDIO_VERSION	:= 12.2
> > > > > > +PULSEAUDIO_MD5		:= c42f1f1465e8df9859d023dc184734bf
> > > > > >  PULSEAUDIO		:= pulseaudio-$(PULSEAUDIO_VERSION)
> > > > > >  PULSEAUDIO_SUFFIX	:= tar.xz
> > > > > >  PULSEAUDIO_URL		:= http://freedesktop.org/software/pulseaudio/releases/$(PULSEAUDIO).$(PULSEAUDIO_SUFFIX)
> > > > > > @@ -51,6 +51,7 @@ PULSEAUDIO_CONF_OPT	:= \
> > > > > >  	--enable-atomic-arm-memory-barrier \
> > > > > >  	--$(call ptx/endis, PTXCONF_ARCH_ARM_NEON)-neon-opt \
> > > > > >  	$(GLOBAL_LARGE_FILE_OPTION) \
> > > > > > +	--enable-memfd \
> > > > > >  	--disable-x11 \
> > > > > >  	--disable-tests \
> > > > > >  	--disable-samplerate \
> > > > > > @@ -61,24 +62,25 @@ PULSEAUDIO_CONF_OPT	:= \
> > > > > >  	--disable-esound \
> > > > > >  	--disable-solaris \
> > > > > >  	--disable-waveout \
> > > > > > -	--disable-glib2 \
> > > > > > +	--$(call ptx/endis, PTXCONF_PULSEAUDIO_GLIB)-glib2 \
> > > > > >  	--disable-gtk3 \
> > > > > > +	--disable-gsettings \
> > > > > >  	--disable-gconf \
> > > > > > +	--disable-schemas-compile \
> > > > > >  	--disable-avahi \
> > > > > >  	--disable-jack \
> > > > > >  	--disable-asyncns \
> > > > > >  	--disable-tcpwrap \
> > > > > > -	--disable-tcpwrap \
> > > > > > -	--disable-dbus \
> > > > > > +	--disable-lirc \
> > > > > > +	--$(call ptx/endis, PTXCONF_PULSEAUDIO_BLUETOOTH)-dbus \
> > > > > >  	--disable-bluez4 \
> > > > > > -	--disable-bluez5 \
> > > +	--$(call ptx/endis, PTXCONF_PULSEAUDIO_BLUETOOTH)-bluez5 \
> > 
> > This suggests that a "select BLUEZ" should be present in the kconfig
> > snippet, but it looks like it is missing.
> 
> Maybe only 'select BLUEZ if RUNTIME'. Lucas?

There is no direct dependency between the 2 packages, as both are just
services exchanging some messages on the dbus to provide bluetooth
audio.

But then both need to be present in order to get a working bluetooth
audio stack, so I agree that having a RUNTIME dependency between them
is nice from a Kconfig user PoV. Will add that in the next revision.

Regards,
Lucas


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2018-11-22 10:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-05 15:01 [ptxdist] [PATCH 1/3] speex: version bump 1.2rc1 -> 1.2 Lucas Stach
2018-11-05 15:01 ` [ptxdist] [PATCH 2/3] sbc: new package Lucas Stach
2018-11-05 15:01 ` [ptxdist] [PATCH 3/3] pulseaudio: version bump 8.0 -> 12.2 Lucas Stach
2018-11-22  6:24   ` Michael Olbrich
2018-11-22 10:06   ` Roland Hieber
2018-11-22 10:12     ` Michael Olbrich
2018-11-22 10:27       ` Lucas Stach

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