[117814] trunk/dports/audio/pulseaudio

devans at macports.org devans at macports.org
Thu Mar 13 10:56:23 PDT 2014


Revision: 117814
          https://trac.macports.org/changeset/117814
Author:   devans at macports.org
Date:     2014-03-13 10:56:22 -0700 (Thu, 13 Mar 2014)
Log Message:
-----------
pulseaudio: update to version 5.0, ABI compatible with previous, reconfigure using upstream autogen.sh to fix intltool configuration, update configuration, dependencies, patchfiles.

Modified Paths:
--------------
    trunk/dports/audio/pulseaudio/Portfile

Added Paths:
-----------
    trunk/dports/audio/pulseaudio/files/autogen.sh
    trunk/dports/audio/pulseaudio/files/patch-man-Makefile.am.diff

Removed Paths:
-------------
    trunk/dports/audio/pulseaudio/files/patch-no-inline-asm.diff

Property Changed:
----------------
    trunk/dports/audio/pulseaudio/


Property changes on: trunk/dports/audio/pulseaudio
___________________________________________________________________
Added: svn:mergeinfo
   + /branches/mld-qt-481/dports/audio/pulseaudio:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856
/users/devans/dports/audio/pulseaudio:116663-117812

Modified: trunk/dports/audio/pulseaudio/Portfile
===================================================================
--- trunk/dports/audio/pulseaudio/Portfile	2014-03-13 17:04:32 UTC (rev 117813)
+++ trunk/dports/audio/pulseaudio/Portfile	2014-03-13 17:56:22 UTC (rev 117814)
@@ -7,8 +7,7 @@
 PortSystem      1.0
 
 name            pulseaudio
-version         4.0
-revision        3
+version         5.0
 license         LGPL-2.1
 categories      audio
 maintainers     devans openmaintainer
@@ -28,11 +27,15 @@
 
 use_xz          yes
 
-checksums       rmd160  9d107937dcb21f401a250782ba10ee46e95a6a71 \
-                sha256  35ceb36bb1822fe54f0b5e4863b4f486769fdfb8ff2111f01fd8778928f9cdae
+checksums       rmd160  4ba13e92c58f8ada4542d521131094a55e3b6991 \
+                sha256  99c13a8b1249ddbd724f195579df79484e9af6418cecf6a15f003a7f36caf939
 
 depends_build   port:pkgconfig \
-                port:intltool
+                port:intltool \
+                port:autoconf \
+                port:automake \
+                port:libtool \
+                port:p5.16-xml-parser
 
 depends_lib     port:libiconv \
                 port:json-c \
@@ -42,7 +45,6 @@
                 port:gdbm \
                 path:lib/pkgconfig/glib-2.0.pc:glib2 \
                 port:gtk3 \
-                port:gconf \
                 port:dbus \
                 port:fftw-3-single \
                 port:speex \
@@ -59,9 +61,17 @@
     }
 }
 
-# https://bugs.freedesktop.org/show_bug.cgi?id=55733 and <rdar://problem/14653996>
-patchfiles      patch-no-inline-asm.diff
+patchfiles      patch-man-Makefile.am.diff
 
+# reconfigure with our intltool.m4 using upstream autogen.sh
+
+post-patch {
+    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
+    reinplace "s|@@MP_PERL@@|${prefix}/bin/perl5.16|" ${worksrcpath}/man/Makefile.am
+}
+
+configure.cmd   ./autogen.sh
+
 configure.args  --with-mac-sysroot=/ \
                 --with-mac-version-min=$macosx_deployment_target \
                 --without-caps \
@@ -74,11 +84,13 @@
                 --disable-solaris \
                 --disable-waveout \
                 --disable-avahi \
+                --disable-gconf \
                 --disable-jack \
                 --disable-asyncns \
                 --disable-tcpwrap \
                 --disable-lirc \
-                --disable-bluez \
+                --disable-bluez4 \
+                --disable-bluez5 \
                 --disable-udev \
                 --disable-hal-compat \
                 --disable-openssl \

Copied: trunk/dports/audio/pulseaudio/files/autogen.sh (from rev 117812, users/devans/dports/audio/pulseaudio/files/autogen.sh)
===================================================================
--- trunk/dports/audio/pulseaudio/files/autogen.sh	                        (rev 0)
+++ trunk/dports/audio/pulseaudio/files/autogen.sh	2014-03-13 17:56:22 UTC (rev 117814)
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+# This file is part of PulseAudio.
+#
+# PulseAudio is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# PulseAudio is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with PulseAudio; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+
+# Only there to make jhbuild happy
+
+NOCONFIGURE=1 ./bootstrap.sh
+
+exec ./configure  "$@"

