Changeset dc2615fa for multimedia


Ignore:
Timestamp:
05/25/2019 04:22:40 AM (5 years ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 9.0, 9.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
4ef9eb3
Parents:
6d78663
Message:

Adapt PulseAudio to ALSA API changes.

With ALSA 1.1.9, it became fatal to include headers from /usr/include rather than /usr/include/alsa, and the headers in /usr/include added a warning regarding this. Pulseaudio also doesn't use pkg-config for a large majority of it's headers (reported upstream), so a modification had to be done to account for that as well.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21624 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • multimedia/libdriv/pulseaudio.xml

    r6d78663 rdc2615fa  
    139139    </para>
    140140
    141 <!--<screen><userinput>patch -Np1 -i ../pulseaudio-&pulseaudio-version;-glibc_2.27_fix-1.patch &amp;&amp;
    142 
    143 AUTOPOINT='intltoolize \-\-automake \-\-copy' autoreconf -fiv &amp;&amp;-->
    144 <screen><userinput>./configure --prefix=/usr        \
     141    <para>
     142      First, adapt Pulseaudio to upstream ALSA API changes:
     143    </para>
     144    <!-- This is due to it becoming FATAL to include ALSA headers from
     145         /usr/include instead of /usr/include/alsa. Only one of these
     146         files uses pkg-config to get it's headers, and as a result,
     147         the hardcoded paths need to be updated. In this case, I developed
     148         three seds and a call to ./bootstrap.sh to fix this. Other packages
     149         may be affected by this upstream ALSA change as well. -->
     150
     151<screen><userinput>sed -i "s:asoundlib.h:alsa/asoundlib.h:" src/modules/alsa/*.{c,h} &amp;&amp;
     152sed -i "s:use-case.h:alsa/use-case.h:" configure.ac &amp;&amp;
     153sed -i "s:use-case.h:alsa/use-case.h:" src/modules/alsa/alsa-ucm.h</userinput></screen>
     154
     155<screen><userinput>NOCONFIGURE=1 ./bootstrap.sh     &amp;&amp;
     156./configure --prefix=/usr        \
    145157            --sysconfdir=/etc    \
    146158            --localstatedir=/var \
Note: See TracChangeset for help on using the changeset viewer.