On Thu, Apr 30, 2009 at 2:39 PM, kludge <drkludge@xxxxxxxxxxxxxx> wrote: > greets, all! > > ever since the release of xorg-server 1.5.3, i've been using a modified > PKGBUILD to build xorg-server sans hal and dbus. (not gonna try > justifying it again; that'd just lead to yet another flame war.) > > i've never had a problem until the 1.6.1-1 PKGBUILD, which adds the lines: > > libtoolize --force || return 1 > aclocal || return 1 > autoconf || return 1 > automake --add-missing || return 1 > > these added lines produce: > > libtoolize: putting auxiliary files in `.'. > libtoolize: linking file `./ltmain.sh' > libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and > libtoolize: rerunning libtoolize, to keep the correct libtool macros > in-tree. > libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. > hw/dmx/doc/Makefile.am:24: BUILD_LINUXDOC does not appear in AM_CONDITIONAL > hw/dmx/doc/Makefile.am:27: BUILD_PDFDOC does not appear in AM_CONDITIONAL > hw/xfree86/doc/sgml/Makefile.am:24: BUILD_LINUXDOC does not appear in > AM_CONDITIONAL > hw/xfree86/doc/sgml/Makefile.am:27: BUILD_PDFDOC does not appear in > AM_CONDITIONAL > ==> ERROR: Build Failed. > Aborting... > > my modified PKGBUILD is attached. please note that i *have* tried > reverting my changes (the commented patches), to no avail. > > as i'm pretty clueless vis-a-vis makefiles and the autoconf system, > could somehow point me in the direction of a fix? > > many thanks, > kludge > > # $Id: PKGBUILD 21903 2008-12-17 20:32:54Z jgc $ > # Maintainer: Alexander Baldeck <kth5@xxxxxxxxxxxxx> > # Contributor: Jan de Groot <jgc@xxxxxxxxxxxxx> > > pkgname=xorg-server > pkgver=1.6.1 > pkgrel=1 > pkgdesc="X.Org X servers" > arch=('i686' 'x86_64') > license=('custom') > url="http://xorg.freedesktop.org" > depends=('libgl' 'libxfont>=1.4.0' 'openssl>=0.9.8j' 'libpciaccess>=0.10.5' 'libxv>=1.0.4' 'pixman>=0.14.0' 'xcursor-themes' 'xkeyboard-config>=1.5' 'xorg-server-utils' 'xorg-fonts-misc' 'xbitmaps' 'diffutils') > makedepends=('libx11>=1.2' 'mesa>=7.4' 'xf86driproto>=2.0.4' 'xtrans>=1.2.3' 'libxkbfile>=1.0.5' 'randrproto>=1.3.0' 'renderproto>=0.9.3' 'xcmiscproto>=1.1.2' 'bigreqsproto>=1.0.2' 'resourceproto>=1.0.2' 'videoproto>=2.2.2' 'compositeproto>=0.4' 'scrnsaverproto>=1.1.0' 'libxinerama>=1.0.3' 'xf86dgaproto>=2.0.3' 'recordproto>=1.13.2' 'libgl>=7.4' 'glproto>=1.4.9') > #optdepends=( 'xf86-input-evdev: to provide input device hotplugging' > # 'hal>=0.5.11: to provide input devices for hotplugging' ) > options=('!libtool') > provides=('x-server' ) # 'xorg-server') > conflicts=('catalyst-utils<=9.2') > groups=('xorg') > install=xorg-server.install > source=(${url}/releases/individual/xserver/${pkgname}-${pkgver}.tar.bz2 > xorg-redhat-die-ugly-pattern-die-die-die.patch > hal-wait.patch) > md5sums=('ed0878bf32a24d4948c3b8a122a39eff' > '1a336eb22e27cbf443ec5a2ecddfa93c' > 'f16d2caef84e1a9c4075b6c5e145512d') > > build() { > cd "${srcdir}/${pkgname}-${pkgver}" > # Get rid of the ugly pattern > patch -Np3 -i "${srcdir}/xorg-redhat-die-ugly-pattern-die-die-die.patch" || return 1 > > # Fix dbus config path - removed b/c no dbus config'd > # sed -i -e 's/\$(sysconfdir)/\/etc/' config/Makefile.* || return 1 > > # Revert waiting for hal, assume hal won't show up when initial connect fails > # commented out b/c no hal config'd > # patch -R -Np1 -i "${srcdir}/hal-wait.patch" || return 1 > > libtoolize --force || return 1 > aclocal || return 1 > autoconf || return 1 > automake --add-missing || return 1 > > # --enable-config-{dbus,hal} switched to --disable > # to disable hotplugging and dependencies > > ./configure --prefix=/usr \ > --enable-ipv6 \ > --enable-dri \ > --disable-dmx \ > --enable-xvfb \ > --enable-xnest \ > --enable-composite \ > --enable-xcsecurity \ > --enable-xorg \ > --enable-xephyr \ > --enable-glx-tls \ > --enable-kdrive \ > --enable-install-setuid \ > --disable-config-hal \ > --disable-config-dbus \ > --enable-record \ > --disable-xfbdev \ > --disable-xfake \ > --disable-xsdl \ > --disable-static \ > --sysconfdir=/etc/X11 \ > --localstatedir=/var \ > --with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/TTF,/usr/share/fonts/Type1 \ > --with-xkb-path=/usr/share/X11/xkb \ > --with-xkb-output=/var/lib/xkb \ > --with-dri-driver-path=/usr/lib/xorg/modules/dri || return 1 > > make || return 1 > make DESTDIR="${pkgdir}" install || return 1 > > rm -rf "${pkgdir}/var/log" || return 1 > > install -m755 -d "${pkgdir}/etc/X11" || return 1 > install -m755 -d "${pkgdir}/var/lib/xkb" || return 1 > > # Needed for non-mesa drivers, libgl will restore it > mv "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" \ > "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.xorg" || return 1 > > install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" > install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1 > } > > Add xorg-util-macros in the makedepends.