commit ae00f51cdd1680cc853ae1d9149c377fc6281952 parent bb3e27a96b7e5b6608226509eb4c6f43d9c6aa3b Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 16 May 2014 17:20:32 +0000 add xorgserver - only Xfbdev etc are shipped, binary is not setuid for now. - update xorg dependencies to not use PKG_CONFIG, built in a minimal crux chroot, but ofcourse still highly experi_mental_. NOTE: maybe we should add a xorgproto meta package ;) this is just a first step to improve upon ;) Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org> Diffstat:
97 files changed, 710 insertions(+), 27 deletions(-)
diff --git a/xorgbigreqsproto/depsinc.mk b/xorgbigreqsproto/depsinc.mk @@ -0,0 +1,7 @@ +<$xorgbigreqsproto_DEPDIR/v.mk + +xorgbigreqsproto_libdir = ${xorgbigreqsproto_DEPDIR}/bigreqsproto-$v/lib/lib +xorgbigreqsproto_includedir = ${xorgbigreqsproto_DEPDIR}/bigreqsproto-$v/lib/include + +DEPS_CFLAGS = $DEPS_CFLAGS -I${xorgbigreqsproto_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS diff --git a/xorgbigreqsproto/mkfile b/xorgbigreqsproto/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = bigreqsproto-$v +url = http://xorg.freedesktop.org/releases/individual/proto/bigreqsproto-$v.tar.bz2 +mkfile = ../xorgbigreqsproto.mk diff --git a/xorgbigreqsproto/v.mk b/xorgbigreqsproto/v.mk @@ -0,0 +1 @@ +v = 1.1.2 diff --git a/xorgbigreqsproto/xorgbigreqsproto.mk b/xorgbigreqsproto/xorgbigreqsproto.mk @@ -0,0 +1,10 @@ +TARG = xorgbigreqsproto + +<$mkbuild/mk.common-noinst + +xorgbigreqsproto:QV: + ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgcompositeproto/depsinc.mk b/xorgcompositeproto/depsinc.mk @@ -0,0 +1,7 @@ +<$xorgcompositeproto_DEPDIR/v.mk + +xorgcompositeproto_libdir = ${xorgcompositeproto_DEPDIR}/compositeproto-$v/lib/lib +xorgcompositeproto_includedir = ${xorgcompositeproto_DEPDIR}/compositeproto-$v/lib/include + +DEPS_CFLAGS = $DEPS_CFLAGS -I${xorgcompositeproto_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS diff --git a/xorgcompositeproto/mkfile b/xorgcompositeproto/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = compositeproto-$v +url = http://xorg.freedesktop.org/releases/individual/proto/compositeproto-$v.tar.bz2 +mkfile = ../xorgcompositeproto.mk diff --git a/xorgcompositeproto/v.mk b/xorgcompositeproto/v.mk @@ -0,0 +1 @@ +v = 0.4.2 diff --git a/xorgcompositeproto/xorgcompositeproto.mk b/xorgcompositeproto/xorgcompositeproto.mk @@ -0,0 +1,10 @@ +TARG = xorgcompositeproto + +<$mkbuild/mk.common-noinst + +xorgcompositeproto:QV: + ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgdamageproto/depsinc.mk b/xorgdamageproto/depsinc.mk @@ -0,0 +1,7 @@ +<$xorgdamageproto_DEPDIR/v.mk + +xorgdamageproto_libdir = ${xorgdamageproto_DEPDIR}/damageproto-$v/lib/lib +xorgdamageproto_includedir = ${xorgdamageproto_DEPDIR}/damageproto-$v/lib/include + +DEPS_CFLAGS = $DEPS_CFLAGS -I${xorgdamageproto_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS diff --git a/xorgdamageproto/mkfile b/xorgdamageproto/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = damageproto-$v +url = http://xorg.freedesktop.org/releases/individual/proto/damageproto-$v.tar.bz2 +mkfile = ../xorgdamageproto.mk diff --git a/xorgdamageproto/v.mk b/xorgdamageproto/v.mk @@ -0,0 +1 @@ +v = 1.2.1 diff --git a/xorgdamageproto/xorgdamageproto.mk b/xorgdamageproto/xorgdamageproto.mk @@ -0,0 +1,10 @@ +TARG = xorgdamageproto + +<$mkbuild/mk.common-noinst + +xorgdamageproto:QV: + ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgdmxproto/depsinc.mk b/xorgdmxproto/depsinc.mk @@ -0,0 +1,7 @@ +<$xorgdmxproto_DEPDIR/v.mk + +xorgdmxproto_libdir = ${xorgdmxproto_DEPDIR}/dmxproto-$v/lib/lib +xorgdmxproto_includedir = ${xorgdmxproto_DEPDIR}/dmxproto-$v/lib/include + +DEPS_CFLAGS = $DEPS_CFLAGS -I${xorgdmxproto_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS diff --git a/xorgdmxproto/mkfile b/xorgdmxproto/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = dmxproto-$v +url = http://xorg.freedesktop.org/releases/individual/proto/dmxproto-$v.tar.bz2 +mkfile = ../xorgdmxproto.mk diff --git a/xorgdmxproto/v.mk b/xorgdmxproto/v.mk @@ -0,0 +1 @@ +v = 2.3.1 diff --git a/xorgdmxproto/xorgdmxproto.mk b/xorgdmxproto/xorgdmxproto.mk @@ -0,0 +1,10 @@ +TARG = xorgdmxproto + +<$mkbuild/mk.common-noinst + +xorgdmxproto:QV: + ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgdri2proto/depsinc.mk b/xorgdri2proto/depsinc.mk @@ -0,0 +1,6 @@ +<$xorgdri2proto_DEPDIR/v.mk + +xorgdri2proto_libdir = $xorgdri2proto_DEPDIR/dri2proto-$v/lib/lib +xorgdri2proto_includedir = $xorgdri2proto_DEPDIR/dri2proto-$v/lib/include +DEPS_CFLAGS = $DEPS_CFLAGS -I${xorgdri2proto_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS -L${xorgdri2proto_libdir} diff --git a/xorgdri2proto/mkfile b/xorgdri2proto/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = dri2proto-$v +url = http://xorg.freedesktop.org/releases/individual/proto/dri2proto-$v.tar.bz2 +mkfile = ../xorgdri2proto.mk diff --git a/xorgdri2proto/v.mk b/xorgdri2proto/v.mk @@ -0,0 +1 @@ +v = 2.8 diff --git a/xorgdri2proto/xorgdri2proto.mk b/xorgdri2proto/xorgdri2proto.mk @@ -0,0 +1,15 @@ +TARG = xorgdri2proto + +<$mkbuild/mk.common-noinst + +xorgdri2proto:QV: + CC="$CC" ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/share/man" \ + --disable-shared \ + --enable-static + make -j$nprocs + # install lib for use as a dependency. + make -j$nprocs install DESTDIR=`pwd`/lib + # remove .la files for now ? + find `pwd`/lib -iname "*.la" -exec rm {} \; diff --git a/xorgfixesproto/depsinc.mk b/xorgfixesproto/depsinc.mk @@ -0,0 +1,7 @@ +<$xorgfixesproto_DEPDIR/v.mk + +xorgfixesproto_libdir = ${xorgfixesproto_DEPDIR}/fixesproto-$v/lib/lib +xorgfixesproto_includedir = ${xorgfixesproto_DEPDIR}/fixesproto-$v/lib/include + +DEPS_CFLAGS = $DEPS_CFLAGS -I${xorgfixesproto_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS diff --git a/xorgfixesproto/mkfile b/xorgfixesproto/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = fixesproto-$v +url = http://xorg.freedesktop.org/releases/individual/proto/fixesproto-$v.tar.bz2 +mkfile = ../xorgfixesproto.mk diff --git a/xorgfixesproto/v.mk b/xorgfixesproto/v.mk @@ -0,0 +1 @@ +v = 5.0 diff --git a/xorgfixesproto/xorgfixesproto.mk b/xorgfixesproto/xorgfixesproto.mk @@ -0,0 +1,10 @@ +TARG = xorgfixesproto + +<$mkbuild/mk.common-noinst + +xorgfixesproto:QV: + ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgfontsproto/depsinc.mk b/xorgfontsproto/depsinc.mk @@ -0,0 +1,7 @@ +<$xorgfontsproto_DEPDIR/v.mk + +xorgfontsproto_libdir = ${xorgfontsproto_DEPDIR}/fontsproto-$v/lib/lib +xorgfontsproto_includedir = ${xorgfontsproto_DEPDIR}/fontsproto-$v/lib/include + +DEPS_CFLAGS = $DEPS_CFLAGS -I${xorgfontsproto_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS diff --git a/xorgfontsproto/mkfile b/xorgfontsproto/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = fontsproto-$v +url = http://xorg.freedesktop.org/releases/individual/proto/fontsproto-$v.tar.bz2 +mkfile = ../xorgfontsproto.mk diff --git a/xorgfontsproto/v.mk b/xorgfontsproto/v.mk @@ -0,0 +1 @@ +v = 2.1.3 diff --git a/xorgfontsproto/xorgfontsproto.mk b/xorgfontsproto/xorgfontsproto.mk @@ -0,0 +1,10 @@ +TARG = xorgfontsproto + +<$mkbuild/mk.common-noinst + +xorgfontsproto:QV: + ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorglibfontenc/depsinc.mk b/xorglibfontenc/depsinc.mk @@ -0,0 +1,7 @@ +<$xorglibfontenc_DEPDIR/v.mk + +xorglibfontenc_includedir = ${xorglibfontenc_DEPDIR}/libfontenc-$v/lib/include +xorglibfontenc_libdir = ${xorglibfontenc_DEPDIR}/libfontenc-$v/lib/lib + +DEPS_CFLAGS = $DEPS_CFLAGS -I${xorglibfontenc_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS -L${xorglibfontenc_libdir} -lfontenc diff --git a/xorglibfontenc/mkfile b/xorglibfontenc/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = libfontenc-$v +url = http://xorg.freedesktop.org/releases/individual/lib/libfontenc-$v.tar.bz2 +mkfile = ../xorglibfontenc.mk diff --git a/xorglibfontenc/v.mk b/xorglibfontenc/v.mk @@ -0,0 +1 @@ +v = 1.1.2 diff --git a/xorglibfontenc/xorglibfontenc.mk b/xorglibfontenc/xorglibfontenc.mk @@ -0,0 +1,18 @@ +TARG = xorglibfontenc +DEPS = zlib xorgxproto + +<$mkbuild/mk.common-noinst + +xorglibfontenc:QV: + export CFLAGS="$CFLAGS $DEPS_CFLAGS" + export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" + export FONTENC_CFLAGS=" " + export FONTENC_LIBS=" " + CC="$CC" ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/share/man" \ + --disable-shared \ + --enable-static + make -j$nprocs DESTDIR="`pwd`/lib/" install + # remove .la files for now ? + find `pwd`/lib -iname "*.la" -exec rm {} \; diff --git a/xorglibpciaccess/depsinc.mk b/xorglibpciaccess/depsinc.mk @@ -0,0 +1,6 @@ +<$xorglibpciaccess_DEPDIR/v.mk + +xorglibpciaccess_libdir = $xorglibpciaccess_DEPDIR/libpciaccess-$v/lib/lib +xorglibpciaccess_includedir = $xorglibpciaccess_DEPDIR/libpciaccess-$v/lib/include +DEPS_CFLAGS = $DEPS_CFLAGS -I${xorglibpciaccess_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS -L${xorglibpciaccess_libdir} -lpciaccess diff --git a/xorglibpciaccess/limits.patch b/xorglibpciaccess/limits.patch @@ -0,0 +1,10 @@ +--- src/linux_sysfs.old 2014-05-14 15:00:00.932500323 +0200 ++++ src/linux_sysfs.c 2014-05-14 15:00:57.252498017 +0200 +@@ -44,6 +44,7 @@ + #include <sys/mman.h> + #include <dirent.h> + #include <errno.h> ++#include <limits.h> + + #if defined(__i386__) || defined(__x86_64__) || defined(__arm__) + #include <sys/io.h> diff --git a/xorglibpciaccess/mkfile b/xorglibpciaccess/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = libpciaccess-$v +url = http://xorg.freedesktop.org/releases/individual/lib/libpciaccess-$v.tar.bz2 +mkfile = ../xorglibpciaccess.mk diff --git a/xorglibpciaccess/v.mk b/xorglibpciaccess/v.mk @@ -0,0 +1 @@ +v = 0.13.2 diff --git a/xorglibpciaccess/xorglibpciaccess.mk b/xorglibpciaccess/xorglibpciaccess.mk @@ -0,0 +1,21 @@ +TARG = xorglibpciaccess +DEPS = zlib + +<$mkbuild/mk.common-noinst + +xorglibpciaccess:QV: + export CFLAGS="$CFLAGS $DEPS_CFLAGS" + export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" + # fix missing include for limits.h (PATH_MAX). + patch -p0 < ../limits.patch + CC="$CC" ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/share/man" \ + --with-zlib \ + --disable-shared \ + --enable-static + make -j$nprocs + # install lib for use as a dependency. + make -j$nprocs install DESTDIR=`pwd`/lib + # remove .la files for now ? + find `pwd`/lib -iname "*.la" -exec rm {} \; diff --git a/xorglibpixman/depsinc.mk b/xorglibpixman/depsinc.mk @@ -0,0 +1,6 @@ +<$xorglibpixman_DEPDIR/v.mk + +xorglibpixman_libdir = $xorglibpixman_DEPDIR/pixman-$v/lib/lib +xorglibpixman_includedir = $xorglibpixman_DEPDIR/pixman-$v/lib/include/pixman-1 +DEPS_CFLAGS = $DEPS_CFLAGS -I${xorglibpixman_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS -L${xorglibpixman_libdir} -lpixman-1 diff --git a/xorglibpixman/mkfile b/xorglibpixman/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = pixman-$v +url = http://xorg.freedesktop.org/releases/individual/lib/pixman-$v.tar.bz2 +mkfile = ../xorglibpixman.mk diff --git a/xorglibpixman/v.mk b/xorglibpixman/v.mk @@ -0,0 +1 @@ +v = 0.32.4 diff --git a/xorglibpixman/xorglibpixman.mk b/xorglibpixman/xorglibpixman.mk @@ -0,0 +1,24 @@ +# Description: Pixel manipulation library +# Deps: libpng +# Indirect deps: zlib (libpng). +TARG = xorglibpixman +DEPS = zlib libpng + +<$mkbuild/mk.common-noinst + +xorglibpixman:QV: + export CFLAGS="$CFLAGS $DEPS_CFLAGS" + export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" + export PNG_CFLAGS="-I${libpng_includedir}" + export PNG_LIBS="-L${libpng_libdir} -lpng16 -lm -lz" + CC="$CC" ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/share/man" \ + --disable-shared \ + --enable-static \ + --enable-libpng + make -j$nprocs + # install lib for use as a dependency. + make -j$nprocs install DESTDIR=`pwd`/lib + # remove .la files for now ? + find `pwd`/lib -iname "*.la" -exec rm {} \; diff --git a/xorglibx11/makekeys b/xorglibx11/makekeys Binary files differ. diff --git a/xorglibx11/makekeys_Makefile b/xorglibx11/makekeys_Makefile @@ -1,5 +1,5 @@ all: - cc makekeys.c -o makekeys -static + $(HOSTCC) makekeys.c -o makekeys -static -I../../include $(HOSTCC_CFLAGS) install: true uninstall: diff --git a/xorglibx11/xorglibx11.mk b/xorglibx11/xorglibx11.mk @@ -1,14 +1,21 @@ TARG = xorglibx11 -DEPS = xorgxproto xorgxtrans xorglibxcb xorgkbproto xorginputproto +DEPS = xorgxproto xorglibxcb xorgxcbproto xorgkbproto xorginputproto xorgxf86bigfontproto xorgxtrans <$mkbuild/mk.common-noinst xorglibx11:QV: export CFLAGS="$CFLAGS $DEPS_CFLAGS" export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" + # set these to make sure these are used. + export BIGFONT_CFLAGS="-I${xorgxf86bigfontproto_includedir}" + export BIGFONT_LIBS="-L${xorgxf86bigfontproto_libdir}" + export X11_CFLAGS="${CFLAGS}" + export X11_LIBS="${LDFLAGS}" + #TODO: more detailed flags +# export X11_CFLAGS="-I${xorgxproto_includedir}" +# export X11_LIBS="-L${xorgxproto_libdir}" ./configure --prefix="$prefix" \ --mandir="$ROOT/share/man" \ - --disable-loadable-xcursor \ --with-keysymdefdir="${xorgxproto_includedir}/X11" \ --disable-shared \ --enable-static @@ -16,6 +23,7 @@ xorglibx11:QV: # build makekeys staticly. cp ../makekeys_Makefile src/util/Makefile # make and install. + export HOSTCC_CFLAGS="-I${xorgxproto_includedir}" make -j$nprocs install DESTDIR=`pwd`/lib # remove .la files for now ? find `pwd`/lib -iname "*.la" -exec rm {} \; diff --git a/xorglibxau/xorglibxau.mk b/xorglibxau/xorglibxau.mk @@ -6,5 +6,11 @@ DEPS = xorgxproto xorglibxau:QV: export CFLAGS="$CFLAGS $DEPS_CFLAGS" export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" - CC="$CC" ./configure --prefix="$prefix" --mandir="$ROOT/share/man" + export XAU_CFLAGS="-I${xorgxproto_includedir}" + export XAU_LIBS="-L${xorgxproto_libdir}" + CC="$CC" ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/share/man" make -j$nprocs DESTDIR="`pwd`/lib/" install + # remove .la files for now ? + find `pwd`/lib -iname "*.la" -exec rm {} \; diff --git a/xorglibxcb/xorglibxcb.mk b/xorglibxcb/xorglibxcb.mk @@ -1,6 +1,6 @@ # make deps: python2.7 (with python 3 won't work atm (2014-04-30)). TARG = xorglibxcb -DEPS = xorgxcbproto xorglibxau xorgxproto +DEPS = xorgxcbproto xorgxproto xorglibxau xorglibxdmcp <$mkbuild/mk.common-noinst @@ -8,8 +8,15 @@ xorglibxcb:QV: export CFLAGS="$CFLAGS $DEPS_CFLAGS" export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" export PYTHON="python2.7" - # stfu - export PKG_CONFIG="/bin/true" + export XCBPROTO_CFLAGS="-I${xorgxcbproto_includedir}" + export XCBPROTO_LIBS="-L${xorgxcbproto_libdir}" + export XDMCP_CFLAGS="-I${xorglibxdmcp_includedir}" + export XDMCP_LIBS="-L${xorglibxdmcp_libdir}" + export NEEDED_CFLAGS="${CFLAGS}" + export NEEDED_LIBS="${LDFLAGS}" + # TODO: better flags. +# export NEEDED_CFLAGS="-I${xorgxproto_includedir}" +# export NEEDED_LIBS="-L${xorgxproto_libdir}" ./configure \ --prefix="$prefix" \ --mandir="$ROOT/share/man" \ diff --git a/xorglibxdmcp/depsinc.mk b/xorglibxdmcp/depsinc.mk @@ -0,0 +1,7 @@ +<$xorglibxdmcp_DEPDIR/v.mk + +xorglibxdmcp_includedir = ${xorglibxdmcp_DEPDIR}/libXdmcp-$v/lib/include +xorglibxdmcp_libdir = ${xorglibxdmcp_DEPDIR}/libXdmcp-$v/lib/lib + +DEPS_CFLAGS = $DEPS_CFLAGS -I${xorglibxdmcp_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS -L${xorglibxdmcp_libdir} -lXdmcp diff --git a/xorglibxdmcp/mkfile b/xorglibxdmcp/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = libXdmcp-$v +url = http://xorg.freedesktop.org/releases/individual/lib/libXdmcp-$v.tar.bz2 +mkfile = ../xorglibxdmcp.mk diff --git a/xorglibxdmcp/v.mk b/xorglibxdmcp/v.mk @@ -0,0 +1 @@ +v = 1.1.1 diff --git a/xorglibxdmcp/xorglibxdmcp.mk b/xorglibxdmcp/xorglibxdmcp.mk @@ -0,0 +1,21 @@ +TARG = xorglibxdmcp +DEPS = xorgxproto + +<$mkbuild/mk.common-noinst + +xorglibxdmcp:QV: + export CFLAGS="$CFLAGS $DEPS_CFLAGS" + export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" + export XDMCP_CFLAGS="-I${xorgxproto_includedir}" + export XDMCP_LIBS="-L${xorgxproto_libdir}" + # HAVE__XEATDATAWORDS is set, but it isn't detected with configure + # set set it. +# CC="$CC" CFLAGS="$CFLAGS -DHAVE__XEATDATAWORDS=1" ./configure + CC="$CC" ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/share/man" \ + --disable-shared \ + --enable-static + make -j$nprocs DESTDIR="`pwd`/lib/" install + # remove .la files for now ? + find `pwd`/lib -iname "*.la" -exec rm {} \; diff --git a/xorglibxext/xorglibxext.mk b/xorglibxext/xorglibxext.mk @@ -6,6 +6,8 @@ DEPS = xorglibx11 xorgxproto xorgxextproto xorglibxau xorglibxext:QV: export CFLAGS="$CFLAGS $DEPS_CFLAGS" export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" + export XEXT_CFLAGS="-I${xorgxextproto_libdir}" + export XEXT_LIBS="-L${xorgxextproto_libdir}" # HAVE__XEATDATAWORDS is set, but it isn't detected with configure # set set it. CC="$CC" CFLAGS="$CFLAGS -DHAVE__XEATDATAWORDS=1" ./configure \ diff --git a/xorglibxfont/depsinc.mk b/xorglibxfont/depsinc.mk @@ -0,0 +1,6 @@ +<$xorglibxfont_DEPDIR/v.mk + +xorglibxfont_libdir = $xorglibxfont_DEPDIR/libXfont-$v/lib/lib +xorglibxfont_includedir = $xorglibxfont_DEPDIR/libXfont-$v/lib/include +DEPS_CFLAGS = $DEPS_CFLAGS -I${xorglibxfont_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS -L${xorglibxfont_libdir} -lXfont diff --git a/xorglibxfont/mkfile b/xorglibxfont/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = libXfont-$v +url = http://xorg.freedesktop.org/releases/individual/lib/libXfont-$v.tar.bz2 +mkfile = ../xorglibxfont.mk diff --git a/xorglibxfont/v.mk b/xorglibxfont/v.mk @@ -0,0 +1 @@ +v = 1.4.7 diff --git a/xorglibxfont/xorg-libxfont-const.diff b/xorglibxfont/xorg-libxfont-const.diff @@ -0,0 +1,21 @@ +diff -urN libXfont-1.4.7.orig/src/util/patcache.c libXfont-1.4.7/src/util/patcache.c +--- libXfont-1.4.7.orig/src/util/patcache.c 2014-01-07 10:25:08.000000000 -0600 ++++ libXfont-1.4.7/src/util/patcache.c 2014-04-19 13:28:51.509242842 -0500 +@@ -128,7 +128,7 @@ + /* add entry */ + void + CacheFontPattern (FontPatternCachePtr cache, +- char *pattern, ++ const char *pattern, + int patlen, + FontPtr pFont) + { +@@ -174,7 +174,7 @@ + /* find matching entry */ + FontPtr + FindCachedFontPattern (FontPatternCachePtr cache, +- char *pattern, ++ const char *pattern, + int patlen) + { + int hash; diff --git a/xorglibxfont/xorglibxfont.mk b/xorglibxfont/xorglibxfont.mk @@ -0,0 +1,22 @@ +TARG = xorglibxfont +DEPS = freetype zlib xorgxproto xorglibfontenc xorgxtrans xorgfontsproto + +<$mkbuild/mk.common-noinst + +xorglibxfont:QV: + # patch "error: conflicting types for ‘CacheFontPattern’" + patch -p1 -i ../xorg-libxfont-const.diff + # + export CFLAGS="$CFLAGS $DEPS_CFLAGS" + export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" + export FREETYPE_CFLAGS="-I${freetype_includedir}" + export FREETYPE_LIBS="-L${freetype_libdir} -lfreetype" + export XFONT_CFLAGS=" " + export XFONT_LIBS=" " + CC="$CC" ./configure \ + --prefix="$prefix" --mandir="$ROOT/share/man" \ + --disable-shared \ + --enable-static + make -j$nprocs install DESTDIR="`pwd`/lib" + # remove .la files for now ? + find `pwd`/lib -iname "*.la" -exec rm {} \; diff --git a/xorglibxft/xorglibxft.mk b/xorglibxft/xorglibxft.mk @@ -6,7 +6,23 @@ DEPS = xorglibx11 xorgxproto freetype fontconfig xorglibxrender xorgrenderproto xorglibxft:QV: export CFLAGS="$CFLAGS $DEPS_CFLAGS" export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" - CC="$CC" ./configure --prefix="$prefix" --mandir="$ROOT/share/man" \ + #export XRENDER_CFLAGS="-I${xorglibxrender_includedir}" + #export XRENDER_LIBS="-lX11 -lXrender -lxcb -lXau -lXdmcp -L${xorglibxrender_libdir}" + export XRENDER_CFLAGS="${CFLAGS}" + export XRENDER_LIBS="${LDFLAGS}" + # include dir is "freetype" not "freetype2". + export FREETYPE_CFLAGS="-I${freetype_includedir}../" +# export FREETYPE_LIBS="-lfreetype -L${freetype_libdir}" + export FREETYPE_LIBS="${LDFLAGS}" + export FONTCONFIG_CFLAGS="${CFLAGS}" + export FONTCONFIG_LIBS="${LDFLAGS}" + #export FONTCONFIG_CFLAGS="-I${fontconfig_includedir}" + #export FONTCONFIG_LIBS="-lfontconfig -L${fontconfig_libdir}" + CC="$CC" ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/share/man" \ --disable-shared \ --enable-static make -j$nprocs install DESTDIR="`pwd`/lib" + # remove .la files for now ? + find `pwd`/lib -iname "*.la" -exec rm {} \; diff --git a/xorglibxinerama/xorglibxinerama.mk b/xorglibxinerama/xorglibxinerama.mk @@ -6,6 +6,8 @@ DEPS = xorglibx11 xorgxproto xorglibxext xorgxineramaproto xorglibxau xorglibxinerama:QV: export CFLAGS="$CFLAGS $DEPS_CFLAGS" export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" + export XINERAMA_CFLAGS="-I${xorgxineramaproto_includedir}" + export XINERAMA_LIBS="-L${xorgxineramaproto_libdir}" # HAVE__XEATDATAWORDS is set, but it isn't detected with configure # set set it. CC="$CC" CFLAGS="$CFLAGS -DHAVE__XEATDATAWORDS=1" ./configure \ @@ -14,3 +16,5 @@ xorglibxinerama:QV: --disable-shared \ --enable-static make -j$nprocs DESTDIR="`pwd`/lib/" install + # remove .la files for now ? + find `pwd`/lib -iname "*.la" -exec rm {} \; diff --git a/xorglibxkbfile/depsinc.mk b/xorglibxkbfile/depsinc.mk @@ -0,0 +1,7 @@ +<$xorglibxkbfile_DEPDIR/v.mk + +xorglibxkbfile_includedir = ${xorglibxkbfile_DEPDIR}/libxkbfile-$v/lib/include +xorglibxkbfile_libdir = ${xorglibxkbfile_DEPDIR}/libxkbfile-$v/lib/lib + +DEPS_CFLAGS = $DEPS_CFLAGS -I${xorglibxkbfile_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS -L${xorglibxkbfile_libdir} -lxkbfile diff --git a/xorglibxkbfile/mkfile b/xorglibxkbfile/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = libxkbfile-$v +url = http://xorg.freedesktop.org/releases/individual/lib/libxkbfile-$v.tar.bz2 +mkfile = ../xorglibxkbfile.mk diff --git a/xorglibxkbfile/v.mk b/xorglibxkbfile/v.mk @@ -0,0 +1 @@ +v = 1.0.8 diff --git a/xorglibxkbfile/xorglibxkbfile.mk b/xorglibxkbfile/xorglibxkbfile.mk @@ -0,0 +1,16 @@ +TARG = xorglibxkbfile +DEPS = xorgkbproto xorgxproto xorglibx11 + +<$mkbuild/mk.common-noinst + +xorglibxkbfile:QV: + export CFLAGS="$CFLAGS $DEPS_CFLAGS" + export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" + export XKBFILE_CFLAGS="-I${xorgkbproto_includedir}" + export XKBFILE_LIBS="-L${xorgkbproto_libdir}" + CC="$CC" ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/share/man" + make -j$nprocs DESTDIR="`pwd`/lib/" install + # remove .la files for now ? + find `pwd`/lib -iname "*.la" -exec rm {} \; diff --git a/xorglibxrender/xorglibxrender.mk b/xorglibxrender/xorglibxrender.mk @@ -6,6 +6,9 @@ DEPS = xorglibx11 xorgxproto xorgrenderproto xorglibxrender:QV: export CFLAGS="$CFLAGS $DEPS_CFLAGS" export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" + # TODO: includedir, libdir is a bug? + export RENDER_CFLAGS="-I${xorgrenderproto_libdir}" + export RENDER_LIBS="-L${xorgrenderproto_libdir}" # HAVE__XEATDATAWORDS is set, but it isn't detected with configure # set set it. CC="$CC" CFLAGS="$CFLAGS -DHAVE__XEATDATAWORDS=1" ./configure \ diff --git a/xorgrandrproto/depsinc.mk b/xorgrandrproto/depsinc.mk @@ -0,0 +1,7 @@ +<$xorgrandrproto_DEPDIR/v.mk + +xorgrandrproto_libdir = ${xorgrandrproto_DEPDIR}/randrproto-$v/lib/lib +xorgrandrproto_includedir = ${xorgrandrproto_DEPDIR}/randrproto-$v/lib/include + +DEPS_CFLAGS = $DEPS_CFLAGS -I${xorgrandrproto_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS diff --git a/xorgrandrproto/mkfile b/xorgrandrproto/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = randrproto-$v +url = http://xorg.freedesktop.org/releases/individual/proto/randrproto-$v.tar.bz2 +mkfile = ../xorgrandrproto.mk diff --git a/xorgrandrproto/v.mk b/xorgrandrproto/v.mk @@ -0,0 +1 @@ +v = 1.4.0 diff --git a/xorgrandrproto/xorgrandrproto.mk b/xorgrandrproto/xorgrandrproto.mk @@ -0,0 +1,10 @@ +TARG = xorgrandrproto + +<$mkbuild/mk.common-noinst + +xorgrandrproto:QV: + ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgrecordproto/depsinc.mk b/xorgrecordproto/depsinc.mk @@ -0,0 +1,7 @@ +<$xorgrecordproto_DEPDIR/v.mk + +xorgrecordproto_libdir = ${xorgrecordproto_DEPDIR}/recordproto-$v/lib/lib +xorgrecordproto_includedir = ${xorgrecordproto_DEPDIR}/recordproto-$v/lib/include + +DEPS_CFLAGS = $DEPS_CFLAGS -I${xorgrecordproto_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS diff --git a/xorgrecordproto/mkfile b/xorgrecordproto/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = recordproto-$v +url = http://xorg.freedesktop.org/releases/individual/proto/recordproto-$v.tar.bz2 +mkfile = ../xorgrecordproto.mk diff --git a/xorgrecordproto/v.mk b/xorgrecordproto/v.mk @@ -0,0 +1 @@ +v = 1.14.2 diff --git a/xorgrecordproto/xorgrecordproto.mk b/xorgrecordproto/xorgrecordproto.mk @@ -0,0 +1,10 @@ +TARG = xorgrecordproto + +<$mkbuild/mk.common-noinst + +xorgrecordproto:QV: + ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgresourceproto/depsinc.mk b/xorgresourceproto/depsinc.mk @@ -0,0 +1,7 @@ +<$xorgresourceproto_DEPDIR/v.mk + +xorgresourceproto_libdir = ${xorgresourceproto_DEPDIR}/resourceproto-$v/lib/lib +xorgresourceproto_includedir = ${xorgresourceproto_DEPDIR}/resourceproto-$v/lib/include + +DEPS_CFLAGS = $DEPS_CFLAGS -I${xorgresourceproto_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS diff --git a/xorgresourceproto/mkfile b/xorgresourceproto/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = resourceproto-$v +url = http://xorg.freedesktop.org/releases/individual/proto/resourceproto-$v.tar.bz2 +mkfile = ../xorgresourceproto.mk diff --git a/xorgresourceproto/v.mk b/xorgresourceproto/v.mk @@ -0,0 +1 @@ +v = 1.2.0 diff --git a/xorgresourceproto/xorgresourceproto.mk b/xorgresourceproto/xorgresourceproto.mk @@ -0,0 +1,10 @@ +TARG = xorgresourceproto + +<$mkbuild/mk.common-noinst + +xorgresourceproto:QV: + ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgscrnsaverproto/depsinc.mk b/xorgscrnsaverproto/depsinc.mk @@ -0,0 +1,7 @@ +<$xorgscrnsaverproto_DEPDIR/v.mk + +xorgscrnsaverproto_libdir = ${xorgscrnsaverproto_DEPDIR}/scrnsaverproto-$v/lib/lib +xorgscrnsaverproto_includedir = ${xorgscrnsaverproto_DEPDIR}/scrnsaverproto-$v/lib/include + +DEPS_CFLAGS = $DEPS_CFLAGS -I${xorgscrnsaverproto_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS diff --git a/xorgscrnsaverproto/mkfile b/xorgscrnsaverproto/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = scrnsaverproto-$v +url = http://xorg.freedesktop.org/releases/individual/proto/scrnsaverproto-$v.tar.bz2 +mkfile = ../xorgscrnsaverproto.mk diff --git a/xorgscrnsaverproto/v.mk b/xorgscrnsaverproto/v.mk @@ -0,0 +1 @@ +v = 1.2.2 diff --git a/xorgscrnsaverproto/xorgscrnsaverproto.mk b/xorgscrnsaverproto/xorgscrnsaverproto.mk @@ -0,0 +1,10 @@ +TARG = xorgscrnsaverproto + +<$mkbuild/mk.common-noinst + +xorgscrnsaverproto:QV: + ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgserver/mkfile b/xorgserver/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = xorg-server-$v +url = http://xorg.freedesktop.org/releases/individual/xserver/xorg-server-$v.tar.bz2 +mkfile = ../xorgserver.mk diff --git a/xorgserver/v.mk b/xorgserver/v.mk @@ -0,0 +1 @@ +v = 1.14.6 diff --git a/xorgserver/xorgserver.mk b/xorgserver/xorgserver.mk @@ -0,0 +1,66 @@ +# openssl is used for --with-sha1=libcrypto +TARG = xorgserver +DEPS = xorglibpixman xorglibx11 openssl xorglibpciaccess \ + xorgxproto xorginputproto xorgxextproto xorgxineramaproto \ + xorgresourceproto xorgscrnsaverproto xorgkbproto xorgvideoproto \ + xorgfontsproto xorgrenderproto xorgdamageproto xorgfixesproto \ + xorgcompositeproto xorgbigreqsproto xorgxcmiscproto \ + xorgrecordproto xorglibxau xorgrandrproto xorglibxkbfile \ + xorgxtrans xorglibxfont freetype xorglibfontenc libpng zlib + +<$mkbuild/mk.common-noinst + +xorgserver:QV: + # fix termio.h -> termios.h + sed 's@termio.h@termios.h@g' -i 'hw/xfree86/os-support/xf86_OSlib.h' + # fix __uid_t and __gid_t + sed 's@__uid_t@uid_t@g' -i 'hw/kdrive/linux/linux.c' + sed 's@__gid_t@gid_t@g' -i 'hw/kdrive/linux/linux.c' + # dont build tests. + printf "all:\n\ttrue\n\ninstall:\n\ttrue\n\n" > test/Makefile.in + # + export CFLAGS="$CFLAGS $DEPS_CFLAGS" + export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" + export CPPFLAGS="$CFLAGS" + export PCIACCESS_CFLAGS="-I${xorglibpciaccess_includedir}" + export PCIACCESS_LIBS="-L${xorglibpciaccess_libdir} -lpciaccess" + export PIXMAN_CFLAGS="-I${xorglibpixman_includedir}" + export PIXMAN_LIBS="-L${xorglibpixman_libdir} -lz -m -lpng -lpixman-1" + export XLIB_CFLAGS="-I${xorglibx11_includedir}" + export XLIB_LIBS="-L${xorglibx11_libdir} -lX11" + export XSERVERCFLAGS_CFLAGS="${CFLAGS}" + export XSERVERCFLAGS_LIBS="${LDFLAGS}" + export XSERVERLIBS_CFLAGS="${CFLAGS}" + export XSERVERLIBS_LIBS="${LDFLAGS}" + # TODO: delete $ROOT/lib $ROOT/include for packaging only. + # TODO: make able to run server rootless or setuid binary? + export CC="$CC -static" + # + ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/$prefix/share/man" \ + --localstatedir=/var \ + --with-fontrootdir="$prefix/share/fonts/X11" \ + --with-xkb-output="/var/lib/xkb" \ + --disable-dri \ + --disable-dri2 \ + --disable-aiglx \ + --disable-glx-tls \ + --disable-glx \ + --disable-config-dbus \ + --disable-config-hal \ + --disable-shared \ + --enable-static \ + --enable-xfbdev \ + --enable-kdrive \ + --enable-kdrive-kbd \ + --enable-kdrive-mouse \ + --enable-kdrive-evdev=no \ + --with-sha1=libcrypto + # NOTE: "-all-static" is needed. + make -j$nprocs LDFLAGS="-all-static $LDFLAGS" + +install:QV: + # NOTE: "-all-static" is needed. + make -j$nprocs install DESTDIR="$ROOT" LDFLAGS="-all-static $LDFLAGS" + install -m 755 -d "$ROOT/etc/X11/xorg.conf.d" diff --git a/xorgvideoproto/depsinc.mk b/xorgvideoproto/depsinc.mk @@ -0,0 +1,7 @@ +<$xorgvideoproto_DEPDIR/v.mk + +xorgvideoproto_libdir = ${xorgvideoproto_DEPDIR}/videoproto-$v/lib/lib +xorgvideoproto_includedir = ${xorgvideoproto_DEPDIR}/videoproto-$v/lib/include + +DEPS_CFLAGS = $DEPS_CFLAGS -I${xorgvideoproto_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS diff --git a/xorgvideoproto/mkfile b/xorgvideoproto/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = videoproto-$v +url = http://xorg.freedesktop.org/releases/individual/proto/videoproto-$v.tar.bz2 +mkfile = ../xorgvideoproto.mk diff --git a/xorgvideoproto/v.mk b/xorgvideoproto/v.mk @@ -0,0 +1 @@ +v = 2.3.2 diff --git a/xorgvideoproto/xorgvideoproto.mk b/xorgvideoproto/xorgvideoproto.mk @@ -0,0 +1,10 @@ +TARG = xorgvideoproto + +<$mkbuild/mk.common-noinst + +xorgvideoproto:QV: + ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgxcbproto/xorgxcbproto.mk b/xorgxcbproto/xorgxcbproto.mk @@ -1,14 +1,11 @@ -# make deps: python2.7 +# make deps: python2.7, xmllint (libxml2). TARG = xorgxcbproto <$mkbuild/mk.common-noinst xorgxcbproto:QV: - export PYTHON="/bin/python2.7" - ./configure --prefix="$prefix" \ - --mandir="$ROOT/share/man" - make -j$nprocs - make install DESTDIR="`pwd`/lib/" - -install:QV: - false + export PYTHON="python2.7" + ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/share/man" + make -j$nprocs install DESTDIR="`pwd`/lib/" diff --git a/xorgxcmiscproto/depsinc.mk b/xorgxcmiscproto/depsinc.mk @@ -0,0 +1,7 @@ +<$xorgxcmiscproto_DEPDIR/v.mk + +xorgxcmiscproto_libdir = ${xorgxcmiscproto_DEPDIR}/xcmiscproto-$v/lib/lib +xorgxcmiscproto_includedir = ${xorgxcmiscproto_DEPDIR}/xcmiscproto-$v/lib/include + +DEPS_CFLAGS = $DEPS_CFLAGS -I${xorgxcmiscproto_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS diff --git a/xorgxcmiscproto/mkfile b/xorgxcmiscproto/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = xcmiscproto-$v +url = http://xorg.freedesktop.org/releases/individual/proto/xcmiscproto-$v.tar.bz2 +mkfile = ../xorgxcmiscproto.mk diff --git a/xorgxcmiscproto/v.mk b/xorgxcmiscproto/v.mk @@ -0,0 +1 @@ +v = 1.2.2 diff --git a/xorgxcmiscproto/xorgxcmiscproto.mk b/xorgxcmiscproto/xorgxcmiscproto.mk @@ -0,0 +1,10 @@ +TARG = xorgxcmiscproto + +<$mkbuild/mk.common-noinst + +xorgxcmiscproto:QV: + ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgxf86bigfontproto/depsinc.mk b/xorgxf86bigfontproto/depsinc.mk @@ -0,0 +1,6 @@ +<$xorgxf86bigfontproto_DEPDIR/v.mk + +xorgxf86bigfontproto_libdir = ${xorgxf86bigfontproto_DEPDIR}/xf86bigfontproto-$v/lib +xorgxf86bigfontproto_includedir = ${xorgxf86bigfontproto_DEPDIR}/xf86bigfontproto-$v/lib/include +DEPS_CFLAGS = $DEPS_CFLAGS -I${xorgxf86bigfontproto_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS diff --git a/xorgxf86bigfontproto/mkfile b/xorgxf86bigfontproto/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = xf86bigfontproto-$v +url = http://xorg.freedesktop.org/releases/individual/proto/xf86bigfontproto-$v.tar.bz2 +mkfile = ../xorgxf86bigfontproto.mk diff --git a/xorgxf86bigfontproto/v.mk b/xorgxf86bigfontproto/v.mk @@ -0,0 +1 @@ +v = 1.2.0 diff --git a/xorgxf86bigfontproto/xorgxf86bigfontproto.mk b/xorgxf86bigfontproto/xorgxf86bigfontproto.mk @@ -0,0 +1,8 @@ +TARG = xorgxf86bigfontproto + +<$mkbuild/mk.common-noinst + +xorgxf86bigfontproto:QV: + ./configure --prefix="$prefix" \ + --mandir="$ROOT/share/man" + make -j$nprocs install DESTDIR="`pwd`/lib" diff --git a/xorgxproto/xorgxproto.mk b/xorgxproto/xorgxproto.mk @@ -3,10 +3,8 @@ TARG = xorgxproto <$mkbuild/mk.common-noinst xorgxproto:QV: - ./configure --prefix="$prefix" \ - --mandir="$ROOT/share/man" + ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/share/man" make -j$nprocs make install DESTDIR="`pwd`/lib" - -install:QV: - false diff --git a/xorgxtrans/xorgxtrans.mk b/xorgxtrans/xorgxtrans.mk @@ -3,10 +3,8 @@ TARG = xorgxtrans <$mkbuild/mk.common-noinst xorgxtrans:QV: - ./configure --prefix="$prefix" \ - --mandir="$ROOT/share/man" + ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/share/man" make -j$nprocs make install DESTDIR="`pwd`/lib" - -install:QV: - false