pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel devel: add libtermkey. Needed by neovim.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/03844bb21d1b
branches:  trunk
changeset: 377402:03844bb21d1b
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Apr 20 17:41:08 2022 +0000

description:
devel: add libtermkey. Needed by neovim.

libtermkey allows easy processing of keyboard entry from terminal-based
programs. It handles all the necessary logic to recognise special keys,
UTF-8 combining, and so on, with a simple interface.

Note: Use of this library for new programs is discouraged. It is being
maintained for legacy purposes only.

diffstat:

 devel/Makefile                 |   3 ++-
 devel/libtermkey/DESCR         |   6 ++++++
 devel/libtermkey/Makefile      |  22 ++++++++++++++++++++++
 devel/libtermkey/PLIST         |  29 +++++++++++++++++++++++++++++
 devel/libtermkey/buildlink3.mk |  14 ++++++++++++++
 devel/libtermkey/distinfo      |   5 +++++
 6 files changed, 78 insertions(+), 1 deletions(-)

diffs (113 lines):

diff -r 99adfcde8afa -r 03844bb21d1b devel/Makefile
--- a/devel/Makefile    Wed Apr 20 17:36:03 2022 +0000
+++ b/devel/Makefile    Wed Apr 20 17:41:08 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3716 2022/04/20 17:33:05 nia Exp $
+# $NetBSD: Makefile,v 1.3717 2022/04/20 17:41:08 nia Exp $
 #
 
 COMMENT=       Development utilities
@@ -932,6 +932,7 @@
 SUBDIR+=       libtai
 SUBDIR+=       libtar
 SUBDIR+=       libtecla
+SUBDIR+=       libtermkey
 SUBDIR+=       libthai
 SUBDIR+=       libthrift
 SUBDIR+=       libthrift_c_glib
diff -r 99adfcde8afa -r 03844bb21d1b devel/libtermkey/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libtermkey/DESCR    Wed Apr 20 17:41:08 2022 +0000
@@ -0,0 +1,6 @@
+libtermkey allows easy processing of keyboard entry from terminal-based
+programs. It handles all the necessary logic to recognise special keys,
+UTF-8 combining, and so on, with a simple interface.
+
+Note: Use of this library for new programs is discouraged. It is being
+maintained for legacy purposes only.
diff -r 99adfcde8afa -r 03844bb21d1b devel/libtermkey/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libtermkey/Makefile Wed Apr 20 17:41:08 2022 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2022/04/20 17:41:08 nia Exp $
+
+DISTNAME=      libtermkey-0.22
+CATEGORIES=    devel
+MASTER_SITES=  https://www.leonerd.org.uk/code/libtermkey/
+
+HOMEPAGE=      https://www.leonerd.org.uk/code/libtermkey/
+COMMENT=       Library to process keyboard entry from terminal-based programs
+LICENSE=       mit
+
+USE_TOOLS+=    pkg-config gmake gzip
+USE_LIBTOOL=   yes
+
+MAKE_FLAGS+=   PREFIX=${PREFIX}
+MAKE_FLAGS+=   MANDIR=${PREFIX}/${PKGMANDIR}
+
+MANCOMPRESSED= yes
+
+PKGCONFIG_OVERRIDE+=   termkey.pc.in
+
+.include "../../devel/unibilium/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 99adfcde8afa -r 03844bb21d1b devel/libtermkey/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libtermkey/PLIST    Wed Apr 20 17:41:08 2022 +0000
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1 2022/04/20 17:41:08 nia Exp $
+include/termkey.h
+lib/libtermkey.la
+lib/pkgconfig/termkey.pc
+man/man3/termkey_advisereadable.3
+man/man3/termkey_canonicalise.3
+man/man3/termkey_get_buffer_remaining.3
+man/man3/termkey_get_fd.3
+man/man3/termkey_get_keyname.3
+man/man3/termkey_getkey.3
+man/man3/termkey_interpret_csi.3
+man/man3/termkey_interpret_modereport.3
+man/man3/termkey_interpret_mouse.3
+man/man3/termkey_interpret_position.3
+man/man3/termkey_interpret_string.3
+man/man3/termkey_keycmp.3
+man/man3/termkey_keyname2sym.3
+man/man3/termkey_lookup_keyname.3
+man/man3/termkey_new.3
+man/man3/termkey_push_bytes.3
+man/man3/termkey_set_buffer_size.3
+man/man3/termkey_set_canonflags.3
+man/man3/termkey_set_flags.3
+man/man3/termkey_set_waittime.3
+man/man3/termkey_start.3
+man/man3/termkey_strfkey.3
+man/man3/termkey_strpkey.3
+man/man3/termkey_waitkey.3
+man/man7/termkey.7
diff -r 99adfcde8afa -r 03844bb21d1b devel/libtermkey/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libtermkey/buildlink3.mk    Wed Apr 20 17:41:08 2022 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/04/20 17:41:08 nia Exp $
+
+BUILDLINK_TREE+=       libtermkey
+
+.if !defined(LIBTERMKEY_BUILDLINK3_MK)
+LIBTERMKEY_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libtermkey+=     libtermkey>=0.17
+BUILDLINK_PKGSRCDIR.libtermkey?=       ../../devel/libtermkey
+
+.include "../../devel/unibilium/buildlink3.mk"
+.endif # LIBTERMKEY_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libtermkey
diff -r 99adfcde8afa -r 03844bb21d1b devel/libtermkey/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libtermkey/distinfo Wed Apr 20 17:41:08 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/04/20 17:41:08 nia Exp $
+
+RMD160 (libtermkey-0.22.tar.gz) = 553e744534a5318e75f5a696481efe941b7f6ead
+SHA512 (libtermkey-0.22.tar.gz) = 2e8242cd1e6acb8900125dcee9fd47f7554c359363f760b88858c82667e1f3871bdd87358b14c8a133ef3cd2699947a5045477e64cdf7f96d4ead1723e73a219
+Size (libtermkey-0.22.tar.gz) = 46147 bytes



Home | Main Index | Thread Index | Old Index