You are not logged in.
I have found a cool patch ftp://ftp.linux.cz/pub/linux/people/jan … -dualhead/
put out by Jan Kasprzak based off the information found in http://cambuca.ldhs.cetuc.puc-rio.br/multiuser/ , but it doesn't compile for me, spiting out the error that 'EVIOCGRAB' is undefined. EVIOCGRAB it turns out, is #define'd in the kernel sources, and Jan links to his kernel sources in /usr/include with linux pointing to /usr/src/linux02.6.xx/include/linux and asm pointing to /usr/src/linux-2.6.xx/include/asm, i tried linking to this and compiling but it's a no go, if anyone wants to take a crack at it, please do.
here's a pkgbuild:
pkgdesc="A fork of the XFree86 Project with a GPL-compatible license"
url="http://www.x.org"
depends=('glibc' 'freetype1' 'fontconfig' 'gcc' 'libpng')
makedepends=('perl')
conflicts=('ttf-bitstream-vera' 'xfree86')
provides=('x-server' 'xfree86')
replaces=('x')
install=x.install
source=(http://freedesktop.org/~xorg/X${pkgver}/src/X${pkgver}-src{1,2,3,4,5}.tar.gz
http://www.joerg-pommnitz.de/TrueType/ttmkfdir.tar.gz xdm.pam xorg-x11-6.7.0-dualhead.patch )
md5sums=('22465263bae7a2e9f5ad77e172cf1ab5' '6ef4e8f7647a28f080c10ea1bcf01f79'
'4c7144786522bbce383b21ace72bf669' '4f2ed6fe4378fe60b58b8b4c8487cab0'
'87177e6e6ac5b2d7de6a032ee8641ec1' 'dcf6aa4d28f5c52acf2bb57f49f53089'
'419d6289ba6f851135f5c70c0e3cbec4')
build() {
cd $startdir/src
make FREETYPE_INCL=/usr/include/freetype || return 1
install -D ttmkfdir $startdir/pkg/usr/X11R6/bin/ttmkfdir
cd $startdir/src/xc
patch -p0 < ../xorg-x11-6.7.0-dualhead.patch
echo $'#define HasZlib YESn' >config/cf/host.def
echo $'#define HasNCurses YESn' >>config/cf/host.def
echo $'#define HasFontconfig YESn' >>config/cf/host.def
echo $'#define HasFreetype2 YESn' >>config/cf/host.def
echo $'#define HasExpat YESn' >>config/cf/host.def
make World || return 1
make DESTDIR=$startdir/pkg install
make DESTDIR=$startdir/pkg install.man
(cd $startdir/pkg/usr/include && ln -sf ../X11R6/include/X11 X11)
(cd $startdir/pkg/usr/include && ln -sf ../X11R6/include/GL GL)
# get the pkgconfig .pc files in the right place
mkdir -p $startdir/pkg/usr/lib/pkgconfig
mv $startdir/pkg/usr/X11R6/lib/pkgconfig/* $startdir/pkg/usr/lib/pkgconfig
# remove docs
rm -rf $startdir/pkg/usr/X11R6/lib/X11/doc/html
# create a libXinerama.so
#cd $startdir/pkg/usr/X11R6/lib
#ld --whole-archive -share -o libXinerama.so.1 libXinerama.a
#ln -s libXinerama.so.1 libXinerama.so
install -D -m644 $startdir/src/xdm.pam $startdir/pkg/etc/pam.d/xdm
# XKB compatibility for kde/gnome
cd $startdir/pkg/usr/X11R6/lib/X11/xkb/rules/
ln -s xorg.xml xfree86.xml
ln -s xorg.lst xfree86.lst
}
xorg-x11-6.7.0/xc/
make sure you clean up the patch with a
sed 's/xorg-x11-6.7.0/xc///g'
Thanks
whatah
Offline