svn commit: r449350 - in head/audio/pulseaudio: . files

Jan Beich jbeich at FreeBSD.org
Wed Sep 6 17:46:56 UTC 2017


Author: jbeich
Date: Wed Sep  6 17:46:55 2017
New Revision: 449350
URL: https://svnweb.freebsd.org/changeset/ports/449350

Log:
  audio/pulseaudio: update to 11.0
  
  - Drop --disable-xen following upstream change in 10.0
  
  Changes:	https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/11.0/
  ABI:		https://abi-laboratory.pro/tracker/timeline/pulseaudio/
  PR:		222093
  Submitted by:	lightside <lightside at gmx.com>
  MFH:		2017Q3

Added:
  head/audio/pulseaudio/files/patch-src_modules_raop_raop-client.c   (contents, props changed)
Modified:
  head/audio/pulseaudio/Makefile   (contents, props changed)
  head/audio/pulseaudio/distinfo   (contents, props changed)
  head/audio/pulseaudio/files/patch-src_Makefile.in   (contents, props changed)
  head/audio/pulseaudio/files/patch-src_modules_module-detect.c   (contents, props changed)
  head/audio/pulseaudio/pkg-plist   (contents, props changed)

Modified: head/audio/pulseaudio/Makefile
==============================================================================
--- head/audio/pulseaudio/Makefile	Wed Sep  6 17:46:13 2017	(r449349)
+++ head/audio/pulseaudio/Makefile	Wed Sep  6 17:46:55 2017	(r449350)
@@ -5,8 +5,7 @@
 # PORTREVISION bumps of depending ports.
 
 PORTNAME=	pulseaudio
-PORTVERSION=	10.0
-PORTREVISION=	4
+PORTVERSION=	11.0
 CATEGORIES=	audio
 MASTER_SITES=	http://freedesktop.org/software/pulseaudio/releases/
 
@@ -51,7 +50,6 @@ CONFIGURE_ARGS=	--localstatedir=/var \
 		--disable-systemd-journal \
 		--disable-systemd-login \
 		--disable-neon-opt \
-		--disable-xen \
 		--disable-lirc # untested
 
 USERS=		pulse

Modified: head/audio/pulseaudio/distinfo
==============================================================================
--- head/audio/pulseaudio/distinfo	Wed Sep  6 17:46:13 2017	(r449349)
+++ head/audio/pulseaudio/distinfo	Wed Sep  6 17:46:55 2017	(r449350)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1484711815
-SHA256 (pulseaudio-10.0.tar.xz) = a3186824de9f0d2095ded5d0d0db0405dc73133983c2fbb37291547e37462f57
-SIZE (pulseaudio-10.0.tar.xz) = 1608040
+TIMESTAMP = 1504603004
+SHA256 (pulseaudio-11.0.tar.xz) = 072305d4018fc5e75bb1b45ee6b938fa52fc9fd27493bf327415ef89ed14c969
+SIZE (pulseaudio-11.0.tar.xz) = 1648128

Modified: head/audio/pulseaudio/files/patch-src_Makefile.in
==============================================================================
--- head/audio/pulseaudio/files/patch-src_Makefile.in	Wed Sep  6 17:46:13 2017	(r449349)
+++ head/audio/pulseaudio/files/patch-src_Makefile.in	Wed Sep  6 17:46:55 2017	(r449350)
@@ -1,6 +1,6 @@
---- src/Makefile.in.orig	2016-06-24 23:00:54 UTC
+--- src/Makefile.in.orig	2017-09-05 09:14:12 UTC
 +++ src/Makefile.in
-@@ -11092,7 +11092,7 @@ info-am:
+@@ -11203,7 +11203,7 @@ info-am:
  
  install-data-am: install-commonlibLTLIBRARIES install-dbuspolicyDATA \
  	install-dist_alsapathsDATA install-dist_alsaprofilesetsDATA \

Modified: head/audio/pulseaudio/files/patch-src_modules_module-detect.c
==============================================================================
--- head/audio/pulseaudio/files/patch-src_modules_module-detect.c	Wed Sep  6 17:46:13 2017	(r449349)
+++ head/audio/pulseaudio/files/patch-src_modules_module-detect.c	Wed Sep  6 17:46:55 2017	(r449350)
@@ -1,6 +1,6 @@
---- src/modules/module-detect.c.orig	2016-05-10 12:28:04 UTC
+--- src/modules/module-detect.c.orig	2017-09-03 11:41:12 UTC
 +++ src/modules/module-detect.c
