From: "Alexander Kanavin" <alex.kanavin@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Subject: [PATCH 30/37] xev: update 1.2.3 -> 1.2.4
Date: Sun, 23 Aug 2020 22:20:24 +0200 [thread overview]
Message-ID: <20200823202031.24686-30-alex.kanavin@gmail.com> (raw)
In-Reply-To: <20200823202031.24686-1-alex.kanavin@gmail.com>
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
.../xorg-app/xev/diet-x11.patch | 35 +++++++++++--------
.../xorg-app/{xev_1.2.3.bb => xev_1.2.4.bb} | 3 +-
2 files changed, 21 insertions(+), 17 deletions(-)
rename meta/recipes-graphics/xorg-app/{xev_1.2.3.bb => xev_1.2.4.bb} (77%)
diff --git a/meta/recipes-graphics/xorg-app/xev/diet-x11.patch b/meta/recipes-graphics/xorg-app/xev/diet-x11.patch
index 53c0ac2e61..361369b291 100644
--- a/meta/recipes-graphics/xorg-app/xev/diet-x11.patch
+++ b/meta/recipes-graphics/xorg-app/xev/diet-x11.patch
@@ -1,14 +1,19 @@
+From b9b2b8d1af283a13cdccea55562cf332de48dcb9 Mon Sep 17 00:00:00 2001
+From: Ross Burton <ross@openedhand.com>
+Date: Wed, 28 Mar 2007 16:10:50 +0000
+Subject: [PATCH] Add xev
+
Upstream-Status: Inappropriate [disable feature]
---
- xev.c | 16 ++++++++--------
- 1 file changed, 8 insertions(+), 8 deletions(-)
+ xev.c | 64 +----------------------------------------------------------
+ 1 file changed, 1 insertion(+), 63 deletions(-)
-Index: xev-1.2.3/xev.c
-===================================================================
---- xev-1.2.3.orig/xev.c
-+++ xev-1.2.3/xev.c
-@@ -125,17 +125,6 @@ do_KeyPress(XEvent *eventp)
+diff --git a/xev.c b/xev.c
+index ea69234..6d5eb30 100644
+--- a/xev.c
++++ b/xev.c
+@@ -175,17 +175,6 @@ do_KeyPress(XEvent *eventp)
nbytes = XLookupString(e, str, 256, &ks, NULL);
/* not supposed to call XmbLookupString on a key release event */
@@ -26,24 +31,24 @@ Index: xev-1.2.3/xev.c
if (ks == NoSymbol)
ksname = "NoSymbol";
-@@ -168,16 +157,6 @@ do_KeyPress(XEvent *eventp)
+@@ -220,16 +209,6 @@ do_KeyPress(XEvent *eventp)
}
/* not supposed to call XmbLookupString on a key release event */
- if (e->type == KeyPress && xic) {
-- printf(" XmbLookupString gives %d bytes: ", nmbbytes);
+- output(Indent, "XmbLookupString gives %d bytes: ", nmbbytes);
- if (nmbbytes > 0) {
- dump(buf, nmbbytes);
-- printf(" \"%s\"\n", buf);
+- output(NewLine, " \"%s\"", buf);
- }
- else {
-- printf("\n");
+- output_new_line();
- }
- }
- printf(" XFilterEvent returns: %s\n",
+ output(Indent | NewLine, "XFilterEvent returns: %s",
XFilterEvent(eventp, e->window) ? "True" : "False");
-@@ -1141,7 +1120,7 @@ parse_event_mask(const char *s, long eve
+@@ -1211,7 +1190,7 @@ parse_event_mask(const char *s, long event_masks[])
if (s)
return True;
}
@@ -52,7 +57,7 @@ Index: xev-1.2.3/xev.c
if (s != NULL)
fprintf(stderr, "%s: unrecognized event mask '%s'\n", ProgramName, s);
-@@ -1288,37 +1267,6 @@ main(int argc, char **argv)
+@@ -1361,37 +1340,6 @@ main(int argc, char **argv)
fprintf(stderr, "%s: XSetLocaleModifiers failed\n", ProgramName);
}
@@ -90,7 +95,7 @@ Index: xev-1.2.3/xev.c
screen = DefaultScreen(dpy);
attr.event_mask = event_masks[EVENT_MASK_INDEX_CORE];
-@@ -1373,16 +1321,6 @@ main(int argc, char **argv)
+@@ -1446,16 +1394,6 @@ main(int argc, char **argv)
printf("Outer window is 0x%lx, inner window is 0x%lx\n", w, subw);
}
diff --git a/meta/recipes-graphics/xorg-app/xev_1.2.3.bb b/meta/recipes-graphics/xorg-app/xev_1.2.4.bb
similarity index 77%
rename from meta/recipes-graphics/xorg-app/xev_1.2.3.bb
rename to meta/recipes-graphics/xorg-app/xev_1.2.4.bb
index 6a69e747a6..9407fa65f1 100644
--- a/meta/recipes-graphics/xorg-app/xev_1.2.3.bb
+++ b/meta/recipes-graphics/xorg-app/xev_1.2.4.bb
@@ -14,5 +14,4 @@ DEPENDS += "libxrandr xorgproto"
SRC_URI += "file://diet-x11.patch"
-SRC_URI[md5sum] = "eec82a5d4b599736f0fa637e96136746"
-SRC_URI[sha256sum] = "66bc4f1cfa1946d62612737815c34164e4ce40fcebd2c9e1d7e7a1117ad3ad09"
+SRC_URI[sha256sum] = "d700e08bfe751ed2dbf802baa204b056d0e49348b6eb3c6f9cb035d8ae4885e2"
--
2.28.0
next prev parent reply other threads:[~2020-08-23 20:21 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-23 20:19 [PATCH 01/37] bison: upgrade 3.6.4 -> 3.7.1 Alexander Kanavin
2020-08-23 20:19 ` [PATCH 02/37] util-linux: upgrade 2.35.2 -> 2.36 Alexander Kanavin
2020-08-23 20:19 ` [PATCH 03/37] python3-numpy: upgrade 1.19.0 -> 1.19.1 Alexander Kanavin
2020-08-23 20:19 ` [PATCH 04/37] python3-setuptools: upgrade 49.3.1 -> 49.6.0 Alexander Kanavin
2020-08-23 20:19 ` [PATCH 05/37] rsync: upgrade 3.2.2 -> 3.2.3 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 06/37] util-linux: merge .inc into .bb Alexander Kanavin
2020-08-23 20:20 ` [PATCH 07/37] acpica: upgrade 20200528 -> 20200717 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 08/37] asciidoc: upgrade 9.0.1 -> 9.0.2 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 09/37] cryptodev: upgrade 1.10 -> 1.11 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 10/37] diffoscope: upgrade 153 -> 156 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 11/37] epiphany: upgrade 3.36.3 -> 3.36.4 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 12/37] font-alias: upgrade 1.0.3 -> 1.0.4 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 13/37] gtk+3: upgrade 3.24.21 -> 3.24.22 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 14/37] libcheck: upgrade 0.15.0 -> 0.15.2 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 15/37] libinput: upgrade 1.16.0 -> 1.16.1 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 16/37] libpipeline: upgrade 1.5.2 -> 1.5.3 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 17/37] libx11: upgrade 1.6.9 -> 1.6.11 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 18/37] linux-firmware: upgrade 20200619 -> 20200721 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 19/37] man-pages: upgrade 5.07 -> 5.08 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 20/37] mc: upgrade 4.8.24 -> 4.8.25 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 21/37] mesa: upgrade 20.1.4 -> 20.1.5 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 22/37] piglit: upgrade to latest revision Alexander Kanavin
2020-08-23 20:20 ` [PATCH 23/37] re2c: upgrade 2.0 -> 2.0.2 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 24/37] sysstat: upgrade 12.2.2 -> 12.4.0 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 25/37] vala: upgrade 0.48.7 -> 0.48.9 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 26/37] bootchart2: update 0.14.8 -> 0.14.9 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 27/37] harfbuzz: convert to meson, enable gobject introspection Alexander Kanavin
2020-08-23 20:20 ` [PATCH 28/37] pango: update 1.44.7 -> 1.46.0 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 29/37] boost: update 1.73.0 -> 1.74.0 Alexander Kanavin
2020-08-23 20:20 ` Alexander Kanavin [this message]
2020-08-23 20:20 ` [PATCH 31/37] wpebackend-fdo: update 1.6.1 -> 1.7.1 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 32/37] gpgme: update 1.13.1 -> 1.14.0 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 33/37] libpsl: update 0.21.0 -> 0.21.1 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 34/37] gettext: update 0.20.2 -> 0.21 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 35/37] cmake: update 3.17.3 -> 3.18.1 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 36/37] linux-firmware: update 20200721 -> 20200817 Alexander Kanavin
2020-08-23 20:20 ` [PATCH 37/37] meson: update 0.55.0 -> 0.55.1 Alexander Kanavin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200823202031.24686-30-alex.kanavin@gmail.com \
--to=alex.kanavin@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox