View | Details | Raw Unified | Return to bug 222093 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-3 / +1 lines)
Lines 5-12 Link Here
5
# PORTREVISION bumps of depending ports.
5
# PORTREVISION bumps of depending ports.
6
6
7
PORTNAME=	pulseaudio
7
PORTNAME=	pulseaudio
8
PORTVERSION=	10.0
8
PORTVERSION=	11.0
9
PORTREVISION=	4
10
CATEGORIES=	audio
9
CATEGORIES=	audio
11
MASTER_SITES=	http://freedesktop.org/software/pulseaudio/releases/
10
MASTER_SITES=	http://freedesktop.org/software/pulseaudio/releases/
12
11
Lines 51-57 Link Here
51
		--disable-systemd-journal \
50
		--disable-systemd-journal \
52
		--disable-systemd-login \
51
		--disable-systemd-login \
53
		--disable-neon-opt \
52
		--disable-neon-opt \
54
		--disable-xen \
55
		--disable-lirc # untested
53
		--disable-lirc # untested
56
54
57
USERS=		pulse
55
USERS=		pulse
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1484711815
1
TIMESTAMP = 1504603004
2
SHA256 (pulseaudio-10.0.tar.xz) = a3186824de9f0d2095ded5d0d0db0405dc73133983c2fbb37291547e37462f57
2
SHA256 (pulseaudio-11.0.tar.xz) = 072305d4018fc5e75bb1b45ee6b938fa52fc9fd27493bf327415ef89ed14c969
3
SIZE (pulseaudio-10.0.tar.xz) = 1608040
3
SIZE (pulseaudio-11.0.tar.xz) = 1648128
(-)files/patch-src_Makefile.in (-2 / +2 lines)
Lines 1-6 Link Here
1
--- src/Makefile.in.orig	2016-06-24 23:00:54 UTC
1
--- src/Makefile.in.orig	2017-09-05 09:14:12 UTC
2
+++ src/Makefile.in
2
+++ src/Makefile.in
3
@@ -11092,7 +11092,7 @@ info-am:
3
@@ -11203,7 +11203,7 @@ info-am:
4
 
4
 
5
 install-data-am: install-commonlibLTLIBRARIES install-dbuspolicyDATA \
5
 install-data-am: install-commonlibLTLIBRARIES install-dbuspolicyDATA \
6
 	install-dist_alsapathsDATA install-dist_alsaprofilesetsDATA \
6
 	install-dist_alsapathsDATA install-dist_alsaprofilesetsDATA \
