summaryrefslogtreecommitdiff
path: root/x11-misc/xbindkeys
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-02-17 01:16:38 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-02-17 01:16:38 +0000
commit53cba99042fa967e2a93da9f8db806fe2d035543 (patch)
tree9780d3b87dfc6bdebc6b7b7d15af1ecb813c6853 /x11-misc/xbindkeys
parent71deace00d1a2b091313fe137ab7092418c6f87c (diff)
gentoo resync : 17.02.2020
Diffstat (limited to 'x11-misc/xbindkeys')
-rw-r--r--x11-misc/xbindkeys/Manifest2
-rw-r--r--x11-misc/xbindkeys/files/xbindkeys-apply-mask-on-release-event-status.patch28
-rw-r--r--x11-misc/xbindkeys/xbindkeys-1.8.6-r1.ebuild29
3 files changed, 59 insertions, 0 deletions
diff --git a/x11-misc/xbindkeys/Manifest b/x11-misc/xbindkeys/Manifest
index 4a5c136124d4..411b0b93ac13 100644
--- a/x11-misc/xbindkeys/Manifest
+++ b/x11-misc/xbindkeys/Manifest
@@ -1,3 +1,5 @@
+AUX xbindkeys-apply-mask-on-release-event-status.patch 986 BLAKE2B fb8cd2b05f2be572e558d36540d1c4dd9bda2d92620a48dde328edeb8bc568537b28e52f9afbede970c726f74f2ee196aea8979b8caf34a579e72b650b2995fc SHA512 6a0fa8fff688074a9c7e635d450412c4734944439f0603d38017c532a454ba971b78c05bae3bcd49f96f64d5238e6114770c66aaae5a10d9eaac08de9c31e95c
DIST xbindkeys-1.8.6.tar.gz 151941 BLAKE2B f5eafb8f3655cbfa1ae7d7c5ed0bcdac97d4105df8df7a0aeecc267e08fbae8297713fc14c3e36871493e23959b624d5a88ba45cbef715a79df7de1f0927152f SHA512 3c77541eae9f87d2020c2272984c221094276dae2a8690c5cec9fe1b23c0139229b8f56876170da70684aeaa128642349b6835c375d473186cbf8123517173ba
+EBUILD xbindkeys-1.8.6-r1.ebuild 702 BLAKE2B 3812e75321e826a9a00bc75de946f0210d36f1a76735f30698ad3e4ad3edca121f380641762dd438f6285224bb776a22a9c9894cdfa3aca8bb098679015173f5 SHA512 5118129d54e4543d1632a25695368ce45078ed079874b7cb5317eac0259b1706a4c62494f1ab0cba541f6042a5b9c6d37d949d1ddf4f54ae0e40a008568143e0
EBUILD xbindkeys-1.8.6.ebuild 627 BLAKE2B 1da223057085494638b9fd069f7a0d5ec3f7b9ed9a9e66448e90ef15461b87bcca668a83aed092762f9b8d922f76c886c55810004da4f491df1da4aeee8943c3 SHA512 7754808c9aaba270a8930c0cf3ba46d92153042bd7a215e8eaae2e31738a04002b47ec0e1502c4865ae172842c43bcb8acea3ee595131f7237791302c2bae984
MISC metadata.xml 276 BLAKE2B c4cbc92f4cc708c8a571df5735be5dc6d3b2b9d882265fbf398ca38a7c685a9da8d647e78d05a85edae0568f141b065edaa6ac6f6022106fabb8126740b1c60d SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab
diff --git a/x11-misc/xbindkeys/files/xbindkeys-apply-mask-on-release-event-status.patch b/x11-misc/xbindkeys/files/xbindkeys-apply-mask-on-release-event-status.patch
new file mode 100644
index 000000000000..427983e2d12b
--- /dev/null
+++ b/x11-misc/xbindkeys/files/xbindkeys-apply-mask-on-release-event-status.patch
@@ -0,0 +1,28 @@
+commit ceb7093f8d77cf5952e8e7778db02a6f3e8d8872
+Author: Alberto <address@hidden>
+Date: Mon Feb 10 09:21:57 2014 +0200
+
+ fix keyboard layout problems
+
+diff --git a/xbindkeys.c b/xbindkeys.c
+index b0adef9..162e47e 100644
+--- a/xbindkeys.c
++++ b/xbindkeys.c
+@@ -377,7 +377,7 @@ event_loop (Display * d)
+ printf ("e.xbutton.state=%d\n", e.xbutton.state);
+ }
+
+- e.xbutton.state &= ~(numlock_mask | capslock_mask | scrolllock_mask
++ e.xbutton.state &= 0x1FFF && ~(numlock_mask | capslock_mask | scrolllock_mask
+ | Button1Mask | Button2Mask | Button3Mask
+ | Button4Mask | Button5Mask);
+
+@@ -409,7 +409,7 @@ event_loop (Display * d)
+ printf ("e.xbutton.state=%d\n", e.xbutton.state);
+ }
+
+- e.xbutton.state &= ~(numlock_mask | capslock_mask | scrolllock_mask
++ e.xbutton.state &= 0x1FFF && ~(numlock_mask | capslock_mask | scrolllock_mask
+ | Button1Mask | Button2Mask | Button3Mask
+ | Button4Mask | Button5Mask);
+
diff --git a/x11-misc/xbindkeys/xbindkeys-1.8.6-r1.ebuild b/x11-misc/xbindkeys/xbindkeys-1.8.6-r1.ebuild
new file mode 100644
index 000000000000..14de366f5dcc
--- /dev/null
+++ b/x11-misc/xbindkeys/xbindkeys-1.8.6-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+DESCRIPTION="Tool for launching commands on keystrokes"
+SRC_URI="http://www.nongnu.org/${PN}/${P}.tar.gz"
+HOMEPAGE="http://www.nongnu.org/xbindkeys/xbindkeys.html"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
+IUSE="guile tk"
+
+RDEPEND="x11-libs/libX11
+ guile? ( >=dev-scheme/guile-1.8.4[deprecated] )
+ tk? ( dev-lang/tk )"
+DEPEND="${RDEPEND}
+ x11-base/xorg-proto"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-apply-mask-on-release-event-status.patch"
+)
+
+src_configure() {
+ econf \
+ $(use_enable tk) \
+ $(use_enable guile)
+}