pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/47697: pulseaudio fails to install on NetBSD/i386 5.2



The following reply was made to PR pkg/47697; it has been noted by GNATS.

From: "David H. Gutteridge" <dhgutteridge%sympatico.ca@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/47697: pulseaudio fails to install on NetBSD/i386 5.2
Date: Sun, 22 Jun 2014 19:23:18 -0400

 The reason the "x11" option won't work is because the native version
 of X11 on NetBSD 5.2 is "too old". (I put that in quotations because
 as the original submitter noted, in the source tree, there's a file
 that's intended to create a x11-xcb.pc file, but it's not installed
 by a build, for whatever reason. Perhaps the associated functionality
 isn't built by NetBSD in the -5 release series.) Using a newer
 version of libX11 from pkgsrc addresses the problem of the missing
 pkg-config file:
 
 $ pkg_admin dump | grep x11-xcb.pc
 file: /usr/pkg/lib/pkgconfig/x11-xcb.pc pkg: libX11-1.6.2nb1
 
 The "x11" option defaults to being enabled for this package, which
 is entirely reasonable, except on NetBSD 5.x that's not using
 "modular" X.org. Perhaps a test could be added that disables "x11"
 if building on NetBSD 5.x and "modular" isn't defined.
 
 As for setting PKG_OPTIONS.pulseaudio=avahi to disable "x11", that
 doesn't work; the package still insists on enabling "x11", I just
 tested that. I encountered the same situation with audio/libcanberra,
 where setting PKG_OPTIONS.libcanberra=gtk doesn't stop it from
 pulling in gtk3 as well. (In that case, I ended up editing the
 options.mk file to remove "gtk3" from PKG_SUGGESTED_OPTIONS. The same
 approach works for pulseaudio, though obviously it's not optimal...
 There may be a better way I'm not familiar with.)
 
 Dave
 


Home | Main Index | Thread Index | Old Index