(-)files/patch-src_modules_module-detect.c (-12 / +8 lines)
Lines 1-6 Link Here
1
--- src/modules/module-detect.c.orig	2016-05-10 12:28:04 UTC
1
--- src/modules/module-detect.c.orig	2017-09-03 11:41:12 UTC
2
+++ src/modules/module-detect.c
2
+++ src/modules/module-detect.c
3
@@ -160,11 +160,45 @@ static int detect_oss(pa_core *c, int ju
3
@@ -160,11 +160,41 @@ static int detect_oss(pa_core *c, int ju
4
                 continue;
4
                 continue;
5
 
5
 
6
         } else if (sscanf(line, "pcm%u: ", &device) == 1) {
6
         } else if (sscanf(line, "pcm%u: ", &device) == 1) {
Lines 14-47 Link Here
14
+                continue;
14
+                continue;
15
+
15
+
16
+            if (!pa_endswith(line, "default"))
16
+            if (!pa_endswith(line, "default"))
17
+                continue;
17
                 continue;
18
+
18
+
19
+            const char *p = strrchr(line, '(');
19
+            const char *p = strrchr(line, '(');
20
+
20
+
21
+            if (!p)
21
+            if (!p)
22
                 continue;
22
+                continue;
23
+
23
+
24
+            if (!c->default_sink && (strstr(p, "play") || (strstr(p, "p:") && !strstr(p, "(0p:")))) {
24
+            if (!c->configured_default_sink && (strstr(p, "play") || (strstr(p, "p:") && !strstr(p, "(0p:")))) {
25
+                uint32_t idx = PA_IDXSET_INVALID;
25
+                uint32_t idx = PA_IDXSET_INVALID;
26
+                pa_sink *s;
26
+                pa_sink *s;
27
+                PA_IDXSET_FOREACH(s, c->sinks, idx) {
27
+                PA_IDXSET_FOREACH(s, c->sinks, idx) {
28
+                    if (s->module == m) {
28
+                    if (s->module == m) {
29
+                        if (!pa_namereg_set_default_sink(c, s))
29
+                        pa_core_set_configured_default_sink(c, s->name);
30
+                            pa_log_error("failed to set default sink for device: /dev/dsp%u", device);
31
+
32
+                        break;
30
+                        break;
33
+                    }
31
+                    }
34
+                }
32
+                }
35
+            }
33
+            }
36
+
34
+
37
+            if (!c->default_source && (strstr(p, "rec") || (strstr(p, "r:") && !strstr(p, "/0r:")))) {
35
+            if (!c->configured_default_source && (strstr(p, "rec") || (strstr(p, "r:") && !strstr(p, "/0r:")))) {
38
+                uint32_t idx = PA_IDXSET_INVALID;
36
+                uint32_t idx = PA_IDXSET_INVALID;
39
+                pa_source *s;
37
+                pa_source *s;
40
+                PA_IDXSET_FOREACH(s, c->sources, idx) {
38
+                PA_IDXSET_FOREACH(s, c->sources, idx) {
41
+                    if (s->module == m) {
39
+                    if (s->module == m) {
42
+                        if (!pa_namereg_set_default_source(c, s))
40
+                        pa_core_set_configured_default_source(c, s->name);
43
+                            pa_log_error("failed to set default source for device: /dev/dsp%u", device);
44
+
45
+                        break;
41
+                        break;
46
+                    }
42
+                    }
47
+                }
43
+                }
(-)files/patch-src_modules_raop_raop-client.c (+13 lines)
Line 0 Link Here
1
--- src/modules/raop/raop-client.c.orig	2017-07-24 23:14:10 UTC
2
+++ src/modules/raop/raop-client.c
3
@@ -35,6 +35,10 @@
4
 #include <sys/filio.h>
5
 #endif
6
 
7
+#ifdef HAVE_NETINET_IN_H
8
+#include <netinet/in.h>
9
+#endif
10
+
11
 #include <pulse/xmalloc.h>
12
 #include <pulse/timeval.h>
13
 #include <pulse/sample.h>
(-)pkg-plist (-2 / +4 lines)
Lines 66-75 Link Here
66
lib/libpulse-mainloop-glib.so.0.0.5
66
lib/libpulse-mainloop-glib.so.0.0.5
67
lib/libpulse-simple.so
67
lib/libpulse-simple.so
68
lib/libpulse-simple.so.0
68
lib/libpulse-simple.so.0
69
lib/libpulse-simple.so.0.1.0
69
lib/libpulse-simple.so.0.1.1
70
lib/libpulse.so
70
lib/libpulse.so
71
lib/libpulse.so.0
71
lib/libpulse.so.0
72
lib/libpulse.so.0.20.1
72
lib/libpulse.so.0.20.2
73
%%AVAHI%%lib/pulse-%%PULSE_VERSION%%/modules/libavahi-wrap.so
73
%%AVAHI%%lib/pulse-%%PULSE_VERSION%%/modules/libavahi-wrap.so
74
lib/pulse-%%PULSE_VERSION%%/modules/module-allow-passthrough.so
74
lib/pulse-%%PULSE_VERSION%%/modules/module-allow-passthrough.so
75
lib/pulse-%%PULSE_VERSION%%/modules/module-device-manager.so
75
lib/pulse-%%PULSE_VERSION%%/modules/module-device-manager.so
Lines 246-251 Link Here
246
share/locale/gl/LC_MESSAGES/pulseaudio.mo
246
share/locale/gl/LC_MESSAGES/pulseaudio.mo
247
share/locale/he/LC_MESSAGES/pulseaudio.mo
247
share/locale/he/LC_MESSAGES/pulseaudio.mo
248
share/locale/hi/LC_MESSAGES/pulseaudio.mo
248
share/locale/hi/LC_MESSAGES/pulseaudio.mo
249
share/locale/hr/LC_MESSAGES/pulseaudio.mo
249
share/locale/hu/LC_MESSAGES/pulseaudio.mo
250
share/locale/hu/LC_MESSAGES/pulseaudio.mo
250
share/locale/id/LC_MESSAGES/pulseaudio.mo
251
share/locale/id/LC_MESSAGES/pulseaudio.mo
251
share/locale/it/LC_MESSAGES/pulseaudio.mo
252
share/locale/it/LC_MESSAGES/pulseaudio.mo
Lines 256-261 Link Here
256
share/locale/ml/LC_MESSAGES/pulseaudio.mo
257
share/locale/ml/LC_MESSAGES/pulseaudio.mo
257
share/locale/mr/LC_MESSAGES/pulseaudio.mo
258
share/locale/mr/LC_MESSAGES/pulseaudio.mo
258
share/locale/nl/LC_MESSAGES/pulseaudio.mo
259
share/locale/nl/LC_MESSAGES/pulseaudio.mo
260
share/locale/nn/LC_MESSAGES/pulseaudio.mo
259
share/locale/oc/LC_MESSAGES/pulseaudio.mo
261
share/locale/oc/LC_MESSAGES/pulseaudio.mo
260
share/locale/or/LC_MESSAGES/pulseaudio.mo
262
share/locale/or/LC_MESSAGES/pulseaudio.mo
261
share/locale/pa/LC_MESSAGES/pulseaudio.mo
263
share/locale/pa/LC_MESSAGES/pulseaudio.mo

Return to bug 222093