summaryrefslogtreecommitdiff
path: root/x11-misc/x2x
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-misc/x2x
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/x2x')
-rw-r--r--x11-misc/x2x/Manifest9
-rw-r--r--x11-misc/x2x/metadata.xml8
-rw-r--r--x11-misc/x2x/x2x-1.27-r3.ebuild59
3 files changed, 76 insertions, 0 deletions
diff --git a/x11-misc/x2x/Manifest b/x11-misc/x2x/Manifest
new file mode 100644
index 000000000000..802403646164
--- /dev/null
+++ b/x11-misc/x2x/Manifest
@@ -0,0 +1,9 @@
+DIST x2x-1.27-keymap.diff.gz 1145 SHA256 7a18a9729868325b133fc62f5aaf759db9ebf20192e2d6d16b0dcf32927c7dc1 SHA512 46e0d9cef4b985523e4bf2d6c550d68f488c0975a007433f2a6c03d77541ce0cbdffd44ea29472fa6db4e8b804503cdaf9e8b5f9d72c56d902270cf3291ca37f WHIRLPOOL cec4095420fc46b9a19498aa4bc767605b451ab48369e4a7171ffc7cae3c76ba38bedaaecf9e67500ffff5f7becafde19afde9955b25288e6b4f00204c85a153
+DIST x2x-1.27-license.patch.gz 1001 SHA256 1b78a9de556622c72fd66bbf23245cd62cefe3c4e5ba37971f37c43eab2c9964 SHA512 cdff296ed3ea7d3d72b7d64f4878d94b63ee459a3487668b2174f54e4d2519daa1fb80ffec2cb3ce188032bb72148629cb276eb0d0311ed1f26c3da8066caed8 WHIRLPOOL c1945777befe38bbcc7c70ae89665337d8043d467d249bd5f1b707d1ab20b58766b54280bcd6ce53c3ab30b9473ab4f42fd92fce3799de25705b5149d371eba1
+DIST x2x-1.27.tar.gz 16776 SHA256 d27ffc37d801934e79a91aa8f413d9d6466297995bf7c88156842d1aec040a36 SHA512 c5f8b1ec49f9871bf0d8142a047a2dff9a6ee262dfafd459044c977973dd45e297186961a8793938fc8e328f2553ec4de97e06343bdf3550f3bc3f2368b23131 WHIRLPOOL 6900c30e8c937380812668048c01429a0e7af532042791cecdb5c877b191d146cac3fafc8c47beebea96bcfc983abbe4b03414f85b768c5bc40169e148344028
+DIST x2x_1.27-8-initvars.patch.gz 494 SHA256 b34173edeae1a5dd06ead2f9712ac4f28018b2723921054286d851366cdf9920 SHA512 53060affef7575106932380063616473103c738193fdeab9118e0fb9ec1d1de2fe63f4112e5af82fe38198d0b42a10effde574bb9dee95c8fefdbdf680dbdf01 WHIRLPOOL 369a6af91841fc50435c74bda8f0a76b99669bcd0a1642990746755874c26c2cf7477502f4017c84c6485f3352854985b19634ed06ce7db641307c2a13c18572
+DIST x2x_1.27-8.diff.gz 13291 SHA256 d20fcc3e81ef60ef4720737883642739bb744a1d690c74b33d9086118e8b10ab SHA512 8201ab5fd0efd93adec53cec3b48f7b4de907b2db184ffa6e85a1e16739b4d0021f4562820d0b4730a0f6a2779985b5574973c2b0ceb04b241f0d7dc15060b71 WHIRLPOOL de2e1a36f733dba3050ec22b42d2c394e4e64a16a78dc650fd88839fab3d71f7ab7db202af075bb35f662b41d44561dfb73931d9be86b5374d6ebc9987aca852
+EBUILD x2x-1.27-r3.ebuild 1552 SHA256 52d5d4be98590bd7fffd30527a18808d44e7a0fe1721f9af8db7f994d11ef9fe SHA512 a8ff5beb5ec81b184bb1829c14c27fa65b60f3b6c5b9c42ca404517f16dc2c32dc431a07e64ebe86a635f2a8d2571639f1c22e0d166b9b0ff0419b63f3f63151 WHIRLPOOL d39d0581f8ebac415935de8ce21b4a81ff6e3cc50aa32587e53f27e5eb9bfcbee5b1c3573073a01ff8c064629c5a8a42f3220b256a1ff9eb1f13fdc5d1db8da5
+MISC ChangeLog 2419 SHA256 5d9f1ac46973d28eca33df8304203b3fffe4beb6344e1962f8dfd66a77a27719 SHA512 6e49919801578385738e2eead61e4605e02102e16df840ea910e12fe2a2ec4729b7095d9a65ff70d8d5cd2c6f87634b28a110f555ae84d75890322b7c3c4d3da WHIRLPOOL f4e42066f894d642e335a03110bd781c5bb301e16ec0224f4d35500fd7f42c09ded0eb259326aa91fa1e524678636cce834d035b9d8d432f8ddaac5c0117e2a9
+MISC ChangeLog-2015 3995 SHA256 a686b65d96a02965c2efc05db0758e74b35b0c5f4d189af0fbc44202ee84cf1c SHA512 56fd1915e5d3f1680a6a720ec1ef09fbd8646fef57d1420245494d24785b1a8167f9c5dc22374e7471866d62ae3746b132024bbab96ac9cb449b60fe809eedb3 WHIRLPOOL d0586c102a8d8e3491604d634d566e5b2af7011f51f3527ffea72e9c60d97d0086e82256340b8432b5aaa8dfcebfcc3eea5ae940a903bf21c9d2e6530fc82e2c
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/x11-misc/x2x/metadata.xml b/x11-misc/x2x/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/x11-misc/x2x/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/x2x/x2x-1.27-r3.ebuild b/x11-misc/x2x/x2x-1.27-r3.ebuild
new file mode 100644
index 000000000000..491301daa029
--- /dev/null
+++ b/x11-misc/x2x/x2x-1.27-r3.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A utility to connect the Mouse and KeyBoard to another X"
+HOMEPAGE="http://www.the-labs.com/X11/#x2x"
+LICENSE="x2x"
+SRC_URI="http://ftp.digital.com/pub/Digital/SRC/x2x/${P}.tar.gz
+ mirror://debian/pool/main/x/x2x/x2x_1.27-8.diff.gz
+ mirror://gentoo/x2x_1.27-8-initvars.patch.gz
+ mirror://gentoo/${P}-license.patch.gz
+ mirror://gentoo/${P}-keymap.diff.gz"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~mips ppc x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXtst
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ x11-proto/inputproto
+ app-text/rman
+ x11-misc/imake
+ x11-proto/xproto"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Patch from Debian to add -north and -south, among other fixes
+ epatch "${DISTDIR}"/x2x_1.27-8.diff.gz
+ # Revert part of debian patch messing with CFLAGS
+ sed -i '/CFLAGS = -Wall/d' Imakefile || die
+
+ # Fix variable initialization in Debian patch
+ epatch "${DISTDIR}"/x2x_1.27-8-initvars.patch.gz
+
+ # Patch to add LICENSE
+ epatch "${DISTDIR}"/${P}-license.patch.gz
+
+ # Patch to fix bug #126939
+ # AltGr does not work in x2x with different keymaps:
+ epatch "${DISTDIR}"/${P}-keymap.diff.gz
+
+ # Man-page is packaged as x2x.1 but needs to be x2x.man for building
+ mv x2x.1 x2x.man || die
+}
+
+src_compile() {
+ xmkmf || die
+ emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" \
+ EXTRA_LDOPTIONS="${LDFLAGS}" || die
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die
+ newman x2x.man x2x.1 || die
+}