diff options
Diffstat (limited to 'x11-misc/wayv')
-rw-r--r-- | x11-misc/wayv/Manifest | 4 | ||||
-rw-r--r-- | x11-misc/wayv/files/wayv-0.3-autoconf.patch | 13 | ||||
-rw-r--r-- | x11-misc/wayv/files/wayv-0.3-flags.patch | 10 | ||||
-rw-r--r-- | x11-misc/wayv/files/wayv-0.3-fno-common.patch | 21 | ||||
-rw-r--r-- | x11-misc/wayv/wayv-0.3-r3.ebuild | 39 |
5 files changed, 87 insertions, 0 deletions
diff --git a/x11-misc/wayv/Manifest b/x11-misc/wayv/Manifest index 0e2b172f9573..d370af82041c 100644 --- a/x11-misc/wayv/Manifest +++ b/x11-misc/wayv/Manifest @@ -1,3 +1,7 @@ +AUX wayv-0.3-autoconf.patch 320 BLAKE2B 38db31b413ae832cf0fb41fc4734a0f77a2eba0ea20f39ea0d4b91c7c741d2e5fdb72f396081ca6bc6f23acc5e63cd9a4f1779a0fc85b20887314ae06061c5a7 SHA512 62efa78fa15e1c33c4b57c2139b841127b5a94bf15a5612eabd051fcb2de51f7040dd67ad598a82248209f4c3e2e0bc90b380597276f40977613d0a9ce6e4003 +AUX wayv-0.3-flags.patch 357 BLAKE2B 20312ebce59bb6bc0f356f34ee321b2dcfaa434fe0ac9e3b89f8693d1750d7fa0892d0a1ea79cf45cab5279aaeb9d75100e1f737c5b635298b4b30e1b72e4e92 SHA512 c6c0116e2cbb1e6de795040bd09d42fa962fecf16933185920101464bfbbfd818fc368940cfb2415bfc5fe68771ca256207109758b16eb19016cbc3e6948d9b2 +AUX wayv-0.3-fno-common.patch 549 BLAKE2B 8e6e07a690c4613f87de41c0fa83ad6a98b60eada9c7ec8582807ce28ecf2e89e021a2a1bad742ceef1cfd2b5464bd71908ab8eabfd940464ad1bf377c752349 SHA512 972c0bab4f9b5345d68235c0f03683d5c16d910c2e19a8ce4f1176661d6cba2ff7dd7c7f46a0e494570479e63a121c69ecd27d5f54325f612ba82a47f705a357 DIST wayv-0.3.tar.gz 139197 BLAKE2B 88fac982c3647e4fb61fdda7febad3fa57b4a5dd5c0bdb9a2ec85a1a45fd8bff0b9472c161d08b7e9921928f36ead147a9846df12a414f41e28df096bf7361f2 SHA512 dda4dafc63c4393a726175597ae734b321e3c91ab6acd1b4b0ecae5861fa7c87ce83b68ae4a8bb92be9039b22ddb86f7e9ba87559d35095784eb98a5eda14681 EBUILD wayv-0.3-r2.ebuild 608 BLAKE2B f53094ac474898f1c7ec3b374826aa5fea27687a0cd137d7e36b9e47768d84ca1051bc8a7f9c369cadc0918238aa856337fd7a49a620e7e036fcdb627e9be6b1 SHA512 9b16c9ed56dba7b584080c4e244560e14f5132f4ffa32f18d1a8d55688f67e3d65565de2654c51dece91f06b36f6f31792ea8062580f0f41af3b3b80696ce5bd +EBUILD wayv-0.3-r3.ebuild 683 BLAKE2B 1c215cef91a7e10a4c30e2c50375f00e5c2bafff9e50981429ccda94340b856d306084f3828410181d56af59489b404f407ee1de70393dc460c9cf53f4078512 SHA512 5ca09ce6ac65250b95152d61bf29b8aa7a040977e2829a25f59baf63eae472157da99e5468030fb5b2e75a1a214df1c0f83070c861570f6adfc74346124066f5 MISC metadata.xml 276 BLAKE2B c4cbc92f4cc708c8a571df5735be5dc6d3b2b9d882265fbf398ca38a7c685a9da8d647e78d05a85edae0568f141b065edaa6ac6f6022106fabb8126740b1c60d SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab diff --git a/x11-misc/wayv/files/wayv-0.3-autoconf.patch b/x11-misc/wayv/files/wayv-0.3-autoconf.patch new file mode 100644 index 000000000000..edec6bd5974d --- /dev/null +++ b/x11-misc/wayv/files/wayv-0.3-autoconf.patch @@ -0,0 +1,13 @@ +--- a/configure.in ++++ b/configure.in +@@ -1,7 +1,7 @@ + dnl Process this file with autoconf to produce a configure script. +-AC_INIT(src/defines.h) +-AM_INIT_AUTOMAKE(wayv, `cat VERSION`) +-AM_CONFIG_HEADER(config.h) ++AC_INIT(wayv, 0.3) ++AM_INIT_AUTOMAKE ++AC_CONFIG_HEADERS(config.h) + + dnl Checks for programs. + AC_PROG_CC diff --git a/x11-misc/wayv/files/wayv-0.3-flags.patch b/x11-misc/wayv/files/wayv-0.3-flags.patch new file mode 100644 index 000000000000..ac6ea62ec006 --- /dev/null +++ b/x11-misc/wayv/files/wayv-0.3-flags.patch @@ -0,0 +1,10 @@ +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -3,6 +3,6 @@ + bin_PROGRAMS = wayv + data_DATA = wayv.conf DEFAULT.wkey + wayv_SOURCES = ai.c aimath.c backend.c display.c gesture.c process.c setup.c misc.c +-CFLAGS = -Wall -O2 -DSETUPPATH=\"@datadir@\" ++AM_CFLAGS = -DSETUPPATH=\"@datadir@\" + wayv_LDADD = @X_LIBS@ + wayv_LDFLAGS = -I@x_includes@ -L@x_libraries@ diff --git a/x11-misc/wayv/files/wayv-0.3-fno-common.patch b/x11-misc/wayv/files/wayv-0.3-fno-common.patch new file mode 100644 index 000000000000..394cb67c1d6d --- /dev/null +++ b/x11-misc/wayv/files/wayv-0.3-fno-common.patch @@ -0,0 +1,21 @@ +--- a/src/process.c ++++ b/src/process.c +@@ -53,6 +53,7 @@ + */ + void performAction(WSETUP *wayv, WGESTURE *gesture, GDISPLAY *video, GPOINT *gpoints) { + int i, n, a, b; ++ pid_t child = 0; + char **temp, *single, *comp; + + /* Action names have to be at least one character in length */ +--- a/src/process.h ++++ b/src/process.h +@@ -27,8 +27,6 @@ + #include "display.h" + #include "gesture.h" + +-int child; +- + void performAction(WSETUP *, WGESTURE *, GDISPLAY *, GPOINT *); + void destroyZombies(int); + char **createCmdLine(char *, GDISPLAY *, GPOINT *); diff --git a/x11-misc/wayv/wayv-0.3-r3.ebuild b/x11-misc/wayv/wayv-0.3-r3.ebuild new file mode 100644 index 000000000000..cfda0bef6e80 --- /dev/null +++ b/x11-misc/wayv/wayv-0.3-r3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools + +DESCRIPTION="Wayv is hand-writing/gesturing recognition software for X" +HOMEPAGE="http://www.stressbunny.com/wayv" +SRC_URI="http://www.stressbunny.com/gimme/wayv/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXtst +" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto +" +PATCHES=( + "${FILESDIR}"/${PN}-0.3-autoconf.patch + "${FILESDIR}"/${PN}-0.3-flags.patch + "${FILESDIR}"/${PN}-0.3-fno-common.patch +) + +src_prepare() { + default + eautoreconf +} + +src_install() { + default + + cd doc + default + dodoc HOWTO* +} |