1eb8dc403SDave CobbleySUMMARY = "Common X11 scripts and support files" 2*9aee5003SAndrew GeisslerLICENSE = "GPL-2.0-only" 3eb8dc403SDave CobbleyLIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" 4eb8dc403SDave Cobbley 5eb8dc403SDave Cobbley 6eb8dc403SDave Cobbley# we are using a gpe-style Makefile 78410d61fSBrad Bishopinherit features_check gpe 8eb8dc403SDave Cobbley 9eb8dc403SDave CobbleyREQUIRED_DISTRO_FEATURES = "x11" 10eb8dc403SDave Cobbley 11eb8dc403SDave CobbleySRC_URI[md5sum] = "82f2f84cd96610e8f7b92c700cd31c14" 12eb8dc403SDave CobbleySRC_URI[sha256sum] = "cd04c33418f776b1e13fcc7af3d6bd0c7cccd03fbabd7dbcd97f88166cc34210" 13eb8dc403SDave Cobbley 14213cb269SPatrick WilliamsSRC_URI:append = " \ 15eb8dc403SDave Cobbley file://0001-COPYING-add-GPLv2-license-file.patch \ 16eb8dc403SDave Cobbley file://0002-add-setdpi-Xinit.d-script.patch \ 17eb8dc403SDave Cobbley file://0006-add-support-for-etc-X11-xserver-system.patch \ 18eb8dc403SDave Cobbley file://0007-use-own-functions-file-instead-etc-init.d-functions.patch \ 19eb8dc403SDave Cobbley file://0008-xserver-common-add-dpi-and-nocursor-params-for-gta01.patch \ 20eb8dc403SDave Cobbley file://0009-xserver-common-add-support-for-n900-alias-nokia_rx-5.patch \ 21eb8dc403SDave Cobbley file://0010-xserver-common-add-support-for-nexus-S-alias-herring.patch \ 22eb8dc403SDave Cobbley file://0011-xserver-common-add-support-for-nexus-one-alias-mahim.patch \ 23eb8dc403SDave Cobbley file://0012-xserver-common-add-support-for-gta04-alias-OpenPhoen.patch \ 24eb8dc403SDave Cobbley file://0013-xserver-common-add-support-for-tuna-alias-Galaxy-Nex.patch \ 25eb8dc403SDave Cobbley file://0015-xserver-common-disable-TCP-connections.patch \ 26eb8dc403SDave Cobbley file://0001-Don-t-install-Xsession-or-Xserver.patch \ 27eb8dc403SDave Cobbley" 28eb8dc403SDave Cobbley 29213cb269SPatrick Williamsdo_install:append() { 30eb8dc403SDave Cobbley sed -i 's:^BINDIR=.*$:BINDIR=${bindir}:' ${D}/etc/X11/xserver-common 31eb8dc403SDave Cobbley # Rename all Xsession files not ending with .sh 32eb8dc403SDave Cobbley # Unfortunatelly when xinput-calibrator was moved to oe-core 33eb8dc403SDave Cobbley # its Xsession file got name 30xinput_calibrate.sh and ls -X sorts it 34eb8dc403SDave Cobbley # last, not respecting numbers for sorting them 35eb8dc403SDave Cobbley for i in ${D}/${sysconfdir}/X11/Xsession.d/*; do 36eb8dc403SDave Cobbley echo $i | grep '.sh$' || mv $i $i.sh 37eb8dc403SDave Cobbley done 38eb8dc403SDave Cobbley} 39eb8dc403SDave Cobbley 40213cb269SPatrick WilliamsRDEPENDS:${PN} = "xmodmap xrandr xdpyinfo fbset xinput-calibrator" 41eb8dc403SDave Cobbley 42213cb269SPatrick WilliamsRCONFLICTS:${PN} = "xserver-kdrive-common x11-common" 43213cb269SPatrick WilliamsRREPLACES:${PN} = "xserver-kdrive-common x11-common" 44eb8dc403SDave Cobbley 45