diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2011-10-07 17:29:41 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-11 18:08:32 +0100 |
commit | 73b9f8f78ccacd871bc1d9c74e7ff62bc856b68f (patch) | |
tree | 80db2d7491e0db6e67ab3b297fbfbb0aa78a68ba | |
parent | 4fa7554c07439ff195ac2cd20c7bdec1782bbbc3 (diff) | |
download | poky-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.inc | 60 |
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 | ||
21 | inherit autotools pkgconfig | 21 | inherit autotools pkgconfig |
22 | 22 | ||
23 | PACKAGES =+ "${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 | |||
36 | PACKAGES =+ "${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 | ||
25 | RDEPENDS_${PN} += "xserver-xf86-config xkeyboard-config" | 59 | RDEPENDS_${PN} += "xserver-xf86-config xkeyboard-config" |
26 | 60 | ||
27 | FILES_${PN}-utils = "${bindir}/scanpci ${bindir}/pcitweak ${bindir}/ioport ${bindir}/in[bwl] ${bindir}/out[bwl] ${bindir}/mmap[rw] ${bindir}/gtf ${bindir}/getconfig ${bindir}/getconfig.pl" | ||
28 | FILES_${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 " | 61 | FILES_${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 " |
29 | FILES_${PN}-doc += "${libdir}/X11/doc ${datadir}/X11/xkb/compiled/README.compiled" | 62 | FILES_${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 | ||
69 | FILES_${PN}-security-policy += "${libdir}/xserver/SecurityPolicy" | ||
70 | FILES_${PN}-sdl = "${bindir}/Xsdl" | ||
71 | FILES_${PN}-fbdev = "${bindir}/Xfbdev" | ||
72 | FILES_${PN}-xprint = "${libdir}/X11/xserver/*/print" | ||
73 | FILES_${PN}-xvfb = "${bindir}/Xvfb" | ||
74 | FILES_${PN}-utils = "${bindir}/scanpci ${bindir}/pcitweak ${bindir}/ioport ${bindir}/in[bwl] ${bindir}/out[bwl] ${bindir}/mmap[rw] ${bindir}/gtf ${bindir}/getconfig ${bindir}/getconfig.pl" | ||
75 | FILES_${PN}-xephyr = "${bindir}/Xephyr" | ||
76 | FILES_${PN}-multimedia-modules = "${libdir}/xorg/modules/multimedia/*drv*" | ||
77 | FILES_${PN}-extension-dri = "${libdir}/xorg/modules/extensions/libdri.so" | ||
78 | FILES_${PN}-extension-dri2 = "${libdir}/xorg/modules/extensions/libdri2.so" | ||
79 | FILES_${PN}-extension-glx = "${libdir}/xorg/modules/extensions/libglx.so" | ||
80 | FILES_${PN}-extension-record = "${libdir}/xorg/modules/extensions/librecord.so" | ||
81 | FILES_${PN}-extension-extmod = "${libdir}/xorg/modules/extensions/libextmod.so" | ||
82 | FILES_${PN}-extension-dbe = "${libdir}/xorg/modules/extensions/libdbe.so" | ||
83 | FILES_${PN}-module-libint10 = "${libdir}/xorg/modules/libint10.so" | ||
84 | FILES_${PN}-module-libafb = "${libdir}/xorg/modules/libafb.so" | ||
85 | FILES_${PN}-module-libwfb = "${libdir}/xorg/modules/libwfb.so" | ||
86 | FILES_${PN}-module-libmfb = "${libdir}/xorg/modules/libmfb.so" | ||
87 | FILES_${PN}-module-libcfb = "${libdir}/xorg/modules/libcfb.so" | ||
88 | FILES_${PN}-module-xaa = "${libdir}/xorg/modules/libxaa.so" | ||
89 | FILES_${PN}-module-libxf1bpp = "${libdir}/xorg/modules/libxf1bpp.so" | ||
90 | FILES_${PN}-module-libxf4bpp = "${libdir}/xorg/modules/libxf4bpp.so" | ||
91 | |||
36 | EXTRA_OECONF = "--with-fop=no" | 92 | EXTRA_OECONF = "--with-fop=no" |
37 | 93 | ||
38 | PACKAGECONFIG ??= "udev" | 94 | PACKAGECONFIG ??= "udev" |