summaryrefslogtreecommitdiff
path: root/graphics/libgiigic
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libgiigic')
-rw-r--r--graphics/libgiigic/DESCR7
-rw-r--r--graphics/libgiigic/Makefile27
-rw-r--r--graphics/libgiigic/PLIST98
-rw-r--r--graphics/libgiigic/distinfo7
-rw-r--r--graphics/libgiigic/patches/patch-aa13
-rw-r--r--graphics/libgiigic/patches/patch-ab13
6 files changed, 165 insertions, 0 deletions
diff --git a/graphics/libgiigic/DESCR b/graphics/libgiigic/DESCR
new file mode 100644
index 00000000000..5d85ba1a495
--- /dev/null
+++ b/graphics/libgiigic/DESCR
@@ -0,0 +1,7 @@
+The goal of LibGIIGIC is to provide a single easy to use, but yet
+powerful API for (re)binding any kind of action to all possible
+input devices through LibGII at runtime.
+
+You likely know this feature from modern computer games, where you
+can say which key (= input source) is used to shoot (= action) with
+your shotgun.
diff --git a/graphics/libgiigic/Makefile b/graphics/libgiigic/Makefile
new file mode 100644
index 00000000000..41a85d2cfc1
--- /dev/null
+++ b/graphics/libgiigic/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/03/25 02:52:07 wiz Exp $
+#
+
+DISTNAME= libgiigic-1.0.0.src
+PKGNAME= ${DISTNAME:S/.src//}
+CATEGORIES= graphics devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ggi/} \
+ http://www.ggi-project.org/ftp/ggi/v2.1/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.ggi-project.org/packages/libgiigic.html
+COMMENT= General Input Configurator for GGI
+
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+USE_BUILDLINK3= yes
+USE_PKGINSTALL= yes
+USE_PKGLOCALEDIR= yes
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+
+PKG_SYSCONFSUBDIR= ggi
+EGDIR= ${PREFIX}/share/examples/libgiigic
+CONF_FILES= ${EGDIR}/libgiigic.conf ${PKG_SYSCONFDIR}/libgiigic.conf
+
+.include "../../graphics/libgii/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/libgiigic/PLIST b/graphics/libgiigic/PLIST
new file mode 100644
index 00000000000..07e52e886f9
--- /dev/null
+++ b/graphics/libgiigic/PLIST
@@ -0,0 +1,98 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/25 02:52:07 wiz Exp $
+bin/gic2c
+include/ggi/gic-defs.h
+include/ggi/gic.h
+include/ggi/gic_confmgr.h
+include/ggi/gic_structs.h
+include/ggi/gicaction_lazy.h
+lib/ggi/gic/recognizer/cheat.la
+lib/ggi/gic/recognizer/keys.la
+lib/ggi/gic/recognizer/mousebutton.la
+lib/ggi/gic/recognizer/relmouse.la
+lib/ggi/gic/recognizer/valuator.la
+lib/libgicaction.la
+lib/libgiigic.la
+man/man3/gicActionLazyAction.3
+man/man3/gicActionLazyGetstate.3
+man/man3/gicActionLazyReset.3
+man/man3/gicActionMapActions.3
+man/man3/gicActionWrite.3
+man/man3/gicClose.3
+man/man3/gicContextAllocate.3
+man/man3/gicContextAttachControl.3
+man/man3/gicContextDetachControl.3
+man/man3/gicContextFindConflict.3
+man/man3/gicContextFree.3
+man/man3/gicContextGetControl.3
+man/man3/gicContextGetName.3
+man/man3/gicContextHandleEvent.3
+man/man3/gicContextLookupControl.3
+man/man3/gicContextMapActions.3
+man/man3/gicContextNumControls.3
+man/man3/gicContextRead.3
+man/man3/gicContextWrite.3
+man/man3/gicControlAllocate.3
+man/man3/gicControlAttachFeature.3
+man/man3/gicControlDetachFeature.3
+man/man3/gicControlFindConflict.3
+man/man3/gicControlFree.3
+man/man3/gicControlGetFeature.3
+man/man3/gicControlGetName.3
+man/man3/gicControlHandleEvent.3
+man/man3/gicControlLookupFeature.3
+man/man3/gicControlMapActions.3
+man/man3/gicControlNumFeatures.3
+man/man3/gicControlRead.3
+man/man3/gicControlWrite.3
+man/man3/gicExit.3
+man/man3/gicFeatureActivate.3
+man/man3/gicFeatureAllocate.3
+man/man3/gicFeatureAttachAction.3
+man/man3/gicFeatureAttachRecognizer.3
+man/man3/gicFeatureAttachRecognizerDriver.3
+man/man3/gicFeatureDetachAction.3
+man/man3/gicFeatureDetachRecognizer.3
+man/man3/gicFeatureFindConflict.3
+man/man3/gicFeatureFree.3
+man/man3/gicFeatureGetName.3
+man/man3/gicFeatureGetRecognizer.3
+man/man3/gicFeatureHandleEvent.3
+man/man3/gicFeatureMapActions.3
+man/man3/gicFeatureNumRecognizers.3
+man/man3/gicFeatureRead.3
+man/man3/gicFeatureWrite.3
+man/man3/gicHeadAllocate.3
+man/man3/gicHeadAttachContext.3
+man/man3/gicHeadDetachContext.3
+man/man3/gicHeadFree.3
+man/man3/gicHeadGetContext.3
+man/man3/gicHeadLookupContext.3
+man/man3/gicHeadMapActions.3
+man/man3/gicHeadNumContexts.3
+man/man3/gicHeadRead.3
+man/man3/gicHeadWrite.3
+man/man3/gicInit.3
+man/man3/gicInputRegister.3
+man/man3/gicOpen.3
+man/man3/gicRecognizerDriverLookup.3
+man/man3/gicRecognizerDriverRegister.3
+man/man3/gicRecognizerDriverUnregister.3
+man/man3/gicRecognizerFindConflict.3
+man/man3/gicRecognizerGetName.3
+man/man3/gicRecognizerGetOpposite.3
+man/man3/gicRecognizerTrain.3
+man/man3/gicRecognizerTrainAdd.3
+man/man3/gicRecognizerTrainMove.3
+man/man3/gicRecognizerTrainStart.3
+man/man3/gicRecognizerTrainStop.3
+man/man3/gicRecognizerWrite.3
+man/man3/gic_context.3
+man/man3/gic_control.3
+man/man3/gic_feature.3
+man/man3/gic_head.3
+man/man7/libgiigic-usage.7
+man/man7/libgiigic.7
+share/examples/libgiigic/libgiigic.conf
+@dirrm share/examples/libgiigic
+@dirrm lib/ggi/gic/recognizer
+@dirrm lib/ggi/gic
diff --git a/graphics/libgiigic/distinfo b/graphics/libgiigic/distinfo
new file mode 100644
index 00000000000..62dffbccfce
--- /dev/null
+++ b/graphics/libgiigic/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/03/25 02:52:07 wiz Exp $
+
+SHA1 (libgiigic-1.0.0.src.tar.bz2) = 1f080b17d5a159da5430349570c280dcde188db7
+RMD160 (libgiigic-1.0.0.src.tar.bz2) = 73b467b1fb65c0175cd6be884e37f12690f11272
+Size (libgiigic-1.0.0.src.tar.bz2) = 297025 bytes
+SHA1 (patch-aa) = 4d46329f23b7357486321d436517c3a6d67d080f
+SHA1 (patch-ab) = c7d28f306ff5651e468d9f88f913524e45ddd32d
diff --git a/graphics/libgiigic/patches/patch-aa b/graphics/libgiigic/patches/patch-aa
new file mode 100644
index 00000000000..d7adfacf584
--- /dev/null
+++ b/graphics/libgiigic/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/03/25 02:52:07 wiz Exp $
+
+--- Makefile.in.orig 2004-11-30 23:41:36.000000000 +0100
++++ Makefile.in
+@@ -190,7 +190,7 @@ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ AUTOMAKE_OPTIONS = 1.4 foreign
+ SUBDIRS = include gic actionlib recognizers programs doc m4
+-gicconfdatadir = $(sysconfdir)/$(ggi_subdir)
++gicconfdatadir = $(datadir)/examples/libgiigic
+ gicconfdata_DATA = libgiigic.conf
+ DISTCLEANFILES = libgiigic.conf
+ EXTRA_DIST = autogen.sh checkversion.sh
diff --git a/graphics/libgiigic/patches/patch-ab b/graphics/libgiigic/patches/patch-ab
new file mode 100644
index 00000000000..948f21bb2ce
--- /dev/null
+++ b/graphics/libgiigic/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/03/25 02:52:07 wiz Exp $
+
+--- configure.orig 2004-11-30 23:41:39.000000000 +0100
++++ configure
+@@ -10210,7 +10210,7 @@ cat >>confdefs.h <<_ACEOF
+ _ACEOF
+
+ cat >>confdefs.h <<_ACEOF
+-#define GICCONFDIR "$PATHTAG$static_sysconfdir/$ggi_subdir"
++#define GICCONFDIR "$PATHTAG$static_sysconfdir"
+ _ACEOF
+
+