summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/packages/xorg-app/xauth_cvs.bb12
-rw-r--r--meta/packages/xorg-app/xdpyinfo_cvs.bb11
-rw-r--r--meta/packages/xorg-app/xhost_20040413.bb13
-rw-r--r--meta/packages/xorg-app/xmodmap_cvs.bb13
-rw-r--r--meta/packages/xorg-app/xrandr_cvs.bb10
-rw-r--r--meta/packages/xorg-app/xrdb_cvs.bb12
-rw-r--r--meta/packages/xorg-app/xset_20040817.bb17
-rw-r--r--meta/packages/xorg-proto/xproto-native_6.6.2.bb4
-rw-r--r--meta/packages/xorg-proto/xproto-native_cvs.bb4
-rw-r--r--meta/packages/xorg-proto/xproto_6.6.2+cvs20050226.bb12
-rw-r--r--meta/packages/xorg-proto/xproto_6.6.2.bb12
-rw-r--r--meta/packages/xorg-proto/xproto_cvs.bb14
-rw-r--r--meta/packages/xorg-xserver/xserver-kdrive_cvs.bb51
-rw-r--r--meta/packages/xorg-xserver/xserver-xorg_6.8.99.10.bb65
-rw-r--r--meta/packages/xorg-xserver/xserver-xorg_6.8.99.11.bb65
-rw-r--r--meta/packages/xorg-xserver/xserver-xorg_cvs.bb61
16 files changed, 0 insertions, 376 deletions
diff --git a/meta/packages/xorg-app/xauth_cvs.bb b/meta/packages/xorg-app/xauth_cvs.bb
deleted file mode 100644
index 169de7a797..0000000000
--- a/meta/packages/xorg-app/xauth_cvs.bb
+++ /dev/null
@@ -1,12 +0,0 @@
1PV = "0.0+cvs${SRCDATE}"
2LICENSE = "MIT"
3DEPENDS = "virtual/libx11 libxau libxmu libxext"
4DESCRIPTION = "X authority file utility"
5SECTION = "x11/base"
6PR = "r2"
7
8SRC_URI = "${FREEDESKTOP_CVS}/xorg;module=xc/programs/xauth \
9 file://autofoo.patch;patch=1"
10S = "${WORKDIR}/xauth"
11
12inherit autotools pkgconfig
diff --git a/meta/packages/xorg-app/xdpyinfo_cvs.bb b/meta/packages/xorg-app/xdpyinfo_cvs.bb
deleted file mode 100644
index 9a05f066ce..0000000000
--- a/meta/packages/xorg-app/xdpyinfo_cvs.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1PV = "0.0+cvs${SRCDATE}"
2LICENSE = "MIT"
3DEPENDS = "virtual/libx11 libxext libxtst"
4DESCRIPTION = "X display information utility"
5SECTION = "x11/base"
6PR = "r1"
7
8SRC_URI = "${FREEDESKTOP_CVS}/xapps;module=xdpyinfo"
9S = "${WORKDIR}/xdpyinfo"
10
11inherit autotools pkgconfig
diff --git a/meta/packages/xorg-app/xhost_20040413.bb b/meta/packages/xorg-app/xhost_20040413.bb
deleted file mode 100644
index 59e8f32964..0000000000
--- a/meta/packages/xorg-app/xhost_20040413.bb
+++ /dev/null
@@ -1,13 +0,0 @@
1FIXEDSRCDATE = "${@bb.data.getVar('FILE', d, 1).split('_')[-1].split('.')[0]}"
2LICENSE = "MIT"
3PV = "0.0+cvs${FIXEDSRCDATE}"
4DEPENDS = "virtual/libx11 libxext libxmu"
5DESCRIPTION = "server access control program for X"
6SECTION = "x11/base"
7PR = "r2"
8
9SRC_URI = "${FREEDESKTOP_CVS}/xorg;module=xc/programs/xhost;date=${FIXEDSRCDATE} \
10 file://autofoo.patch;patch=1"
11S = "${WORKDIR}/xhost"
12
13inherit autotools pkgconfig
diff --git a/meta/packages/xorg-app/xmodmap_cvs.bb b/meta/packages/xorg-app/xmodmap_cvs.bb
deleted file mode 100644
index e2b3847e6b..0000000000
--- a/meta/packages/xorg-app/xmodmap_cvs.bb
+++ /dev/null
@@ -1,13 +0,0 @@
1PV = "0.0+cvs${SRCDATE}"
2LICENSE = "MIT"
3DESCRIPTION = "utility for modifying keymaps and pointer button mappings in X"
4SECTION = "x11/base"
5PR = "r1"
6
7DEPENDS = "virtual/libx11"
8
9SRC_URI = "${FREEDESKTOP_CVS}/xorg;module=xc/programs/xmodmap \
10 file://autofoo.patch;patch=1"
11S = "${WORKDIR}/xmodmap"
12
13inherit autotools pkgconfig
diff --git a/meta/packages/xorg-app/xrandr_cvs.bb b/meta/packages/xorg-app/xrandr_cvs.bb
deleted file mode 100644
index 30a31e1569..0000000000
--- a/meta/packages/xorg-app/xrandr_cvs.bb
+++ /dev/null
@@ -1,10 +0,0 @@
1PV = "0.0+cvs${SRCDATE}"
2LICENSE= "BSD-X"
3DEPENDS = "libxrandr virtual/libx11 libxext"
4DESCRIPTION = "X Resize and Rotate extension command."
5SECTION = "x11/base"
6
7SRC_URI = "${FREEDESKTOP_CVS}/xapps;module=xrandr"
8S = "${WORKDIR}/xrandr"
9
10inherit autotools pkgconfig
diff --git a/meta/packages/xorg-app/xrdb_cvs.bb b/meta/packages/xorg-app/xrdb_cvs.bb
deleted file mode 100644
index 1289a8cfce..0000000000
--- a/meta/packages/xorg-app/xrdb_cvs.bb
+++ /dev/null
@@ -1,12 +0,0 @@
1PV = "0.0+cvs${SRCDATE}"
2DEPENDS = "virtual/libx11 libxmu libxext"
3DESCRIPTION = "X server resource database utility"
4SECTION = "x11/base"
5LICENSE = "xrdb"
6PR = "r2"
7
8SRC_URI = "${FREEDESKTOP_CVS}/xorg;module=xc/programs/xrdb \
9 file://autofoo.patch;patch=1"
10S = "${WORKDIR}/xrdb"
11
12inherit autotools pkgconfig
diff --git a/meta/packages/xorg-app/xset_20040817.bb b/meta/packages/xorg-app/xset_20040817.bb
deleted file mode 100644
index 3b91812b94..0000000000
--- a/meta/packages/xorg-app/xset_20040817.bb
+++ /dev/null
@@ -1,17 +0,0 @@
1DESCRIPTION = "user preference utility for X"
2LICENSE = "MIT"
3FIXEDSRCDATE = "${@bb.data.getVar('FILE', d, 1).split('_')[-1].split('.')[0]}"
4PV = "0.0+cvs${FIXEDSRCDATE}"
5PR = "r1"
6
7DEPENDS = "virtual/libx11 libxext xextensions libxmu"
8
9CFLAGS += "-D_GNU_SOURCE"
10
11SECTION = "x11/base"
12
13SRC_URI = "${FREEDESKTOP_CVS}/xorg;module=xc/programs/xset;date=${FIXEDSRCDATE} \
14 file://autofoo.patch;patch=1"
15S = "${WORKDIR}/xset"
16
17inherit autotools pkgconfig
diff --git a/meta/packages/xorg-proto/xproto-native_6.6.2.bb b/meta/packages/xorg-proto/xproto-native_6.6.2.bb
deleted file mode 100644
index 6645f592bd..0000000000
--- a/meta/packages/xorg-proto/xproto-native_6.6.2.bb
+++ /dev/null
@@ -1,4 +0,0 @@
1SECTION = "unknown"
2require xproto_${PV}.bb
3inherit native
4PROVIDES = ""
diff --git a/meta/packages/xorg-proto/xproto-native_cvs.bb b/meta/packages/xorg-proto/xproto-native_cvs.bb
deleted file mode 100644
index a34db98ab9..0000000000
--- a/meta/packages/xorg-proto/xproto-native_cvs.bb
+++ /dev/null
@@ -1,4 +0,0 @@
1SECTION = "unknown"
2require xproto_cvs.bb
3inherit native
4PROVIDES = ""
diff --git a/meta/packages/xorg-proto/xproto_6.6.2+cvs20050226.bb b/meta/packages/xorg-proto/xproto_6.6.2+cvs20050226.bb
deleted file mode 100644
index 55bc32b768..0000000000
--- a/meta/packages/xorg-proto/xproto_6.6.2+cvs20050226.bb
+++ /dev/null
@@ -1,12 +0,0 @@
1LICENSE= "MIT"
2SECTION = "x11/libs"
3DESCRIPTION = "X protocol and ancillary headers."
4
5SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xproto;date=20050226"
6S = "${WORKDIR}/Xproto"
7
8inherit autotools pkgconfig
9
10do_stage() {
11 autotools_stage_all
12}
diff --git a/meta/packages/xorg-proto/xproto_6.6.2.bb b/meta/packages/xorg-proto/xproto_6.6.2.bb
deleted file mode 100644
index 1f01c0979a..0000000000
--- a/meta/packages/xorg-proto/xproto_6.6.2.bb
+++ /dev/null
@@ -1,12 +0,0 @@
1SECTION = "x11/libs"
2LICENSE= "MIT"
3DESCRIPTION = "X protocol and ancillary headers."
4
5SRC_URI = "${XLIBS_MIRROR}/xproto-${PV}.tar.gz"
6S = "${WORKDIR}/xproto-${PV}"
7
8inherit autotools pkgconfig
9
10do_stage() {
11 autotools_stage_all
12}
diff --git a/meta/packages/xorg-proto/xproto_cvs.bb b/meta/packages/xorg-proto/xproto_cvs.bb
deleted file mode 100644
index f42fa1bb43..0000000000
--- a/meta/packages/xorg-proto/xproto_cvs.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1PV = "0.0+cvs${SRCDATE}"
2LICENSE= "MIT"
3SECTION = "x11/libs"
4DESCRIPTION = "X protocol and ancillary headers."
5
6SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xproto"
7S = "${WORKDIR}/Xproto"
8
9inherit autotools pkgconfig
10
11
12do_stage() {
13 autotools_stage_all
14}
diff --git a/meta/packages/xorg-xserver/xserver-kdrive_cvs.bb b/meta/packages/xorg-xserver/xserver-kdrive_cvs.bb
deleted file mode 100644
index c2b25973fb..0000000000
--- a/meta/packages/xorg-xserver/xserver-kdrive_cvs.bb
+++ /dev/null
@@ -1,51 +0,0 @@
1PV = "0.0+cvs${SRCDATE}"
2DEFAULT_PREFERENCE = "-2"
3
4LICENSE = "MIT"
5DEPENDS = "tslib xproto libxdmcp xextproto xtrans libxau virtual/libx11 libxext libxrandr fixesproto damageproto libxfont resourceproto compositeproto xcalibrateext recordproto videoproto scrnsaverproto"
6PROVIDES = "virtual/xserver"
7RPROVIDES = "virtual/xserver"
8PACKAGES = "xserver-kdrive-mach64 xserver-kdrive-fbdev xserver-kdrive-vesa xserver-kdrive-mga xserver-kdrive-via xserver-kdrive-ati xserver-kdrive-fake xserver-kdrive-i810 xserver-kdrive-xephyr xserver-kdrive-epson ${PN}-doc ${PN}-dev ${PN}-locale"
9SECTION = "x11/base"
10DESCRIPTION = "X server from freedesktop.org"
11DESCRIPTION_xserver-kdrive-i810 = "X server from freedesktop.org, supporting i810 devices"
12DESCRIPTION_xserver-kdrive-ati = "X server from freedesktop.org, supporting ATI devices"
13DESCRIPTION_xserver-kdrive-mga = "X server from freedesktop.org, supporting MGA devices"
14DESCRIPTION_xserver-kdrive-vesa = "X server from freedesktop.org, supporting generic VESA devices"
15DESCRIPTION_xserver-kdrive-mach64 = "X server from freedesktop.org, supporting Mach64 devices"
16DESCRIPTION_xserver-kdrive-via = "X server from freedesktop.org, supporting VIA CLE266 devices"
17DESCRIPTION_xserver-kdrive-fbdev = "X server from freedesktop.org, supporting generic framebuffer devices"
18DESCRIPTION_xserver-kdrive-epson = "X server from freedesktop.org, supporting Epson S1D13806 devices"
19DESCRIPTION_xserver-kdrive-fake = "Fake X server"
20DESCRIPTION_xserver-kdrive-xephyr = "X server in an X window"
21
22PR = "r11"
23
24FILES_xserver-kdrive-fbdev = "${bindir}/Xfbdev"
25FILES_xserver-kdrive-ati = "${bindir}/Xati"
26FILES_xserver-kdrive-vesa = "${bindir}/Xvesa"
27FILES_xserver-kdrive-via = "${bindir}/Xvia"
28FILES_xserver-kdrive-mga = "${bindir}/Xmga"
29FILES_xserver-kdrive-mach64 = "${bindir}/Xmach64"
30FILES_xserver-kdrive-fake = "${bindir}/Xfake"
31FILES_xserver-kdrive-i810 = "${bindir}/Xi810"
32FILES_xserver-kdrive-epson = "${bindir}/Xepson"
33FILES_xserver-kdrive-xephyr = "${bindir}/Xephyr"
34
35SRC_URI = "${FREEDESKTOP_CVS}/xserver;module=xserver \
36 file://kmode.patch;patch=1 \
37 file://disable-apm.patch;patch=1 \
38 file://no-serial-probing.patch;patch=1 \
39 file://kdrive-evdev.patch;patch=1 \
40 file://kdrive-use-evdev.patch;patch=1 \
41 file://fbdev-not-fix.patch;patch=1"
42
43SRC_URI_append_mnci = " file://onlyfb.patch;patch=1"
44SRC_URI_append_poodle = " file://xserver-kdrive-poodle.patch;patch=1"
45PACKAGE_ARCH_poodle = "poodle"
46
47S = "${WORKDIR}/xserver"
48
49inherit autotools pkgconfig
50
51EXTRA_OECONF = "--enable-composite --disable-xinerama"
diff --git a/meta/packages/xorg-xserver/xserver-xorg_6.8.99.10.bb b/meta/packages/xorg-xserver/xserver-xorg_6.8.99.10.bb
deleted file mode 100644
index 37546fe1ee..0000000000
--- a/meta/packages/xorg-xserver/xserver-xorg_6.8.99.10.bb
+++ /dev/null
@@ -1,65 +0,0 @@
1SECTION = "x11/base"
2RPROVIDES = "virtual/xserver"
3PROVIDES = "virtual/xserver"
4LICENSE = "Xorg"
5PR = "r2"
6
7DEPENDS = "fontconfig freetype libxi libxmu flex-native zlib"
8
9SRC_URI = "${FREEDESKTOP_CVS}/xorg;module=xc;method=pserver;tag=XORG-6_8_99_10 \
10 file://imake-staging.patch;patch=1 \
11 file://imake-installed.patch;patch=1 \
12 file://fontfile.patch;patch=1 file://freetype.patch;patch=1 \
13 file://dri.patch;patch=1"
14
15PACKAGES =+ "xserver-xorg-xprint xserver-xorg-xvfb xserver-xorg-utils"
16
17S = "${WORKDIR}/xc"
18
19FILES_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 ${sysconfdir}/profile.d/xprint.*"
20FILES_xserver-xorg-xvfb = "${bindir}/Xvfb"
21FILES_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"
22FILES_${PN} += "${libdir}/modules/*.o "${libdir}/modules/*/*.o ${libdir}/X11/Options ${libdir}/X11/getconfig ${libdir}/X11/etc ${libdir}/modules"
23FILES_${PN}-doc += "${libdir}/X11/doc"
24
25do_configure() {
26 cat <<EOF > config/cf/host.def
27#define BuildServersOnly YES
28#define ProjectRoot ${prefix}
29#define XnestServer NO
30#define XdmxServer NO
31#define CcCmd gcc
32#define LdCmd ld
33#define HasFreetype2 YES
34#define HasFontconfig YES
35#define BuildDevelDRIDrivers YES
36#define BuildXF86DRI YES
37EOF
38 echo "" > config/cf/date.def
39 rm -f include/extensions/panoramiX.h
40 make -C config/imake -f Makefile.ini CC="${BUILD_CC}" BOOTSTRAPCFLAGS="${BUILD_CFLAGS}" CROSSCOMPILEDIR="${CROSS_DIR}/${TARGET_SYS}/bin" PREPROCESS_CMD="gcc -E" clean imake
41 make CC="${BUILD_CC}" xmakefile
42 make Makefiles
43 make clean
44}
45
46do_compile() {
47 #make depend
48 make includes
49 make -C config/util CC="${BUILD_CC}"
50 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
51 make -C programs/Xserver CC="${CC}" LD="${LD}" CC_STAGING="-I${STAGING_INCDIR}" LD_STAGING="-L${STAGING_LIBDIR}" INSTALLED_LIBS="" CPP="${CC} -E"
52}
53
54do_install() {
55 make -C programs/Xserver DESTDIR="${D}" CC="${CC}" LD="${LD}" CC_STAGING="-I${STAGING_INCDIR}" LD_STAGING="-L${STAGING_LIBDIR}" INSTALLED_LIBS="" install
56 make -C lib/font DESTDIR="${D}" CC="${CC}" LD="${LD}" CC_STAGING="-I${STAGING_INCDIR}" LD_STAGING="-L${STAGING_LIBDIR}" INSTALLED_LIBS="" install
57}
58
59do_stage() {
60 install -d ${STAGING_INCDIR}/xserver-xorg
61 for i in i810 via; do
62 pushd ${S}/programs/Xserver/hw/xfree86/drivers/$i; install -m 0644 *.h ${STAGING_INCDIR}/xserver-xorg/; popd
63 done
64 install -m 0644 programs/Xserver/hw/xfree86/common/fourcc.h ${STAGING_INCDIR}/xserver-xorg/
65}
diff --git a/meta/packages/xorg-xserver/xserver-xorg_6.8.99.11.bb b/meta/packages/xorg-xserver/xserver-xorg_6.8.99.11.bb
deleted file mode 100644
index e60f62ef57..0000000000
--- a/meta/packages/xorg-xserver/xserver-xorg_6.8.99.11.bb
+++ /dev/null
@@ -1,65 +0,0 @@
1SECTION = "x11/base"
2RPROVIDES = "virtual/xserver"
3PROVIDES = "virtual/xserver"
4LICENSE = "Xorg"
5PR = "r0"
6
7DEPENDS = "fontconfig freetype libxi libxmu flex-native zlib"
8
9SRC_URI = "${FREEDESKTOP_CVS}/xorg;module=xc;method=pserver;tag=XORG-6_8_99_11 \
10 file://imake-staging.patch;patch=1 \
11 file://imake-installed.patch;patch=1 \
12 file://fontfile.patch;patch=1 file://freetype.patch;patch=1 \
13 file://dri.patch;patch=1"
14
15PACKAGES =+ "xserver-xorg-xprint xserver-xorg-xvfb xserver-xorg-utils"
16
17S = "${WORKDIR}/xc"
18
19FILES_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 ${sysconfdir}/profile.d/xprint.*"
20FILES_xserver-xorg-xvfb = "${bindir}/Xvfb"
21FILES_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"
22FILES_${PN} += "${libdir}/modules/*.o "${libdir}/modules/*/*.o ${libdir}/X11/Options ${libdir}/X11/getconfig ${libdir}/X11/etc ${libdir}/modules"
23FILES_${PN}-doc += "${libdir}/X11/doc"
24
25do_configure() {
26 cat <<EOF > config/cf/host.def
27#define BuildServersOnly YES
28#define ProjectRoot ${prefix}
29#define XnestServer NO
30#define XdmxServer NO
31#define CcCmd gcc
32#define LdCmd ld
33#define HasFreetype2 YES
34#define HasFontconfig YES
35#define BuildDevelDRIDrivers YES
36#define BuildXF86DRI YES
37EOF
38 echo "" > config/cf/date.def
39 rm -f include/extensions/panoramiX.h
40 make -C config/imake -f Makefile.ini CC="${BUILD_CC}" BOOTSTRAPCFLAGS="${BUILD_CFLAGS}" CROSSCOMPILEDIR="${CROSS_DIR}/${TARGET_SYS}/bin" PREPROCESS_CMD="gcc -E" clean imake
41 make CC="${BUILD_CC}" xmakefile
42 make Makefiles
43 make clean
44}
45
46do_compile() {
47 #make depend
48 make includes
49 make -C config/util CC="${BUILD_CC}"
50 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
51 make -C programs/Xserver CC="${CC}" LD="${LD}" CC_STAGING="-I${STAGING_INCDIR}" LD_STAGING="-L${STAGING_LIBDIR}" INSTALLED_LIBS="" CPP="${CC} -E"
52}
53
54do_install() {
55 make -C programs/Xserver DESTDIR="${D}" CC="${CC}" LD="${LD}" CC_STAGING="-I${STAGING_INCDIR}" LD_STAGING="-L${STAGING_LIBDIR}" INSTALLED_LIBS="" install
56 make -C lib/font DESTDIR="${D}" CC="${CC}" LD="${LD}" CC_STAGING="-I${STAGING_INCDIR}" LD_STAGING="-L${STAGING_LIBDIR}" INSTALLED_LIBS="" install
57}
58
59do_stage() {
60 install -d ${STAGING_INCDIR}/xserver-xorg
61 for i in i810 via; do
62 pushd ${S}/programs/Xserver/hw/xfree86/drivers/$i; install -m 0644 *.h ${STAGING_INCDIR}/xserver-xorg/; popd
63 done
64 install -m 0644 programs/Xserver/hw/xfree86/common/fourcc.h ${STAGING_INCDIR}/xserver-xorg/
65}
diff --git a/meta/packages/xorg-xserver/xserver-xorg_cvs.bb b/meta/packages/xorg-xserver/xserver-xorg_cvs.bb
deleted file mode 100644
index e410581e17..0000000000
--- a/meta/packages/xorg-xserver/xserver-xorg_cvs.bb
+++ /dev/null
@@ -1,61 +0,0 @@
1SECTION = "x11/base"
2LICENSE = "Xorg"
3RPROVIDES = "virtual/xserver"
4PROVIDES = "virtual/xserver"
5PR = "r3"
6PV = "6.8.1+cvs${SRCDATE}"
7
8DEPENDS = "fontconfig freetype libxi libxmu flex-2.5.4-native"
9
10SRC_URI = "${FREEDESKTOP_CVS}/xorg;module=xc;method=pserver \
11 file://imake-staging.patch;patch=1 \
12 file://dri.patch;patch=1"
13
14PACKAGES =+ "xserver-xorg-xprint xserver-xorg-xvfb xserver-xorg-utils"
15
16S = "${WORKDIR}/xc"
17
18FILES_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"
19FILES_xserver-xorg-xvfb = "${bindir}/Xvfb"
20FILES_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"
21FILES_${PN} += "${libdir}/modules/*.o "${libdir}/modules/*/*.o ${libdir}/X11/Options ${libdir}/X11/getconfig ${libdir}/X11/etc ${libdir}/modules"
22FILES_${PN}-doc += "${libdir}/X11/doc"
23
24do_configure() {
25 echo "#define BuildServersOnly YES" > config/cf/host.def
26 echo "#define ProjectRoot /usr" >> config/cf/host.def
27 echo "#define XnestServer NO" >> config/cf/host.def
28 echo "#define XdmxServer NO" >> config/cf/host.def
29 echo "#define CcCmd ${CC}" >> config/cf/host.def
30 echo "#define LdCmd ${LD}" >> config/cf/host.def
31 echo "#define HasFreetype2 YES" >> config/cf/host.def
32 echo "#define HasFontconfig YES" >> config/cf/host.def
33 echo "#define BuildDevelDRIDrivers YES" >>config/cf/host.def
34 echo "" > config/cf/date.def
35 rm -f include/extensions/panoramiX.h
36}
37
38do_compile() {
39 make -C config/imake -f Makefile.ini CC="${BUILD_CC}" BOOTSTRAPCFLAGS="${BUILD_CFLAGS}" clean imake
40 make CC="${BUILD_CC}" xmakefile
41 make Makefiles
42 make clean
43 #make depend
44 make includes
45 make -C config/util CC="${BUILD_CC}"
46 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
47 make -C programs/Xserver CC="${CC}" LD="${LD}" CC_STAGING="-I${STAGING_INCDIR}" LD_STAGING="-L${STAGING_LIBDIR}" INSTALLED_LIBS=""
48}
49
50do_install() {
51 make -C programs/Xserver DESTDIR="${D}" CC="${CC}" LD="${LD}" CC_STAGING="-I${STAGING_INCDIR}" LD_STAGING="-L${STAGING_LIBDIR}" INSTALLED_LIBS="" install
52 make -C lib/font DESTDIR="${D}" CC="${CC}" LD="${LD}" CC_STAGING="-I${STAGING_INCDIR}" LD_STAGING="-L${STAGING_LIBDIR}" INSTALLED_LIBS="" install
53}
54
55do_stage() {
56 install -d ${STAGING_INCDIR}/xserver-xorg
57 for i in i810 via; do
58 pushd ${S}/programs/Xserver/hw/xfree86/drivers/$i; install -m 0644 *.h ${STAGING_INCDIR}/xserver-xorg/; popd
59 done
60 install -m 0644 programs/Xserver/hw/xfree86/common/fourcc.h ${STAGING_INCDIR}/xserver-xorg/
61}