On Fri, 6 Nov 2026 09:04:27 +0100
prx <[email protected]> wrote:
> * Thomas Frohwein <[email protected]> le [05-11-2026 14:58:16
> -0700]:
> > Hi,
> >
> > With the recent changes to pulseaudio, I intend to drop some
> > guidance like the following into wine's README.
> >
> > Sharing here in case there are comments/issues; planning to commit
> > soon if no objections.
> >
> > Index: Makefile
> > ===================================================================
> > RCS file: /cvs/ports/emulators/wine/Makefile,v
> > diff -u -p -r1.53 Makefile
> > --- Makefile 4 Nov 2026 21:41:40 -0000 1.53
> > +++ Makefile 5 Nov 2026 18:17:40 -0000
> > @@ -6,7 +6,7 @@ USE_WXNEEDED = Yes
> > COMMENT = compatibility layer to run Windows
> > applications
> > DISTNAME = wine-11.20
> > -REVISION = 2
> > +REVISION = 3
> >
> > CATEGORIES = emulators
> >
> > Index: pkg/README
> > ===================================================================
> > RCS file: /cvs/ports/emulators/wine/pkg/README,v
> > diff -u -p -r1.1.1.1 README
> > --- pkg/README 19 Oct 2026 02:14:57 -0000 1.1.1.1
> > +++ pkg/README 5 Nov 2026 18:17:40 -0000
> > @@ -47,6 +47,21 @@ and/or VKD3D-Proton for D3D12:
> > Both come with installation instructions and/or install scripts
> > that install the dll's into the wine prefix and update winecfg.
> >
> > +Audio
> > +=====
> > +
> > +${PKGSTEM} uses pulseaudio. This requires pipewire-pulse, which
> > can be +installed with:
> > +
> > + # pkg_add pipewire
> > +
> > +Pipewire doesn't autospawn, so before launching wine, you need to
> > run: +
> > + $ /usr/local/bin/pipewire &
> > +
> > +if this isn't taken care of by the desktop manager or in the
> > startup +scripts like .xsession.
> > +
> > Debugging
> > =========
> >
> >
>
> Hi,
> Thanks, this answered my yesterday question about non-working sound.
>
> Regards.
>
>
I like this change, small nit:
~ $ pkg_info -f pipewire | grep '^@depend'
@depend audio/libcanberra,-main:libcanberra-*:libcanberra-0.30p8
@depend audio/libebur128:libebur128-*:libebur128-1.2.6
@depend audio/libsndfile:libsndfile-*:libsndfile-1.2.2p0
@depend devel/dconf:dconf-*:dconf-51.0
@depend devel/epoll-shim:epoll-shim-*:epoll-shim-0.0.20240608
@depend devel/glib2:glib2-*-!bootstrap:glib2-2.90.1p1
@depend math/fftw3,-main,float:fftw3-float-*:fftw3-float-3.3.10p3
@depend multimedia/libcamera,-main:libcamera-*:libcamera-0.8.0
@depend
multimedia/pipewire/pipewire,-libs:libpipewire-*:libpipewire-1.6.11p1
@depend
multimedia/pipewire/wireplumber:wireplumber-*:wireplumber-0.5.19p0
@depend x11/dbus,-main:dbus-*:dbus-1.16.4v0
As shown above, pipewire doesn't directly provide the pulseaudio
backend, only the starting script.
So, I think the first command example should be something like this:
# pkg_add pipewire pulseaudio
The latter of which is actually providing the pulseaudio backend used by
pipewire-pulse, which is required for pipewire to be able to actually
spawn a valid pulseaudio subsystem.
--
iz (she/her)
> I say mundane things
> so the uninteresting
> just might get noticed.
izder456 (dot) neocities (dot) org