Copied: trunk/dports/audio/pulseaudio/files/patch-man-Makefile.am.diff (from rev 117812, users/devans/dports/audio/pulseaudio/files/patch-man-Makefile.am.diff)
===================================================================
--- trunk/dports/audio/pulseaudio/files/patch-man-Makefile.am.diff	                        (rev 0)
+++ trunk/dports/audio/pulseaudio/files/patch-man-Makefile.am.diff	2014-03-13 17:56:22 UTC (rev 117814)
@@ -0,0 +1,11 @@
+--- man/Makefile.am.orig	2014-03-03 12:23:46.000000000 -0800
++++ man/Makefile.am	2014-03-03 12:24:32.000000000 -0800
+@@ -63,7 +63,7 @@
+ 	$(dist_man_MANS)
+ 
+ %: %.xml Makefile
+-	$(AM_V_GEN) perl $(srcdir)/xmltoman $< > $@ || rm -f $@
++	$(AM_V_GEN) @@MP_PERL@@ $(srcdir)/xmltoman $< > $@ || rm -f $@
+ 
+ endif
+ 

Deleted: trunk/dports/audio/pulseaudio/files/patch-no-inline-asm.diff
===================================================================
--- trunk/dports/audio/pulseaudio/files/patch-no-inline-asm.diff	2014-03-13 17:04:32 UTC (rev 117813)
+++ trunk/dports/audio/pulseaudio/files/patch-no-inline-asm.diff	2014-03-13 17:56:22 UTC (rev 117814)
@@ -1,42 +0,0 @@
-diff -ur src/pulsecore.orig/svolume_mmx.c src/pulsecore/svolume_mmx.c
---- src/pulsecore.orig/svolume_mmx.c	2013-08-08 09:37:04.000000000 -0700
-+++ src/pulsecore/svolume_mmx.c	2013-08-08 09:37:24.000000000 -0700
-@@ -34,7 +34,7 @@
- 
- #include "sample-util.h"
- 
--#if defined (__i386__) || defined (__amd64__)
-+#if (defined (__i386__) && !defined(__APPLE__)) || defined (__amd64__)
- /* in s: 2 int16_t samples
-  * in v: 2 int32_t volumes, fixed point 16:16
-  * out s: contains scaled and clamped int16_t samples.
-@@ -243,7 +243,7 @@
- #endif /* defined (__i386__) || defined (__amd64__) */
- 
- void pa_volume_func_init_mmx(pa_cpu_x86_flag_t flags) {
--#if defined (__i386__) || defined (__amd64__)
-+#if (defined (__i386__) && !defined(__APPLE__)) || defined (__amd64__)
-     if ((flags & PA_CPU_X86_MMX) && (flags & PA_CPU_X86_CMOV)) {
-         pa_log_info("Initialising MMX optimized volume functions.");
- 
-diff -ur src/pulsecore.orig/svolume_sse.c src/pulsecore/svolume_sse.c
---- src/pulsecore.orig/svolume_sse.c	2013-08-08 09:37:04.000000000 -0700
-+++ src/pulsecore/svolume_sse.c	2013-08-08 09:44:15.000000000 -0700
-@@ -34,7 +34,7 @@
- 
- #include "sample-util.h"
- 
--#if defined (__i386__) || defined (__amd64__)
-+#if (defined (__i386__) && !defined(__APPLE__)) || defined (__amd64__)
- 
- #define VOLUME_32x16(s,v)                  /* .. |   vh  |   vl  | */                   \
-       " pxor %%xmm4, %%xmm4          \n\t" /* .. |    0  |    0  | */                   \
-@@ -255,7 +255,7 @@
- #endif /* defined (__i386__) || defined (__amd64__) */
- 
- void pa_volume_func_init_sse(pa_cpu_x86_flag_t flags) {
--#if defined (__i386__) || defined (__amd64__)
-+#if (defined (__i386__) && !defined(__APPLE__)) || defined (__amd64__)
-     if (flags & PA_CPU_X86_SSE2) {
-         pa_log_info("Initialising SSE2 optimized volume functions.");
- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140313/20284874/attachment.html>


More information about the macports-changes mailing list