pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libspnav: Add libspnav-1.2



Module Name:	pkgsrc-wip
Committed By:	Atsushi Toyokura <asteria.at%gmail.com@localhost>
Pushed By:	steleto
Date:		Tue May 12 23:07:01 2026 +0900
Changeset:	1359764061ad1d91cd328a8cac5961db27d6b168

Modified Files:
	Makefile
Added Files:
	libspnav/COMMIT_MSG
	libspnav/DESCR
	libspnav/Makefile
	libspnav/PLIST
	libspnav/buildlink3.mk
	libspnav/distinfo

Log Message:
libspnav: Add libspnav-1.2

Libspnav is a C library for receiving input from 6 degrees-of-freedom
(6dof) input devices, also known as spacemice, spaceballs, etc. 6dof
input is very useful for fluidly manipulating objects or viewpoints in
3D space, and fundamendally comprises of relative movement
(translation) across 3 axes (TX/TY/TZ), and rotation about 3 axes
(RX/RY/RZ).

Libspnav is a counterpart to the free spacenav driver (spacenavd),
which runs as a system daemon, and handles all the low level
interfacing with the actual devices. However, it can also communicate
with the proprietary 3Dconnexion driver (3dxsrv), with reduced
functionality.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1359764061ad1d91cd328a8cac5961db27d6b168

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile               |  1 +
 libspnav/COMMIT_MSG    | 14 ++++++++++++++
 libspnav/DESCR         | 12 ++++++++++++
 libspnav/Makefile      | 24 ++++++++++++++++++++++++
 libspnav/PLIST         |  9 +++++++++
 libspnav/buildlink3.mk | 14 ++++++++++++++
 libspnav/distinfo      |  5 +++++
 7 files changed, 79 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 03f9a622b6..2cb2d3ff99 100644
--- a/Makefile
+++ b/Makefile
@@ -2176,6 +2176,7 @@ SUBDIR+=	libslab
 SUBDIR+=	libslirp491
 SUBDIR+=	libsml
 SUBDIR+=	libsocialweb
+SUBDIR+=	libspnav
 SUBDIR+=	libspt
 SUBDIR+=	libstacktrace
 SUBDIR+=	libstrophe
diff --git a/libspnav/COMMIT_MSG b/libspnav/COMMIT_MSG
new file mode 100644
index 0000000000..75666639c0
--- /dev/null
+++ b/libspnav/COMMIT_MSG
@@ -0,0 +1,14 @@
+libspnav: Add libspnav-1.2
+
+Libspnav is a C library for receiving input from 6 degrees-of-freedom
+(6dof) input devices, also known as spacemice, spaceballs, etc. 6dof
+input is very useful for fluidly manipulating objects or viewpoints in
+3D space, and fundamendally comprises of relative movement
+(translation) across 3 axes (TX/TY/TZ), and rotation about 3 axes
+(RX/RY/RZ).
+
+Libspnav is a counterpart to the free spacenav driver (spacenavd),
+which runs as a system daemon, and handles all the low level
+interfacing with the actual devices. However, it can also communicate
+with the proprietary 3Dconnexion driver (3dxsrv), with reduced
+functionality.
diff --git a/libspnav/DESCR b/libspnav/DESCR
new file mode 100644
index 0000000000..7c51ae09e5
--- /dev/null
+++ b/libspnav/DESCR
@@ -0,0 +1,12 @@
+Libspnav is a C library for receiving input from 6 degrees-of-freedom
+(6dof) input devices, also known as spacemice, spaceballs, etc. 6dof
+input is very useful for fluidly manipulating objects or viewpoints in
+3D space, and fundamendally comprises of relative movement
+(translation) across 3 axes (TX/TY/TZ), and rotation about 3 axes
+(RX/RY/RZ).
+
+Libspnav is a counterpart to the free spacenav driver (spacenavd),
+which runs as a system daemon, and handles all the low level
+interfacing with the actual devices. However, it can also communicate
+with the proprietary 3Dconnexion driver (3dxsrv), with reduced
+functionality.
diff --git a/libspnav/Makefile b/libspnav/Makefile
new file mode 100644
index 0000000000..11577a7c5b
--- /dev/null
+++ b/libspnav/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+DISTNAME=	libspnav-1.2
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=FreeSpacenav/}
+GITHUB_PROJECT=	libspnav
+GITHUB_RELEASE=	v1.2
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/FreeSpacenav/libspnav/
+COMMENT=	Spacenavd or 3dxsrv to get input from 6-dof devices
+LICENSE=	modified-bsd
+
+GNU_CONFIGURE=	yes
+USE_TOOLS+=	pkg-config gmake
+
+PKGCONFIG_OVERRIDE+=	spnav.pc.in
+
+post-install:
+	cd ${DESTDIR}${PREFIX} && ${MV}	share/pkgconfig lib/
+	cd ${DESTDIR}${PREFIX} && ${RMDIR} share
+
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libspnav/PLIST b/libspnav/PLIST
new file mode 100644
index 0000000000..a787a530f0
--- /dev/null
+++ b/libspnav/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD$
+include/spnav.h
+include/spnav_config.h
+include/spnav_magellan.h
+lib/libspnav.a
+lib/libspnav.so
+lib/libspnav.so.0
+lib/libspnav.so.0.4
+lib/pkgconfig/spnav.pc
diff --git a/libspnav/buildlink3.mk b/libspnav/buildlink3.mk
new file mode 100644
index 0000000000..e84d820ef0
--- /dev/null
+++ b/libspnav/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	libspnav
+
+.if !defined(LIBSPNAV_BUILDLINK3_MK)
+LIBSPNAV_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libspnav+=	libspnav>=1.2
+BUILDLINK_PKGSRCDIR.libspnav?=		../../wip/libspnav
+
+.include "../../x11/libX11/buildlink3.mk"
+.endif	# LIBSPNAV_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-libspnav
diff --git a/libspnav/distinfo b/libspnav/distinfo
new file mode 100644
index 0000000000..b3db1588c1
--- /dev/null
+++ b/libspnav/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (libspnav-1.2.tar.gz) = 9d9361d5e85e77707d8c754c9ed4f04eb50bc8e6fae91df6a5b0bb0a49815f95
+SHA512 (libspnav-1.2.tar.gz) = b2df64305ae0211872d85e1b1d6485018ef7cfe76e69bedad16e612608b2c5c8b12b948b502a3f40291c2c0b20e130c76fee582e7af8af4393c8bc1b7651d0d9
+Size (libspnav-1.2.tar.gz) = 33000 bytes


Home | Main Index | Thread Index | Old Index