From: Rafael Sadowski Subject: Re: Enable gsettings in audio/pulseaudio To: Antoine Jacoutot Cc: ports Date: Sun, 24 Nov 2024 20:29:15 +0100 On Sun Nov 24, 2024 at 07:43:33PM +0100, Antoine Jacoutot wrote: > On Sun, Nov 24, 2024 at 07:31:07PM +0100, Rafael Sadowski wrote: > > On Sun Nov 24, 2024 at 07:23:23PM +0100, Antoine Jacoutot wrote: > > > On Sun, Nov 24, 2024 at 07:20:08PM +0100, Rafael Sadowski wrote: > > > > I would like to enable gstreamer in pulseaudio. This module is necessary > > > > Ops, auto completion s/gstreamer/gsettings/ I need gsettings. > > > > https://github.com/KDE/plasma-pa/commit/e04e034c24b832fb7803c14e1f99f4b46beab831 > > Alright. > In this case you are missing the devel/dconf MODULE. Thanks also spotted by portcheck as well a trailing whitespace in Makefile. New diff below. Index: Makefile =================================================================== RCS file: /cvs/ports/audio/pulseaudio/Makefile,v diff -u -p -r1.131 Makefile --- Makefile 21 Feb 2024 11:28:13 -0000 1.131 +++ Makefile 24 Nov 2024 19:26:11 -0000 @@ -5,7 +5,7 @@ COMMENT= cross-platform networked sound VERSION= 17.0 DISTNAME= pulseaudio-${VERSION} EXTRACT_SUFX= .tar.xz -REVISION= 0 +REVISION= 1 SHARED_LIBS += pulse 7.2 # 0.24.3 SHARED_LIBS += pulse-simple 1.2 # 0.1.1 @@ -29,7 +29,8 @@ WANTLIB += xcb SITES= https://freedesktop.org/software/pulseaudio/releases/ -MODULES= devel/meson +MODULES= devel/meson \ + devel/dconf # C++11; no associated WANTLIB: only checked by configure but never used COMPILER= base-clang ports-gcc @@ -77,7 +78,6 @@ CONFIGURE_ARGS= -Ddoxygen=false \ -Delogind=disabled \ -Dfftw=disabled \ -Dbluez5-gstreamer=disabled \ - -Dgsettings=disabled \ -Dgtk=disabled \ -Dhal-compat=false \ -Djack=disabled \ @@ -117,5 +117,5 @@ post-install: mv ${WRKINST}${SYSCONFDIR}/{pulse,xdg} ${PREFIX}/share/examples/pulseaudio # remove this linux-centric bash script rm ${PREFIX}/bin/pa-info - + .include Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/audio/pulseaudio/pkg/PLIST,v diff -u -p -r1.39 PLIST --- pkg/PLIST 15 Jan 2024 09:38:46 -0000 1.39 +++ pkg/PLIST 24 Nov 2024 19:26:11 -0000 @@ -85,6 +85,7 @@ lib/pulseaudio/modules/ @so lib/pulseaudio/modules/module-echo-cancel.so @so lib/pulseaudio/modules/module-filter-apply.so @so lib/pulseaudio/modules/module-filter-heuristics.so +@so lib/pulseaudio/modules/module-gsettings.so @so lib/pulseaudio/modules/module-http-protocol-tcp.so @so lib/pulseaudio/modules/module-http-protocol-unix.so @so lib/pulseaudio/modules/module-intended-roles.so @@ -128,6 +129,8 @@ lib/pulseaudio/modules/ @so lib/pulseaudio/modules/module-x11-cork-request.so @so lib/pulseaudio/modules/module-x11-publish.so @so lib/pulseaudio/modules/module-x11-xsmp.so +libexec/pulse/ +@bin libexec/pulse/gsettings-helper @man man/man1/pacat.1 @man man/man1/pacmd.1 @man man/man1/pactl.1 @@ -143,6 +146,9 @@ lib/pulseaudio/modules/ @man man/man5/pulse-cli-syntax.5 @man man/man5/pulse-client.conf.5 @man man/man5/pulse-daemon.conf.5 +share/GConf/ +share/GConf/gsettings/ +share/GConf/gsettings/pulseaudio.convert share/bash-completion/completions/pacat share/bash-completion/completions/pacmd share/bash-completion/completions/pactl @@ -174,6 +180,7 @@ share/examples/pulseaudio/xdg/autostart/ @sample ${SYSCONFDIR}/xdg/autostart/ share/examples/pulseaudio/xdg/autostart/pulseaudio.desktop @sample ${SYSCONFDIR}/xdg/autostart/pulseaudio.desktop +share/glib-2.0/schemas/org.freedesktop.pulseaudio.gschema.xml share/locale/af/LC_MESSAGES/pulseaudio.mo share/locale/as/LC_MESSAGES/pulseaudio.mo share/locale/be/LC_MESSAGES/pulseaudio.mo @@ -239,3 +246,4 @@ share/vala/vapi/libpulse.vapi share/zsh/ share/zsh/site-functions/ share/zsh/site-functions/_pulseaudio +@tag glib-compile-schemas