summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorIsmael Luceno2022-07-31 14:27:52 +0200
committerIsmael Luceno2022-07-31 14:34:12 +0200
commit7d3c8e10a29250925fbc748635da61d934230862 (patch)
tree84b7c1141d94e40f8fb2b68551618140713089fb /libs
parente0fec3265a38b2b663ad8f5a5e09c5be5f3054f0 (diff)
libt3key: new spell, terminal-based keyboard handling library
Diffstat (limited to 'libs')
-rwxr-xr-xlibs/libt3key/DEPENDS4
-rwxr-xr-xlibs/libt3key/DETAILS24
-rw-r--r--libs/libt3key/HISTORY2
-rwxr-xr-xlibs/libt3key/PRE_BUILD3
4 files changed, 33 insertions, 0 deletions
diff --git a/libs/libt3key/DEPENDS b/libs/libt3key/DEPENDS
new file mode 100755
index 0000000000..f0b487b1d1
--- /dev/null
+++ b/libs/libt3key/DEPENDS
@@ -0,0 +1,4 @@
+depends libt3config &&
+depends libxcb && # FIXME optional
+depends ncurses &&
+depends slibtool LIBTOOL=slibtool-shared
diff --git a/libs/libt3key/DETAILS b/libs/libt3key/DETAILS
new file mode 100755
index 0000000000..01dc9f859f
--- /dev/null
+++ b/libs/libt3key/DETAILS
@@ -0,0 +1,24 @@
+ SPELL=libt3key
+ VERSION=0.2.10
+ SOURCE="$SPELL-$VERSION.tar.bz2"
+ SOURCE_URL[0]=https://os.ghalkes.nl/dist/$SOURCE
+ SOURCE_HASH=sha512:0ce4737523ae8eb74b80f5ba3fc851eed4a88eb1c4c0bafcc2dec2fec252a5f8cbc99ab2961bb5822312435d849262415f63c6a04c68a890b3cced82626595af
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE="https://os.ghalkes.nl/t3/libt3key.html"
+ LICENSE[0]="GPL-3.0-only"
+ ENTERED=20220730
+ KEYWORDS=""
+ SHORT="terminal-based keyboard handling library"
+cat << EOF
+The libt3key library provides functions for retrieving the character sequences
+used by terminals to represent keys pressed by the user. Although the terminfo
+database provides part of this information, it lacks information for the
+sequences returned by modern terminals/terminal emulators for many combinations
+of modifiers with other keys. For example, many terminal emulators provide
+separate character sequences for Control combined with the cursor keys, which is
+not stored in the terminfo database.
+
+Many programs contain their own databases with this information. This library
+tries to be a database usable by many programs, such that all programs can
+benefit from the information collected.
+EOF
diff --git a/libs/libt3key/HISTORY b/libs/libt3key/HISTORY
new file mode 100644
index 0000000000..00cb36449b
--- /dev/null
+++ b/libs/libt3key/HISTORY
@@ -0,0 +1,2 @@
+2022-07-31 Ismael Luceno <ismael@sourcemage.org>
+ * DEPENDS, DETAILS, PRE_BUILD: spell created
diff --git a/libs/libt3key/PRE_BUILD b/libs/libt3key/PRE_BUILD
new file mode 100755
index 0000000000..313136fa4f
--- /dev/null
+++ b/libs/libt3key/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+sedit '/^\tchmod 0644 [^/]*[/]libt[^.]*[.]la$/d' Makefile.in