mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
xserver-xf86: Split xorg.conf from main xserver package
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -11,8 +11,7 @@ PROVIDES = "virtual/xserver-xf86"
|
|||||||
PROVIDES += "virtual/xserver"
|
PROVIDES += "virtual/xserver"
|
||||||
|
|
||||||
XORG_PN = "xorg-server"
|
XORG_PN = "xorg-server"
|
||||||
SRC_URI = "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${PV}.tar.bz2 \
|
SRC_URI = "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${PV}.tar.bz2"
|
||||||
file://xorg.conf"
|
|
||||||
|
|
||||||
S = "${WORKDIR}/${XORG_PN}-${PV}"
|
S = "${WORKDIR}/${XORG_PN}-${PV}"
|
||||||
|
|
||||||
@@ -20,6 +19,8 @@ inherit autotools_stage pkgconfig
|
|||||||
|
|
||||||
PACKAGES =+ "${PN}-utils"
|
PACKAGES =+ "${PN}-utils"
|
||||||
|
|
||||||
|
RDEPENDS_${PN} += "xserver-xf86-config"
|
||||||
|
|
||||||
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"
|
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"
|
||||||
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 "
|
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 "
|
||||||
FILES_${PN}-doc += "${libdir}/X11/doc /usr/share/X11/xkb/compiled/README.compiled"
|
FILES_${PN}-doc += "${libdir}/X11/doc /usr/share/X11/xkb/compiled/README.compiled"
|
||||||
@@ -29,13 +30,9 @@ FILES_${PN}-dbg += "${libdir}/xorg/modules/.debug \
|
|||||||
${libdir}/xorg/modules/*/*/.debug \
|
${libdir}/xorg/modules/*/*/.debug \
|
||||||
"
|
"
|
||||||
|
|
||||||
CONFFILES_${PN} += "${sysconfdir}/X11/xorg.conf"
|
|
||||||
|
|
||||||
SRC_URI += "file://macro_tweak.patch;patch=1"
|
SRC_URI += "file://macro_tweak.patch;patch=1"
|
||||||
|
|
||||||
do_install_append () {
|
do_install_append () {
|
||||||
install -d ${D}/${sysconfdir}/X11
|
|
||||||
install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/
|
|
||||||
ln -sf ${datadir}/fonts/X11 ${D}/${libdir}/X11/fonts
|
ln -sf ${datadir}/fonts/X11 ${D}/${libdir}/X11/fonts
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-13
@@ -35,16 +35,8 @@ Section "InputDevice"
|
|||||||
Identifier "stylus"
|
Identifier "stylus"
|
||||||
Option "Device" "/dev/input/wacom"
|
Option "Device" "/dev/input/wacom"
|
||||||
Option "Type" "stylus"
|
Option "Type" "stylus"
|
||||||
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
|
|
||||||
EndSection
|
EndSection
|
||||||
|
|
||||||
Section "InputDevice"
|
|
||||||
Driver "wacom"
|
|
||||||
Identifier "eraser"
|
|
||||||
Option "Device" "/dev/input/wacom"
|
|
||||||
Option "Type" "eraser"
|
|
||||||
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
|
|
||||||
EndSection
|
|
||||||
|
|
||||||
Section "InputDevice"
|
Section "InputDevice"
|
||||||
Driver "wacom"
|
Driver "wacom"
|
||||||
@@ -55,9 +47,8 @@ Section "InputDevice"
|
|||||||
EndSection
|
EndSection
|
||||||
|
|
||||||
Section "Device"
|
Section "Device"
|
||||||
Identifier "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
|
Identifier "Graphics Controller"
|
||||||
Driver "intel"
|
Driver "vmware"
|
||||||
BusID "PCI:0:2:0"
|
|
||||||
EndSection
|
EndSection
|
||||||
|
|
||||||
Section "Monitor"
|
Section "Monitor"
|
||||||
@@ -67,7 +58,7 @@ EndSection
|
|||||||
|
|
||||||
Section "Screen"
|
Section "Screen"
|
||||||
Identifier "Default Screen"
|
Identifier "Default Screen"
|
||||||
Device "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
|
Device "Graphics Controller"
|
||||||
Monitor "Generic Monitor"
|
Monitor "Generic Monitor"
|
||||||
DefaultDepth 24
|
DefaultDepth 24
|
||||||
EndSection
|
EndSection
|
||||||
@@ -79,7 +70,7 @@ Section "ServerLayout"
|
|||||||
InputDevice "Configured Mouse"
|
InputDevice "Configured Mouse"
|
||||||
|
|
||||||
# Uncomment if you have a wacom tablet
|
# Uncomment if you have a wacom tablet
|
||||||
# InputDevice "stylus" "SendCoreEvents"
|
InputDevice "stylus" "SendCoreEvents"
|
||||||
# InputDevice "cursor" "SendCoreEvents"
|
# InputDevice "cursor" "SendCoreEvents"
|
||||||
# InputDevice "eraser" "SendCoreEvents"
|
# InputDevice "eraser" "SendCoreEvents"
|
||||||
InputDevice "Synaptics Touchpad"
|
InputDevice "Synaptics Touchpad"
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
DESCRIPTION = "X.Org X server configuration file"
|
||||||
|
HOMEPAGE = "http://www.x.org"
|
||||||
|
SECTION = "x11/base"
|
||||||
|
LICENSE = "MIT-X"
|
||||||
|
|
||||||
|
SRC_URI = "file://xorg.conf"
|
||||||
|
|
||||||
|
CONFFILES_${PN} += "${sysconfdir}/X11/xorg.conf"
|
||||||
|
|
||||||
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
|
|
||||||
|
do_install () {
|
||||||
|
install -d ${D}/${sysconfdir}/X11
|
||||||
|
install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/
|
||||||
|
}
|
||||||
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
require xserver-xf86-dri-lite.inc
|
require xserver-xf86-dri-lite.inc
|
||||||
|
|
||||||
PE = "1"
|
PE = "1"
|
||||||
PR = "r0"
|
PR = "r1"
|
||||||
|
|
||||||
PROTO_DEPS += "xf86driproto dri2proto"
|
PROTO_DEPS += "xf86driproto dri2proto"
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
require xserver-xf86-dri-lite.inc
|
require xserver-xf86-dri-lite.inc
|
||||||
|
|
||||||
PE = "1"
|
PE = "1"
|
||||||
PR = "r4"
|
PR = "r5"
|
||||||
PV = "1.5.99.1+git${SRCREV}"
|
PV = "1.5.99.1+git${SRCREV}"
|
||||||
|
|
||||||
PROTO_DEPS += "xf86driproto dri2proto"
|
PROTO_DEPS += "xf86driproto dri2proto"
|
||||||
|
|||||||
Reference in New Issue
Block a user