From 3b814f1a59826bc381b44e497948bfea3f64f1c9 Mon Sep 17 00:00:00 2001 From: minskim Date: Thu, 3 Jun 2004 16:21:14 +0000 Subject: Update libstroke to 0.5.1 and switch to Tcl 8.4. This closes PR pkg/25574. Changes since 0.3: The big NEWS is that LibStroke now can draw the strokes! Yeeepeeee! But it does not do so by default, you need to pass --with-mouse-footprints to ./configure. After compiling everything try tests/stroke_test to see how this works. There's even more: libgstroke, a stroke implementation for GNOME has been contributed by Dan Nicolaescu. It is fully functional (it also supports mouse footprints by default!) and has a very easy to use API. Try tests/gnome_stroke_test to see how it works (source code in tests/gnome_stroke_test.c). We are proposing a set of strokes to be standard strokes. A pretty picture with them their string representation can be found in doc/standard_strokes.jpg A text listing is in doc/standard_strokes.txt (we will find some better names than the current ones). We'll also add some "sloppy strokes" for the standard strokes. We created autoconf macros for libstroke and libgstroke, they are in the macros subdir. Java port included and some misc bug fixes with the install process. --- devel/libstroke/Makefile | 10 ++++++---- devel/libstroke/PLIST | 13 +++++-------- devel/libstroke/buildlink3.mk | 6 +++--- devel/libstroke/distinfo | 7 +++---- devel/libstroke/patches/patch-aa | 12 ------------ 5 files changed, 17 insertions(+), 31 deletions(-) delete mode 100644 devel/libstroke/patches/patch-aa (limited to 'devel/libstroke') diff --git a/devel/libstroke/Makefile b/devel/libstroke/Makefile index bfe406f11ce..4d08b64f837 100644 --- a/devel/libstroke/Makefile +++ b/devel/libstroke/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.12 2004/03/08 19:52:51 minskim Exp $ +# $NetBSD: Makefile,v 1.13 2004/06/03 16:21:14 minskim Exp $ # -DISTNAME= libstroke-0.3 -PKGREVISION= 1 +DISTNAME= libstroke-0.5.1 CATEGORIES= devel MASTER_SITES= http://www.etla.net/libstroke/ @@ -16,8 +15,11 @@ GNU_CONFIGURE= YES USE_LIBTOOL= YES USE_X11= YES USE_BUILDLINK3= YES +USE_GNU_TOOLS= make LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig -.include "../../lang/tcl83/buildlink3.mk" +CONFIGURE_ENV+= ac_cv_path_GTK_CONFIG=no + +.include "../../lang/tcl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/libstroke/PLIST b/devel/libstroke/PLIST index 55afa606824..949ae1ec309 100644 --- a/devel/libstroke/PLIST +++ b/devel/libstroke/PLIST @@ -1,12 +1,9 @@ -@comment $NetBSD: PLIST,v 1.1 2001/11/01 01:24:45 zuntum Exp $ -bin/stroke_test +@comment $NetBSD: PLIST,v 1.2 2004/06/03 16:21:14 minskim Exp $ +include/stroke.h lib/libstroke.a lib/libstroke.la lib/libstroke.so lib/libstroke.so.0 -lib/libstroke.so.0.3 -lib/libstroke_tcl.a -lib/libstroke_tcl.la -lib/libstroke_tcl.so -lib/libstroke_tcl.so.0 -lib/libstroke_tcl.so.0.3 +lib/libstroke.so.0.5 +share/aclocal/libgstroke.m4 +share/aclocal/libstroke.m4 diff --git a/devel/libstroke/buildlink3.mk b/devel/libstroke/buildlink3.mk index 90a32e49c16..2eabae15df3 100644 --- a/devel/libstroke/buildlink3.mk +++ b/devel/libstroke/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.4 2004/03/18 09:12:10 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.5 2004/06/03 16:21:14 minskim Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ LIBSTROKE_BUILDLINK3_MK:= ${LIBSTROKE_BUILDLINK3_MK}+ @@ -11,10 +11,10 @@ BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibstroke} BUILDLINK_PACKAGES+= libstroke .if !empty(LIBSTROKE_BUILDLINK3_MK:M+) -BUILDLINK_DEPENDS.libstroke+= libstroke>=0.3nb1 +BUILDLINK_DEPENDS.libstroke+= libstroke>=0.5.1 BUILDLINK_PKGSRCDIR.libstroke?= ../../devel/libstroke .endif # LIBSTROKE_BUILDLINK3_MK -.include "../../lang/tcl83/buildlink3.mk" +.include "../../lang/tcl/buildlink3.mk" BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/devel/libstroke/distinfo b/devel/libstroke/distinfo index b1936dddec0..ac5caf116d1 100644 --- a/devel/libstroke/distinfo +++ b/devel/libstroke/distinfo @@ -1,5 +1,4 @@ -$NetBSD: distinfo,v 1.2 2001/04/21 00:44:29 wiz Exp $ +$NetBSD: distinfo,v 1.3 2004/06/03 16:21:14 minskim Exp $ -SHA1 (libstroke-0.3.tar.gz) = b73271d838d1fe5a9ca9308107051351688047cd -Size (libstroke-0.3.tar.gz) = 92516 bytes -SHA1 (patch-aa) = f24f9ba49e8b5e13bc53b49d5a918da0c8b4327d +SHA1 (libstroke-0.5.1.tar.gz) = 48bd2b98faa8681ccd97eda7a09442845dbf1b7b +Size (libstroke-0.5.1.tar.gz) = 174270 bytes diff --git a/devel/libstroke/patches/patch-aa b/devel/libstroke/patches/patch-aa deleted file mode 100644 index 4f98eb68051..00000000000 --- a/devel/libstroke/patches/patch-aa +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-aa,v 1.2 2000/09/03 14:43:07 wiz Exp $ ---- libstroke/Makefile.in.orig Tue Aug 29 15:59:17 2000 -+++ libstroke/Makefile.in Tue Aug 29 15:59:37 2000 -@@ -89,7 +89,7 @@ - libstroke_tcl_la_SOURCES = tcl.c stroke.c - - libstroke_la_LDFLAGS = -version-info 0:3:0 --libstroke_tcl_la_LDFLAGS = -ltcl8.0 -version-info 0:3:0 -+libstroke_tcl_la_LDFLAGS = -ltcl83 -version-info 0:3:0 - - include_HEADERS = - -- cgit v1.2.3