diff options
author | Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> | 2019-12-22 21:02:18 +0000 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2019-12-22 20:15:05 -0300 |
commit | 1c34e195e71efad767019963db3dde9541225760 (patch) | |
tree | d9a90c621a108029a6af43be0e91d43b2b8235d9 /recipes-graphics | |
parent | b27ca9436f89cf5a7382f5d983e743682d74732e (diff) | |
download | meta-freescale-1c34e195e71efad767019963db3dde9541225760.tar.gz |
weston: refresh patch files to resolve hunks
Refresh patches in this layer so they could be cleanly applied, this has
been done via devtool.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Diffstat (limited to 'recipes-graphics')
3 files changed, 28 insertions, 27 deletions
diff --git a/recipes-graphics/wayland/weston/0001-make-error-portable.patch b/recipes-graphics/wayland/weston/0001-make-error-portable.patch index c15e6928..4132d871 100644 --- a/recipes-graphics/wayland/weston/0001-make-error-portable.patch +++ b/recipes-graphics/wayland/weston/0001-make-error-portable.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 6ef33e86557c59b31c9b731c0360ec1d404cc801 Mon Sep 17 00:00:00 2001 | 1 | From 74469d3a5965560a83f1d51c50d3cd1fa4e96fe6 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 29 May 2015 20:56:00 -0700 | 3 | Date: Fri, 29 May 2015 20:56:00 -0700 |
4 | Subject: [PATCH] make error() portable | 4 | Subject: [PATCH] make error() portable |
@@ -18,12 +18,12 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
18 | create mode 100644 libweston/weston-error.h | 18 | create mode 100644 libweston/weston-error.h |
19 | 19 | ||
20 | diff --git a/configure.ac b/configure.ac | 20 | diff --git a/configure.ac b/configure.ac |
21 | index 9d98e84..8f6b80d 100644 | 21 | index cdd0a87f..2396cba5 100644 |
22 | --- a/configure.ac | 22 | --- a/configure.ac |
23 | +++ b/configure.ac | 23 | +++ b/configure.ac |
24 | @@ -109,6 +109,8 @@ AC_CHECK_DECL(CLOCK_MONOTONIC,[], | 24 | @@ -126,6 +126,8 @@ AC_CHECK_DECL(CLOCK_MONOTONIC,[], |
25 | [AC_MSG_ERROR("CLOCK_MONOTONIC is needed to compile weston")], | ||
25 | [[#include <time.h>]]) | 26 | [[#include <time.h>]]) |
26 | AC_CHECK_HEADERS([execinfo.h]) | ||
27 | 27 | ||
28 | +AC_CHECK_HEADERS([error.h]) | 28 | +AC_CHECK_HEADERS([error.h]) |
29 | + | 29 | + |
@@ -32,7 +32,7 @@ index 9d98e84..8f6b80d 100644 | |||
32 | # check for libdrm as a build-time dependency only | 32 | # check for libdrm as a build-time dependency only |
33 | diff --git a/libweston/weston-error.h b/libweston/weston-error.h | 33 | diff --git a/libweston/weston-error.h b/libweston/weston-error.h |
34 | new file mode 100644 | 34 | new file mode 100644 |
35 | index 0000000..2089d02 | 35 | index 00000000..2089d02c |
36 | --- /dev/null | 36 | --- /dev/null |
37 | +++ b/libweston/weston-error.h | 37 | +++ b/libweston/weston-error.h |
38 | @@ -0,0 +1,20 @@ | 38 | @@ -0,0 +1,20 @@ |
@@ -57,7 +57,7 @@ index 0000000..2089d02 | |||
57 | +#endif | 57 | +#endif |
58 | + | 58 | + |
59 | diff --git a/libweston/weston-launch.c b/libweston/weston-launch.c | 59 | diff --git a/libweston/weston-launch.c b/libweston/weston-launch.c |
60 | index bf73e0d..9064439 100644 | 60 | index dff83cca..bd0015e6 100644 |
61 | --- a/libweston/weston-launch.c | 61 | --- a/libweston/weston-launch.c |
62 | +++ b/libweston/weston-launch.c | 62 | +++ b/libweston/weston-launch.c |
63 | @@ -33,7 +33,6 @@ | 63 | @@ -33,7 +33,6 @@ |
diff --git a/recipes-graphics/wayland/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch b/recipes-graphics/wayland/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch index 3e4e772b..70f9fbd2 100644 --- a/recipes-graphics/wayland/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch +++ b/recipes-graphics/wayland/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch | |||
@@ -1,7 +1,8 @@ | |||
1 | From d5fb8567868866665502106def90017243a968a8 Mon Sep 17 00:00:00 2001 | 1 | From 124cdabedd4aa0836480942537f6eea67347e80e Mon Sep 17 00:00:00 2001 |
2 | From: Tom Hochstein <tom.hochstein@nxp.com> | 2 | From: Tom Hochstein <tom.hochstein@nxp.com> |
3 | Date: Wed, 22 Feb 2017 15:53:30 +0200 | 3 | Date: Wed, 22 Feb 2017 15:53:30 +0200 |
4 | Subject: [PATCH] weston-launch: Provide a default version that doesn't require PAM | 4 | Subject: [PATCH] weston-launch: Provide a default version that doesn't require |
5 | PAM | ||
5 | 6 | ||
6 | weston-launch requires PAM for starting weston as a non-root user. | 7 | weston-launch requires PAM for starting weston as a non-root user. |
7 | 8 | ||
@@ -21,10 +22,10 @@ Signed-off-by: Denys Dmytriyenko <denys@ti.com> | |||
21 | 2 files changed, 27 insertions(+), 2 deletions(-) | 22 | 2 files changed, 27 insertions(+), 2 deletions(-) |
22 | 23 | ||
23 | diff --git a/configure.ac b/configure.ac | 24 | diff --git a/configure.ac b/configure.ac |
24 | index 8f6b80d..603fcb3 100644 | 25 | index 2396cba5..1f1242bb 100644 |
25 | --- a/configure.ac | 26 | --- a/configure.ac |
26 | +++ b/configure.ac | 27 | +++ b/configure.ac |
27 | @@ -494,13 +494,17 @@ AC_ARG_ENABLE(resize-optimization, | 28 | @@ -539,13 +539,17 @@ AC_ARG_ENABLE(resize-optimization, |
28 | AS_IF([test "x$enable_resize_optimization" = "xyes"], | 29 | AS_IF([test "x$enable_resize_optimization" = "xyes"], |
29 | [AC_DEFINE([USE_RESIZE_POOL], [1], [Use resize memory pool as a performance optimization])]) | 30 | [AC_DEFINE([USE_RESIZE_POOL], [1], [Use resize memory pool as a performance optimization])]) |
30 | 31 | ||
@@ -44,7 +45,7 @@ index 8f6b80d..603fcb3 100644 | |||
44 | fi | 45 | fi |
45 | 46 | ||
46 | AM_CONDITIONAL(HAVE_PANGO, test "x$have_pango" = "xyes") | 47 | AM_CONDITIONAL(HAVE_PANGO, test "x$have_pango" = "xyes") |
47 | @@ -748,6 +752,7 @@ AC_MSG_RESULT([ | 48 | @@ -794,6 +798,7 @@ AC_MSG_RESULT([ |
48 | Enable developer documentation ${enable_devdocs} | 49 | Enable developer documentation ${enable_devdocs} |
49 | 50 | ||
50 | weston-launch utility ${enable_weston_launch} | 51 | weston-launch utility ${enable_weston_launch} |
@@ -53,7 +54,7 @@ index 8f6b80d..603fcb3 100644 | |||
53 | systemd notify support ${enable_systemd_notify} | 54 | systemd notify support ${enable_systemd_notify} |
54 | 55 | ||
55 | diff --git a/libweston/weston-launch.c b/libweston/weston-launch.c | 56 | diff --git a/libweston/weston-launch.c b/libweston/weston-launch.c |
56 | index 9064439..c6abe92 100644 | 57 | index bd0015e6..706b80fd 100644 |
57 | --- a/libweston/weston-launch.c | 58 | --- a/libweston/weston-launch.c |
58 | +++ b/libweston/weston-launch.c | 59 | +++ b/libweston/weston-launch.c |
59 | @@ -51,7 +51,9 @@ | 60 | @@ -51,7 +51,9 @@ |
@@ -77,7 +78,7 @@ index 9064439..c6abe92 100644 | |||
77 | int tty; | 78 | int tty; |
78 | int ttynr; | 79 | int ttynr; |
79 | int sock[2]; | 80 | int sock[2]; |
80 | @@ -191,6 +195,7 @@ weston_launch_allowed(struct weston_launch *wl) | 81 | @@ -193,6 +197,7 @@ weston_launch_allowed(struct weston_launch *wl) |
81 | return false; | 82 | return false; |
82 | } | 83 | } |
83 | 84 | ||
@@ -85,7 +86,7 @@ index 9064439..c6abe92 100644 | |||
85 | static int | 86 | static int |
86 | pam_conversation_fn(int msg_count, | 87 | pam_conversation_fn(int msg_count, |
87 | const struct pam_message **messages, | 88 | const struct pam_message **messages, |
88 | @@ -231,6 +236,7 @@ setup_pam(struct weston_launch *wl) | 89 | @@ -233,6 +238,7 @@ setup_pam(struct weston_launch *wl) |
89 | 90 | ||
90 | return 0; | 91 | return 0; |
91 | } | 92 | } |
@@ -93,7 +94,7 @@ index 9064439..c6abe92 100644 | |||
93 | 94 | ||
94 | static int | 95 | static int |
95 | setup_launcher_socket(struct weston_launch *wl) | 96 | setup_launcher_socket(struct weston_launch *wl) |
96 | @@ -424,6 +430,7 @@ quit(struct weston_launch *wl, int status) | 97 | @@ -426,6 +432,7 @@ quit(struct weston_launch *wl, int status) |
97 | close(wl->signalfd); | 98 | close(wl->signalfd); |
98 | close(wl->sock[0]); | 99 | close(wl->sock[0]); |
99 | 100 | ||
@@ -101,7 +102,7 @@ index 9064439..c6abe92 100644 | |||
101 | if (wl->new_user) { | 102 | if (wl->new_user) { |
102 | err = pam_close_session(wl->ph, 0); | 103 | err = pam_close_session(wl->ph, 0); |
103 | if (err) | 104 | if (err) |
104 | @@ -431,6 +438,7 @@ quit(struct weston_launch *wl, int status) | 105 | @@ -433,6 +440,7 @@ quit(struct weston_launch *wl, int status) |
105 | err, pam_strerror(wl->ph, err)); | 106 | err, pam_strerror(wl->ph, err)); |
106 | pam_end(wl->ph, err); | 107 | pam_end(wl->ph, err); |
107 | } | 108 | } |
@@ -109,7 +110,7 @@ index 9064439..c6abe92 100644 | |||
109 | 110 | ||
110 | if (ioctl(wl->tty, KDSKBMUTE, 0) && | 111 | if (ioctl(wl->tty, KDSKBMUTE, 0) && |
111 | ioctl(wl->tty, KDSKBMODE, wl->kb_mode)) | 112 | ioctl(wl->tty, KDSKBMODE, wl->kb_mode)) |
112 | @@ -610,6 +618,7 @@ setup_session(struct weston_launch *wl, char **child_argv) | 113 | @@ -614,6 +622,7 @@ setup_session(struct weston_launch *wl, char **child_argv) |
113 | setenv("HOME", wl->pw->pw_dir, 1); | 114 | setenv("HOME", wl->pw->pw_dir, 1); |
114 | setenv("SHELL", wl->pw->pw_shell, 1); | 115 | setenv("SHELL", wl->pw->pw_shell, 1); |
115 | 116 | ||
@@ -117,7 +118,7 @@ index 9064439..c6abe92 100644 | |||
117 | env = pam_getenvlist(wl->ph); | 118 | env = pam_getenvlist(wl->ph); |
118 | if (env) { | 119 | if (env) { |
119 | for (i = 0; env[i]; ++i) { | 120 | for (i = 0; env[i]; ++i) { |
120 | @@ -618,6 +627,7 @@ setup_session(struct weston_launch *wl, char **child_argv) | 121 | @@ -622,6 +631,7 @@ setup_session(struct weston_launch *wl, char **child_argv) |
121 | } | 122 | } |
122 | free(env); | 123 | free(env); |
123 | } | 124 | } |
@@ -125,7 +126,7 @@ index 9064439..c6abe92 100644 | |||
125 | 126 | ||
126 | /* | 127 | /* |
127 | * We open a new session, so it makes sense | 128 | * We open a new session, so it makes sense |
128 | @@ -685,8 +695,10 @@ static void | 129 | @@ -689,8 +699,10 @@ static void |
129 | help(const char *name) | 130 | help(const char *name) |
130 | { | 131 | { |
131 | fprintf(stderr, "Usage: %s [args...] [-- [weston args..]]\n", name); | 132 | fprintf(stderr, "Usage: %s [args...] [-- [weston args..]]\n", name); |
@@ -136,7 +137,7 @@ index 9064439..c6abe92 100644 | |||
136 | fprintf(stderr, " -t, --tty Start session on alternative tty,\n" | 137 | fprintf(stderr, " -t, --tty Start session on alternative tty,\n" |
137 | " e.g. -t /dev/tty4, requires -u option.\n"); | 138 | " e.g. -t /dev/tty4, requires -u option.\n"); |
138 | fprintf(stderr, " -v, --verbose Be verbose\n"); | 139 | fprintf(stderr, " -v, --verbose Be verbose\n"); |
139 | @@ -700,7 +712,9 @@ main(int argc, char *argv[]) | 140 | @@ -704,7 +716,9 @@ main(int argc, char *argv[]) |
140 | int i, c; | 141 | int i, c; |
141 | char *tty = NULL; | 142 | char *tty = NULL; |
142 | struct option opts[] = { | 143 | struct option opts[] = { |
@@ -146,7 +147,7 @@ index 9064439..c6abe92 100644 | |||
146 | { "tty", required_argument, NULL, 't' }, | 147 | { "tty", required_argument, NULL, 't' }, |
147 | { "verbose", no_argument, NULL, 'v' }, | 148 | { "verbose", no_argument, NULL, 'v' }, |
148 | { "help", no_argument, NULL, 'h' }, | 149 | { "help", no_argument, NULL, 'h' }, |
149 | @@ -712,9 +726,13 @@ main(int argc, char *argv[]) | 150 | @@ -716,9 +730,13 @@ main(int argc, char *argv[]) |
150 | while ((c = getopt_long(argc, argv, "u:t:vh", opts, &i)) != -1) { | 151 | while ((c = getopt_long(argc, argv, "u:t:vh", opts, &i)) != -1) { |
151 | switch (c) { | 152 | switch (c) { |
152 | case 'u': | 153 | case 'u': |
@@ -160,7 +161,7 @@ index 9064439..c6abe92 100644 | |||
160 | break; | 161 | break; |
161 | case 't': | 162 | case 't': |
162 | tty = optarg; | 163 | tty = optarg; |
163 | @@ -755,8 +773,10 @@ main(int argc, char *argv[]) | 164 | @@ -759,8 +777,10 @@ main(int argc, char *argv[]) |
164 | if (setup_tty(&wl, tty) < 0) | 165 | if (setup_tty(&wl, tty) < 0) |
165 | exit(EXIT_FAILURE); | 166 | exit(EXIT_FAILURE); |
166 | 167 | ||
diff --git a/recipes-graphics/wayland/weston/0003-weston-touch-calibrator-Advertise-the-touchscreen-ca.patch b/recipes-graphics/wayland/weston/0003-weston-touch-calibrator-Advertise-the-touchscreen-ca.patch index 7ea07ed6..46c6ec17 100644 --- a/recipes-graphics/wayland/weston/0003-weston-touch-calibrator-Advertise-the-touchscreen-ca.patch +++ b/recipes-graphics/wayland/weston/0003-weston-touch-calibrator-Advertise-the-touchscreen-ca.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 46843c8681ddafbea6f491b7af4de6529e93f5bd Mon Sep 17 00:00:00 2001 | 1 | From 1e848706739d3155e7cec07bf5af6ff4c3ff810c Mon Sep 17 00:00:00 2001 |
2 | From: Jun Zhu <junzhu@nxp.com> | 2 | From: Jun Zhu <junzhu@nxp.com> |
3 | Date: Sun, 30 Sep 2018 15:31:26 +0800 | 3 | Date: Sun, 30 Sep 2018 15:31:26 +0800 |
4 | Subject: [PATCH] weston-touch-calibrator: Advertise the touchscreen calibrator | 4 | Subject: [PATCH] weston-touch-calibrator: Advertise the touchscreen calibrator |
@@ -15,12 +15,12 @@ Signed-off-by: Jun Zhu <junzhu@nxp.com> | |||
15 | 1 file changed, 3 insertions(+) | 15 | 1 file changed, 3 insertions(+) |
16 | 16 | ||
17 | diff --git a/weston.ini.in b/weston.ini.in | 17 | diff --git a/weston.ini.in b/weston.ini.in |
18 | index 83dd56e..6e20e11 100644 | 18 | index aa8666e1..9e8bde4d 100644 |
19 | --- a/weston.ini.in | 19 | --- a/weston.ini.in |
20 | +++ b/weston.ini.in | 20 | +++ b/weston.ini.in |
21 | @@ -3,6 +3,9 @@ | 21 | @@ -8,6 +8,9 @@ idle-time=0 |
22 | idle-time=0 | 22 | #[shell] |
23 | #use-g2d=1 | 23 | #size=1920x1080 |
24 | 24 | ||
25 | +[libinput] | 25 | +[libinput] |
26 | +touchscreen_calibrator=true | 26 | +touchscreen_calibrator=true |