summaryrefslogtreecommitdiff
path: root/x11-misc/xstroke
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/xstroke
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/xstroke')
-rw-r--r--x11-misc/xstroke/Manifest7
-rw-r--r--x11-misc/xstroke/files/xstroke-0.6-sigsegv_sprintf.patch13
-rw-r--r--x11-misc/xstroke/files/xstroke-0.6-underlinking.patch11
-rw-r--r--x11-misc/xstroke/metadata.xml11
-rw-r--r--x11-misc/xstroke/xstroke-0.6-r1.ebuild43
5 files changed, 85 insertions, 0 deletions
diff --git a/x11-misc/xstroke/Manifest b/x11-misc/xstroke/Manifest
new file mode 100644
index 000000000000..840649a4d6e7
--- /dev/null
+++ b/x11-misc/xstroke/Manifest
@@ -0,0 +1,7 @@
+AUX xstroke-0.6-sigsegv_sprintf.patch 438 SHA256 d0acd3dac33f2e4bfc03c3b8a73bd04fd5525bdc5a407d04e1ed180284a8c98a SHA512 6ac7fd2b4b64021926c9ec6999df6fd7142b7d42f31012a63ca31ffd6db9848c9687875af508b0f63e7c49dc1cd01057f2073c0bd99409998ec578c44d61f384 WHIRLPOOL 54ab922036df979a325ec3790c44e4255fba448c5c4933ae1dd6f96f9359315764d2c914a490afe104c1da1c7e02aa61f8090e4180a19c8e601e32eae29167f3
+AUX xstroke-0.6-underlinking.patch 443 SHA256 c4d81df637eb8409e3990970ea2bf4ea9c69bb9d7239eada050f4f84df6f2076 SHA512 ef219a2d56bf52df8187cbfee704d1e0dd91f7f742fc2b83c63dd469eb1f6f2297dc8cd09ab2444ad18f94aff5c95bfbff0055084202363426434f3185074c84 WHIRLPOOL 064b3edab9473a301556517dc409d568c4015c3359481af3fdf1e23a5208e949d9936a21b2b8dcb676250c63a3ba92c6c018979736f01e3abb5507241f0a37f7
+DIST xstroke-0.6.tar.bz2 140237 SHA256 814a38ec6dada26a7bda5439fe34995d5ac812bf2e8c008f8b297ab08b42fb5f SHA512 0fb75f20dfcb8db68bb17d50a9dea2906e17ee1d8675bb7b4dea964189aa69c8bfcc101d7e7fac22209da3f83fc0d0afd569d443d3f585bffa2d62ce11ad772a WHIRLPOOL 233caa7771c2dd62e3bebbcfcb54addbcc149d889289142ac024016593618e746f4f80e8173c1605d9142be09a752b0552d92ef829763777111715b62b0c5c61
+EBUILD xstroke-0.6-r1.ebuild 851 SHA256 4d05dc02643460af9bd7c0c0f8f68aafdae2bb8b2bd58af3047b4c29465ff706 SHA512 1f40a6514bb8a9d4397006562806e626a52e73bed35e34a134da778c027b2438de92906e3ec4e459446f427224413a71f7f461eee2e0516a193558e402dfa88a WHIRLPOOL 66f5a4f1e35cfc690e1d11a49ca12a25d2e4632b0d0d291c537a7a7ce634d5fd63752ad00bb60e852f0c61e96b5ff1bd9f79245c52224ff1179a022880fdee59
+MISC ChangeLog 2514 SHA256 d34added630997622bb2243955a441b7a6c2e094ce7f0d0b771c9122092ab7ea SHA512 73a1f9cfe46d0b94e050665373069591081dc4ee6fd129e2d5c81d266634052807d485c37fec48b05a5750a85c6f02b657162cda560ae7981ecd0d0819cb92d8 WHIRLPOOL b0491133accbacb8487a696b1d8e1f444c7701455ad4584f575432a73bc4be991eb458b796c008a3d6b304f8e70c078db9a2f9338a0b42ccff67f9cd52f08a05
+MISC ChangeLog-2015 4130 SHA256 211804a20b5aac18ec0bf171376f47f509f71b74c9f486fec10fe405b021f8fd SHA512 fe476531b76e9afbbcfbbed95c15ecc410893ca41b1ceb24f98774087d162c9cfb50da36b3fd061859cbfafe3d125c0051e2e7bd56938e4764e848fdcb0b00c3 WHIRLPOOL 4fbf8c4c597dcf0c0aee187582733532c97140d713977778a7a8f75e0e08c735dde9760eff9a5b29e67e428afcb178c22abd1b90f93b466fc366c5fc4b78cfab
+MISC metadata.xml 351 SHA256 d2d0ff0dea6929241f843ef3b9f1ca94c88ab9386c534d00ab66e291f17920f7 SHA512 ad9389409b86bb91a79c9706d3662f0794507ee881b689e310b77cc50fcf8079b32340ff0b4231a5584365e9417b4331bd326c99ad3e514e8b44549072991319 WHIRLPOOL 046bbe7659af4b5705fb981140c821a33fc82e21c07a8a88341e9c7795bb32ca4a88bd4ab89a3832773448af6ff4a6a4336060941129fd00b56c66cb627f7c0a
diff --git a/x11-misc/xstroke/files/xstroke-0.6-sigsegv_sprintf.patch b/x11-misc/xstroke/files/xstroke-0.6-sigsegv_sprintf.patch
new file mode 100644
index 000000000000..b36958849f53
--- /dev/null
+++ b/x11-misc/xstroke/files/xstroke-0.6-sigsegv_sprintf.patch
@@ -0,0 +1,13 @@
+diff -Nru xstroke-0.6.vanilla/sprintf_alloc.c xstroke-0.6/sprintf_alloc.c
+--- xstroke-0.6.vanilla/sprintf_alloc.c 2005-11-26 01:55:32.000000000 +0100
++++ xstroke-0.6/sprintf_alloc.c 2005-11-26 01:55:55.000000000 +0100
+@@ -74,7 +74,8 @@
+ {
+ char *new_str;
+ /* Guess we need no more than 100 bytes. */
+- int n, size = 100;
++ /* yeah... right... */
++ int n, size = 512;
+
+ if ((*str = malloc (size)) == NULL)
+ return -1;
diff --git a/x11-misc/xstroke/files/xstroke-0.6-underlinking.patch b/x11-misc/xstroke/files/xstroke-0.6-underlinking.patch
new file mode 100644
index 000000000000..52b39ddf4512
--- /dev/null
+++ b/x11-misc/xstroke/files/xstroke-0.6-underlinking.patch
@@ -0,0 +1,11 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -40,7 +40,7 @@
+ BUILT_SOURCES = rec_parse.h rec_lex.h rec_lex.c
+ AM_YFLAGS = -d
+
+-xstroke_LDADD = @XSTROKE_LIBS@ -lm -lpthread $(X_LIBS) -lXpm -lXtst
++xstroke_LDADD = @XSTROKE_LIBS@ -lm -lpthread $(X_LIBS) -lXpm -lXtst -lX11 -lXrender -lXext -ldl
+ AM_CFLAGS = @XSTROKE_CFLAGS@ -DXSTROKE_CONF_DIR='"$(sysconfdir)/xstroke"' $(X_CFLAGS)
+
+ EXTRA_DIST = xstroke_active.xpm xstroke_inactive.xpm etc/alphabet
diff --git a/x11-misc/xstroke/metadata.xml b/x11-misc/xstroke/metadata.xml
new file mode 100644
index 000000000000..4150784c3af2
--- /dev/null
+++ b/x11-misc/xstroke/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <upstream>
+ <remote-id type="freshmeat">xstroke</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/xstroke/xstroke-0.6-r1.ebuild b/x11-misc/xstroke/xstroke-0.6-r1.ebuild
new file mode 100644
index 000000000000..8d03a8cf83eb
--- /dev/null
+++ b/x11-misc/xstroke/xstroke-0.6-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit autotools eutils
+
+DESCRIPTION="Gesture/Handwriting recognition engine for X"
+# Dead upstream?
+#HOMEPAGE="http://www.xstroke.org/"
+HOMEPAGE="http://freshmeat.net/projects/xstroke/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha ~amd64 hppa ~mips ppc sparc x86"
+IUSE=""
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXft
+ x11-libs/libXpm
+ x11-libs/libXrender
+ x11-libs/libXtst
+"
+DEPEND="
+ ${RDEPEND}
+ sys-devel/flex
+ virtual/pkgconfig
+ virtual/yacc
+ x11-proto/inputproto
+ x11-proto/xextproto
+ x11-proto/xproto
+"
+
+DOCS=( AUTHORS ChangeLog NEWS README TODO )
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-sigsegv_sprintf.patch \
+ "${FILESDIR}"/${P}-underlinking.patch
+ eautoreconf
+}