summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-10-07 17:29:41 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-11 18:08:32 +0100
commit73b9f8f78ccacd871bc1d9c74e7ff62bc856b68f (patch)
tree80db2d7491e0db6e67ab3b297fbfbb0aa78a68ba
parent4fa7554c07439ff195ac2cd20c7bdec1782bbbc3 (diff)
downloadpoky-73b9f8f78ccacd871bc1d9c74e7ff62bc856b68f.tar.gz
xserver-xorg-common: Split out some bigger modules and extensions from the main package
(From OE-Core rev: 8197c20e63acd5e7a5521d5e2ee391e03b4d50d3) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc60
1 files changed, 58 insertions, 2 deletions
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc
index 67edbcf095..c0fcf8b29a 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc
@@ -20,11 +20,44 @@ S = "${WORKDIR}/${XORG_PN}-${PV}"
20 20
21inherit autotools pkgconfig 21inherit autotools pkgconfig
22 22
23PACKAGES =+ "${PN}-utils" 23# Split out some modules and extensions from the main package
24# These aren't needed for basic operations and only take up space:
25# 32.0k libdri.so
26# 336.0k libglx.so
27# 1360k libint10.so
28# 180.0k libwfb.so
29# 320.0k libxaa.so
30# 124.0k libxf1bpp.so
31# 84.0k libxf4bpp.so
32# librecord.so
33# libextmod.so
34# libdbe.so
35
36PACKAGES =+ "${PN}-security-policy \
37 ${PN}-sdl \
38 ${PN}-fbdev \
39 ${PN}-xprint \
40 ${PN}-xvfb \
41 ${PN}-utils \
42 ${PN}-xephyr \
43 ${PN}-multimedia-modules \
44 ${PN}-extension-dri \
45 ${PN}-extension-dri2 \
46 ${PN}-extension-glx \
47 ${PN}-extension-record \
48 ${PN}-extension-extmod \
49 ${PN}-extension-dbe \
50 ${PN}-module-libint10 \
51 ${PN}-module-libafb \
52 ${PN}-module-libwfb \
53 ${PN}-module-libmfb \
54 ${PN}-module-libcfb \
55 ${PN}-module-xaa \
56 ${PN}-module-libxf1bpp \
57 ${PN}-module-libxf4bpp"
24 58
25RDEPENDS_${PN} += "xserver-xf86-config xkeyboard-config" 59RDEPENDS_${PN} += "xserver-xf86-config xkeyboard-config"
26 60
27FILES_${PN}-utils = "${bindir}/scanpci ${bindir}/pcitweak ${bindir}/ioport ${bindir}/in[bwl] ${bindir}/out[bwl] ${bindir}/mmap[rw] ${bindir}/gtf ${bindir}/getconfig ${bindir}/getconfig.pl"
28FILES_${PN} = "${libdir}/X11/Options ${libdir}/X11/Cards ${libdir}/X11/getconfig ${libdir}/X11/etc ${libdir}/xserver/SecurityPolicy ${libdir}/xorg/modules/*.so ${libdir}/xorg/modules/*/*.so ${libdir}/xorg/modules/*/*/*.so /etc/X11 " 61FILES_${PN} = "${libdir}/X11/Options ${libdir}/X11/Cards ${libdir}/X11/getconfig ${libdir}/X11/etc ${libdir}/xserver/SecurityPolicy ${libdir}/xorg/modules/*.so ${libdir}/xorg/modules/*/*.so ${libdir}/xorg/modules/*/*/*.so /etc/X11 "
29FILES_${PN}-doc += "${libdir}/X11/doc ${datadir}/X11/xkb/compiled/README.compiled" 62FILES_${PN}-doc += "${libdir}/X11/doc ${datadir}/X11/xkb/compiled/README.compiled"
30 63
@@ -33,6 +66,29 @@ FILES_${PN}-dbg += "${libdir}/xorg/modules/.debug \
33 ${libdir}/xorg/modules/*/*/.debug \ 66 ${libdir}/xorg/modules/*/*/.debug \
34 " 67 "
35 68
69FILES_${PN}-security-policy += "${libdir}/xserver/SecurityPolicy"
70FILES_${PN}-sdl = "${bindir}/Xsdl"
71FILES_${PN}-fbdev = "${bindir}/Xfbdev"
72FILES_${PN}-xprint = "${libdir}/X11/xserver/*/print"
73FILES_${PN}-xvfb = "${bindir}/Xvfb"
74FILES_${PN}-utils = "${bindir}/scanpci ${bindir}/pcitweak ${bindir}/ioport ${bindir}/in[bwl] ${bindir}/out[bwl] ${bindir}/mmap[rw] ${bindir}/gtf ${bindir}/getconfig ${bindir}/getconfig.pl"
75FILES_${PN}-xephyr = "${bindir}/Xephyr"
76FILES_${PN}-multimedia-modules = "${libdir}/xorg/modules/multimedia/*drv*"
77FILES_${PN}-extension-dri = "${libdir}/xorg/modules/extensions/libdri.so"
78FILES_${PN}-extension-dri2 = "${libdir}/xorg/modules/extensions/libdri2.so"
79FILES_${PN}-extension-glx = "${libdir}/xorg/modules/extensions/libglx.so"
80FILES_${PN}-extension-record = "${libdir}/xorg/modules/extensions/librecord.so"
81FILES_${PN}-extension-extmod = "${libdir}/xorg/modules/extensions/libextmod.so"
82FILES_${PN}-extension-dbe = "${libdir}/xorg/modules/extensions/libdbe.so"
83FILES_${PN}-module-libint10 = "${libdir}/xorg/modules/libint10.so"
84FILES_${PN}-module-libafb = "${libdir}/xorg/modules/libafb.so"
85FILES_${PN}-module-libwfb = "${libdir}/xorg/modules/libwfb.so"
86FILES_${PN}-module-libmfb = "${libdir}/xorg/modules/libmfb.so"
87FILES_${PN}-module-libcfb = "${libdir}/xorg/modules/libcfb.so"
88FILES_${PN}-module-xaa = "${libdir}/xorg/modules/libxaa.so"
89FILES_${PN}-module-libxf1bpp = "${libdir}/xorg/modules/libxf1bpp.so"
90FILES_${PN}-module-libxf4bpp = "${libdir}/xorg/modules/libxf4bpp.so"
91
36EXTRA_OECONF = "--with-fop=no" 92EXTRA_OECONF = "--with-fop=no"
37 93
38PACKAGECONFIG ??= "udev" 94PACKAGECONFIG ??= "udev"