57 |
SRCFILE="xorg-server-${PVER}.tar.bz2" |
SRCFILE="xorg-server-${PVER}.tar.bz2" |
58 |
SRCDIR="${BUILDDIR}/xorg-server-${PVER}" |
SRCDIR="${BUILDDIR}/xorg-server-${PVER}" |
59 |
|
|
60 |
|
XEXTPROTO_PVER="7.0.5" |
61 |
|
XEXTPROTO_SRCFILE="xextproto-${XEXTPROTO_PVER}.tar.bz2" |
62 |
|
XEXTPROTO_SRCDIR="${BUILDDIR}/xextproto-${XEXTPROTO_PVER}" |
63 |
|
|
64 |
SRC_URI=( |
SRC_URI=( |
65 |
http://ftp.x.org/pub/individual/xserver/${SRCFILE} |
http://ftp.x.org/pub/individual/xserver/${SRCFILE} |
66 |
|
http://ftp.x.org/pub/individual/proto/${XEXTPROTO_SRCFILE} |
67 |
mirror://xorg-server/${SRCFILE} |
mirror://xorg-server/${SRCFILE} |
68 |
|
mirror://xextproto/${XEXTPROTO_SRCFILE} |
69 |
mirror://xorg-server/xorg-server-1.4-fpic-libxf86config.patch |
mirror://xorg-server/xorg-server-1.4-fpic-libxf86config.patch |
70 |
mirror://xorg-server/xorg-server-1.2.0-die-ugly-pattern-die-die-die.patch |
mirror://xorg-server/xorg-server-1.2.0-die-ugly-pattern-die-die-die.patch |
71 |
mirror://xorg-server/xorg-server-1.4.99.906-no-evdev-keyboards.patch |
mirror://xorg-server/xorg-server-1.4.99.906-no-evdev-keyboards.patch |
79 |
src_prepare() |
src_prepare() |
80 |
{ |
{ |
81 |
munpack ${SRCFILE} || die |
munpack ${SRCFILE} || die |
82 |
|
|
83 |
|
# xorg-1.6 needs xext headers <= 7.0.5 |
84 |
|
munpack ${XEXTPROTO_SRCFILE} || die |
85 |
|
ln -snf . ${XEXTPROTO_SRCDIR}/X11 || die |
86 |
|
ln -snf . ${XEXTPROTO_SRCDIR}/extensions || die |
87 |
cd ${SRCDIR} |
cd ${SRCDIR} |
88 |
|
|
89 |
# fixes fpic issues with libxf86config on 64bit systems |
# fixes fpic issues with libxf86config on 64bit systems |
113 |
{ |
{ |
114 |
cd ${SRCDIR} |
cd ${SRCDIR} |
115 |
|
|
|
# try to fix issues with newer dpms.h header |
|
|
local myconf="--disable-dpms" |
|
|
# disable shm |
|
|
myconf+=" --disable-shm" |
|
|
|
|
116 |
xorg_src_configure \ |
xorg_src_configure \ |
117 |
--sysconfdir=/etc/X11 \ |
--sysconfdir=/etc/X11 \ |
118 |
--localstatedir=/var \ |
--localstatedir=/var \ |
143 |
--disable-xtrap \ |
--disable-xtrap \ |
144 |
--disable-w100 \ |
--disable-w100 \ |
145 |
--disable-xsdl \ |
--disable-xsdl \ |
|
${myconf} \ |
|
146 |
|| die |
|| die |
147 |
|
|
148 |
mmake || die |
# include our fake dir with the old xextprotos |
149 |
|
mmake CFLAGS="${CFLAGS} -I${XEXTPROTO_SRCDIR}" || die |
150 |
} |
} |
151 |
|
|
152 |
src_install() |
src_install() |