Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2018 19:15:39 +0000 (UTC)
From:      Eugene Grosbein <eugen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r484317 - in head/sysutils: . jstest-gtk
Message-ID:  <201811061915.wA6JFdou021608@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eugen
Date: Tue Nov  6 19:15:39 2018
New Revision: 484317
URL: https://svnweb.freebsd.org/changeset/ports/484317

Log:
  New port sysutils/jstest-gtk: simple joystick tester based on Gtk+.
  
  PR:		231218
  Submitted by:	Ivan Rozhuk <rozhuk.im@gmail.com>

Added:
  head/sysutils/jstest-gtk/
  head/sysutils/jstest-gtk/Makefile   (contents, props changed)
  head/sysutils/jstest-gtk/distinfo   (contents, props changed)
  head/sysutils/jstest-gtk/pkg-descr   (contents, props changed)
  head/sysutils/jstest-gtk/pkg-message   (contents, props changed)
  head/sysutils/jstest-gtk/pkg-plist   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Tue Nov  6 19:00:50 2018	(r484316)
+++ head/sysutils/Makefile	Tue Nov  6 19:15:39 2018	(r484317)
@@ -550,6 +550,7 @@
     SUBDIR += jkill
     SUBDIR += jobd
     SUBDIR += jps
+    SUBDIR += jstest-gtk
     SUBDIR += jtop
     SUBDIR += jtopen
     SUBDIR += jvmtop

Added: head/sysutils/jstest-gtk/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/jstest-gtk/Makefile	Tue Nov  6 19:15:39 2018	(r484317)
@@ -0,0 +1,35 @@
+# $FreeBSD$
+
+PORTNAME=	jstest-gtk
+PORTVERSION=	20180710
+CATEGORIES=	sysutils
+
+MAINTAINER=	rozhuk.im@gmail.com
+COMMENT=	Simple joystick tester based on Gtk+
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+USES=		cmake pkgconfig libtool localbase:ldflags
+USE_GNOME=	gtkmm30 libsigc++20
+
+INSTALLS_ICONS=	yes
+
+# gitlab variables
+USE_GITLAB=	yes
+GL_ACCOUNT=	jstest-gtk
+GL_COMMIT=	62f6e2d7d44620e503149510c428df9e004c9f3b
+
+post-extract:
+	@${MKDIR} ${WRKSRC}/src/linux/
+	@${CP} -f ${FILESDIR}/input.h ${WRKSRC}/src/linux/
+	@${CP} -f ${FILESDIR}/input-event-codes.h ${WRKSRC}/src/linux/
+	@${CP} -f ${FILESDIR}/joystick.h ${WRKSRC}/src/linux/
+	@${CP} -f ${FILESDIR}/types.h ${WRKSRC}/src/linux/
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+	    's|include_directories(SYSTEM|include_directories("$${CMAKE_CURRENT_SOURCE_DIR}/src" SYSTEM|g' \
+		${WRKSRC}/CMakeLists.txt
+
+.include <bsd.port.mk>

Added: head/sysutils/jstest-gtk/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/jstest-gtk/distinfo	Tue Nov  6 19:15:39 2018	(r484317)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1536313445
+SHA256 (jstest-gtk-jstest-gtk-62f6e2d7d44620e503149510c428df9e004c9f3b_GL0.tar.gz) = 3e0b8b02b818582b6c532feaa35c51e59dee1e38399d861436ad8b7e043fd0fb
+SIZE (jstest-gtk-jstest-gtk-62f6e2d7d44620e503149510c428df9e004c9f3b_GL0.tar.gz) = 81302

Added: head/sysutils/jstest-gtk/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/jstest-gtk/pkg-descr	Tue Nov  6 19:15:39 2018	(r484317)
@@ -0,0 +1,6 @@
+jstest-gtk is a simple joystick tester based on Gtk+. It provides you
+with a list of attached joysticks, a way to display which buttons and
+axis are pressed, a way to remap axis and buttons and a way to
+calibrate your joystick.
+
+WWW: https://jstest-gtk.gitlab.io/

Added: head/sysutils/jstest-gtk/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/jstest-gtk/pkg-message	Tue Nov  6 19:15:39 2018	(r484317)
@@ -0,0 +1,7 @@
+
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
+Do not forget install webcamd with joystick support and run it,
+/dev/input/js* device is required.
+
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Added: head/sysutils/jstest-gtk/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/jstest-gtk/pkg-plist	Tue Nov  6 19:15:39 2018	(r484317)
@@ -0,0 +1,10 @@
+bin/jstest-gtk
+libexec/jstest-gtk
+man/man1/jstest-gtk.1.gz
+share/applications/jstest-gtk.desktop
+share/icons/hicolor/scalable/apps/jstest-gtk.svg
+%%DATADIR%%/PS3.png
+%%DATADIR%%/generic.png
+%%DATADIR%%/xbox360.png
+%%DATADIR%%/xbox360_small.png
+share/metainfo/jstest-gtk.appdata.xml



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811061915.wA6JFdou021608>