summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-xserver
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-16 03:05:19 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-16 03:05:19 +0200
commitc527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch)
treebb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/recipes-graphics/xorg-xserver
downloadpoky-daisy-140929.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-graphics/xorg-xserver')
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf69
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips/xorg.conf70
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips64/xorg.conf69
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf69
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemush4/xorg.conf69
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf69
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf69
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xf86-config/xorg.conf0
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb20
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg.inc154
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg/aarch64.patch35
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg/crosscompile.patch22
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg/fix_open_max_preprocessor_error.patch15
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg/macro_tweak.patch25
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg/mips64-compiler.patch29
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg/xorg-CVE-2013-6424.patch31
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg_1.15.0.bb34
17 files changed, 849 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf
new file mode 100644
index 0000000000..629ae214e8
--- /dev/null
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf
@@ -0,0 +1,69 @@
1
2Section "Files"
3EndSection
4
5Section "InputDevice"
6 Identifier "Generic Keyboard"
7 Driver "evdev"
8 Option "CoreKeyboard"
9 Option "Device" "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
10 Option "XkbRules" "xorg"
11 Option "XkbModel" "evdev"
12 Option "XkbLayout" "us"
13EndSection
14
15Section "InputDevice"
16 Identifier "Configured Mouse"
17 Driver "mouse"
18 Option "CorePointer"
19 Option "Device" "/dev/input/mice"
20 Option "Protocol" "ImPS/2"
21 Option "ZAxisMapping" "4 5"
22 Option "Emulate3Buttons" "true"
23EndSection
24
25Section "InputDevice"
26 Identifier "Qemu Tablet"
27 Driver "evdev"
28 Option "CorePointer"
29 Option "Device" "/dev/input/touchscreen0"
30 Option "USB" "on"
31EndSection
32
33Section "Device"
34 Identifier "Graphics Controller"
35 Driver "fbdev"
36EndSection
37
38Section "Monitor"
39 Identifier "Generic Monitor"
40 Option "DPMS"
41 # 1024x600 59.85 Hz (CVT) hsync: 37.35 kHz; pclk: 49.00 MHz
42 Modeline "1024x600_60.00" 49.00 1024 1072 1168 1312 600 603 613 624 -hsync +vsync
43 # 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz
44 ModeLine "640x480" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
45 # 640x480 @ 72Hz (VESA) hsync: 37.9kHz
46 ModeLine "640x480" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync
47 # 640x480 @ 75Hz (VESA) hsync: 37.5kHz
48 ModeLine "640x480" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
49 # 640x480 @ 85Hz (VESA) hsync: 43.3kHz
50 ModeLine "640x480" 36.0 640 696 752 832 480 481 484 509 -hsync -vsync
51EndSection
52
53Section "Screen"
54 Identifier "Default Screen"
55 Device "Graphics Controller"
56 Monitor "Generic Monitor"
57 SubSection "Display"
58 Modes "640x480"
59 EndSubSection
60EndSection
61
62Section "ServerLayout"
63 Identifier "Default Layout"
64 Screen "Default Screen"
65 InputDevice "Generic Keyboard"
66 # InputDevice "Configured Mouse"
67 InputDevice "QEMU Tablet"
68 Option "AllowEmptyInput" "no"
69EndSection
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips/xorg.conf b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips/xorg.conf
new file mode 100644
index 0000000000..e6c8b514e3
--- /dev/null
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips/xorg.conf
@@ -0,0 +1,70 @@
1
2Section "Files"
3EndSection
4
5Section "InputDevice"
6 Identifier "Generic Keyboard"
7 Driver "evdev"
8 Option "CoreKeyboard"
9 Option "Device" "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
10 Option "XkbRules" "xorg"
11 Option "XkbModel" "evdev"
12 Option "XkbLayout" "us"
13EndSection
14
15Section "InputDevice"
16 Identifier "Configured Mouse"
17 Driver "mouse"
18 Option "CorePointer"
19 Option "Device" "/dev/input/mice"
20 Option "Protocol" "ImPS/2"
21 Option "ZAxisMapping" "4 5"
22 Option "Emulate3Buttons" "true"
23EndSection
24
25Section "InputDevice"
26 Identifier "Qemu Tablet"
27 Driver "evdev"
28 Option "CorePointer"
29 Option "Device" "/dev/input/touchscreen0"
30 Option "USB" "on"
31EndSection
32
33Section "Device"
34 Identifier "Graphics Controller"
35 Driver "fbdev"
36EndSection
37
38Section "Monitor"
39 Identifier "Generic Monitor"
40 Option "DPMS"
41 # 1024x600 59.85 Hz (CVT) hsync: 37.35 kHz; pclk: 49.00 MHz
42 Modeline "1024x600_60.00" 49.00 1024 1072 1168 1312 600 603 613 624 -hsync +vsync
43 # 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz
44 ModeLine "640x480" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
45 # 640x480 @ 72Hz (VESA) hsync: 37.9kHz
46 ModeLine "640x480" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync
47 # 640x480 @ 75Hz (VESA) hsync: 37.5kHz
48 ModeLine "640x480" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
49 # 640x480 @ 85Hz (VESA) hsync: 43.3kHz
50 ModeLine "640x480" 36.0 640 696 752 832 480 481 484 509 -hsync -vsync
51EndSection
52
53Section "Screen"
54 Identifier "Default Screen"
55 Device "Graphics Controller"
56 Monitor "Generic Monitor"
57 DefaultDepth 16
58 SubSection "Display"
59 Modes "640x480"
60 EndSubSection
61EndSection
62
63Section "ServerLayout"
64 Identifier "Default Layout"
65 Screen "Default Screen"
66 InputDevice "Generic Keyboard"
67 # InputDevice "Configured Mouse"
68 InputDevice "QEMU Tablet"
69 Option "AllowEmptyInput" "no"
70EndSection
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips64/xorg.conf b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips64/xorg.conf
new file mode 100644
index 0000000000..629ae214e8
--- /dev/null
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips64/xorg.conf
@@ -0,0 +1,69 @@
1
2Section "Files"
3EndSection
4
5Section "InputDevice"
6 Identifier "Generic Keyboard"
7 Driver "evdev"
8 Option "CoreKeyboard"
9 Option "Device" "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
10 Option "XkbRules" "xorg"
11 Option "XkbModel" "evdev"
12 Option "XkbLayout" "us"
13EndSection
14
15Section "InputDevice"
16 Identifier "Configured Mouse"
17 Driver "mouse"
18 Option "CorePointer"
19 Option "Device" "/dev/input/mice"
20 Option "Protocol" "ImPS/2"
21 Option "ZAxisMapping" "4 5"
22 Option "Emulate3Buttons" "true"
23EndSection
24
25Section "InputDevice"
26 Identifier "Qemu Tablet"
27 Driver "evdev"
28 Option "CorePointer"
29 Option "Device" "/dev/input/touchscreen0"
30 Option "USB" "on"
31EndSection
32
33Section "Device"
34 Identifier "Graphics Controller"
35 Driver "fbdev"
36EndSection
37
38Section "Monitor"
39 Identifier "Generic Monitor"
40 Option "DPMS"
41 # 1024x600 59.85 Hz (CVT) hsync: 37.35 kHz; pclk: 49.00 MHz
42 Modeline "1024x600_60.00" 49.00 1024 1072 1168 1312 600 603 613 624 -hsync +vsync
43 # 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz
44 ModeLine "640x480" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
45 # 640x480 @ 72Hz (VESA) hsync: 37.9kHz
46 ModeLine "640x480" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync
47 # 640x480 @ 75Hz (VESA) hsync: 37.5kHz
48 ModeLine "640x480" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
49 # 640x480 @ 85Hz (VESA) hsync: 43.3kHz
50 ModeLine "640x480" 36.0 640 696 752 832 480 481 484 509 -hsync -vsync
51EndSection
52
53Section "Screen"
54 Identifier "Default Screen"
55 Device "Graphics Controller"
56 Monitor "Generic Monitor"
57 SubSection "Display"
58 Modes "640x480"
59 EndSubSection
60EndSection
61
62Section "ServerLayout"
63 Identifier "Default Layout"
64 Screen "Default Screen"
65 InputDevice "Generic Keyboard"
66 # InputDevice "Configured Mouse"
67 InputDevice "QEMU Tablet"
68 Option "AllowEmptyInput" "no"
69EndSection
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf
new file mode 100644
index 0000000000..629ae214e8
--- /dev/null
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf
@@ -0,0 +1,69 @@
1
2Section "Files"
3EndSection
4
5Section "InputDevice"
6 Identifier "Generic Keyboard"
7 Driver "evdev"
8 Option "CoreKeyboard"
9 Option "Device" "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
10 Option "XkbRules" "xorg"
11 Option "XkbModel" "evdev"
12 Option "XkbLayout" "us"
13EndSection
14
15Section "InputDevice"
16 Identifier "Configured Mouse"
17 Driver "mouse"
18 Option "CorePointer"
19 Option "Device" "/dev/input/mice"
20 Option "Protocol" "ImPS/2"
21 Option "ZAxisMapping" "4 5"
22 Option "Emulate3Buttons" "true"
23EndSection
24
25Section "InputDevice"
26 Identifier "Qemu Tablet"
27 Driver "evdev"
28 Option "CorePointer"
29 Option "Device" "/dev/input/touchscreen0"
30 Option "USB" "on"
31EndSection
32
33Section "Device"
34 Identifier "Graphics Controller"
35 Driver "fbdev"
36EndSection
37
38Section "Monitor"
39 Identifier "Generic Monitor"
40 Option "DPMS"
41 # 1024x600 59.85 Hz (CVT) hsync: 37.35 kHz; pclk: 49.00 MHz
42 Modeline "1024x600_60.00" 49.00 1024 1072 1168 1312 600 603 613 624 -hsync +vsync
43 # 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz
44 ModeLine "640x480" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
45 # 640x480 @ 72Hz (VESA) hsync: 37.9kHz
46 ModeLine "640x480" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync
47 # 640x480 @ 75Hz (VESA) hsync: 37.5kHz
48 ModeLine "640x480" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
49 # 640x480 @ 85Hz (VESA) hsync: 43.3kHz
50 ModeLine "640x480" 36.0 640 696 752 832 480 481 484 509 -hsync -vsync
51EndSection
52
53Section "Screen"
54 Identifier "Default Screen"
55 Device "Graphics Controller"
56 Monitor "Generic Monitor"
57 SubSection "Display"
58 Modes "640x480"
59 EndSubSection
60EndSection
61
62Section "ServerLayout"
63 Identifier "Default Layout"
64 Screen "Default Screen"
65 InputDevice "Generic Keyboard"
66 # InputDevice "Configured Mouse"
67 InputDevice "QEMU Tablet"
68 Option "AllowEmptyInput" "no"
69EndSection
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemush4/xorg.conf b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemush4/xorg.conf
new file mode 100644
index 0000000000..629ae214e8
--- /dev/null
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemush4/xorg.conf
@@ -0,0 +1,69 @@
1
2Section "Files"
3EndSection
4
5Section "InputDevice"
6 Identifier "Generic Keyboard"
7 Driver "evdev"
8 Option "CoreKeyboard"
9 Option "Device" "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
10 Option "XkbRules" "xorg"
11 Option "XkbModel" "evdev"
12 Option "XkbLayout" "us"
13EndSection
14
15Section "InputDevice"
16 Identifier "Configured Mouse"
17 Driver "mouse"
18 Option "CorePointer"
19 Option "Device" "/dev/input/mice"
20 Option "Protocol" "ImPS/2"
21 Option "ZAxisMapping" "4 5"
22 Option "Emulate3Buttons" "true"
23EndSection
24
25Section "InputDevice"
26 Identifier "Qemu Tablet"
27 Driver "evdev"
28 Option "CorePointer"
29 Option "Device" "/dev/input/touchscreen0"
30 Option "USB" "on"
31EndSection
32
33Section "Device"
34 Identifier "Graphics Controller"
35 Driver "fbdev"
36EndSection
37
38Section "Monitor"
39 Identifier "Generic Monitor"
40 Option "DPMS"
41 # 1024x600 59.85 Hz (CVT) hsync: 37.35 kHz; pclk: 49.00 MHz
42 Modeline "1024x600_60.00" 49.00 1024 1072 1168 1312 600 603 613 624 -hsync +vsync
43 # 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz
44 ModeLine "640x480" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
45 # 640x480 @ 72Hz (VESA) hsync: 37.9kHz
46 ModeLine "640x480" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync
47 # 640x480 @ 75Hz (VESA) hsync: 37.5kHz
48 ModeLine "640x480" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
49 # 640x480 @ 85Hz (VESA) hsync: 43.3kHz
50 ModeLine "640x480" 36.0 640 696 752 832 480 481 484 509 -hsync -vsync
51EndSection
52
53Section "Screen"
54 Identifier "Default Screen"
55 Device "Graphics Controller"
56 Monitor "Generic Monitor"
57 SubSection "Display"
58 Modes "640x480"
59 EndSubSection
60EndSection
61
62Section "ServerLayout"
63 Identifier "Default Layout"
64 Screen "Default Screen"
65 InputDevice "Generic Keyboard"
66 # InputDevice "Configured Mouse"
67 InputDevice "QEMU Tablet"
68 Option "AllowEmptyInput" "no"
69EndSection
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf
new file mode 100644
index 0000000000..10a6d9a0bc
--- /dev/null
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf
@@ -0,0 +1,69 @@
1
2Section "Files"
3EndSection
4
5Section "InputDevice"
6 Identifier "Generic Keyboard"
7 Driver "evdev"
8 Option "CoreKeyboard"
9 Option "Device" "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
10 Option "XkbRules" "xorg"
11 Option "XkbModel" "evdev"
12 Option "XkbLayout" "us"
13EndSection
14
15Section "InputDevice"
16 Identifier "Configured Mouse"
17 Driver "vmmouse"
18 Option "CorePointer"
19 Option "Device" "/dev/input/mice"
20 Option "Protocol" "ImPS/2"
21 Option "ZAxisMapping" "4 5"
22 Option "Emulate3Buttons" "true"
23EndSection
24
25Section "InputDevice"
26 Identifier "Qemu Tablet"
27 Driver "evdev"
28 Option "CorePointer"
29 Option "Device" "/dev/input/touchscreen0"
30 Option "USB" "on"
31EndSection
32
33Section "Device"
34 Identifier "Graphics Controller"
35 Driver "vmware"
36EndSection
37
38Section "Monitor"
39 Identifier "Generic Monitor"
40 Option "DPMS"
41 # 1024x600 59.85 Hz (CVT) hsync: 37.35 kHz; pclk: 49.00 MHz
42 Modeline "1024x600_60.00" 49.00 1024 1072 1168 1312 600 603 613 624 -hsync +vsync
43 # 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz
44 ModeLine "640x480" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
45 # 640x480 @ 72Hz (VESA) hsync: 37.9kHz
46 ModeLine "640x480" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync
47 # 640x480 @ 75Hz (VESA) hsync: 37.5kHz
48 ModeLine "640x480" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
49 # 640x480 @ 85Hz (VESA) hsync: 43.3kHz
50 ModeLine "640x480" 36.0 640 696 752 832 480 481 484 509 -hsync -vsync
51EndSection
52
53Section "Screen"
54 Identifier "Default Screen"
55 Device "Graphics Controller"
56 Monitor "Generic Monitor"
57 SubSection "Display"
58 Modes "640x480"
59 EndSubSection
60EndSection
61
62Section "ServerLayout"
63 Identifier "Default Layout"
64 Screen "Default Screen"
65 InputDevice "Generic Keyboard"
66 # InputDevice "Configured Mouse"
67 InputDevice "QEMU Tablet"
68 Option "AllowEmptyInput" "no"
69EndSection
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf
new file mode 100644
index 0000000000..10a6d9a0bc
--- /dev/null
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf
@@ -0,0 +1,69 @@
1
2Section "Files"
3EndSection
4
5Section "InputDevice"
6 Identifier "Generic Keyboard"
7 Driver "evdev"
8 Option "CoreKeyboard"
9 Option "Device" "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
10 Option "XkbRules" "xorg"
11 Option "XkbModel" "evdev"
12 Option "XkbLayout" "us"
13EndSection
14
15Section "InputDevice"
16 Identifier "Configured Mouse"
17 Driver "vmmouse"
18 Option "CorePointer"
19 Option "Device" "/dev/input/mice"
20 Option "Protocol" "ImPS/2"
21 Option "ZAxisMapping" "4 5"
22 Option "Emulate3Buttons" "true"
23EndSection
24
25Section "InputDevice"
26 Identifier "Qemu Tablet"
27 Driver "evdev"
28 Option "CorePointer"
29 Option "Device" "/dev/input/touchscreen0"
30 Option "USB" "on"
31EndSection
32
33Section "Device"
34 Identifier "Graphics Controller"
35 Driver "vmware"
36EndSection
37
38Section "Monitor"
39 Identifier "Generic Monitor"
40 Option "DPMS"
41 # 1024x600 59.85 Hz (CVT) hsync: 37.35 kHz; pclk: 49.00 MHz
42 Modeline "1024x600_60.00" 49.00 1024 1072 1168 1312 600 603 613 624 -hsync +vsync
43 # 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz
44 ModeLine "640x480" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
45 # 640x480 @ 72Hz (VESA) hsync: 37.9kHz
46 ModeLine "640x480" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync
47 # 640x480 @ 75Hz (VESA) hsync: 37.5kHz
48 ModeLine "640x480" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
49 # 640x480 @ 85Hz (VESA) hsync: 43.3kHz
50 ModeLine "640x480" 36.0 640 696 752 832 480 481 484 509 -hsync -vsync
51EndSection
52
53Section "Screen"
54 Identifier "Default Screen"
55 Device "Graphics Controller"
56 Monitor "Generic Monitor"
57 SubSection "Display"
58 Modes "640x480"
59 EndSubSection
60EndSection
61
62Section "ServerLayout"
63 Identifier "Default Layout"
64 Screen "Default Screen"
65 InputDevice "Generic Keyboard"
66 # InputDevice "Configured Mouse"
67 InputDevice "QEMU Tablet"
68 Option "AllowEmptyInput" "no"
69EndSection
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/xorg.conf b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/xorg.conf
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/xorg.conf
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb
new file mode 100644
index 0000000000..3749a1da2d
--- /dev/null
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb
@@ -0,0 +1,20 @@
1SUMMARY = "X.Org X server configuration file"
2HOMEPAGE = "http://www.x.org"
3SECTION = "x11/base"
4LICENSE = "MIT-X"
5LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
6PR = "r27"
7
8SRC_URI = "file://xorg.conf"
9
10CONFFILES_${PN} = "${sysconfdir}/X11/xorg.conf"
11
12PACKAGE_ARCH = "${MACHINE_ARCH}"
13ALLOW_EMPTY_${PN} = "1"
14
15do_install () {
16 if test -s ${WORKDIR}/xorg.conf; then
17 install -d ${D}/${sysconfdir}/X11
18 install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/
19 fi
20}
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
new file mode 100644
index 0000000000..2bacbe51da
--- /dev/null
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
@@ -0,0 +1,154 @@
1SUMMARY = "The X.Org X server"
2HOMEPAGE = "http://www.x.org"
3SECTION = "x11/base"
4LICENSE = "MIT-X"
5LIC_FILES_CHKSUM = "file://COPYING;md5=15b5bf9327341c81089137aec4830bfd"
6
7# xf86-*-* packages depend on an X server built with the xfree86 DDX
8# so we have a virtual to represent that:
9# deprecated, we should use virtual/xserver instead
10PROVIDES = "virtual/xserver-xf86"
11
12# Other packages tend to just care that there is *an* X server:
13PROVIDES += "virtual/xserver"
14
15PE = "2"
16INC_PR = "r8"
17
18XORG_PN = "xorg-server"
19SRC_URI = "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${PV}.tar.bz2"
20SRC_URI += "file://macro_tweak.patch"
21
22S = "${WORKDIR}/${XORG_PN}-${PV}"
23
24inherit autotools pkgconfig
25
26PROTO_DEPS = "randrproto renderproto fixesproto damageproto xextproto xproto xf86dgaproto xf86miscproto xf86vidmodeproto compositeproto recordproto resourceproto videoproto scrnsaverproto xineramaproto fontsproto kbproto inputproto bigreqsproto xcmiscproto presentproto"
27LIB_DEPS = "pixman libxfont xtrans libxau libxext libxdmcp libdrm libxkbfile libpciaccess openssl libgcrypt"
28DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} font-util"
29
30# Split out some modules and extensions from the main package
31# These aren't needed for basic operations and only take up space:
32# 32.0k libdri.so
33# 91.0k libexa.so
34# 336.0k libglx.so
35# 1360k libint10.so
36# 180.0k libwfb.so
37# 320.0k libxaa.so
38# 124.0k libxf1bpp.so
39# 84.0k libxf4bpp.so
40# librecord.so
41# libextmod.so
42# libdbe.so
43
44PACKAGES =+ "${PN}-security-policy \
45 ${PN}-sdl \
46 ${PN}-fbdev \
47 ${PN}-xvfb \
48 ${PN}-utils \
49 ${PN}-xephyr \
50 ${PN}-multimedia-modules \
51 ${PN}-extension-dri \
52 ${PN}-extension-dri2 \
53 ${PN}-extension-glx \
54 ${PN}-extension-record \
55 ${PN}-extension-extmod \
56 ${PN}-extension-dbe \
57 ${PN}-module-libint10 \
58 ${PN}-module-libafb \
59 ${PN}-module-libwfb \
60 ${PN}-module-libmfb \
61 ${PN}-module-libcfb \
62 ${PN}-module-exa \
63 ${PN}-module-xaa \
64 ${PN}-module-libxf1bpp \
65 ${PN}-module-libxf4bpp"
66
67RRECOMMENDS_${PN} += "${PN}-security-policy xkeyboard-config rgb xserver-xf86-config xkbcomp"
68RDEPENDS_${PN}-xvfb += "xkeyboard-config"
69RDEPENDS_${PN}-module-exa = "${PN} (= ${EXTENDPKGV})"
70
71FILES_${PN} = "${bindir} ${libdir}/X11/Options ${libdir}/X11/Cards ${libdir}/X11/getconfig ${libdir}/X11/etc ${libdir}/modules/*.so ${libdir}/xorg/modules/*.so /etc/X11 ${libdir}/xorg/protocol.txt ${datadir}/X11/xorg.conf.d"
72FILES_${PN}-dev += "${libdir}/xorg/modules/*.la ${libdir}/xorg/modules/*/*.la"
73FILES_${PN}-doc += "${libdir}/X11/doc ${datadir}/X11/xkb/compiled/README.compiled ${localstatedir}/lib/xkb/README.compiled"
74FILES_${PN}-dbg += "${libdir}/xorg/modules/.debug \
75 ${libdir}/xorg/modules/*/.debug \
76 ${libdir}/xorg/modules/*/*/.debug \
77 "
78FILES_${PN}-security-policy += "${libdir}/xserver/SecurityPolicy"
79FILES_${PN}-sdl = "${bindir}/Xsdl"
80FILES_${PN}-fbdev = "${bindir}/Xfbdev"
81FILES_${PN}-xvfb = "${bindir}/Xvfb"
82FILES_${PN}-utils = "${bindir}/scanpci ${bindir}/pcitweak ${bindir}/ioport ${bindir}/in[bwl] ${bindir}/out[bwl] ${bindir}/mmap[rw] ${bindir}/gtf ${bindir}/getconfig ${bindir}/getconfig.pl"
83FILES_${PN}-xephyr = "${bindir}/Xephyr"
84FILES_${PN}-multimedia-modules = "${libdir}/xorg/modules/multimedia/*drv*"
85FILES_${PN}-extension-dri = "${libdir}/xorg/modules/extensions/libdri.so"
86FILES_${PN}-extension-dri2 = "${libdir}/xorg/modules/extensions/libdri2.so"
87FILES_${PN}-extension-glx = "${libdir}/xorg/modules/extensions/libglx.so"
88FILES_${PN}-extension-record = "${libdir}/xorg/modules/extensions/librecord.so"
89FILES_${PN}-extension-extmod = "${libdir}/xorg/modules/extensions/libextmod.so"
90FILES_${PN}-extension-dbe = "${libdir}/xorg/modules/extensions/libdbe.so"
91FILES_${PN}-module-libint10 = "${libdir}/xorg/modules/libint10.so"
92FILES_${PN}-module-libafb = "${libdir}/xorg/modules/libafb.so"
93FILES_${PN}-module-libwfb = "${libdir}/xorg/modules/libwfb.so"
94FILES_${PN}-module-libmfb = "${libdir}/xorg/modules/libmfb.so"
95FILES_${PN}-module-libcfb = "${libdir}/xorg/modules/libcfb.so"
96FILES_${PN}-module-exa = "${libdir}/xorg/modules/libexa.so"
97FILES_${PN}-module-xaa = "${libdir}/xorg/modules/libxaa.so"
98FILES_${PN}-module-libxf1bpp = "${libdir}/xorg/modules/libxf1bpp.so"
99FILES_${PN}-module-libxf4bpp = "${libdir}/xorg/modules/libxf4bpp.so"
100
101EXTRA_OECONF += "--with-fop=no \
102 --without-xmlto \
103 --with-pic \
104 --disable-static \
105 --disable-xinerama \
106 --disable-record \
107 --disable-dmx \
108 --disable-xnest \
109 --enable-xvfb \
110 --enable-composite \
111 --without-dtrace \
112 --with-int10=x86emu \
113 --sysconfdir=/etc/X11 \
114 --localstatedir=/var \
115 --with-xkb-output=/var/lib/xkb \
116 ac_cv_file__usr_share_sgml_X11_defs_ent=no \
117"
118
119PACKAGECONFIG ??= "udev ${@base_contains('DISTRO_FEATURES', 'opengl', 'dri dri2 glx', '', d)}"
120PACKAGECONFIG[udev] = "--enable-config-udev,--disable-config-udev,udev"
121PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,glproto virtual/mesa xf86driproto"
122PACKAGECONFIG[dri2] = "--enable-dri2,--disable-dri2,dri2proto"
123PACKAGECONFIG[glx] = "--enable-glx --enable-glx-tls,--disable-glx,glproto virtual/libgl virtual/libx11"
124
125do_install_append () {
126 # Its assumed base-files creates this for us
127 rmdir ${D}${localstatedir}/log/
128}
129
130# Add runtime provides for the ABI versions of the video and input subsystems,
131# so that drivers can depend on the relevant version.
132python populate_packages_prepend() {
133 import subprocess
134
135 # Set PKG_CONFIG_PATH so pkg-config looks at the .pc files that are going
136 # into the new package, not the staged ones.
137 newenv = dict(os.environ)
138 newenv["PKG_CONFIG_PATH"] = d.expand("${PKGD}${libdir}/pkgconfig/")
139
140 def get_abi(name):
141 abis = {
142 "video": "abi_videodrv",
143 "input": "abi_xinput"
144 }
145 p = subprocess.Popen(args="pkg-config --variable=%s xorg-server" % abis[name],
146 shell=True, env=newenv, stdout=subprocess.PIPE)
147 output = p.communicate()[0]
148 mlprefix = d.getVar('MLPREFIX', True) or ''
149 return "%sxorg-abi-%s-%s" % (mlprefix, name, output.split(".")[0])
150
151 pn = d.getVar("PN", True)
152 d.appendVar("RPROVIDES_" + pn, " " + get_abi("input"))
153 d.appendVar("RPROVIDES_" + pn, " " + get_abi("video"))
154}
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg/aarch64.patch b/meta/recipes-graphics/xorg-xserver/xserver-xorg/aarch64.patch
new file mode 100644
index 0000000000..045e24a281
--- /dev/null
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg/aarch64.patch
@@ -0,0 +1,35 @@
1Subject: Add AArch64 support to xserver-xorg
2Author: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
3
4lnx_video.c parts are not existing in 1.14 branch.
5
6Xserver was checked in AArch64 fastmodel (commercial one with graphics support).
7
8http://patchwork.freedesktop.org/patch/12785/
9
10Upstream-Status: Pending
11
12---
13 include/servermd.h | 7 +++++++
14 1 files changed, 7 insertions(+), 0 deletions(-)
15
16--- xorg-server-1.13.1.orig/include/servermd.h
17+++ xorg-server-1.13.1/include/servermd.h
18@@ -243,10 +243,17 @@ SOFTWARE.
19 #define BITMAP_BIT_ORDER LSBFirst
20 #define GLYPHPADBYTES 4
21 /* ???? */
22 #endif /* AMD64 */
23
24+#if defined(__aarch64__) || defined(aarch64) || defined(__aarch64)
25+#define IMAGE_BYTE_ORDER MSBFirst
26+#define BITMAP_BIT_ORDER MSBFirst
27+#define GLYPHPADBYTES 4
28+/* ???? */
29+#endif /* AArch64 */
30+
31 #if defined(SVR4) && (defined(__i386__) || defined(__i386) ) || \
32 defined(__alpha__) || defined(__alpha) || \
33 defined(__i386__) || \
34 defined(__s390x__) || defined(__s390__)
35
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg/crosscompile.patch b/meta/recipes-graphics/xorg-xserver/xserver-xorg/crosscompile.patch
new file mode 100644
index 0000000000..2f98bb8c89
--- /dev/null
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg/crosscompile.patch
@@ -0,0 +1,22 @@
1Upstream-Status: Inappropriate [configuration]
2
3diff --git a/configure.ac b/configure.ac
4index b3b752c..600500b 100644
5--- a/configure.ac
6+++ b/configure.ac
7@@ -523,13 +523,9 @@ dnl Uses --default-font-path if set, otherwise checks for /etc/X11/fontpath.d,
8 dnl otherwise uses standard subdirectories of FONTROOTDIR. When cross
9 dnl compiling, assume default font path uses standard FONTROOTDIR directories.
10 DEFAULT_FONT_PATH="${FONTMISCDIR}/,${FONTTTFDIR}/,${FONTOTFDIR}/,${FONTTYPE1DIR}/,${FONT100DPIDIR}/,${FONT75DPIDIR}/"
11-if test "$cross_compiling" != yes; then
12- AC_CHECK_FILE([${sysconfdir}/X11/fontpath.d],
13- [DEFAULT_FONT_PATH='catalogue:${sysconfdir}/X11/fontpath.d'],
14- [case $host_os in
15+ case $host_os in
16 darwin*) DEFAULT_FONT_PATH="${DEFAULT_FONT_PATH},/Library/Fonts,/System/Library/Fonts" ;;
17- esac])
18-fi
19+ esac
20 AC_ARG_WITH(default-font-path, AS_HELP_STRING([--with-default-font-path=PATH], [Comma separated list of font dirs]),
21 [ FONTPATH="$withval" ],
22 [ FONTPATH="${DEFAULT_FONT_PATH}" ])
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg/fix_open_max_preprocessor_error.patch b/meta/recipes-graphics/xorg-xserver/xserver-xorg/fix_open_max_preprocessor_error.patch
new file mode 100644
index 0000000000..2f629724c9
--- /dev/null
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg/fix_open_max_preprocessor_error.patch
@@ -0,0 +1,15 @@
1Upstream-Status: Pending
2
3Index: git/os/osdep.h
4===================================================================
5--- git.orig/os/osdep.h 2008-10-07 18:38:21.000000000 +0100
6+++ git/os/osdep.h 2008-10-07 18:39:36.000000000 +0100
7@@ -92,7 +92,7 @@
8 * like sysconf(_SC_OPEN_MAX) is not supported.
9 */
10
11-#if OPEN_MAX <= 256
12+#if 0
13 #define MAXSOCKS (OPEN_MAX - 1)
14 #else
15 #define MAXSOCKS 256
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg/macro_tweak.patch b/meta/recipes-graphics/xorg-xserver/xserver-xorg/macro_tweak.patch
new file mode 100644
index 0000000000..ec0eea6ca2
--- /dev/null
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg/macro_tweak.patch
@@ -0,0 +1,25 @@
1This is the revised version of files/macro_tweak.patch for
2xorg-server 1.8.99.904 and newer.
3
4Upstream-Status: Pending
5
6Signed-off-by: Yu Ke <ke.yu@intel.com>
7
8diff --git a/xorg-server.m4 b/xorg-server.m4
9index bdecf62..040fdb8 100644
10--- a/xorg-server.m4
11+++ b/xorg-server.m4
12@@ -28,10 +28,12 @@ dnl
13 # Checks for the $1 define in xorg-server.h (from the sdk). If it
14 # is defined, then add $1 to $REQUIRED_MODULES.
15
16+m4_pattern_allow(PKG_CONFIG_SYSROOT_DIR)
17+
18 AC_DEFUN([XORG_DRIVER_CHECK_EXT],[
19 AC_REQUIRE([PKG_PROG_PKG_CONFIG])
20 SAVE_CFLAGS="$CFLAGS"
21- CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
22+ CFLAGS="$CFLAGS -I$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=sdkdir xorg-server`"
23 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
24 #include "xorg-server.h"
25 #if !defined $1
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg/mips64-compiler.patch b/meta/recipes-graphics/xorg-xserver/xserver-xorg/mips64-compiler.patch
new file mode 100644
index 0000000000..168368e6c3
--- /dev/null
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg/mips64-compiler.patch
@@ -0,0 +1,29 @@
1on mips64/n64 pointers are 64bit therefore the pointer conversions to int dont work well
2so we end up with incompatible conversion errors
3
4This patch choses the right values for mips64
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7
8Upstream-Status: Pending
9Index: xorg-server-1.13.0/hw/xfree86/common/compiler.h
10===================================================================
11--- xorg-server-1.13.0-orig/hw/xfree86/common/compiler.h 2012-06-14 23:04:29.000000000 +0300
12+++ xorg-server-1.13.0/hw/xfree86/common/compiler.h 2012-11-08 10:06:50.865831783 +0200
13@@ -101,6 +101,7 @@
14 #if defined(NO_INLINE) || defined(DO_PROTOTYPES)
15 #if !defined(__arm__)
16 #if !defined(__sparc__) && !defined(__sparc) && !defined(__arm32__) && !defined(__nds32__) \
17+ && !defined(__mips64) \
18 && !(defined(__alpha__) && defined(linux)) \
19 && !(defined(__ia64__) && defined(linux)) \
20
21@@ -721,7 +722,7 @@
22 }
23
24 #elif defined(__mips__) || (defined(__arm32__) && !defined(__linux__))
25-#ifdef __arm32__
26+#if defined (__arm32__) || defined (__mips64)
27 #define PORT_SIZE long
28 #else
29 #define PORT_SIZE short
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg/xorg-CVE-2013-6424.patch b/meta/recipes-graphics/xorg-xserver/xserver-xorg/xorg-CVE-2013-6424.patch
new file mode 100644
index 0000000000..7c6153022f
--- /dev/null
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg/xorg-CVE-2013-6424.patch
@@ -0,0 +1,31 @@
1This patch comes from:
2http://lists.x.org/archives/xorg-devel/2013-October/037996.html
3
4Upstream-Status: Backport
5
6Signed-off-by: Baogen shang <baogen.shang@windriver.com>
7diff -Naur xorg-server-1.14.0-orig/exa/exa_render.c xorg-server-1.14.0/exa/exa_render.c
8--- xorg-server-1.14.0-orig/exa/exa_render.c 2014-02-27 14:32:38.000000000 +0800
9+++ xorg-server-1.14.0/exa/exa_render.c 2014-02-27 15:46:59.000000000 +0800
10@@ -1141,7 +1141,8 @@
11
12 exaPrepareAccess(pPicture->pDrawable, EXA_PREPARE_DEST);
13 for (; ntrap; ntrap--, traps++)
14- (*ps->RasterizeTrapezoid) (pPicture, traps, -bounds.x1, -bounds.y1);
15+ if (xTrapezoidValid(traps))
16+ (*ps->RasterizeTrapezoid) (pPicture, traps, -bounds.x1, -bounds.y1);
17 exaFinishAccess(pPicture->pDrawable, EXA_PREPARE_DEST);
18
19 xRel = bounds.x1 + xSrc - xDst;
20diff -Naur xorg-server-1.14.0-orig/render/picture.h xorg-server-1.14.0/render/picture.h
21--- xorg-server-1.14.0-orig/render/picture.h 2014-02-27 14:32:26.000000000 +0800
22+++ xorg-server-1.14.0/render/picture.h 2014-02-27 15:48:13.000000000 +0800
23@@ -211,7 +211,7 @@
24 /* whether 't' is a well defined not obviously empty trapezoid */
25 #define xTrapezoidValid(t) ((t)->left.p1.y != (t)->left.p2.y && \
26 (t)->right.p1.y != (t)->right.p2.y && \
27- (int) ((t)->bottom - (t)->top) > 0)
28+ ((t)->bottom > (t)->top))
29
30 /*
31 * Standard NTSC luminance conversions:
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.15.0.bb b/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.15.0.bb
new file mode 100644
index 0000000000..1f9fa04c8d
--- /dev/null
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.15.0.bb
@@ -0,0 +1,34 @@
1require xserver-xorg.inc
2
3# Misc build failure for master HEAD
4SRC_URI += "file://crosscompile.patch \
5 file://fix_open_max_preprocessor_error.patch \
6 file://mips64-compiler.patch \
7 file://aarch64.patch \
8 file://xorg-CVE-2013-6424.patch \
9 "
10
11SRC_URI[md5sum] = "c2ace3697b32414094cf8c597c39d7d9"
12SRC_URI[sha256sum] = "613b2f2e7ee2a06d2f8e862c836dc70d319c52f1537749e027398f40086aabb8"
13
14# These extensions are now integrated into the server, so declare the migration
15# path for in-place upgrades.
16
17RREPLACES_${PN} = "${PN}-extension-dri \
18 ${PN}-extension-dri2 \
19 ${PN}-extension-record \
20 ${PN}-extension-extmod \
21 ${PN}-extension-dbe \
22 "
23RPROVIDES_${PN} = "${PN}-extension-dri \
24 ${PN}-extension-dri2 \
25 ${PN}-extension-record \
26 ${PN}-extension-extmod \
27 ${PN}-extension-dbe \
28 "
29RCONFLICTS_${PN} = "${PN}-extension-dri \
30 ${PN}-extension-dri2 \
31 ${PN}-extension-record \
32 ${PN}-extension-extmod \
33 ${PN}-extension-dbe \
34 "