-@@ -160,11 +160,45 @@ static int detect_oss(pa_core *c, int ju
+@@ -160,11 +160,41 @@ static int detect_oss(pa_core *c, int ju
                  continue;
  
          } else if (sscanf(line, "pcm%u: ", &device) == 1) {
@@ -14,34 +14,30 @@
 +                continue;
 +
 +            if (!pa_endswith(line, "default"))
-+                continue;
+                 continue;
 +
 +            const char *p = strrchr(line, '(');
 +
 +            if (!p)
-                 continue;
++                continue;
 +
-+            if (!c->default_sink && (strstr(p, "play") || (strstr(p, "p:") && !strstr(p, "(0p:")))) {
++            if (!c->configured_default_sink && (strstr(p, "play") || (strstr(p, "p:") && !strstr(p, "(0p:")))) {
 +                uint32_t idx = PA_IDXSET_INVALID;
 +                pa_sink *s;
 +                PA_IDXSET_FOREACH(s, c->sinks, idx) {
 +                    if (s->module == m) {
-+                        if (!pa_namereg_set_default_sink(c, s))
-+                            pa_log_error("failed to set default sink for device: /dev/dsp%u", device);
-+
++                        pa_core_set_configured_default_sink(c, s->name);
 +                        break;
 +                    }
 +                }
 +            }
 +
-+            if (!c->default_source && (strstr(p, "rec") || (strstr(p, "r:") && !strstr(p, "/0r:")))) {
++            if (!c->configured_default_source && (strstr(p, "rec") || (strstr(p, "r:") && !strstr(p, "/0r:")))) {
 +                uint32_t idx = PA_IDXSET_INVALID;
 +                pa_source *s;
 +                PA_IDXSET_FOREACH(s, c->sources, idx) {
 +                    if (s->module == m) {
-+                        if (!pa_namereg_set_default_source(c, s))
-+                            pa_log_error("failed to set default source for device: /dev/dsp%u", device);
-+
++                        pa_core_set_configured_default_source(c, s->name);
 +                        break;
 +                    }
 +                }

Added: head/audio/pulseaudio/files/patch-src_modules_raop_raop-client.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/pulseaudio/files/patch-src_modules_raop_raop-client.c	Wed Sep  6 17:46:55 2017	(r449350)
@@ -0,0 +1,13 @@
+--- src/modules/raop/raop-client.c.orig	2017-07-24 23:14:10 UTC
++++ src/modules/raop/raop-client.c
+@@ -35,6 +35,10 @@
+ #include <sys/filio.h>
+ #endif
+ 
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++
+ #include <pulse/xmalloc.h>
+ #include <pulse/timeval.h>
+ #include <pulse/sample.h>

Modified: head/audio/pulseaudio/pkg-plist
==============================================================================
--- head/audio/pulseaudio/pkg-plist	Wed Sep  6 17:46:13 2017	(r449349)
+++ head/audio/pulseaudio/pkg-plist	Wed Sep  6 17:46:55 2017	(r449350)
@@ -66,10 +66,10 @@ lib/libpulse-mainloop-glib.so.0
 lib/libpulse-mainloop-glib.so.0.0.5
 lib/libpulse-simple.so
 lib/libpulse-simple.so.0
-lib/libpulse-simple.so.0.1.0
+lib/libpulse-simple.so.0.1.1
 lib/libpulse.so
 lib/libpulse.so.0
-lib/libpulse.so.0.20.1
+lib/libpulse.so.0.20.2
 %%AVAHI%%lib/pulse-%%PULSE_VERSION%%/modules/libavahi-wrap.so
 lib/pulse-%%PULSE_VERSION%%/modules/module-allow-passthrough.so
 lib/pulse-%%PULSE_VERSION%%/modules/module-device-manager.so
@@ -246,6 +246,7 @@ share/locale/gu/LC_MESSAGES/pulseaudio.mo
 share/locale/gl/LC_MESSAGES/pulseaudio.mo
 share/locale/he/LC_MESSAGES/pulseaudio.mo
 share/locale/hi/LC_MESSAGES/pulseaudio.mo
+share/locale/hr/LC_MESSAGES/pulseaudio.mo
 share/locale/hu/LC_MESSAGES/pulseaudio.mo
 share/locale/id/LC_MESSAGES/pulseaudio.mo
 share/locale/it/LC_MESSAGES/pulseaudio.mo
@@ -256,6 +257,7 @@ share/locale/lt/LC_MESSAGES/pulseaudio.mo
 share/locale/ml/LC_MESSAGES/pulseaudio.mo
 share/locale/mr/LC_MESSAGES/pulseaudio.mo
 share/locale/nl/LC_MESSAGES/pulseaudio.mo
+share/locale/nn/LC_MESSAGES/pulseaudio.mo
 share/locale/oc/LC_MESSAGES/pulseaudio.mo
 share/locale/or/LC_MESSAGES/pulseaudio.mo
 share/locale/pa/LC_MESSAGES/pulseaudio.mo


More information about the svn-ports-all mailing list