summaryrefslogtreecommitdiff
path: root/x11-misc/unclutter
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/unclutter
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/unclutter')
-rw-r--r--x11-misc/unclutter/Manifest7
-rw-r--r--x11-misc/unclutter/files/unclutter-8-FocusOut.patch17
-rw-r--r--x11-misc/unclutter/files/unclutter-8-include.patch10
-rw-r--r--x11-misc/unclutter/metadata.xml8
-rw-r--r--x11-misc/unclutter/unclutter-8-r4.ebuild35
5 files changed, 77 insertions, 0 deletions
diff --git a/x11-misc/unclutter/Manifest b/x11-misc/unclutter/Manifest
new file mode 100644
index 000000000000..1c30cafcc3db
--- /dev/null
+++ b/x11-misc/unclutter/Manifest
@@ -0,0 +1,7 @@
+AUX unclutter-8-FocusOut.patch 525 SHA256 f30cf6b02b3e36384ebce4a3ee512020eb598e326a45fb7102c5bb6582b24f67 SHA512 4ab3cab96574a545595a643e79dca102ace5bb4b853f514bc8a34457a14a4ee68bc89f5c8171d23b7f4e29cd951a60cdb47cc07901327984bdd39ef33f57877e WHIRLPOOL c5a95ffb4fd1b618b0d702d48fbba4ac075f3b79ea4836db3e86aaf2318dabe7e490a63da3a6916f2d0a551e84f7723f4c06170c2a60f98c7001edcce6284f30
+AUX unclutter-8-include.patch 183 SHA256 e1b7e0a8b1d8b301924c608a49d52c1d8abbc1fea701803b025ef8c0c92b1ddb SHA512 726437d5cb6e813930b661bb47d2f15f3e37fc050f670a2125cc330f29b0ebcb97325886af21bab788d17e264e9e7c20d2c087d5b184730d3c06409304317bfa WHIRLPOOL 66552889d19a3cf8c75fa0cfc4916e0be096c8b500eae92950022d7a1ec913241324de7c2979bb1aee97c31fe95606cc2c7f5ed0bd18aab370a747a31022e6ea
+DIST unclutter-8.tar.Z 12344 SHA256 b855a78d4465ab2f86287eacac63a73f1504b08522840aa37718776e7ec9192a SHA512 9a64e6eceae685cf34b1ea85818735f8f85514ba1eea262476653886d74e469cfd6b9a39edbd098b138a5c89e6b97b42cf251bee59272c76cbeba190979744b4 WHIRLPOOL 9cccf31b0e64e37d075ec411398abbeea399745ae2e90f3c35e707a78c8a8c04e017d24f4a2f135cc75e04c5915cdc7bd5b3c16fdf1e7fbf73174cc30a461873
+EBUILD unclutter-8-r4.ebuild 758 SHA256 27484523b6ce0e994e1fb034bb136b27081184801360fdbb71aef9dbf0ecbd3c SHA512 a1728855857ad15697f9602cdf71d965f129c388924f86f8e78d8b4a27435ece0eef37b65639d07772eaed80ddc8974b2729ff355c33b96df82bb0dbd3b6d16d WHIRLPOOL 81ca26282fc465855cfe403cd57aa5bee9666613103b48762291c84d482090134cec8d44be9eaf2725774bc5eb1ecc7f9e7cf3c0367efe1ed9831bb09a188829
+MISC ChangeLog 2556 SHA256 5da8771ddf2cbf83aaf9f7fb9356e858b68feee92356df8669befa63992a4f47 SHA512 2e30b1df74889046aee524adacfd06059bd392bd2d1bda1f5cb5fba1979d3733c56df1afaf02afedaf3904440aae5d341e516451d3c4821e480665cc1e7b2110 WHIRLPOOL 02cbbf5afd7402242e7be1ba3cc1b2a6c40ba574c5bce04c1ce0f33a6cd895312b0a15d6509d192b6786b0ccfd5bfe90839464a55c2564e21763ef2b71feb584
+MISC ChangeLog-2015 4168 SHA256 086cf687533c0eea1c4f64f668247a22eebe75a59b96da22540cef72ea983b40 SHA512 eed766ea13add409f3fd34798302fff48ed9b3cadcd56500c147aeaa9777457bb716674a5c3f9a150a43504a496c4985e55516a4b64d3ea5e6090e231b0c4c96 WHIRLPOOL 0d3127472bfe7805fa7cd704cad3fa3164155c8659a749a26e736b028eec6654dfa652795c56db58333b7974aa2cc699cc444acce085ea79370637f0a152b7d1
+MISC metadata.xml 272 SHA256 b389ad9ba70c18154af4fc164e31d5b1e2a4e99815d34319b4a4f46ccef2be52 SHA512 ebe67da08587903b5b82fc194aa3c8f1ab65371f60d2c134928362e089550d9e9fd9531bffe8b676a345b5bf0ab209ce7f50d37d98201a88176f002e17582493 WHIRLPOOL 3d6a9660a11c299dbb7fa3ec6821005f2540dc8fc9e499206d38d79d54023b3ddc66a019b2c88fbc92199b9f5335088b47fa3fdd781f92f2da3ad98b26bc2a50
diff --git a/x11-misc/unclutter/files/unclutter-8-FocusOut.patch b/x11-misc/unclutter/files/unclutter-8-FocusOut.patch
new file mode 100644
index 000000000000..d26ef8e6a652
--- /dev/null
+++ b/x11-misc/unclutter/files/unclutter-8-FocusOut.patch
@@ -0,0 +1,17 @@
+Description: Fixes blinking pointer and 100% CPU usage with GTK applications
+Author: Tao Nelson <taobert@gmail.com>
+Debian-Bug: 266118
+
+--- a/unclutter.c
++++ b/unclutter.c
+@@ -399,7 +399,9 @@
+ do{
+ XNextEvent(display,&event);
+ }while(event.type!=LeaveNotify &&
+- event.type!=FocusOut &&
++ /* Some gtk applications seem not to like this:
++ * event.type!=FocusOut &&
++ */
+ event.type!=UnmapNotify &&
+ event.type!=ConfigureNotify &&
+ event.type!=CirculateNotify &&
diff --git a/x11-misc/unclutter/files/unclutter-8-include.patch b/x11-misc/unclutter/files/unclutter-8-include.patch
new file mode 100644
index 000000000000..688fa129c561
--- /dev/null
+++ b/x11-misc/unclutter/files/unclutter-8-include.patch
@@ -0,0 +1,10 @@
+--- a/unclutter.c
++++ b/unclutter.c
+@@ -24,6 +24,7 @@
+ #include <X11/Xutil.h>
+ #include <X11/Xproto.h>
+ #include <stdio.h>
++#include <stdlib.h>
+ #include "vroot.h"
+
+ char *progname;
diff --git a/x11-misc/unclutter/metadata.xml b/x11-misc/unclutter/metadata.xml
new file mode 100644
index 000000000000..49c86a887b6a
--- /dev/null
+++ b/x11-misc/unclutter/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/unclutter/unclutter-8-r4.ebuild b/x11-misc/unclutter/unclutter-8-r4.ebuild
new file mode 100644
index 000000000000..d73744fa9e89
--- /dev/null
+++ b/x11-misc/unclutter/unclutter-8-r4.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Hides mouse pointer while not in use"
+HOMEPAGE="http://www.ibiblio.org/pub/X11/contrib/utilities/unclutter-8.README"
+SRC_URI="ftp://ftp.x.org/contrib/utilities/${P}.tar.Z"
+
+SLOT="0"
+LICENSE="public-domain"
+KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 ~sparc x86"
+
+RDEPEND="x11-libs/libX11"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+S=${WORKDIR}/${PN}
+
+PATCHES=(
+ "${FILESDIR}"/${P}-include.patch
+ "${FILESDIR}"/${P}-FocusOut.patch
+)
+
+src_compile() {
+ emake CDEBUGFLAGS="${CFLAGS}" CC="$(tc-getCC)" LDOPTIONS="${LDFLAGS}"
+}
+
+src_install () {
+ dobin unclutter
+ newman unclutter.man unclutter.1x
+ einstalldocs
+}