updated to Xorg-6.9.0

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5704 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
DJ Lucas 2006-03-05 20:34:34 +00:00
parent 985c02e99a
commit 3e7ee209b9
3 changed files with 64 additions and 31 deletions

View File

@ -1,8 +1,8 @@
<!ENTITY day "03"> <!-- Always 2 digits --> <!ENTITY day "05"> <!-- Always 2 digits -->
<!ENTITY month "03"> <!-- Always 2 digits --> <!ENTITY month "03"> <!-- Always 2 digits -->
<!ENTITY year "2006"> <!ENTITY year "2006">
<!ENTITY version "svn-&year;&month;&day;"> <!ENTITY version "svn-&year;&month;&day;">
<!ENTITY releasedate "March &day;rd, &year;"> <!ENTITY releasedate "March &day;th, &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP --> <!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] --> <!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
<!ENTITY lfs-version "development"> <!-- version|stable|testing|unstable|development] --> <!ENTITY lfs-version "development"> <!-- version|stable|testing|unstable|development] -->
@ -335,7 +335,7 @@
<!-- Part VII --> <!-- Part VII -->
<!-- Chapter 25 --> <!-- Chapter 25 -->
<!ENTITY xorg-version "6.8.2"> <!ENTITY xorg-version "6.9.0">
<!ENTITY xorg7-version "7.0.0"> <!ENTITY xorg7-version "7.0.0">
<!ENTITY xfree86-version "4.5.0"> <!ENTITY xfree86-version "4.5.0">

View File

@ -40,6 +40,25 @@
</listitem> </listitem>
--> -->
<listitem>
<para>March 5th, 2006</para>
<itemizedlist>
<listitem>
<para>[dj] - Updated to xorg-6.9.0</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>March 3rd, 2006</para>
<itemizedlist>
<listitem>
<para>[dj] - Updated JDK to account for Xorg-7.0.0.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem> <listitem>
<para>March 2nd, 2006</para> <para>March 2nd, 2006</para>
<itemizedlist> <itemizedlist>

View File

