pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
tslib: Import tslib-1.16 as wip/tslib
Module Name: pkgsrc-wip
Committed By: Nia Alarie <nia.alarie%gmail.com@localhost>
Pushed By: nee
Date: Wed May 23 12:11:49 2018 +0100
Changeset: d1b67f7df464c24b404e5d0e806a41ce3ce77e9f
Modified Files:
Makefile
Added Files:
tslib/DESCR
tslib/Makefile
tslib/PLIST
tslib/distinfo
tslib/patches/patch-src_ts__open.c
Log Message:
tslib: Import tslib-1.16 as wip/tslib
tslib is a cross-platform library that provides access to touchscreen
devices and the ability to apply filters to their input events.
tslib is used to access touch screen devices, in case the operating
system doesn't provide driver support. It may instead also only be used
to optimize the touch user experience by applying mathematical filters
in any number or order. The libts library is highly configurable
and portable. tslib includes tools to calibrate, test and use the
library. It is well suited for embedded devices and used in many
commercial products. tslib includes documentation on how to use it.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d1b67f7df464c24b404e5d0e806a41ce3ce77e9f
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
tslib/DESCR | 10 +++++++
tslib/Makefile | 34 ++++++++++++++++++++++++
tslib/PLIST | 53 ++++++++++++++++++++++++++++++++++++++
tslib/distinfo | 7 +++++
tslib/patches/patch-src_ts__open.c | 19 ++++++++++++++
6 files changed, 124 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 53f214ef2c..5c7590bf46 100644
--- a/Makefile
+++ b/Makefile
@@ -4475,6 +4475,7 @@ SUBDIR+= trinity
SUBDIR+= tripwire2
SUBDIR+= truecrypt
SUBDIR+= tsh
+SUBDIR+= tslib
SUBDIR+= tsm
SUBDIR+= tsm62
SUBDIR+= ttf-indic-fonts
diff --git a/tslib/DESCR b/tslib/DESCR
new file mode 100644
index 0000000000..35191cc28d
--- /dev/null
+++ b/tslib/DESCR
@@ -0,0 +1,10 @@
+tslib is a cross-platform library that provides access to touchscreen
+devices and the ability to apply filters to their input events.
+
+tslib is used to access touch screen devices, in case the operating
+system doesn't provide driver support. It may instead also only be used
+to optimize the touch user experience by applying mathematical filters
+in any number or order. The libts library is highly configurable
+and portable. tslib includes tools to calibrate, test and use the
+library. It is well suited for embedded devices and used in many
+commercial products. tslib includes documentation on how to use it.
diff --git a/tslib/Makefile b/tslib/Makefile
new file mode 100644
index 0000000000..dd8a426cd7
--- /dev/null
+++ b/tslib/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD$
+
+DISTNAME= tslib-1.16
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=kergoth/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.tslib.org/
+COMMENT= Touchscreen access library
+LICENSE= gnu-lgpl-v2.1
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= autoconf automake
+USE_LIBTOOL= yes
+
+EGDIR= ${PREFIX}/share/examples/tslib
+CONFIGURE_ARGS+= --sysconfdir=${EGDIR}
+CONF_FILES+= ${EGDIR}/ts.conf ${PKG_SYSCONFDIR}/ts.conf
+
+pre-configure:
+ (cd ${WRKSRC}; ./autogen.sh)
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Linux" && ${OPSYS} != "FreeBSD"
+# Disable /dev/input/eventN support
+CONFIGURE_ARGS+= --disable-input
+.endif
+
+.if ${OPSYS} != "Linux"
+CONFIGURE_ARGS+= --disable-waveshare
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/tslib/PLIST b/tslib/PLIST
new file mode 100644
index 0000000000..0c4dc56261
--- /dev/null
+++ b/tslib/PLIST
@@ -0,0 +1,53 @@
+@comment $NetBSD$
+bin/ts_calibrate
+bin/ts_finddev
+bin/ts_harvest
+bin/ts_print
+bin/ts_print_mt
+bin/ts_print_raw
+bin/ts_test
+bin/ts_test_mt
+bin/ts_uinput
+bin/ts_verify
+include/tslib.h
+lib/libts.la
+lib/pkgconfig/tslib.pc
+lib/ts/debounce.la
+lib/ts/dejitter.la
+lib/ts/iir.la
+lib/ts/input.la
+lib/ts/invert.la
+lib/ts/linear.la
+lib/ts/lowpass.la
+lib/ts/median.la
+lib/ts/pthres.la
+lib/ts/skip.la
+lib/ts/touchkit.la
+lib/ts/variance.la
+lib/ts/waveshare.la
+man/man1/ts_calibrate.1
+man/man1/ts_finddev.1
+man/man1/ts_harvest.1
+man/man1/ts_print.1
+man/man1/ts_print_mt.1
+man/man1/ts_print_raw.1
+man/man1/ts_test.1
+man/man1/ts_test_mt.1
+man/man1/ts_uinput.1
+man/man1/ts_verify.1
+man/man3/ts_close.3
+man/man3/ts_close_restricted.3
+man/man3/ts_config.3
+man/man3/ts_error_fn.3
+man/man3/ts_fd.3
+man/man3/ts_get_eventpath.3
+man/man3/ts_libversion.3
+man/man3/ts_open.3
+man/man3/ts_open_restricted.3
+man/man3/ts_read.3
+man/man3/ts_read_mt.3
+man/man3/ts_read_raw.3
+man/man3/ts_read_raw_mt.3
+man/man3/ts_setup.3
+man/man5/ts.conf.5
+share/examples/tslib/ts.conf
diff --git a/tslib/distinfo b/tslib/distinfo
new file mode 100644
index 0000000000..047b490a8f
--- /dev/null
+++ b/tslib/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (tslib-1.16.tar.gz) = 25aa5fb807ccd9bdff44f1e71b7491783ccecebd
+RMD160 (tslib-1.16.tar.gz) = 8d057bde6f49553f84d89f7a85f6e67ad860b2f5
+SHA512 (tslib-1.16.tar.gz) = a236395c38db400217c154e8ec4f08dca4a85855866d17b6ae9f77f58fb410298fd324a112433c4280f6b8e626d68ed20d186c985845cd85cf460dc284917f8d
+Size (tslib-1.16.tar.gz) = 209234 bytes
+SHA1 (patch-src_ts__open.c) = 99b1577465bab08c1f2c2e7a6b4451911a800671
diff --git a/tslib/patches/patch-src_ts__open.c b/tslib/patches/patch-src_ts__open.c
new file mode 100644
index 0000000000..e77e3bf47c
--- /dev/null
+++ b/tslib/patches/patch-src_ts__open.c
@@ -0,0 +1,19 @@
+$NetBSD$
+
+Add support for identifying more operating systems.
+
+--- src/ts_open.c.orig 2018-04-19 13:06:37.000000000 +0000
++++ src/ts_open.c
+@@ -41,8 +41,12 @@ static void print_host_os(void)
+ printf("Host OS: Linux");
+ #elif defined (__FreeBSD__)
+ printf("Host OS: FreeBSD");
++#elif defined (__NetBSD__)
++ printf("Host OS: NetBSD");
+ #elif defined (__OpenBSD__)
+ printf("Host OS: OpenBSD");
++#elif defined (__sun)
++ printf("Host OS: Solaris");
+ #elif defined (__GNU__) && defined (__MACH__)
+ printf("Host OS: Hurd");
+ #elif defined (__HAIKU__)
Home |
Main Index |
Thread Index |
Old Index