# setupxorg/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The "setupxorg" package installs an Xorg setup script with the same name. #--------------------------------------------------------------------- 2. The "setupxorg" script configures XOrg appropriately. For example, "setupxorg" handles the following operations: a. Create directory "/tmp/.ICE-unix" and set its attributes ap- propriately b. If "uvesafb" is used, configure "uvesafb" appropriately c. Modify XOrg configuration file to select an appropriate video driver and/or video mode d. Modify XOrg configuration file to enable direct rendering and accelerated graphics, if possible #--------------------------------------------------------------------- 3. "setupxorg" relies on a distro-specific utility program named "pci2xorg". "pci2xorg" takes a PCI vendor:model ID pair as input and prints an XOrg driver name as output. For more information, see "pci2- xorg's" source code. #--------------------------------------------------------------------- 4. Requirements for direct rendering/accelerated graphics include: a. Linux 3.0 or above b. "pci2xorg" must recognize the graphics card c. XOrg must support DRI for the card in question d. XOrg, Mesa, libdrm, etc. must be compiled correctly e. User isn't running a MiniCD distro f. User isn't running inside a virtual machine (QEMU, etc.) #--------------------------------------------------------------------- [buildtimes] 00.00 hours (or 000.02 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 00.00 hours (or 000.02 minutes) - 2021 Utah dedi box: 4x2 CPU 32GB RAM 00.00 hours (or 000.02 minutes) - HP EliteBook 8560w 32GB RAM 00.00 hours (or 000.02 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.00 hours (or 000.07 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.00 hours (or 000.27 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] configure = none license = BSD-style nosyslinks = etc revision = 130530 tmpsize = 1M unpack = none #--------------------------------------------------------------------- [depends] xorgbase:strict #--------------------------------------------------------------------- [build] SBINDIR=$PKGDIR_PROD/sbin mkdir -p $SBINDIR EXEPATH=$SBINDIR/setupxorg sed -e "s|__META_BINDIR__|$SYSDIR_BIN|g" \ -e "s|__META_SBINDIR__|$SYSDIR_SBIN|g" \ -e "s|__META_LACUTIL__|$SYSDIR_LACUTIL|g" \ -e "s|__META_PREFIX__|$PKGDIR_PROD|g" \ -e "s|__META_PRODTREE__|$PRODTREE|g" \ < $PKGDIR_SPECIAL/setupxorg.in \ > $EXEPATH chmod 755 $EXEPATH xorgboot=vesa $EXEPATH #--------------------------------------------------------------------- [setup.boot] setupxorg #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = n/a url_home = n/a url_lfs = n/a url_tarball = n/a