@ -4,12 +4,12 @@
<!ENTITY % general-entities SYSTEM "../../general.ent"> <!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities; %general-entities;
<!ENTITY xorg-download-http " "> <!ENTITY xorg-download-http "http://xorg.freedesktop.org/releases/X11R&xorg-version;/src-single/X11R&xorg-version;-src.tar.bz2 ">
<!ENTITY xorg-download-ftp "ftp://ftp.opengroup.org/pub/x.org/pub/X11R&xorg-version;/src-single/X11R&xorg-version;-src.tar.bz2"> <!ENTITY xorg-download-ftp "ftp://expo.x.org/pub/X11R&xorg-version;/src-single/X11R&xorg-version;-src.tar.bz2">
<!ENTITY xorg-md5sum "8131cd7ea1e4566e6e05c438a93fcfe1"> <!ENTITY xorg-md5sum "52ad69832db5c36c7041f90625ed4598">
<!ENTITY xorg-size "43 MB"> <!ENTITY xorg-size "45 MB">
<!ENTITY xorg-buildsize "839 MB"> <!ENTITY xorg-buildsize "864 MB">
<!ENTITY xorg-time "10.34 SBU"> <!ENTITY xorg-time "11.68 SBU">
]> ]>
<sect1 id="xorg" xreflabel="X.org-&xorg-version;"> <sect1 id="xorg" xreflabel="X.org-&xorg-version;">
@ -34,36 +34,34 @@
<title>Introduction to Xorg</title> <title>Introduction to Xorg</title>
<note> <note>
<para>There are two packages in BLFS that implement the <application>X <para>There are three packages in BLFS that implement the <application>X
Window System</application>: <application>Xorg</application> and Window System</application>: <application>Xorg</application>
<application>XFree86</application>. These packages are quite similar. (X11R6 and X11R7) and <application>XFree86</application>. These
In fact, the base system of <application>Xorg</application> is packages are all quite similar. In fact, the base system of
<application>XFree86</application>-4.4.0RC2. The primary difference as <application>Xorg</application> is
of this writing is the license provisions of the packages. For someone <application>XFree86</application>-4.4.0RC2. Licensing was the original
building a package for their own use, these issues are not significant. reason for the split. <application>Xorg-&xorg7-version;</application>
introduces a completely autotooled build system, but is otherwise the
same codebase as <application>Xorg-&xorg-version;</application>.
Most large commercial distributions have decided to use the Most large commercial distributions have decided to use the
<application>Xorg</application> package, but several still use <application>Xorg</application> package, but several still provide
<application>XFree86</application>.</para> <application>XFree86</application>.</para>
<para>A second reason for the forking of <application>X</application> <para>A second reason for the forking of <application>X</application>
packages is the stated goals of the developers. Some developers were packages is the stated goals of the developers. Some developers were
unhappy with the administration and progress of unhappy with the administration and progress of
<application>XFree86</application>. X.org's future plans include <application>XFree86</application>. X.org's future plans include
significant improvements to the internals of the system and more frequent significant improvements to the internals of the system and more
releases.</para> frequent releases.</para>
<para><application>XFree86</application> continues to be a solid, <para><application>XFree86</application> continues to be a solid,
conservative application with excellent driver support.</para> conservative application with excellent driver support.</para>
<para>Both <application>Xorg</application> and
<application>XFree86</application> can be installed in the same way,
but this section will provide a slightly different and more current
variation for installation.</para>
</note> </note>
<para><application>Xorg</application> is a freely redistributable open-source <para><application>Xorg</application> is a freely redistributable open-source
implementation of the <application>X</application> Window System. This implementation of the <application>X</application> Window System. This
application provides a client/server interface between display hardware (the system provides a client/server interface between display hardware (the
mouse, keyboard, and video displays) and the desktop environment, while also mouse, keyboard, and video displays) and the desktop environment, while also
providing both the windowing infrastructure and a standardized application providing both the windowing infrastructure and a standardized application
interface (API).</para> interface (API).</para>
@ -94,7 +92,7 @@
<itemizedlist spacing="compact"> <itemizedlist spacing="compact">
<listitem> <listitem>
<para>Required patch: <ulink <para>Required patch: <ulink
url="&patch-root;/X11R&xorg-version;-src-gcc4-1.patch"/></para> url="&patch-root;/X11R&xorg-version;-luit_race-1.patch"/></para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>
@ -110,8 +108,8 @@
<bridgehead renderas="sect3">Download Instructions</bridgehead> <bridgehead renderas="sect3">Download Instructions</bridgehead>
<para>As an alternative to downloading the entire source tree in a single <para>As an alternative to downloading the entire source tree in a single
file, there are several files that need to be fetched from the download file, there are several, smaller files that can be fetched from the
location (directory /pub/x.org/pub/X11R&xorg-version;/src/):</para> download location (directory /pub/X11R&xorg-version;/src/):</para>
<itemizedlist spacing='compact'> <itemizedlist spacing='compact'>
<listitem> <listitem>
@ -196,13 +194,26 @@
<title>Installation of Xorg</title> <title>Installation of Xorg</title>
<sect3> <sect3>
<title>Patching to be Compatible with GCC-4.x</title> <title>Various build fixes</title>
<para>The <application>Xorg</application> sources must be patched in <para>The <application>Xorg</application> sources must be patched in
order to be compiled using <application>GCC</application>-4.x. Install order to avoid a race condition with the <application>luit</application>
the following patch:</para> program. Additionally, recent <application>glibc</application> requires
<filename>linux/types.h</filename> to be included prior to
<filename>asm/types.h</filename>. Fix both issues with the following
commands:</para>
<screen><userinput>patch -Np1 -i ../X11R&xorg-version;-src-gcc4-1.patch</userinput></screen> <screen><userinput>patch -Np1 -i ../X11R&xorg-version;-luit_race-1.patch &amp;&amp;
sed -i "s@*/@*/\n#include &lt;linux/types.h&gt;\n@" \
programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c</userinput></screen>
<para>Additionally, if you choose to install
<application>Xorg</application> to any prefix other than
<filename class="directory">/usr/X11R6</filename>, the luit package
needs another correction to fix a hard coded path. Execute the
following command:</para>
<screen><userinput>sed -i 's@/usr/X11R6@<replaceable>[/usr]</replaceable>@' programs/luit/parser.h</userinput></screen>
</sect3> </sect3>
@ -317,6 +328,9 @@ cd ../xcbuild &amp;&amp;
#define XInputDrivers mouse keyboard #define XInputDrivers mouse keyboard
/* Xterm is no longer built by default */
#define BuildXterm YES
/* Disable building Xprint server and clients until we get them figured /* Disable building Xprint server and clients until we get them figured
* out but build Xprint libraries to allow precompiled binaries such as * out but build Xprint libraries to allow precompiled binaries such as
* Acrobat Reader to run. * Acrobat Reader to run.