[arch-commits] Commit in caribou/repos/community-staging-x86_64 (6 files)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Dec 2 22:44:06 UTC 2021
Date: Thursday, December 2, 2021 @ 22:44:06
Author: felixonmars
Revision: 1062890
archrelease: copy trunk to community-staging-x86_64
Added:
caribou/repos/community-staging-x86_64/3.patch
(from rev 1062888, caribou/trunk/3.patch)
caribou/repos/community-staging-x86_64/PKGBUILD
(from rev 1062888, caribou/trunk/PKGBUILD)
caribou/repos/community-staging-x86_64/unicode_to_keyval-symbol-check.patch
(from rev 1062888, caribou/trunk/unicode_to_keyval-symbol-check.patch)
Deleted:
caribou/repos/community-staging-x86_64/3.patch
caribou/repos/community-staging-x86_64/PKGBUILD
caribou/repos/community-staging-x86_64/unicode_to_keyval-symbol-check.patch
--------------------------------------+
3.patch | 92 +++++++++++------------
PKGBUILD | 128 ++++++++++++++++-----------------
unicode_to_keyval-symbol-check.patch | 26 +++---
3 files changed, 123 insertions(+), 123 deletions(-)
Deleted: 3.patch
===================================================================
--- 3.patch 2021-12-02 22:44:04 UTC (rev 1062889)
+++ 3.patch 2021-12-02 22:44:06 UTC (rev 1062890)
@@ -1,46 +0,0 @@
-From d41c8e44b12222a290eaca16703406b113a630c6 Mon Sep 17 00:00:00 2001
-From: Michael Webster <miketwebster at gmail.com>
-Date: Tue, 12 Jan 2021 18:01:47 +0000
-Subject: [PATCH] xadapter.vala: Remove XkbKeyTypesMask and fields from
- XKbChangeMap call.
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-This was originally a workaround for xFree86 4.3 - see:
-https://bugzilla.gnome.org/show_bug.cgi?id=673547
-
-As of https://gitlab.freedesktop.org/xorg/xserver/-/commit/87c64fc5b0 this
-causes a BadLength error when attempting to use shifted characters.
-
-Ref:
-https://www.x.org/releases/X11R7.7/doc/libX11/XKB/xkblib.html#Changing_Map_Components_in_the_Server
----
- libcaribou/xadapter.vala | 9 ++-------
- 1 file changed, 2 insertions(+), 7 deletions(-)
-
-diff --git a/libcaribou/xadapter.vala b/libcaribou/xadapter.vala
-index 22858b7..1da5a78 100644
---- a/libcaribou/xadapter.vala
-+++ b/libcaribou/xadapter.vala
-@@ -195,15 +195,10 @@ namespace Caribou {
-
- Xkb.MapChanges changes = Xkb.MapChanges ();
-
-- // We don't touch key types here but include the
-- // information in XkbSetMap request to the server, because
-- // some X servers need the information to check the sanity
-- // of the keysyms change.
-- changes.changed = (ushort) (Xkb.KeySymsMask | Xkb.KeyTypesMask);
-+ changes.changed = (ushort) Xkb.KeySymsMask;
- changes.first_key_sym = (char) this.reserved_keycode;
- changes.num_key_syms = this.xkbdesc.map.key_sym_map[this.reserved_keycode].width;
-- changes.first_type = 0;
-- changes.num_types = this.xkbdesc.map.num_types;
-+
- Xkb.change_map (this.xdisplay, this.xkbdesc, changes);
-
- this.xdisplay.flush ();
---
-GitLab
-
Copied: caribou/repos/community-staging-x86_64/3.patch (from rev 1062888, caribou/trunk/3.patch)
===================================================================
--- 3.patch (rev 0)
+++ 3.patch 2021-12-02 22:44:06 UTC (rev 1062890)
@@ -0,0 +1,46 @@
+From d41c8e44b12222a290eaca16703406b113a630c6 Mon Sep 17 00:00:00 2001
+From: Michael Webster <miketwebster at gmail.com>
+Date: Tue, 12 Jan 2021 18:01:47 +0000
+Subject: [PATCH] xadapter.vala: Remove XkbKeyTypesMask and fields from
+ XKbChangeMap call.
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This was originally a workaround for xFree86 4.3 - see:
+https://bugzilla.gnome.org/show_bug.cgi?id=673547
+
+As of https://gitlab.freedesktop.org/xorg/xserver/-/commit/87c64fc5b0 this
+causes a BadLength error when attempting to use shifted characters.
+
+Ref:
+https://www.x.org/releases/X11R7.7/doc/libX11/XKB/xkblib.html#Changing_Map_Components_in_the_Server
+---
+ libcaribou/xadapter.vala | 9 ++-------
+ 1 file changed, 2 insertions(+), 7 deletions(-)
+
+diff --git a/libcaribou/xadapter.vala b/libcaribou/xadapter.vala
+index 22858b7..1da5a78 100644
+--- a/libcaribou/xadapter.vala
++++ b/libcaribou/xadapter.vala
+@@ -195,15 +195,10 @@ namespace Caribou {
+
+ Xkb.MapChanges changes = Xkb.MapChanges ();
+
+- // We don't touch key types here but include the
+- // information in XkbSetMap request to the server, because
+- // some X servers need the information to check the sanity
+- // of the keysyms change.
+- changes.changed = (ushort) (Xkb.KeySymsMask | Xkb.KeyTypesMask);
++ changes.changed = (ushort) Xkb.KeySymsMask;
+ changes.first_key_sym = (char) this.reserved_keycode;
+ changes.num_key_syms = this.xkbdesc.map.key_sym_map[this.reserved_keycode].width;
+- changes.first_type = 0;
+- changes.num_types = this.xkbdesc.map.num_types;
++
+ Xkb.change_map (this.xdisplay, this.xkbdesc, changes);
+
+ this.xdisplay.flush ();
+--
+GitLab
+
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-02 22:44:04 UTC (rev 1062889)
+++ PKGBUILD 2021-12-02 22:44:06 UTC (rev 1062890)
@@ -1,64 +0,0 @@
-# Contributor: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-# Contributor: Adam Hani Schakaki <krzd at krzd.net>
-
-pkgname=caribou
-pkgver=0.4.21+75+g8ad9883
-pkgrel=2
-pkgdesc="A text entry and UI navigation application (on-screen keyboard)"
-url="https://wiki.gnome.org/Projects/Caribou"
-arch=(x86_64)
-license=(LGPL)
-depends=(at-spi2-atk python-atspi python-gobject gtk3 libxklavier libgee clutter dconf)
-makedepends=(intltool docbook-xsl gtk2 gobject-introspection vala git gnome-common)
-options=(!emptydirs)
-_commit=8ad9883ace9b38905af9ff1dd1a8c19cdc560141 # master
-source=("git+https://gitlab.gnome.org/GNOME/caribou.git#commit=$_commit"
- 3.patch
- unicode_to_keyval-symbol-check.patch)
-sha256sums=('SKIP'
- 'c88b04a927e5a407503c007a78dafa7dcb71cf2002bbb3751d57cc21d090a2ed'
- '7b8969c275df30613531728408d75af1af22199b4fe3835d5ef67355f747799e')
-
-pkgver() {
- cd $pkgname
- git describe --long | sed -e 's/-/+/g' -e 's/^CARIBOU_//' -e 's/_/./g'
-}
-
-prepare() {
- cd $pkgname
-
- # https://bugs.archlinux.org/task/69338
- # https://gitlab.gnome.org/GNOME/caribou/-/merge_requests/3
- git apply -3 ../3.patch
-
- # https://gitlab.gnome.org/GNOME/caribou/-/issues/7
- git apply -3 ../unicode_to_keyval-symbol-check.patch
-
- NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
- cd $pkgname
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --libexecdir=/usr/lib \
- --disable-static \
- --disable-schemas-compile
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
-}
-
-check() {
- cd $pkgname
- make -k check
-}
-
-package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:
Copied: caribou/repos/community-staging-x86_64/PKGBUILD (from rev 1062888, caribou/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-02 22:44:06 UTC (rev 1062890)
@@ -0,0 +1,64 @@
+# Contributor: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Adam Hani Schakaki <krzd at krzd.net>
+
+pkgname=caribou
+pkgver=0.4.21+75+g8ad9883
+pkgrel=3
+pkgdesc="A text entry and UI navigation application (on-screen keyboard)"
+url="https://wiki.gnome.org/Projects/Caribou"
+arch=(x86_64)
+license=(LGPL)
+depends=(at-spi2-atk python-atspi python-gobject gtk3 libxklavier libgee clutter dconf)
+makedepends=(intltool docbook-xsl gtk2 gobject-introspection vala git gnome-common)
+options=(!emptydirs)
+_commit=8ad9883ace9b38905af9ff1dd1a8c19cdc560141 # master
+source=("git+https://gitlab.gnome.org/GNOME/caribou.git#commit=$_commit"
+ 3.patch
+ unicode_to_keyval-symbol-check.patch)
+sha256sums=('SKIP'
+ 'c88b04a927e5a407503c007a78dafa7dcb71cf2002bbb3751d57cc21d090a2ed'
+ '7b8969c275df30613531728408d75af1af22199b4fe3835d5ef67355f747799e')
+
+pkgver() {
+ cd $pkgname
+ git describe --long | sed -e 's/-/+/g' -e 's/^CARIBOU_//' -e 's/_/./g'
+}
+
+prepare() {
+ cd $pkgname
+
+ # https://bugs.archlinux.org/task/69338
+ # https://gitlab.gnome.org/GNOME/caribou/-/merge_requests/3
+ git apply -3 ../3.patch
+
+ # https://gitlab.gnome.org/GNOME/caribou/-/issues/7
+ git apply -3 ../unicode_to_keyval-symbol-check.patch
+
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd $pkgname
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib \
+ --disable-static \
+ --disable-schemas-compile
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+check() {
+ cd $pkgname
+ make -k check
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: unicode_to_keyval-symbol-check.patch
===================================================================
--- unicode_to_keyval-symbol-check.patch 2021-12-02 22:44:04 UTC (rev 1062889)
+++ unicode_to_keyval-symbol-check.patch 2021-12-02 22:44:06 UTC (rev 1062890)
@@ -1,13 +0,0 @@
-diff --git a/libcaribou/key-model.vala b/libcaribou/key-model.vala
-index 89015bc..e88342e 100644
---- a/libcaribou/key-model.vala
-+++ b/libcaribou/key-model.vala
-@@ -101,7 +101,7 @@ namespace Caribou {
- unichar uc;
- while (text.get_next_char (ref index, out uc)) {
- uint keyval = Gdk.unicode_to_keyval (uc);
-- if (keyval != uc | 0x01000000)
-+ if (keyval != (uc | 0x01000000))
- _keyvals += keyval;
- }
- } else {
Copied: caribou/repos/community-staging-x86_64/unicode_to_keyval-symbol-check.patch (from rev 1062888, caribou/trunk/unicode_to_keyval-symbol-check.patch)
===================================================================
--- unicode_to_keyval-symbol-check.patch (rev 0)
+++ unicode_to_keyval-symbol-check.patch 2021-12-02 22:44:06 UTC (rev 1062890)
@@ -0,0 +1,13 @@
+diff --git a/libcaribou/key-model.vala b/libcaribou/key-model.vala
+index 89015bc..e88342e 100644
+--- a/libcaribou/key-model.vala
++++ b/libcaribou/key-model.vala
+@@ -101,7 +101,7 @@ namespace Caribou {
+ unichar uc;
+ while (text.get_next_char (ref index, out uc)) {
+ uint keyval = Gdk.unicode_to_keyval (uc);
+- if (keyval != uc | 0x01000000)
++ if (keyval != (uc | 0x01000000))
+ _keyvals += keyval;
+ }
+ } else {
More information about the arch-commits
mailing list