[MacPorts] #42986: openal-soft @1.15.1: complains about pulseaudio (@5.0) not being built with capabilities support

MacPorts noreply at macports.org
Tue Sep 16 13:09:29 PDT 2014


#42986: openal-soft @1.15.1: complains about pulseaudio (@5.0) not being built with
capabilities support
-------------------------------------+--------------------------------
  Reporter:  egall@…                 |      Owner:  macports-tickets@…
      Type:  defect                  |     Status:  new
  Priority:  Normal                  |  Milestone:
 Component:  ports                   |    Version:  2.2.1
Resolution:                          |   Keywords:
      Port:  openal-soft pulseaudio  |
-------------------------------------+--------------------------------

Comment (by lubodiakov@…):

 Replying to [comment:1 ryandesign@…]:
 > Replying to [ticket:42986 egall@…]:
 > > I am not sure why OpenAL is trying to use PulseAudio, as I found no
 mention of it in the Portfile for openal-soft, and `otool -L` reports no
 linkages against it... maybe it is being `dlopen()`-ed as well? There was
 a configure check for pulseaudio in openal-soft's `CMakeLists.txt`, at
 least...
 >
 > Yes, I see dlopen() is used in openal-soft-1.15.1/Alc/helpers.c.
 Apparently I should add a pulseaudio dependency to openal-soft, and one
 for portaudio as well. Done in r118122.
 >
 Adding dependencies for portaudio and pulseaudio has the nasty side effect
 that with those, something close to 20 other ports, mostly to do with Xorg
 get pulled in as well.


 {{{
 udo port install openal-soft +universal -portaudio -pulseaudio
 --->  Computing dependencies for openal-soft
 --->  Dependencies to be installed: portaudio pulseaudio dbus
 fftw-3-single fftw-3 glib2 libffi libxml2 gtk3 at-spi2-atk at-spi2-core
 dbus-glib gobject-introspection cairo fontconfig freetype libpng libpixman
 xorg-libXext xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto
 xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb xorg-libpthread-stubs
 xorg-xcb-proto xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-
 xf86bigfontproto xorg-xtrans xorg-xcb-util xrender xorg-renderproto
 intltool gnome-common p5.16-getopt-long p5.16-pathtools p5.16-scalar-list-
 utils p5.16-xml-parser xorg-libXevie xorg-evieproto xorg-libXi xorg-
 libXfixes xorg-fixesproto xorg-libXtst xorg-recordproto xorg-libice xorg-
 libsm atk dbus-python27 gdk-pixbuf2 jasper jpeg tiff hicolor-icon-theme
 pango Xft2 harfbuzz graphite2 shared-mime-info xorg-libXcomposite xorg-
 compositeproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-
 libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto json-c
 libatomic_ops libsamplerate libsndfile flac libogg libvorbis orc speex
 --->  Configuring portaudio
 --->  Building portaudio
 ^C
 }}}


 I was trying to build openal-soft ONLY, for use inside OS X, with no (or
 as few as possible) dependencies on Xorg! I commented out the lines in the
 portfile for those two dependencies in my local port file, and it builds.
 Haven't tested if I can link something to the dylib, but it looks good in
 otool, lipo, etc. so it should. Might I suggest reverting the change, or
 at least making it mandatory only on newer versions of Mac OS X? 10.5
 here, and it works better for me without portaudio or pulseaudio.

-- 
Ticket URL: <https://trac.macports.org/ticket/42986#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list