summaryrefslogtreecommitdiff
path: root/xserver/xserver-xorg_cvs.oe
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-10-23 19:10:50 +0000
committerPhil Blundell <philb@gnu.org>2004-10-23 19:10:50 +0000
commit8d6a33cdaf6a38b93ba7a04da05ad25d84ed7c99 (patch)
tree4b57cdc443ffba0d9c9a2ba9ad3d17f61c5e28bf /xserver/xserver-xorg_cvs.oe
parent52b8ebba55903b71b337a91f1d8ae011c5b9f53e (diff)
add cvs version of xserver-xorg
BKrev: 417aacbaz9O16M1RtFYMtgvw0TthOw
Diffstat (limited to 'xserver/xserver-xorg_cvs.oe')
-rw-r--r--xserver/xserver-xorg_cvs.oe64
1 files changed, 64 insertions, 0 deletions
diff --git a/xserver/xserver-xorg_cvs.oe b/xserver/xserver-xorg_cvs.oe
new file mode 100644
index 0000000000..3ac817d22a
--- /dev/null
+++ b/xserver/xserver-xorg_cvs.oe
@@ -0,0 +1,64 @@
+SECTION = "x11/base"
+PR = "r0"
+PV = "6.8.1+cvs${CVSDATE}"
+
+DEPENDS = "fontconfig freetype libxi xmu flex-2.5.4-native xfonts-xorg"
+
+SRC_URI = "cvs://anoncvs@cvs.freedesktop.org/cvs/xorg;module=xc;method=pserver \
+ file://imake-staging.patch;patch=1 \
+ file://dri.patch;patch=1 \
+ file://xorg.conf"
+
+RDEPENDS_${PN} += "xfonts-xorg"
+
+PACKAGES =+ "xserver-xorg-xprint xserver-xorg-xvfb xserver-xorg-utils"
+
+S = "${WORKDIR}/xc"
+
+FILES_xserver-xorg-xprint = "${bindir}/Xprt /etc/init.d/xprint /etc/rc.d/rc*.d/*xprint /etc/X11/Xsession.d/92xprint-xpserverlist.sh /etc/X11/xinit/xinitrc.d/92xprint-xpserverlist.sh /etc/X11/xserver/*/print"
+FILES_xserver-xorg-xvfb = "${bindir}/Xvfb"
+FILES_xserver-xorg-utils = "${bindir}/scanpci ${bindir}/pcitweak ${bindir}/ioport ${bindir}/in[bwl] ${bindir}/out[bwl] ${bindir}/mmap[rw] ${bindir}/gtf ${bindir}/getconfig ${bindir}/getconfig.pl"
+FILES_${PN} += "${libdir}/modules/*.o "${libdir}/modules/*/*.o ${libdir}/X11/Options ${libdir}/X11/getconfig ${libdir}/X11/etc ${libdir}/modules"
+FILES_${PN}-doc += "${libdir}/X11/doc"
+
+do_configure() {
+ echo "#define BuildServersOnly YES" > config/cf/host.def
+ echo "#define ProjectRoot /usr" >> config/cf/host.def
+ echo "#define XnestServer NO" >> config/cf/host.def
+ echo "#define XdmxServer NO" >> config/cf/host.def
+ echo "#define CcCmd ${CC}" >> config/cf/host.def
+ echo "#define LdCmd ${LD}" >> config/cf/host.def
+ echo "#define HasFreetype2 YES" >> config/cf/host.def
+ echo "#define HasFontconfig YES" >> config/cf/host.def
+ echo "" > config/cf/date.def
+ rm -f include/extensions/panoramiX.h
+}
+
+do_compile() {
+ make -C config/imake -f Makefile.ini CC="${BUILD_CC}" BOOTSTRAPCFLAGS="${BUILD_CFLAGS}" clean imake
+ make CC="${BUILD_CC}" xmakefile
+ make Makefiles
+ make clean
+ #make depend
+ make includes
+ make -C config/util CC="${BUILD_CC}"
+ for l in font xtrans Xdmcp lbxutil; do make -C lib/$l CC="${CC}" LD="${LD}" CC_STAGING="-I${STAGING_INCDIR}" LD_STAGING="-L${STAGING_LIBDIR}"; done
+ make -C programs/Xserver CC="${CC}" LD="${LD}" CC_STAGING="-I${STAGING_INCDIR}" LD_STAGING="-L${STAGING_LIBDIR}" INSTALLED_LIBS=""
+}
+
+do_install() {
+ make -C programs/Xserver DESTDIR="${D}" CC="${CC}" LD="${LD}" CC_STAGING="-I${STAGING_INCDIR}" LD_STAGING="-L${STAGING_LIBDIR}" INSTALLED_LIBS="" install
+ make -C lib/font DESTDIR="${D}" CC="${CC}" LD="${LD}" CC_STAGING="-I${STAGING_INCDIR}" LD_STAGING="-L${STAGING_LIBDIR}" INSTALLED_LIBS="" install
+}
+
+do_stage() {
+ install -d ${STAGING_INCDIR}/xserver-xorg
+ for i in i810 via; do
+ pushd ${S}/programs/Xserver/hw/xfree86/drivers/$i; install -m 0644 *.h ${STAGING_INCDIR}/xserver-xorg/; popd
+ done
+ install -m 0644 programs/Xserver/hw/xfree86/common/fourcc.h ${STAGING_INCDIR}/xserver-xorg/
+ install -d ${D}/etc/X11
+ if [ -f "${WORKDIR}/xorg.conf" ]; then
+ install -m 0644 ${WORKDIR}/xorg.conf ${D}/etc/X11/
+ fi
+}