From 99ad070300864746c8c4717c61a253a51e5c01e3 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:35:07 +0100 Subject: [PATCH] obsolete pulseaudio-esound-compat [release 15.0-2mamba;Tue Aug 17 2021] --- pulseaudio.spec | 173 ++++++++++++------------------------------------ 1 file changed, 42 insertions(+), 131 deletions(-) diff --git a/pulseaudio.spec b/pulseaudio.spec index edf5f17..880d12b 100644 --- a/pulseaudio.spec +++ b/pulseaudio.spec @@ -4,14 +4,14 @@ %define pulse_access_userid 70 %define majver %(echo %{version} | cut -d. -f 1-2) Name: pulseaudio -Version: 14.2 -Release: 1mamba +Version: 15.0 +Release: 2mamba Summary: Improved Linux sound server Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://pulseaudio.org/ +URL: https://www.freedesktop.org/wiki/Software/PulseAudio/ Source0: http://freedesktop.org/software/pulseaudio/releases/pulseaudio-%{version}.tar.xz Source1: pulseaudio.png Source2: default.pa-for-gdm @@ -21,39 +21,30 @@ Patch25: pulseaudio-0.9.14-mixer-select.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: ldconfig BuildRequires: libICE-devel BuildRequires: libSM-devel BuildRequires: libX11-devel -BuildRequires: libXau-devel -BuildRequires: libXdmcp-devel -BuildRequires: libXext-devel -BuildRequires: libXi-devel BuildRequires: libXtst-devel BuildRequires: libalsa-devel BuildRequires: libasyncns-devel BuildRequires: libavahi-devel -BuildRequires: libbsd-devel BuildRequires: libcap-devel BuildRequires: libdbus-devel BuildRequires: libfftw-devel -BuildRequires: libflac-devel BuildRequires: libglib-devel +BuildRequires: libgst-plugins-base-devel +BuildRequires: libgstreamer-devel BuildRequires: libjack-devel BuildRequires: libltdl-devel -BuildRequires: libogg-devel BuildRequires: libopenssl-devel BuildRequires: liborc-devel BuildRequires: libsbc-devel BuildRequires: libsndfile-devel BuildRequires: libsoxr-devel -BuildRequires: libspeex-devel -BuildRequires: libssp-devel +BuildRequires: libspeexdsp-devel BuildRequires: libsystemd-devel BuildRequires: libtdb-devel BuildRequires: libudev-devel -BuildRequires: libuuid-devel -BuildRequires: libvorbis-devel BuildRequires: libwrap-devel BuildRequires: libxcb-devel BuildRequires: lirc-devel @@ -82,7 +73,7 @@ Requires: libalsa-plugins Requires: rtkit Requires: udev Requires(post): /usr/sbin/alternatives -BuildRoot: %{_tmppath}/%{name}-%{version}-root +Obsoletes: pulseaudio-esound-compat < 15.0 # ---{ pulseaudio 0.9.22 }--- @@ -129,18 +120,16 @@ Group: System/Libraries %description -n lib%{name}-core PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). - This contains the shared library needed by %{name} based applications. %package -n lib%{name} Summary: Shared library part of the polpyaudio sound server Group: System/Libraries Provides: lib%{name}-zeroconf -Obsoletes: lib%{name}-zeroconf +Obsoletes: lib%{name}-zeroconf < 15.0 %description -n lib%{name} PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). - This contains the shared library needed by %{name} based applications. %package -n lib%{name}-devel @@ -152,13 +141,11 @@ Requires: lib%{name}-glib = %{?epoch:%epoch:}%{version}-%{release} Requires: libglib-devel Requires: vala Provides: lib%{name}-zeroconf-devel -Obsoletes: lib%{name}-zeroconf-devel +Obsoletes: lib%{name}-zeroconf-devel < 15.0 %description -n lib%{name}-devel %{name} is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). - -This contains the C headers and libraries needed to build %{name} -based applications. +This contains the C headers and libraries needed to build %{name} based applications. %package -n lib%{name}-glib Summary: GLIB 2.x bindings for PulseAudio clients @@ -166,7 +153,6 @@ Group: System/Libraries %description -n lib%{name}-glib PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). - This package contains bindings to integrate the PulseAudio client library with a GLIB 2.x based application. %package -n lib%{name}-glib-devel @@ -176,7 +162,6 @@ Requires: lib%{name}-glib = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name}-glib-devel PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). - This contains static libraries needed to build %{name} based applications. %package -n lib%{name}-zeroconf @@ -185,7 +170,6 @@ Group: System/Libraries %description -n lib%{name}-zeroconf PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). - This package contains the runtime libraries and tools that allow PulseAudio clients to automatically detect PulseAudio servers using Zeroconf. %package -n lib%{name}-zeroconf-devel @@ -195,7 +179,6 @@ Requires: lib%{name}-zeroconf = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name}-zeroconf-devel PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). - This package static libraries needed to build %{name} based applications. %package esound-compat @@ -205,7 +188,6 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description esound-compat PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). - A compatibility script that allows applications to start PulseAudio with EsounD protocol modules. %package module-bluetooth @@ -216,7 +198,6 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description module-bluetooth PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). - Contains a module that can be used to automatically turn down the volume if a bluetooth mobile phone leaves the proximity or turn it up again if it enters the proximity again %package module-gsettings @@ -224,7 +205,7 @@ Summary: GConf support for the PulseAudio sound server Group: Applications/Multimedia Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Provides: %{name}-module-gconf -Obsoletes: %{name}-module-gconf +Obsoletes: %{name}-module-gconf < 15.0 %description module-gsettings PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). @@ -237,7 +218,6 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description module-jack PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). - JACK sink and source modules for the PulseAudio sound server. %package module-lirc @@ -247,7 +227,6 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description module-lirc PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). - LIRC volume control module for the PulseAudio sound server. %package module-zeroconf @@ -258,7 +237,6 @@ Requires: %{name}-utils = %{?epoch:%epoch:}%{version}-%{release} %description module-zeroconf PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). - Zeroconf publishing module for the PulseAudio sound server. %package module-x11 @@ -269,7 +247,6 @@ Requires: %{name}-utils = %{?epoch:%epoch:}%{version}-%{release} %description module-x11 PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). - X11 bell and security modules for the PulseAudio sound server. %package utils @@ -279,7 +256,6 @@ Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description utils PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). - This package contains command line utilities for the PulseAudio sound server. %package static @@ -294,7 +270,6 @@ Requires: lib%{name}-zeroconf-devel = %{?epoch:%epoch:}%{version}-%{release %description static PulseAudio is a sound server for Linux and other Unix like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). - This contains the static library needed by %{name} based applications. %debug_package @@ -305,23 +280,22 @@ This contains the static library needed by %{name} based applications. %build #:<< _EOF -CFLAGS="%{optflags} -ggdb" \ -%configure \ - --with-system-user=pulse \ - --with-system-group=pulse \ - --with-access-group=pulse-access \ - --enable-static=no \ - --disable-rpath \ -%ifarch arm - --disable-neon-opt -%endif +%meson \ + -Dsystem_user="pulse" \ + -Dsystem_group="pulse" \ + -Daccess_group="pulse-access" \ + -Dudevrulesdir=%{_udevrulesdir} \ + -Dgsettings="enabled" -%make LIBTOOL=%{_bindir}/libtool -%make -C doxygen +#%ifarch arm +# --disable-neon-opt +#%endif + +%meson_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall +%meson_install chmod 755 %{buildroot}%{_bindir}/pulseaudio # preserve time stamps @@ -333,14 +307,13 @@ touch -r man/pulse-client.conf.5.xml.in %{buildroot}%{_mandir}/man5/pulse-client touch -r man/pulse-daemon.conf.5.xml.in %{buildroot}%{_mandir}/man5/pulse-daemon.conf.5 mkdir -p %{buildroot}%{_localstatedir}/lib/pulse -mkdir -p %{buildroot}%{_localstatedir}/run/pulse # TODO Requires: http://download.gnome.org/sources/gdm #mkdir -p %{buildroot}%{_localstatedir}/lib/gdm/.pulse #install -m 644 %{S:2} %{buildroot}%{_localstatedir}/lib/gdm/.pulse/default.pa mkdir -p %{buildroot}%{_datadir}/pixmaps -install -m 644 %{S:1} %{buildroot}%{_datadir}/pixmaps +install -m 0644 %{S:1} %{buildroot}%{_datadir}/pixmaps install -m 0644 %{S:3} %{buildroot}%{_sysconfdir}/asound.conf.pulseaudio rm -f %{buildroot}%{_libdir}/*.{a,la} @@ -404,6 +377,7 @@ fi %files %defattr(-,root,root) +%{_sysconfdir}/xdg/Xwayland-session.d/00-pulseaudio-x11 %{_sysconfdir}/asound.conf.pulseaudio %dir %{_sysconfdir}/pulse %config(noreplace) %{_sysconfdir}/pulse/daemon.conf @@ -411,11 +385,8 @@ fi %config(noreplace) %{_sysconfdir}/pulse/system.pa %config(noreplace) %{_sysconfdir}/dbus-1/system.d/pulseaudio-system.conf %attr(4755,root,root) %{_bindir}/pulseaudio -%dir %{_libexecdir}/pulse -#%{_libexecdir}/pulse/proximity-helper %attr(0700, pulse, pulse) %dir %{_localstatedir}/lib/pulse -%attr(0775, pulse, pulse) %dir %{_localstatedir}/run/pulse -/lib/udev/rules.d/90-pulseaudio.rules +%{_udevrulesdir}/90-pulseaudio.rules %dir %{_libdir}/pulse-%{majver} %dir %{_libdir}/pulse-%{majver}/modules %{_libdir}/pulse-%{majver}/modules/libalsa-util.so @@ -424,78 +395,12 @@ fi %{_libdir}/pulse-%{majver}/modules/liboss-util.so %{_libdir}/pulse-%{majver}/modules/libprotocol-*.so %{_libdir}/pulse-%{majver}/modules/librtp.so -%{_libdir}/pulse-%{majver}/modules/module-alsa-*.so -%{_libdir}/pulse-%{majver}/modules/module-bluez5-*.so -%{_libdir}/pulse-%{majver}/modules/module-allow-passthrough.so -%{_libdir}/pulse-%{majver}/modules/module-always-sink.so -%{_libdir}/pulse-%{majver}/modules/module-always-source.so -%{_libdir}/pulse-%{majver}/modules/module-augment-properties.so -%{_libdir}/pulse-%{majver}/modules/module-bluetooth-*.so -%{_libdir}/pulse-%{majver}/modules/module-card-restore.so -%{_libdir}/pulse-%{majver}/modules/module-cli-protocol-*.so -%{_libdir}/pulse-%{majver}/modules/module-cli.so -%{_libdir}/pulse-%{majver}/modules/module-combine.so -%{_libdir}/pulse-%{majver}/modules/module-console-kit.so -%{_libdir}/pulse-%{majver}/modules/module-default-device-restore.so -%{_libdir}/pulse-%{majver}/modules/module-detect.so -%{_libdir}/pulse-%{majver}/modules/module-device-manager.so -%{_libdir}/pulse-%{majver}/modules/module-device-restore.so -%{_libdir}/pulse-%{majver}/modules/module-echo-cancel.so -%{_libdir}/pulse-%{majver}/modules/module-esound-compat-spawnfd.so -%{_libdir}/pulse-%{majver}/modules/module-esound-compat-spawnpid.so -%{_libdir}/pulse-%{majver}/modules/module-esound-protocol-tcp.so -%{_libdir}/pulse-%{majver}/modules/module-esound-protocol-unix.so -%{_libdir}/pulse-%{majver}/modules/module-esound-sink.so -%{_libdir}/pulse-%{majver}/modules/module-hal-detect.so -%{_libdir}/pulse-%{majver}/modules/module-http-protocol-tcp.so -%{_libdir}/pulse-%{majver}/modules/module-http-protocol-unix.so -%{_libdir}/pulse-%{majver}/modules/module-intended-roles.so -%{_libdir}/pulse-%{majver}/modules/module-ladspa-sink.so -%{_libdir}/pulse-%{majver}/modules/module-loopback.so -%{_libdir}/pulse-%{majver}/modules/module-match.so -%{_libdir}/pulse-%{majver}/modules/module-mmkbd-evdev.so -%{_libdir}/pulse-%{majver}/modules/module-native-protocol-fd.so -%{_libdir}/pulse-%{majver}/modules/module-native-protocol-tcp.so -%{_libdir}/pulse-%{majver}/modules/module-native-protocol-unix.so -%{_libdir}/pulse-%{majver}/modules/module-null-sink.so -%{_libdir}/pulse-%{majver}/modules/module-oss.so -%{_libdir}/pulse-%{majver}/modules/module-pipe-sink.so -%{_libdir}/pulse-%{majver}/modules/module-pipe-source.so -%{_libdir}/pulse-%{majver}/modules/module-position-event-sounds.so -%{_libdir}/pulse-%{majver}/modules/module-remap-*.so -%{_libdir}/pulse-%{majver}/modules/module-rescue-streams.so -%{_libdir}/pulse-%{majver}/modules/module-role-ducking.so -%{_libdir}/pulse-%{majver}/modules/module-rtp-recv.so -%{_libdir}/pulse-%{majver}/modules/module-rtp-send.so -%{_libdir}/pulse-%{majver}/modules/module-rygel-media-server.so -%{_libdir}/pulse-%{majver}/modules/module-simple-protocol-tcp.so -%{_libdir}/pulse-%{majver}/modules/module-simple-protocol-unix.so -%{_libdir}/pulse-%{majver}/modules/module-sine.so -%{_libdir}/pulse-%{majver}/modules/module-sine-source.so -%{_libdir}/pulse-%{majver}/modules/module-stream-restore.so -%{_libdir}/pulse-%{majver}/modules/module-suspend-on-idle.so -%{_libdir}/pulse-%{majver}/modules/module-systemd-login.so -%{_libdir}/pulse-%{majver}/modules/module-tunnel-sink*.so -%{_libdir}/pulse-%{majver}/modules/module-tunnel-source*.so -%{_libdir}/pulse-%{majver}/modules/module-udev-detect.so -%{_libdir}/pulse-%{majver}/modules/module-volume-restore.so -%{_libdir}/pulse-%{majver}/modules/module-combine-sink.so -%{_libdir}/pulse-%{majver}/modules/module-dbus-protocol.so -%{_libdir}/pulse-%{majver}/modules/module-equalizer-sink.so -%{_libdir}/pulse-%{majver}/modules/module-filter-apply.so -%{_libdir}/pulse-%{majver}/modules/module-filter-heuristics.so -%{_libdir}/pulse-%{majver}/modules/module-null-source.so -%{_libdir}/pulse-%{majver}/modules/module-role-cork.so -%{_libdir}/pulse-%{majver}/modules/module-switch-on-connect.so -%{_libdir}/pulse-%{majver}/modules/module-switch-on-port-available.so -%{_libdir}/pulse-%{majver}/modules/module-virtual-sink.so -%{_libdir}/pulse-%{majver}/modules/module-virtual-source.so -%{_libdir}/pulse-%{majver}/modules/module-virtual-surround-sink.so -%{_prefix}/lib/systemd/user/pulseaudio.service -%{_prefix}/lib/systemd/user/pulseaudio.socket +%{_libdir}/pulse-%{majver}/modules/module-*.so +%{_userunitdir}/pulseaudio.service +%{_userunitdir}/pulseaudio.socket +%{_userunitdir}/pulseaudio-x11.service %{_datadir}/vala/vapi/libpulse-simple.deps %{_datadir}/vala/vapi/libpulse-simple.vapi -#%{_datadir}/zsh/site-functions/_pulseaudio %dir %{_datadir}/pulseaudio %dir %{_datadir}/pulseaudio/alsa-mixer %dir %{_datadir}/pulseaudio/alsa-mixer/paths @@ -525,7 +430,7 @@ fi %{_libdir}/libpulse-simple.so.* %{_libdir}/pulseaudio/libpulsecommon-%{majver}.so %{_libdir}/pulseaudio/libpulsedsp.so -%doc GPL LGPL LICENSE +#%doc GPL LGPL LICENSE %files -n lib%{name}-devel %defattr(-,root,root) @@ -543,12 +448,12 @@ fi %{_datadir}/bash-completion/completions/* %{_datadir}/vala/vapi/libpulse-mainloop-glib.vapi %{_datadir}/vala/vapi/libpulse.deps -%doc README +#%doc README -%files esound-compat -%defattr(-,root,root) -%{_bindir}/esdcompat -%{_mandir}/man1/esdcompat.1* +#%files esound-compat +#%defattr(-,root,root) +#%{_bindir}/esdcompat +#%{_mandir}/man1/esdcompat.1* %files -n lib%{name}-glib %defattr(-,root,root) @@ -651,6 +556,12 @@ fi #%{_libdir}/pulse-%{majver}/modules/*.a %changelog +* Tue Aug 17 2021 Silvan Calarco 15.0-2mamba +- obsolete pulseaudio-esound-compat + +* Sun Aug 15 2021 Automatic Build System 15.0-1mamba +- automatic version update by autodist + * Sun Jan 17 2021 Automatic Build System 14.2-1mamba - automatic version update by autodist