Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 515600 - =media-sound/pulseaudio-5.0-r2 multilib build should install /usr/lib32/pulseaudio/libpulsedsp.so
Summary: =media-sound/pulseaudio-5.0-r2 multilib build should install /usr/lib32/pulse...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-28 13:45 UTC by Sergei Trofimovich (RETIRED)
Modified: 2014-10-12 17:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich (RETIRED) gentoo-dev 2014-06-28 13:45:13 UTC
padsp is a LD_PRELOAD script. I preloads
/usr/lib64/pulseaudio/libpulsedsp.so on amd64

The 32-bit lib is handy when you try to run 32-bit only game,
like games-fps/unreal-tournament.

Ideally padsp script should LD_PRELOAD libraries of both ABIs,
but manual loading is fine as well.

To install 32-bit lib the following ebuild changes were needed:

Index: pulseaudio-5.0-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-5.0-r2.ebuild,v
retrieving revision 1.6
diff -u -U3 -r1.6 pulseaudio-5.0-r2.ebuild
--- pulseaudio-5.0-r2.ebuild    17 Jun 2014 11:46:47 -0000      1.6
+++ pulseaudio-5.0-r2.ebuild    28 Jun 2014 13:42:18 -0000
@@ -238,7 +238,7 @@
        if multilib_is_native_abi; then
                emake
        else
-               emake -C src libpulse{,-simple,-mainloop-glib}.la
+               emake -C src libpulse{,dsp,-simple,-mainloop-glib}.la
        fi
 }
 
@@ -268,6 +268,7 @@
                emake DESTDIR="${D}" install-pkgconfigDATA
                emake DESTDIR="${D}" -C src \
                        install-libLTLIBRARIES \
+                       install-padsplibLTLIBRARIES \
                        lib_LTLIBRARIES="libpulse.la libpulse-simple.la libpulse-mainloop-glib.la" \
                        install-pulseincludeHEADERS
        fi

Thanks!
Comment 1 Pacho Ramos gentoo-dev 2014-10-12 17:26:23 UTC
+*pulseaudio-5.0-r3 (12 Oct 2014)
+
+  12 Oct 2014; Pacho Ramos <pacho@gentoo.org>
+  +files/pulseaudio-5.0-zeroconf-crash-1.patch,
+  +files/pulseaudio-5.0-zeroconf-crash-2.patch,
+  +files/pulseaudio-5.0-zeroconf-crash-3.patch, +pulseaudio-5.0-r3.ebuild,
+  -pulseaudio-5.0-r1.ebuild, -pulseaudio-5.0.ebuild:
+  Fix zeroconf crashes (#504612 by Alexander Tsoy), fix libcap dependency for
+  multilib (#513796 by Michał Górny), move aware from 'avahi' USE in favor of
+  'zeroconf' (#477620), install libpulsedsp.so for 32bits (#515600 by Sergei
+  Trofimovich), drop old.
+