diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-misc/xstroke | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'x11-misc/xstroke')
-rw-r--r-- | x11-misc/xstroke/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/xstroke/files/xstroke-0.6-sigsegv_sprintf.patch | 13 | ||||
-rw-r--r-- | x11-misc/xstroke/files/xstroke-0.6-underlinking.patch | 11 | ||||
-rw-r--r-- | x11-misc/xstroke/metadata.xml | 8 | ||||
-rw-r--r-- | x11-misc/xstroke/xstroke-0.6-r1.ebuild | 44 |
5 files changed, 77 insertions, 0 deletions
diff --git a/x11-misc/xstroke/Manifest b/x11-misc/xstroke/Manifest new file mode 100644 index 000000000000..c4b50ddf6ae5 --- /dev/null +++ b/x11-misc/xstroke/Manifest @@ -0,0 +1 @@ +DIST xstroke-0.6.tar.bz2 140237 SHA256 814a38ec6dada26a7bda5439fe34995d5ac812bf2e8c008f8b297ab08b42fb5f SHA512 0fb75f20dfcb8db68bb17d50a9dea2906e17ee1d8675bb7b4dea964189aa69c8bfcc101d7e7fac22209da3f83fc0d0afd569d443d3f585bffa2d62ce11ad772a WHIRLPOOL 233caa7771c2dd62e3bebbcfcb54addbcc149d889289142ac024016593618e746f4f80e8173c1605d9142be09a752b0552d92ef829763777111715b62b0c5c61 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..6b3af6a2eb25 --- /dev/null +++ b/x11-misc/xstroke/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-misc</herd> + <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..3d7e1e8d17cf --- /dev/null +++ b/x11-misc/xstroke/xstroke-0.6-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +} |