summaryrefslogtreecommitdiff
path: root/x11-misc/xvkbd
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/xvkbd')
-rw-r--r--x11-misc/xvkbd/Manifest6
-rw-r--r--x11-misc/xvkbd/files/xvkbd-3.6-last_altgr_mask.patch11
-rw-r--r--x11-misc/xvkbd/metadata.xml8
-rw-r--r--x11-misc/xvkbd/xvkbd-3.7.ebuild61
4 files changed, 86 insertions, 0 deletions
diff --git a/x11-misc/xvkbd/Manifest b/x11-misc/xvkbd/Manifest
new file mode 100644
index 000000000000..15341bd8c0bd
--- /dev/null
+++ b/x11-misc/xvkbd/Manifest
@@ -0,0 +1,6 @@
+AUX xvkbd-3.6-last_altgr_mask.patch 202 SHA256 ded1f8b44e06a6e266ba5768e52e3da9bfcad41da0cf3dc35f884eaa534e7f6f SHA512 d3d58b1ba3a7dc71a0240ba3240fd06cc1719ac35ab8f1b119f7d79823fddcdbe1605a457722ec75d4b74804f0a68ec221c5ec3d6c15bd2c4130ce96c01f771e WHIRLPOOL 971bc2973b479d8087523bbb66ca9b48c88eeee451954280edf16097a49ae9b19ec4204c590f6a9349bde73c55e67db290b1146e4e38c6fc3ec445c6e22fa001
+DIST xvkbd-3.7.tar.gz 81645 SHA256 895f768269820e7c0379b0daac3687bda0c670d192ebb7e61e5613a5939ec90b SHA512 19ac5e78c34889d80571bb9feea65582fa413cdce0ba2f949840a08e70c900d720ca789d90d1118aa9667d32183b0f1edb33b7b0029ef5abb1d6faf058134385 WHIRLPOOL fccc9945e374098b4833ffd37a33f1745dc46782050c73a1a184daf463dfb23709d3d84385a2d80db215473ba3af4cbffcf02d1715e6c441a34213e6e7982dd6
+EBUILD xvkbd-3.7.ebuild 1113 SHA256 7933d70d6de78bd9e815cdebebe3c33e2c38fdaa1dda173f9bf97250b87141bc SHA512 e6043572ede687bb3b6be6423f92f4dfef0915193154b7210b4cb514baddef28453cf6cd3a761b4f51a32e7f1ba295f69c97f3da510790e6b577d470497db36b WHIRLPOOL f25229749ae73f7eba7e764841731c2d27fa12af9b401645cd36efe19ec166890babd7377b378cfe80a81ac74d82268cd734a50ad4a588da245c9686f75bf3bd
+MISC ChangeLog 3378 SHA256 7144e28f029a38f10de72e77f00b6975f165220d355872c46ecdc046ee224be2 SHA512 aeda772f046889ecffbf3284398ad35c54f375e3cc609e7a842e0021922ec6da1312f3eba6f54a7ecb9795b25b942307fd7fe8ccd32e15c6012f9f15f788ca91 WHIRLPOOL 19063da37d0a0a5a172c4896323d39fd4da1c073e0e4e7d2629bb7fdb0bcea66f6d6be00e94d58c055cc72e75bd9731bbc3ac851f1c15bc4f8c15672dc7e7b54
+MISC ChangeLog-2015 4405 SHA256 3b30d22113031d310467ac8afafaa3d90d6153442151f64862b018b6da8fbc77 SHA512 87e49e6ad6eb475647fed4018c1db91a0cfbfc5639530e43e7927193e930e72f2f88f4f1a82051661947eae7a94c51c8a1179fab2cf8cbbd1417f8d2f6cdea78 WHIRLPOOL eb3385a77e10cf84372ab8c0662b89bb6da019f0c3da5760142d10a47bbb2eccc122d1987f4787a66fb64be2efd7d39872d73af830a26f83bc15125a94d41143
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/xvkbd/files/xvkbd-3.6-last_altgr_mask.patch b/x11-misc/xvkbd/files/xvkbd-3.6-last_altgr_mask.patch
new file mode 100644
index 000000000000..7fe70773acca
--- /dev/null
+++ b/x11-misc/xvkbd/files/xvkbd-3.6-last_altgr_mask.patch
@@ -0,0 +1,11 @@
+--- a/xvkbd.c
++++ b/xvkbd.c
+@@ -681,7 +681,7 @@
+ }
+ }
+
+- last_altgr_mask = (altgr_mask | last_altgr_mask);
++ last_altgr_mask = altgr_mask;
+ alt_mask = 0;
+ meta_mask = 0;
+ altgr_mask = 0;
diff --git a/x11-misc/xvkbd/metadata.xml b/x11-misc/xvkbd/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/xvkbd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xvkbd/xvkbd-3.7.ebuild b/x11-misc/xvkbd/xvkbd-3.7.ebuild
new file mode 100644
index 000000000000..d171ff235802
--- /dev/null
+++ b/x11-misc/xvkbd/xvkbd-3.7.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="virtual keyboard for X window system"
+HOMEPAGE="http://homepage3.nifty.com/tsato/xvkbd/"
+SRC_URI="http://homepage3.nifty.com/tsato/xvkbd/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm ppc x86"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXaw
+ x11-libs/libXaw3d
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXtst
+"
+DEPEND="
+ ${RDEPEND}
+ app-text/rman
+ x11-misc/gccmakedep
+ x11-misc/imake
+ x11-proto/inputproto
+ x11-proto/xextproto
+ x11-proto/xproto
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-3.6-last_altgr_mask.patch
+
+ epatch_user
+}
+
+src_configure() {
+ xmkmf -a || die
+}
+
+src_compile() {
+ emake \
+ CC=$(tc-getCC) LD=$(tc-getCC) \
+ XAPPLOADDIR="/usr/share/X11/app-defaults" \
+ LOCAL_LDFLAGS="${LDFLAGS}" \
+ CDEBUGFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ emake \
+ XAPPLOADDIR="/usr/share/X11/app-defaults" \
+ DESTDIR="${D}" \
+ install
+
+ rm -r "${D}"/usr/$(get_libdir) "${D}"/etc || die
+
+ dodoc README
+ newman ${PN}.man ${PN}.1
+}