Changeset dc2615fa


Ignore:
Timestamp:
05/25/2019 04:22:40 AM (3 years ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
10.0, 10.1, 11.0, 9.0, 9.1, ken/refactor-virt, lazarus, qt5new, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    r6d78663 rdc2615fa  
    4545      <para>May 24th, 2019</para>
    4646      <itemizedlist>
     47        <listitem>
     48          <para>[renodr] - Adapt Pulseaudio to ALSA API Changes.</para>
     49        </listitem>
    4750        <listitem revision="sysv">
    4851          <para>[dj] - Minor cleanups to network bootscripts.</para>
  • 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.