Changeset b6289f9


Ignore:
Timestamp:
05/24/2007 02:53:32 PM (15 years ago)
Author:
Dan Nichilson <dnicholson@…>
Branches:
10.0, 10.1, 11.0, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, ken/refactor-virt, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
63c53b2a
Parents:
d4d6592
Message:

Install all drivers by default in the example XFree86 host.def

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    rd4d6592 rb6289f9  
    4848          <para>[dnicholson] - Various changes were applied to the XFree86
    4949          page. A patch was added to allow XFree86 against newer FreeType
    50           releases. The install targets were reduced to a single command.</para>
     50          releases. Also, the install targets were reduced to a single
     51          command. Finally, the <filename>host.def</filename> file was
     52          rewritten so that all the drivers are installed by default. This
     53          requires a fix to allow one of the input drivers to build.</para>
    5154        </listitem>
    5255      </itemizedlist>
  • x/installing/xfree86.xml

    rd4d6592 rb6289f9  
    187187      releases. Second, the macro "PAGE_MASK" is manually defined because
    188188      including <filename>asm/page.h</filename> from the Linux kernel headers
    189       does not work when compiling with <parameter>-ansi</parameter>. Finally,
     189      does not work when compiling with <parameter>-ansi</parameter>. Third,
    190190      the Linux kernel headers no longer install the unneeded header
    191191      <filename>linux/config.h</filename>. A <command>sed</command> is used
    192       to remove all usage of this header. Perform these actions with the
    193       following commands:</para>
     192      to remove all usage of this header. Finally, one of the input drivers
     193      will not build with the <parameter>-ansi</parameter> setting, so the
     194      <application>GCC</application> default is restored. Perform these
     195      actions with the following commands:</para>
    194196
    195197<screen><userinput>patch -Np1 -i ../XFree86-&xfree86-version;-freetype_internals-1.patch &amp;&amp;
     
    197199    programs/Xserver/hw/xfree86/fbdevhw/fbdevhw.c &amp;&amp;
    198200grep -rl '^#include &lt;linux/config.h&gt;' . | \
    199     xargs sed -i '\@^#include &lt;linux/config.h&gt;@d'</userinput></screen>
     201    xargs sed -i '\@^#include &lt;linux/config.h&gt;@d' &amp;&amp;
     202echo 'CCOPTIONS += -std=gnu89' &gt;&gt; \
     203    programs/Xserver/hw/xfree86/input/ur98/Imakefile</userinput></screen>
    200204
    201205    </sect3>
     
    239243<literal>/* Begin XFree86 host.def file */
    240244
    241 /* This setting reduces compile time a little by omitting rarely used
    242  * input devices.  You can find the complete list in
    243  * config/cf/xfree86.cf *********************************************/
    244 
    245 #define XInputDrivers                 mouse void
    246 
    247 /* VIDEO DRIVERS ****************************************************
    248  * If you are sure you only want the drivers for one or a few video
    249  * cards, you can delete the drivers you do not want. ***************/
    250 
    251 #define XF86CardDrivers  mga glint nv tga s3 s3virge sis rendition \
    252                          neomagic i740 tdfx savage \
    253                          cirrus vmware tseng trident chips apm \
    254                          GlideDriver fbdev i128 nsc \
    255                          ati i810 DevelDrivers ark \
    256                          cyrix siliconmotion \
    257                          v4l vesa vga \
    258                          dummy XF86OSCardDrivers XF86ExtraCardDrivers
    259 
    260 /* These settings ensure we use our libraries ************************/
    261 #define HasFreetype2             YES
    262 #define HasFontconfig            YES
    263 #define HasExpat                 YES
    264 #define HasLibpng                YES
    265 #define HasZlib                  YES
    266 
    267 /* Uncomment the following define if you'd like
    268  * xdm to use Linux-PAM
    269 #define HasPam                  YES
     245/* COMPILER SETTINGS
     246 * The default compiler settings for x86 are shown below. These settings
     247 * and those for other architectures can be found in config/cf/xfree86.cf.
     248#define DefaultGcc2i386Opt  -O2 -fno-strength-reduce -fno-strict-aliasing
    270249 */
    271250
    272 /* GENERAL SETTINGS */
    273 
    274 #define SystemManDirectory        /usr/share/man
    275 #define DocDir                    /usr/share/doc/xfree86-4.6.0
    276 
    277 /* Installation prefix. The default is to install into /usr/X11R6. If you
    278  * would like to install into /usr, uncomment these options. */
    279 
    280 /* #define ProjectRoot            /usr */
    281 /* #define LinkGLToUsrLib         NO   */
    282 /* #define LinkGLToUsrInclude     NO   */
     251/* INPUT DRIVERS
     252 * The build will pick the correct drivers for your platform, but a shorter
     253 * list can be defined to reduce compile time if they will not all be needed.
     254 * The list below shows the default input drivers from config/cf/xfree86.cf.
     255 *
     256#define XInputDrivers    mouse keyboard acecad calcomp citron \
     257                         digitaledge dmc dynapro elographics tek4957 \
     258                         microtouch mutouch penmount spaceorb summa \
     259                         wacom void magellan magictouch hyperpen \
     260                         jamstudio fpit palmax \
     261                         OSXInputDrivers ExtraXInputDrivers
     262 */
     263
     264/* VIDEO DRIVERS
     265 * The build will pick the correct drivers for your platform, but a shorter
     266 * list can be defined to reduce compile time if they will not all be needed.
     267 * The list below shows the default input drivers from config/cf/xfree86.cf.
     268 *
     269#define XF86CardDrivers  mga glint nv tga s3 s3virge sis xgi rendition \
     270                         neomagic i740 tdfx savage cirrus vmware tseng \
     271                         trident chips aspeed apm GlideDriver i128 NscDriver \
     272                         ati i810 AgpGartDrivers DevelDrivers ark cyrix \
     273                         siliconmotion via fbdev vesa vga dummy \
     274                         XF86OSCardDrivers XF86ExtraCardDrivers
     275 */
     276
     277/* SYSTEM LIBRARIES
     278 * These settings ensure we use our libraries. Comment them if you prefer to
     279 * use the versions shipped with XFree86.
     280 */
     281#define HasFreetype2        YES
     282#define HasFontconfig       YES
     283#define HasExpat            YES
     284#define HasLibpng           YES
     285#define HasZlib             YES
     286
     287/* Use Linux-PAM with xdm
     288#define HasPam              YES
     289 */
     290
     291/* GENERAL SETTINGS
     292 */
     293#define ManPath             /usr/share/man
     294#define DocDir              /usr/share/doc/xfree86-4.6.0
     295
     296/* INSTALLATION PREFIX
     297 * The default is to install into /usr/X11R6. If you would like to install
     298 * into /usr, uncomment these options.
     299#define ProjectRoot         /usr
     300#define LinkGLToUsrLib      NO
     301#define LinkGLToUsrInclude  NO
     302 */
    283303
    284304/* End XFree86 host.def file */</literal>
Note: See TracChangeset for help on using the changeset viewer.