summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2000-11-01 19:35:09 +0000
committeritojun <itojun@pkgsrc.org>2000-11-01 19:35:09 +0000
commite02168732585372a73fca74fb3c7b51f583d8220 (patch)
treec793a98bcda71712577b120e48d6ad55f089fd79 /x11
parent2ffaef78c93b894e697cce17cb64110f47bb8de1 (diff)
downloadpkgsrc-e02168732585372a73fca74fb3c7b51f583d8220.tar.gz
xscribble, handwriting recognition for X
Diffstat (limited to 'x11')
-rw-r--r--x11/xscribble/Makefile24
-rw-r--r--x11/xscribble/files/md53
-rw-r--r--x11/xscribble/files/patch-sum4
-rw-r--r--x11/xscribble/patches/patch-aa10
-rw-r--r--x11/xscribble/patches/patch-ab7
-rw-r--r--x11/xscribble/pkg/COMMENT1
-rw-r--r--x11/xscribble/pkg/DESCR9
-rw-r--r--x11/xscribble/pkg/MESSAGE2
-rw-r--r--x11/xscribble/pkg/PLIST6
9 files changed, 66 insertions, 0 deletions
diff --git a/x11/xscribble/Makefile b/x11/xscribble/Makefile
new file mode 100644
index 00000000000..881a2dab36a
--- /dev/null
+++ b/x11/xscribble/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/11/01 19:35:09 itojun Exp $
+
+DISTNAME= xscribble
+PKGNAME= xscribble-20000616
+CATEGORIES= x11
+MASTER_SITES= ftp://ftp.handhelds.org/pub/apps/src/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.handhelds.org/projects/xscribble.html
+
+USE_IMAKE= YES
+NO_INSTALL_MANPAGES= YES
+
+MESSAGE_FILE= ${WRKDIR}/MESSAGE
+
+post-patch:
+ ${SED} -e "s,@PREFIX@,${PREFIX},g" <${PKGDIR}/MESSAGE >${MESSAGE_FILE}
+
+post-install:
+ ${MKDIR} ${PREFIX}/share/examples/xscribble
+ ${CP} ${WRKSRC}/classifiers/*.cl ${PREFIX}/share/examples/xscribble
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xscribble/files/md5 b/x11/xscribble/files/md5
new file mode 100644
index 00000000000..959fc32f0f8
--- /dev/null
+++ b/x11/xscribble/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/11/01 19:35:09 itojun Exp $
+
+MD5 (xscribble.tgz) = 016aa7614009f91662d85939988b0511
diff --git a/x11/xscribble/files/patch-sum b/x11/xscribble/files/patch-sum
new file mode 100644
index 00000000000..c2fa448a1fb
--- /dev/null
+++ b/x11/xscribble/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/11/01 19:35:09 itojun Exp $
+
+MD5 (patch-aa) = 52db67f85811a58ee35c2e560d6a3f23
+MD5 (patch-ab) = 6c6bc1aa08fb88563bf8edeac0d96593
diff --git a/x11/xscribble/patches/patch-aa b/x11/xscribble/patches/patch-aa
new file mode 100644
index 00000000000..8e4b80c465a
--- /dev/null
+++ b/x11/xscribble/patches/patch-aa
@@ -0,0 +1,10 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/11/01 19:35:09 itojun Exp $
+
+--- lirec/li_recognizer.c- Thu Nov 2 04:17:33 2000
++++ lirec/li_recognizer.c Thu Nov 2 04:17:46 2000
+@@ -925,3 +925,4 @@
+ /*#include <assert.h>*/
+-#include <values.h>
++#include <sys/param.h>
++#define MAXINT INT_MAX
+ #include <sys/time.h>
diff --git a/x11/xscribble/patches/patch-ab b/x11/xscribble/patches/patch-ab
new file mode 100644
index 00000000000..90bdaf08d86
--- /dev/null
+++ b/x11/xscribble/patches/patch-ab
@@ -0,0 +1,7 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/11/01 19:35:09 itojun Exp $
+
+--- Imakefile- Thu Nov 2 04:26:45 2000
++++ Imakefile Thu Nov 2 04:26:52 2000
+@@ -19 +19,2 @@
+
++xscribble.man::
diff --git a/x11/xscribble/pkg/COMMENT b/x11/xscribble/pkg/COMMENT
new file mode 100644
index 00000000000..82d13fcd24e
--- /dev/null
+++ b/x11/xscribble/pkg/COMMENT
@@ -0,0 +1 @@
+Handwriting recognition (like graffiti)
diff --git a/x11/xscribble/pkg/DESCR b/x11/xscribble/pkg/DESCR
new file mode 100644
index 00000000000..037cae2f034
--- /dev/null
+++ b/x11/xscribble/pkg/DESCR
@@ -0,0 +1,9 @@
+Xscribble is an X application that allows a user of a touch screen
+to input characters into X applications, using a uni-stroke (graffiti
+like) alphabet. It uses the X test extension to allow synthesis of
+characters as though they had been typed on a keyboard. It is the
+X version of the scribble program.
+
+As this program is "familiar" to Palm users, even if other, better
+recognizers become available, it is important that we have a good
+implementation of this recognition system..
diff --git a/x11/xscribble/pkg/MESSAGE b/x11/xscribble/pkg/MESSAGE
new file mode 100644
index 00000000000..a63d82fc932
--- /dev/null
+++ b/x11/xscribble/pkg/MESSAGE
@@ -0,0 +1,2 @@
+To actually use xscribble, you need to copy
+@PREFIX@/share/examples/xscribble/*.cl into ~/.classifiers.
diff --git a/x11/xscribble/pkg/PLIST b/x11/xscribble/pkg/PLIST
new file mode 100644
index 00000000000..d814645c4e7
--- /dev/null
+++ b/x11/xscribble/pkg/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/11/01 19:35:09 itojun Exp $
+bin/xscribble
+share/examples/xscribble/digits.cl
+share/examples/xscribble/letters.cl
+share/examples/xscribble/punc.cl
+@dirrm share/examples/xscribble