Ticket #18316: xorg-tearfree.patch

File xorg-tearfree.patch, 2.5 KB (added by Rahul Chandra, 14 months ago)
  • introduction/welcome/changelog.xml

    diff --color -Naur --exclude .git blfs-stock/introduction/welcome/changelog.xml blfs-git/introduction/welcome/changelog.xml
    old new  
    2525  <itemizedlist>
    2626    <title>Changelog Entries:</title>
    2727
    28 <!-- Changelog template
    2928    <listitem>
    30       <para>MMMM DD{nd,st,th}, YYYY</para>
     29      <para>July 20th 2023</para>
    3130      <itemizedlist>
    3231        <listitem>
    33           <para>[name] - Changelog entry.</para>
    34         </listitem>
    35         <listitem>
    36           <para>[name] - Another changelog entry.</para>
     32          <para>[rahul] - Add TearFree patch to xorg-server. Fixes
     33          <ulink url="&blfs-ticket-root;18316">#18316</ulink>.</para>
    3734        </listitem>
    3835      </itemizedlist>
    3936    </listitem>
    40     -->
     37
    4138   <listitem>
    4239     <para>July 19th, 2023</para>
    4340     <itemizedlist>
  • x/installing/xorg-server.xml

    diff --color -Naur --exclude .git blfs-stock/x/installing/xorg-server.xml blfs-git/x/installing/xorg-server.xml
    old new  
    7070      </listitem>
    7171    </itemizedlist>
    7272
     73    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     74    <itemizedlist spacing="compact">
     75      <listitem>
     76        <para>
     77          With the removal of the xf86-video-* drivers, the TearFree option
     78          no longer works.  To combat this, upstream has added the TearFree
     79          option to the default modesetting driver. This patch has backported
     80          that feature.  Apply if you are going to be using Xorg in an enviornment
     81          without a compositor (ie, twm, icewm, openbox)
     82        </para>
     83        <para>
     84          Optional patch:
     85          <ulink url="&patch-root;/xorg-server-&xorg-server-version;-tearfree-backport.patch"/>
     86        </para>
     87      </listitem>
     88    </itemizedlist>
     89
    7390    <bridgehead renderas="sect3">Xorg Server Dependencies</bridgehead>
    7491
    7592    <bridgehead renderas="sect4">Required</bridgehead>
     
    197214    <title>Installation of Xorg Server</title>
    198215
    199216    <para>
     217      If needed, apply the TearFree patch:
     218    </para>
     219
     220<screen><userinput remap="pre">patch -Np1 -i ../xorg-server-&xorg-server-version;-tearfree-backport.patch</userinput></screen>
     221
     222    <para>
    200223      Install the server by running the following commands:
    201224    </para>
    202225