summaryrefslogtreecommitdiff
path: root/x11-misc/xhkeys
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/xhkeys
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/xhkeys')
-rw-r--r--x11-misc/xhkeys/Manifest8
-rw-r--r--x11-misc/xhkeys/files/xhkeys15
-rw-r--r--x11-misc/xhkeys/files/xhkeys-2.2.1-CC.patch15
-rw-r--r--x11-misc/xhkeys/files/xhkeys-2.2.1-linux_headers.patch12
-rw-r--r--x11-misc/xhkeys/metadata.xml8
-rw-r--r--x11-misc/xhkeys/xhkeys-2.2.1.ebuild34
6 files changed, 92 insertions, 0 deletions
diff --git a/x11-misc/xhkeys/Manifest b/x11-misc/xhkeys/Manifest
new file mode 100644
index 000000000000..7c6ba12b957c
--- /dev/null
+++ b/x11-misc/xhkeys/Manifest
@@ -0,0 +1,8 @@
+AUX xhkeys 337 SHA256 7064153d7761f9a29cbe90c4be16f5b43e49d40e3d3cf99d7b04456f0b9bd7ba SHA512 550209f4dbfb8317e1e8c1409809de41233d164e94ef3ad591994785d5ea50f3729ff8c14b2a321260ecad24dacb660898c1eb115f4a8c4a61ee1fb371b23772 WHIRLPOOL b77558ef4ff3973c90397e813fbfde85b48356523251a82d770429ebb45077e220078a8a0eed00702d172bf5b46d1e14c6cb72d25d6136e812d0d22f5e1d0a53
+AUX xhkeys-2.2.1-CC.patch 578 SHA256 7fb8dab0fa5097efe71d11c4b0f1a1e84755cdd2acbf9d9afe40d9f5a32e289c SHA512 65ef3acc6767d0bb599612b05a6224e01cb4e30e7208cc269bdda75af2bd18495afba83feec9f0fcfbd5772fe3289156f83c1a3c184ec2b2ac07b6cb4ed2f81e WHIRLPOOL 611800acba3c15c06c9c387f3f4bdc20f9678646c1d159f8e60a7d0a088337173cb189d6a3f7ab784ffe03471b0a1e681a6126452ebb90bf8f051ed2f6d4fd10
+AUX xhkeys-2.2.1-linux_headers.patch 261 SHA256 1d1b21c491268470b61cc87ad226245608209326a663de32332e6c03b42961f7 SHA512 e03973df62353cec87fa814cd6e8094d12827f20c41b09e92219d76d0e68494496b55bf52cc600fb0fa5df27f9871dcc4fa3f2f384057ec411fc7906f2b55180 WHIRLPOOL 39dbaaf153183a03bca76691cfe04c1aa3f73a0c6482a18ffcba28747d81aad5fc521a5a67550e379d09714e5284d330dd911d8c5359c0cc4baa957929d3c003
+DIST xhkeys-2.2.1.tar.gz 146338 SHA256 4ddcdbb9687bdbfdd6c0f0974dfb463d939421ab3d3245368a18636b79fd6be9 SHA512 8bf0e33d69e6685c6e0ade500e1c1d3b5f574de6906cc3535d3b95db5bfde0fead842921b6642f18f0bc1c8efd980ed5a4180108416315c09f65418e542c1f66 WHIRLPOOL 0bddee84581301199c6446e6fd5c1c40b07a6e38662b06d4fc0c7f911b55b9efdd712d38687fe72a9aa97ce6277d99c66650893d5281dea08224bdd9b1a47bc1
+EBUILD xhkeys-2.2.1.ebuild 599 SHA256 6ea657b078f80ed4e1eeffc1b2894fd8b485d85c766bd6449da5add77fb62e8b SHA512 f3d5e26dc8c231801ff6286eb17ceec775e9c6d037a01bb6ed291be0ddec3225050ed6707cc6f8df2c984963a369547757aa85b2d7e684fc9ef42f4cb55fef10 WHIRLPOOL ce48301b23358180ca110d5b301f24161d5055635a061dda5fd76ad5537934afd245bd916505677862d8342543ce408cc94878d3177043339b45e26618816bfd
+MISC ChangeLog 3065 SHA256 3e01090b40a328b15745efbcbe531d19f18d604383c188d7be1e1892107a750f SHA512 5fd46c21fd22245205606041f9ee2d7897f5009c131b6ada7a7d54c9297303f45fec72a77341d09c06e6283d8715068399b41e55623b6fd174c2f6826d790eea WHIRLPOOL 0aa09773cb739d01d54c5707e382bb4d9980e8bc728468e188007985aaeea80c6ff31fc37216f5794298d1eab901bd9b3a2f4aca425287f549ced821df8d795a
+MISC ChangeLog-2015 2083 SHA256 626e2e8a4836989d95d587b4d46f07e01f471212c3d126927a4208b5feab686d SHA512 9482c7e3cbc3b024c1cf859edc3fa2cf80fee94183ccfa29090727b919dd6ac257ca0d2c170e8ec1411587f048c28b5975f4ac64a034d9cee6ac4af5c8545a63 WHIRLPOOL ba8c402025035fc5665211261adbceb2d6b84b6a4ee175872dabd403734f3277d6611df1eac805a442e333b7ed81d4c0466d133fb8509e457f12a697ebbdebef
+MISC metadata.xml 318 SHA256 218a00bda7df7396b1c9db4fea27cc69073dd039cb1db1e55d34cfd004209500 SHA512 7d56445a5c7fffdc1104633cdd30eafa17588079b8a1f4cb226984b1aad4e41fe84320608681143dc01c5f1ac5f104cf0717e8183164031644220f9c61086a3b WHIRLPOOL 15d65bcdc3289c77c194a26721b45e700d54a771e5a63d29a52d431b1ac8922ee7ddd7ca11b10dbbb72ba3fd70daa5fba7dba875de04362ab9c489e70d9fb895
diff --git a/x11-misc/xhkeys/files/xhkeys b/x11-misc/xhkeys/files/xhkeys
new file mode 100644
index 000000000000..91d0b804f3a7
--- /dev/null
+++ b/x11-misc/xhkeys/files/xhkeys
@@ -0,0 +1,15 @@
+#!/sbin/openrc-run
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+start() {
+ ebegin "Starting xhkeys"
+ start-stop-daemon --start --quiet --exec /usr/bin/xhkeys
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping xhkeys"
+ start-stop-daemon --stop --quiet --exec /usr/bin/xhkeys
+ eend $?
+}
diff --git a/x11-misc/xhkeys/files/xhkeys-2.2.1-CC.patch b/x11-misc/xhkeys/files/xhkeys-2.2.1-CC.patch
new file mode 100644
index 000000000000..4e1f7dae7e7d
--- /dev/null
+++ b/x11-misc/xhkeys/files/xhkeys-2.2.1-CC.patch
@@ -0,0 +1,15 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -127,10 +127,10 @@
+ xhkeys_mixer.lo: xhkeys_mixer.c plugin_common.h xhkeys_plugin.h
+
+ xhkeys_cdaudio.so: $(MODULES_CDAUDIO)
+- gcc -shared -Wl,-soname,xhkeys_cdaudio.so -o xhkeys_cdaudio.so $(MODULES_CDAUDIO)
++ $(CC) -shared -Wl,-soname,xhkeys_cdaudio.so -o xhkeys_cdaudio.so $(MODULES_CDAUDIO)
+
+ xhkeys_mixer.so: $(MODULES_MIXER)
+- gcc -shared -Wl,-soname,xhkeys_mixer.so -o xhkeys_mixer.so $(MODULES_MIXER)
++ $(CC) -shared -Wl,-soname,xhkeys_mixer.so -o xhkeys_mixer.so $(MODULES_MIXER)
+
+ %.lo: %.c
+ $(CC) -c $(CFLAGS_LO) $< -o $@
diff --git a/x11-misc/xhkeys/files/xhkeys-2.2.1-linux_headers.patch b/x11-misc/xhkeys/files/xhkeys-2.2.1-linux_headers.patch
new file mode 100644
index 000000000000..38901576c26a
--- /dev/null
+++ b/x11-misc/xhkeys/files/xhkeys-2.2.1-linux_headers.patch
@@ -0,0 +1,12 @@
+Fix compilation for >=linux-headers-2.6.35
+
+--- a/xhkeys_cdaudio.c
++++ b/xhkeys_cdaudio.c
+@@ -16,6 +16,7 @@
+ #include <string.h>
+ #include <stdarg.h>
+ #include <ctype.h>
++#include <limits.h>
+ #include <linux/cdrom.h>
+ #include <sys/ioctl.h>
+ #include <fcntl.h>
diff --git a/x11-misc/xhkeys/metadata.xml b/x11-misc/xhkeys/metadata.xml
new file mode 100644
index 000000000000..66187a0f4213
--- /dev/null
+++ b/x11-misc/xhkeys/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/xhkeys/xhkeys-2.2.1.ebuild b/x11-misc/xhkeys/xhkeys-2.2.1.ebuild
new file mode 100644
index 000000000000..e4c4db3ec3a4
--- /dev/null
+++ b/x11-misc/xhkeys/xhkeys-2.2.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="assign particular actions to any key or key combination"
+HOMEPAGE="http://wmalms.tripod.com/#XHKEYS"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXt
+"
+DEPEND="
+ ${RDEPEND}
+ x11-proto/xextproto
+ x11-proto/xproto
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-linux_headers.patch
+ "${FILESDIR}"/${P}-CC.patch
+)
+
+src_install() {
+ dobin xhkeys xhkconf
+ dodoc README VERSION
+}