New upstream version 1.0.5
This commit is contained in:
208
packaging/MacOSX/pulse/Makefile.am
Normal file
208
packaging/MacOSX/pulse/Makefile.am
Normal file
@@ -0,0 +1,208 @@
|
||||
PALIBTOOL = libtool
|
||||
PALIBTOOL_VERSION = 2.4
|
||||
LIBSNDFILE = libsndfile
|
||||
LIBSNDFILE_VERSION = 1.0.24
|
||||
LIBSAMPLERATE = libsamplerate
|
||||
LIBSAMPLERATE_VERSION = 0.1.7
|
||||
JSONC = json-c
|
||||
JSONC_VERSION = 0.9
|
||||
SPEEX = speex
|
||||
SPEEX_VERSION = 1.2rc1
|
||||
PULSEAUDIO = pulseaudio
|
||||
PULSEAUDIO_VERSION = 1.0-fe-20111209
|
||||
PULSEAUDIO_SVER = 1.0
|
||||
|
||||
TMPDIST = $(abs_builddir)/dist
|
||||
TMPHDR = $(abs_builddir)/include
|
||||
|
||||
# For caching pre-built binaries on the build slave
|
||||
CACHE_FLAG = $(HOME)/.docache_pulse
|
||||
CACHE_DIR = $(HOME)/savebuild
|
||||
CACHE_TGZ = $(CACHE_DIR)/pulse.tgz
|
||||
|
||||
EXTRA_DIST = urls.txt cfg patches $(LIBSNDFILE).shasum $(SPEEX).shasum $(JSONC).shasum \
|
||||
$(LIBSAMPLERATE).shasum $(PULSEAUDIO).shasum
|
||||
|
||||
CLEANFILES = -r $(TMPDIST) $(TMPHDR) pkg-config tmpinstall .*-build .*-srcdir .*-checkarchive .*-lipo \
|
||||
$(LIBSAMPLERATE) $(LIBSAMPLERATE)-$(LIBSAMPLERATE_VERSION) \
|
||||
$(LIBSNDFILE) $(LIBSNDFILE)-$(LIBSNDFILE_VERSION) \
|
||||
$(JSONC) $(JSONC)-$(JSONC_VERSION) \
|
||||
$(PALIBTOOL) $(PALIBTOOL)-$(PALIBTOOL_VERSION) \
|
||||
$(SPEEX) $(SPEEX)-$(SPEEX_VERSION) \
|
||||
$(PULSEAUDIO) $(PULSEAUDIO)-$(PULSEAUDIO_VERSION)
|
||||
|
||||
DISTCLEANFILES = *.tar.gz
|
||||
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
CFG_GENERIC = --prefix=$(prefix) --enable-shared --disable-static --disable-dependency-tracking
|
||||
|
||||
CFG_libtool =
|
||||
CFG_speexLE = --enable-sse --without-ogg
|
||||
CFG_speexBE = --libdir=$(libdir)/ppc --disable-oggtest --without-ogg --host ppc-apple-darwin10
|
||||
CFG_jsonc =
|
||||
CFG_libsndfileLE = --disable-external-libs
|
||||
CFG_libsndfileBE = --disable-external-libs --libdir=$(libdir)/ppc --host ppc-apple-darwin10
|
||||
CFG_libsamplerateLE =
|
||||
CFG_libsamplerateBE = --libdir=$(libdir)/ppc --host ppc-apple-darwin10
|
||||
CFG_pulseaudioLE = --disable-glib2 --disable-openssl --disable-nls --with-udev-rules-dir=$(prefix)/lib \
|
||||
--with-mac-version-min=$(OSX_MINVER) --with-mac-sysroot=$(OSX_SYSROOT) --program-suffix=.i386
|
||||
CFG_pulseaudioBE = --disable-glib2 --disable-openssl --disable-nls --with-udev-rules-dir=$(prefix)/lib \
|
||||
--with-mac-version-min=$(OSX_MINVER) --with-mac-sysroot=$(OSX_SYSROOT) --libdir=$(libdir)/ppc --host ppc-apple-darwin10 --program-suffix=.ppc
|
||||
|
||||
PRECFG_libtool = true
|
||||
PRECFG_speex = true
|
||||
PRECFG_jsonc = autoreconf -f -i
|
||||
PRECFG_libsndfile = true
|
||||
PRECFG_libsamplerate = true
|
||||
PRECFG_pulseaudio = true
|
||||
|
||||
POSTCFG_libtool = true
|
||||
POSTCFG_speex = true
|
||||
POSTCFG_jsonc = true
|
||||
POSTCFG_libsndfile = true
|
||||
POSTCFG_libsamplerate = true
|
||||
POSTCFG_pulseaudio = true
|
||||
|
||||
MACENV_UNIVERSAL = CC="$(CC)" CXX="$(CXX)" LD="$(LD)" \
|
||||
CFLAGS="$(UNIFLAGS) $(OSX_SDKFLAGS) -I$(TMPDIST)/include" \
|
||||
CXXFLAGS="$(UNIFLAGS) $(OSX_SDKFLAGS)" CPPFLAGS="-I$(TMPDIST)$(includedir)"
|
||||
MACENV_INTEL = CC="$(CC)" CXX="$(CXX)" LD="$(LD)" \
|
||||
CFLAGS="-arch i386 $(OSX_SDKFLAGS)" \
|
||||
CXXFLAGS="-arch i386 $(OSX_SDKFLAGS)" CPPFLAGS="-I$(TMPDIST)$(includedir)"
|
||||
MACENV_PPC = CC="$(CC)" CXX="$(CXX)" LD="$(LD)" \
|
||||
CFLAGS="-arch ppc $(OSX_SDKFLAGS)" \
|
||||
CXXFLAGS="-arch ppc $(OSX_SDKFLAGS)" CPPFLAGS="-I$(TMPDIST)$(includedir)"
|
||||
|
||||
ENV_libtool = env $(MACENV_UNIVERSAL)
|
||||
ENV_speexLE = env $(MACENV_INTEL)
|
||||
ENV_speexBE = env $(MACENV_PPC) OGG_LIBS= OGG_CFLAGS=
|
||||
ENV_jsonc = env $(MACENV_UNIVERSAL)
|
||||
ENV_libsndfileLE = env $(MACENV_INTEL)
|
||||
ENV_libsndfileBE = env $(MACENV_PPC)
|
||||
ENV_libsamplerateLE = env $(MACENV_INTEL) \
|
||||
SNDFILE_CFLAGS="-I$(TMPDIST)$(includedir)" SNDFILE_LIBS="-L$(TMPDIST)$(libdir) -lsndfile"
|
||||
ENV_libsamplerateBE = env $(MACENV_PPC) \
|
||||
SNDFILE_CFLAGS="-I$(TMPDIST)$(includedir)" SNDFILE_LIBS="-L$(TMPDIST)$(libdir) -lsndfile"
|
||||
ENV_pulseaudioLE = env $(MACENV_INTEL) CC="gcc-4.2" CXX="g++-4.2" \
|
||||
LDFLAGS="-L$(TMPDIST)$(libdir)" \
|
||||
LIBSNDFILE_CFLAGS="-I." LIBSNDFILE_LIBS="-lsndfile" \
|
||||
LIBSAMPLERATE_CFLAGS="-I." LIBSAMPLERATE_LIBS="-lsamplerate" \
|
||||
LIBJSON_CFLAGS="-I$(TMPDIST)$(includedir)/json" LIBJSON_LIBS="-ljson" \
|
||||
LIBSPEEX_CFLAGS="-I." LIBSPEEX_LIBS="-lspeex -lspeexdsp" \
|
||||
PATH="$(abs_builddir):$(PATH)"
|
||||
ENV_pulseaudioBE = env $(MACENV_PPC) CC="gcc-4.2" CXX="g++-4.2" \
|
||||
LDFLAGS="-L$(TMPDIST)$(libdir)" \
|
||||
LIBSNDFILE_CFLAGS="-I." LIBSNDFILE_LIBS="-lsndfile" \
|
||||
LIBSAMPLERATE_CFLAGS="-I." LIBSAMPLERATE_LIBS="-lsamplerate" \
|
||||
LIBJSON_CFLAGS="-I$(TMPDIST)$(includedir)/json" LIBJSON_LIBS="-ljson" \
|
||||
LIBSPEEX_CFLAGS="-I." LIBSPEEX_LIBS="-lspeex -lspeexdsp" \
|
||||
PATH="$(abs_builddir):$(PATH)"
|
||||
|
||||
upinstall: cachedinstall
|
||||
cp -av $(TMPDIST)/ $(PKGROOT)/
|
||||
|
||||
cachedinstall:
|
||||
test -f $(CACHE_TGZ) && tar xzf $(CACHE_TGZ) || true
|
||||
test -f $(CACHE_TGZ) || $(MAKE) tmpinstall
|
||||
|
||||
tmpinstall:
|
||||
$(MAKE) ecfg= subtarget=$(PALIBTOOL) subvar=$(PALIBTOOL) subsrc=$(PALIBTOOL)-$(PALIBTOOL_VERSION) tbuild
|
||||
$(MAKE) ecfg= subtarget=$(JSONC) subvar=jsonc subsrc=$(JSONC)-$(JSONC_VERSION) tbuild
|
||||
mkdir -p $(TMPDIST)$(libdir)/ppc
|
||||
$(MAKE) ecfg=LE subtarget=$(SPEEX) subvar=$(SPEEX) subsrc=$(SPEEX)-$(SPEEX_VERSION) tbuild
|
||||
$(MAKE) -C $(SPEEX)-$(SPEEX_VERSION) distclean
|
||||
rm -f .$(SPEEX)-build
|
||||
$(MAKE) ecfg=BE subtarget=$(SPEEX) subvar=$(SPEEX) subsrc=$(SPEEX)-$(SPEEX_VERSION) tbuild
|
||||
$(MAKE) ecfg=BE subtarget=$(SPEEX) subvar=$(SPEEX) subsrc=$(SPEEX)-$(SPEEX_VERSION) tlipo
|
||||
$(MAKE) ecfg=LE subtarget=$(LIBSNDFILE) subvar=$(LIBSNDFILE) subsrc=$(LIBSNDFILE)-$(LIBSNDFILE_VERSION) tbuild
|
||||
$(MAKE) -C $(LIBSNDFILE)-$(LIBSNDFILE_VERSION) distclean
|
||||
rm -f .$(LIBSNDFILE)-build
|
||||
$(MAKE) ecfg=BE subtarget=$(LIBSNDFILE) subvar=$(LIBSNDFILE) subsrc=$(LIBSNDFILE)-$(LIBSNDFILE_VERSION) tbuild
|
||||
$(MAKE) ecfg=BE subtarget=$(LIBSNDFILE) subvar=$(LIBSNDFILE) subsrc=$(LIBSNDFILE)-$(LIBSNDFILE_VERSION) tlipo
|
||||
$(MAKE) ecfg=LE subtarget=$(LIBSAMPLERATE) subvar=$(LIBSAMPLERATE) subsrc=$(LIBSAMPLERATE)-$(LIBSAMPLERATE_VERSION) tbuild
|
||||
$(MAKE) -C $(LIBSAMPLERATE)-$(LIBSAMPLERATE_VERSION) distclean
|
||||
rm -f .$(LIBSAMPLERATE)-build
|
||||
$(MAKE) ecfg=BE subtarget=$(LIBSAMPLERATE) subvar=$(LIBSAMPLERATE) subsrc=$(LIBSAMPLERATE)-$(LIBSAMPLERATE_VERSION) tbuild
|
||||
$(MAKE) ecfg=BE subtarget=$(LIBSAMPLERATE) subvar=$(LIBSAMPLERATE) subsrc=$(LIBSAMPLERATE)-$(LIBSAMPLERATE_VERSION) tlipo
|
||||
@echo "#!/bin/sh" > pkg-config; \
|
||||
echo "case \$$* in *--exists*) exit 1 ;; *) exit 0 ;; esac" >> pkg-config; \
|
||||
chmod a+x pkg-config || true
|
||||
$(MAKE) ecfg=LE subtarget=$(PULSEAUDIO) subvar=$(PULSEAUDIO) subsrc=$(PULSEAUDIO)-$(PULSEAUDIO_VERSION) tbuild
|
||||
$(MAKE) -C $(PULSEAUDIO)-$(PULSEAUDIO_VERSION) distclean
|
||||
rm -f .$(PULSEAUDIO)-build
|
||||
$(MAKE) ecfg=BE subtarget=$(PULSEAUDIO) subvar=$(PULSEAUDIO) subsrc=$(PULSEAUDIO)-$(PULSEAUDIO_VERSION) tbuild
|
||||
$(MAKE) ecfg=BE subtarget=$(PULSEAUDIO) subvar=$(PULSEAUDIO) subsrc=$(PULSEAUDIO)-$(PULSEAUDIO_VERSION) modsub=/pulse-$(PULSEAUDIO_SVER)/modules tlipo
|
||||
rmdir $(TMPDIST)$(libdir)/ppc
|
||||
mkdir -p $(TMPHDR)
|
||||
cp -a $(TMPDIST)$(prefix)/include/* $(TMPHDR)
|
||||
rm -rf $(TMPDIST)$(prefix)/{share,libexec,include} $(TMPDIST)${libdir}/pkgconfig $(TMPDIST)${libdir}/cmake
|
||||
find $(TMPDIST) -name "*.la" -o -name "*.a"|xargs rm -f
|
||||
rm -f $(TMPDIST)$(bindir)/sndfile-* $(TMPDIST)$(bindir)/libtool*
|
||||
cp $(srcdir)/cfg/* $(TMPDIST)$(prefix)/etc/pulse/
|
||||
test -f $(CACHE_FLAG) && tar czf $(CACHE_TGZ) dist include || true
|
||||
touch $@
|
||||
|
||||
tbuild: .$(subtarget)-build
|
||||
|
||||
tlipo: .$(subtarget)-lipo
|
||||
|
||||
.$(subtarget)-lipo: .$(subtarget)-build
|
||||
@echo Merging $(subtarget) to universal
|
||||
@for f in $(TMPDIST)$(libdir)/ppc/*.dylib ; do \
|
||||
bn=`basename $$f` ; \
|
||||
test -L $$f || mv $(TMPDIST)$(libdir)/$$bn $(TMPDIST)$(libdir)/i386-$$bn ; \
|
||||
test -L $$f || lipo -create -output $(TMPDIST)$(libdir)/$$bn $$f $(TMPDIST)$(libdir)/i386-$$bn ; \
|
||||
rm -f $(TMPDIST)$(libdir)/i386-$$bn ; \
|
||||
done
|
||||
@if test -n "$(modsub)" ; then \
|
||||
echo Merging $(subtarget) modules to universal ; \
|
||||
for f in $(TMPDIST)$(libdir)/ppc$(modsub)/*.{dylib,so} ; do \
|
||||
bn=`basename $$f` ; \
|
||||
mv $(TMPDIST)$(libdir)$(modsub)/$$bn $(TMPDIST)$(libdir)$(modsub)/i386-$$bn ; \
|
||||
lipo -create -output $(TMPDIST)$(libdir)$(modsub)/$$bn \
|
||||
$$f $(TMPDIST)$(libdir)$(modsub)/i386-$$bn ; \
|
||||
rm $(TMPDIST)$(libdir)$(modsub)/i386-$$bn ; \
|
||||
done ; \
|
||||
echo Merging $(subtarget) programs to universal ; \
|
||||
for f in $(TMPDIST)$(bindir)/*.i386 ; do \
|
||||
bn=`basename $$f .i386` ; \
|
||||
file $$f|grep -q shell || lipo -create -output $(TMPDIST)$(bindir)/$$bn $$f $(TMPDIST)$(bindir)/$$bn.ppc ; \
|
||||
file $$f|grep -q shell && mv $$f $(TMPDIST)$(bindir)/$$bn || true ; \
|
||||
rm -f $$f $(TMPDIST)$(bindir)/$$bn.ppc ; \
|
||||
done ; \
|
||||
fi
|
||||
@rm -rf $(TMPDIST)$(libdir)/ppc/*
|
||||
@touch $@
|
||||
|
||||
.$(subtarget)-build: .$(subtarget)-srcdir
|
||||
@echo Configuring $(subtarget)
|
||||
cd $(subsrc) && $(PRECFG_$(subvar)) && $(ENV_$(subvar)$(ecfg)) ./configure $(CFG_GENERIC) $(CFG_$(subvar)$(ecfg))
|
||||
@$(POSTCFG_$(subvar))
|
||||
@echo building $(subtarget)
|
||||
@$(MAKE) V=$(V) DESTDIR=$(TMPDIST) -C $(subsrc) install
|
||||
@touch $@
|
||||
|
||||
.$(subtarget)-patch:
|
||||
@echo Applying patches for $(subtarget)
|
||||
@shopt -s nullglob; for p in $(srcdir)/patches/$(subvar)-*.patch ; do \
|
||||
test $(V) = 0 || echo Applying `basename $$p`; \
|
||||
( cd $(subsrc) && patch -p1 < ../$$p ) ; \
|
||||
done
|
||||
|
||||
.$(subtarget)-srcdir: .$(subtarget)-checkarchive
|
||||
@$(RM) -rf $(subsrc)
|
||||
@echo Unpacking $(subtarget)
|
||||
@tar xzf $(subsrc).tar.gz
|
||||
@test -n "$(NOPATCH_$(subtarget))" || $(MAKE) .$(subtarget)-patch
|
||||
@touch $@
|
||||
|
||||
.$(subtarget)-checkarchive: $(subsrc).tar.gz
|
||||
@echo Verifying $(subtarget)
|
||||
@test -n "$(NOCHECK_$(subtarget))" || shasum --status -c $(srcdir)/$(subtarget).shasum
|
||||
@touch $@
|
||||
|
||||
$(subsrc).tar.gz: $(srcdir)/urls.txt
|
||||
@echo Downloading $(subtarget)
|
||||
@test -f $@ || $(CURL) -f -L -o $(subsrc).tar.gz $(shell grep $(subsrc).tar.gz $(srcdir)/urls.txt)
|
||||
@touch $@
|
||||
86
packaging/MacOSX/pulse/cfg/daemon.conf
Normal file
86
packaging/MacOSX/pulse/cfg/daemon.conf
Normal file
@@ -0,0 +1,86 @@
|
||||
# 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.
|
||||
|
||||
## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
|
||||
## more information. Default values are commented out. Use either ; or # for
|
||||
## commenting.
|
||||
|
||||
; daemonize = no
|
||||
; fail = yes
|
||||
; allow-module-loading = yes
|
||||
; allow-exit = yes
|
||||
; use-pid-file = yes
|
||||
; system-instance = no
|
||||
; local-server-type = user
|
||||
; enable-shm = yes
|
||||
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
|
||||
; lock-memory = no
|
||||
; cpu-limit = no
|
||||
|
||||
; high-priority = yes
|
||||
; nice-level = -11
|
||||
|
||||
; realtime-scheduling = yes
|
||||
; realtime-priority = 5
|
||||
|
||||
exit-idle-time = -1
|
||||
; scache-idle-time = 20
|
||||
|
||||
; dl-search-path = (depends on architecture)
|
||||
|
||||
; load-default-script-file = yes
|
||||
; default-script-file =
|
||||
|
||||
log-target = syslog
|
||||
; log-level = notice
|
||||
log-meta = yes
|
||||
; log-time = no
|
||||
; log-backtrace = 0
|
||||
|
||||
; resample-method = speex-float-3
|
||||
; enable-remixing = yes
|
||||
; enable-lfe-remixing = no
|
||||
|
||||
; flat-volumes = yes
|
||||
|
||||
; rlimit-fsize = -1
|
||||
; rlimit-data = -1
|
||||
; rlimit-stack = -1
|
||||
; rlimit-core = -1
|
||||
; rlimit-as = -1
|
||||
; rlimit-rss = -1
|
||||
; rlimit-nproc = -1
|
||||
; rlimit-nofile = 256
|
||||
; rlimit-memlock = -1
|
||||
; rlimit-locks = -1
|
||||
; rlimit-sigpending = -1
|
||||
; rlimit-msgqueue = -1
|
||||
; rlimit-nice = 31
|
||||
; rlimit-rtprio = 9
|
||||
; rlimit-rttime = 1000000
|
||||
|
||||
; default-sample-format = s16le
|
||||
; default-sample-rate = 44100
|
||||
; default-sample-channels = 2
|
||||
; default-channel-map = front-left,front-right
|
||||
|
||||
; default-fragments = 4
|
||||
; default-fragment-size-msec = 25
|
||||
|
||||
; enable-sync-volume = yes
|
||||
; sync-volume-safety-margin-usec = 8000
|
||||
; sync-volume-extra-delay-usec = 0
|
||||
68
packaging/MacOSX/pulse/cfg/default.pa
Normal file
68
packaging/MacOSX/pulse/cfg/default.pa
Normal file
@@ -0,0 +1,68 @@
|
||||
#!/Library/OpenNX/bin/pulseaudio -nF
|
||||
#
|
||||
# This startup script is used only if PulseAudio is started per-user
|
||||
# (i.e. not in system mode)
|
||||
|
||||
.fail
|
||||
|
||||
### Automatically restore the volume of streams and devices
|
||||
load-module module-device-restore
|
||||
load-module module-stream-restore
|
||||
load-module module-card-restore
|
||||
|
||||
load-module module-coreaudio-detect
|
||||
|
||||
### Automatically load driver modules for Bluetooth hardware
|
||||
.ifexists module-bluetooth-discover.so
|
||||
load-module module-bluetooth-discover
|
||||
.endif
|
||||
|
||||
### Load several protocols
|
||||
.ifexists module-esound-protocol-unix.so
|
||||
load-module module-esound-protocol-unix
|
||||
.endif
|
||||
.ifexists module-dbus-protocol.so
|
||||
load-module module-dbus-protocol
|
||||
.endif
|
||||
load-module module-native-protocol-unix
|
||||
|
||||
### Network access (may be configured with paprefs, so leave this commented
|
||||
### here if you plan to use paprefs)
|
||||
#load-module module-esound-protocol-tcp
|
||||
#load-module module-native-protocol-tcp
|
||||
#load-module module-zeroconf-publish
|
||||
|
||||
### Load the RTP reciever module (also configured via paprefs, see above)
|
||||
#load-module module-rtp-recv
|
||||
|
||||
### Load the RTP sender module (also configured via paprefs, see above)
|
||||
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink"
|
||||
#load-module module-rtp-send source=rtp.monitor
|
||||
|
||||
### Automatically restore the default sink/source when changed by the user during runtime
|
||||
load-module module-default-device-restore
|
||||
|
||||
### Automatically move streams to the default sink if the sink they are
|
||||
### connected to dies, similar for sources
|
||||
load-module module-rescue-streams
|
||||
|
||||
### Make sure we always have a sink around, even if it is a null sink.
|
||||
load-module module-always-sink
|
||||
|
||||
### Honour intended role device property
|
||||
load-module module-intended-roles
|
||||
|
||||
### Automatically suspend sinks/sources that become idle for too long
|
||||
load-module module-suspend-on-idle
|
||||
|
||||
### when no local session needs us anymore.
|
||||
.ifexists module-console-kit.so
|
||||
load-module module-console-kit
|
||||
.endif
|
||||
|
||||
### Enable positioned event sounds
|
||||
load-module module-position-event-sounds
|
||||
|
||||
### Make some devices default
|
||||
#set-default-sink output
|
||||
#set-default-source input
|
||||
1
packaging/MacOSX/pulse/json-c.shasum
Normal file
1
packaging/MacOSX/pulse/json-c.shasum
Normal file
@@ -0,0 +1 @@
|
||||
daaf5eb960fa98e137abc5012f569b83c79be90f json-c-0.9.tar.gz
|
||||
1
packaging/MacOSX/pulse/libsamplerate.shasum
Normal file
1
packaging/MacOSX/pulse/libsamplerate.shasum
Normal file
@@ -0,0 +1 @@
|
||||
f3f803ec5feae5a3fdb0fa3937277669e854386e libsamplerate-0.1.7.tar.gz
|
||||
1
packaging/MacOSX/pulse/libsndfile.shasum
Normal file
1
packaging/MacOSX/pulse/libsndfile.shasum
Normal file
@@ -0,0 +1 @@
|
||||
ade2dad272b52f61bb58aca3a4004b28549ee0f8 libsndfile-1.0.24.tar.gz
|
||||
73
packaging/MacOSX/pulse/patches/pulseaudio-osx-machid.patch
Normal file
73
packaging/MacOSX/pulse/patches/pulseaudio-osx-machid.patch
Normal file
@@ -0,0 +1,73 @@
|
||||
diff -urw pulseaudio-or/configure pulseaudio/configure
|
||||
--- pulseaudio-or/configure 2011-12-09 01:23:37.492318311 +0100
|
||||
+++ pulseaudio/configure 2012-01-30 01:03:46.861586823 +0100
|
||||
@@ -20582,7 +20582,7 @@
|
||||
# How do I check a framework "library" - AC_CHECK_LIB prob. won't work??, just assign LIBS & hope
|
||||
ac_fn_c_check_header_mongrel "$LINENO" "/Developer/Headers/FlatCarbon/CoreServices.h" "ac_cv_header__Developer_Headers_FlatCarbon_CoreServices_h" "$ac_includes_default"
|
||||
if test "x$ac_cv_header__Developer_Headers_FlatCarbon_CoreServices_h" = xyes; then :
|
||||
- LIBS="$LIBS -framework CoreServices"
|
||||
+ LIBS="$LIBS -framework IOKit -framework CoreServices"
|
||||
else
|
||||
as_fn_error $? "CoreServices.h header file not found" "$LINENO" 5
|
||||
|
||||
diff -urw pulseaudio-or/configure.ac pulseaudio/configure.ac
|
||||
--- pulseaudio-or/configure.ac 2011-12-09 01:15:50.450339133 +0100
|
||||
+++ pulseaudio/configure.ac 2012-01-30 01:02:13.674590980 +0100
|
||||
@@ -471,8 +471,17 @@
|
||||
if test "x$os_is_darwin" = "x1" ; then
|
||||
AC_MSG_CHECKING([looking for Apple CoreService Framework])
|
||||
# How do I check a framework "library" - AC_CHECK_LIB prob. won't work??, just assign LIBS & hope
|
||||
+ # Actually, this check is wrong too, because it assumes that Xcode is installed at the default
|
||||
+ # location. Xcode is relocatable - it's installer allows it to be installed anywhere - not
|
||||
+ # only below /Developer ... Furthermore, the question above indicates, that the person who asked
|
||||
+ # did not understand the concept of OSX framworks at all. Those are *not* libraries, but
|
||||
+ # *bundles* of various requisites (which *might* contain libs). The -framework parameter on
|
||||
+ # OSX is more like a combination of the conventional -L and -I parameters.
|
||||
+ # In my (FE's) opinion, this check is completely redundant. Either you *do* have Xcode which
|
||||
+ # *always* includes the basic frameworks, or you *dont* in which case you would not even have
|
||||
+ # basic build tools like gcc!
|
||||
AC_CHECK_HEADER([/Developer/Headers/FlatCarbon/CoreServices.h],
|
||||
- [LIBS="$LIBS -framework CoreServices"],
|
||||
+ [LIBS="$LIBS -framework IOKit -framework CoreServices"],
|
||||
[AC_MSG_ERROR([CoreServices.h header file not found])]
|
||||
)
|
||||
|
||||
diff -urw pulseaudio-orig/src/pulsecore/core-util.c pulseaudio/src/pulsecore/core-util.c
|
||||
--- pulseaudio-or/src/pulsecore/core-util.c 2011-12-09 01:14:05.131343828 +0100
|
||||
+++ pulseaudio/src/pulsecore/core-util.c 2012-01-30 00:23:36.752694276 +0100
|
||||
@@ -111,6 +111,7 @@
|
||||
#include <mach/thread_act.h>
|
||||
#include <mach/thread_policy.h>
|
||||
#include <sys/sysctl.h>
|
||||
+#include <IOKit/IOKitLib.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_DBUS
|
||||
@@ -2717,6 +2721,19 @@
|
||||
* since it fits perfectly our needs and is not as volatile as the
|
||||
* hostname which might be set from dhcp. */
|
||||
|
||||
+#ifdef OS_IS_DARWIN
|
||||
+ /* Of course, the above is valid only if we *do* have D-Bus - which
|
||||
+ * is not the case on OSX or Windows... On OSX, we have something even
|
||||
+ * better: A real machine UUID. */
|
||||
+ char uuid[38] = "00000000-0000-0000-0000-000000000000";
|
||||
+ io_registry_entry_t ioRegistryRoot =
|
||||
+ IORegistryEntryFromPath(kIOMasterPortDefault, "IOService:/");
|
||||
+ CFStringRef uuidCf =
|
||||
+ (CFStringRef)IORegistryEntryCreateCFProperty(ioRegistryRoot, CFSTR(kIOPlatformUUIDKey), kCFAllocatorDefault, 0);
|
||||
+ IOObjectRelease(ioRegistryRoot);
|
||||
+ CFStringGetCString(uuidCf, uuid, sizeof(uuid), kCFStringEncodingMacRoman);
|
||||
+ return pa_sprintf_malloc("%s", uuid);
|
||||
+#else
|
||||
if ((f = pa_fopen_cloexec(PA_MACHINE_ID, "r")) ||
|
||||
(f = pa_fopen_cloexec(PA_MACHINE_ID_FALLBACK, "r"))) {
|
||||
char ln[34] = "", *r;
|
||||
@@ -2729,6 +2746,7 @@
|
||||
if (r && ln[0])
|
||||
return pa_utf8_filter(ln);
|
||||
}
|
||||
+#endif
|
||||
|
||||
if ((h = pa_get_host_name_malloc()))
|
||||
return h;
|
||||
82433
packaging/MacOSX/pulse/patches/speex-crossppc.patch
Normal file
82433
packaging/MacOSX/pulse/patches/speex-crossppc.patch
Normal file
File diff suppressed because it is too large
Load Diff
1
packaging/MacOSX/pulse/pulseaudio.shasum
Normal file
1
packaging/MacOSX/pulse/pulseaudio.shasum
Normal file
@@ -0,0 +1 @@
|
||||
73aa4f515adb5afbbd56833056f915639e6c1958 pulseaudio-1.0-fe-20111209.tar.gz
|
||||
1
packaging/MacOSX/pulse/speex.shasum
Normal file
1
packaging/MacOSX/pulse/speex.shasum
Normal file
@@ -0,0 +1 @@
|
||||
52daa72572e844e5165315e208da539b2a55c5eb speex-1.2rc1.tar.gz
|
||||
8
packaging/MacOSX/pulse/urls.txt
Normal file
8
packaging/MacOSX/pulse/urls.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
http://ftp.gnu.org/gnu/libtool/libtool-2.4.tar.gz
|
||||
http://www.mega-nerd.com/SRC/libsamplerate-0.1.7.tar.gz
|
||||
http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.24.tar.gz
|
||||
http://oss.metaparadigm.com/json-c/json-c-0.9.tar.gz
|
||||
http://downloads.xiph.org/releases/speex/speex-1.2rc1.tar.gz
|
||||
# https://api.opensuse.org/public/source/home:mkbosmans:mingw32:pulseaudio/mingw32-pulseaudio/pulseaudio-1.0-dev-366-g7d918.tar.gz
|
||||
# http://www.fritz-elfert.de/downloads/pulseaudio-1.0-fe-20110622.tar.gz
|
||||
http://www.fritz-elfert.de/downloads/pulseaudio-1.0-fe-20111209.tar.gz
|
||||
Reference in New Issue
Block a user