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
commitc2ce29850a8139ecb5f9951ee11bd47754c2a323 (patch)
tree3c8a444eaa6a5d8b0790f1af85cc002ebdb6423c /libs
parent7d3c8e10a29250925fbc748635da61d934230862 (diff)
libt3window: new spell, terminal-based windowing library
Diffstat (limited to 'libs')
-rwxr-xr-xlibs/libt3window/DEPENDS4
-rwxr-xr-xlibs/libt3window/DETAILS25
-rw-r--r--libs/libt3window/HISTORY2
-rwxr-xr-xlibs/libt3window/PRE_BUILD3
4 files changed, 34 insertions, 0 deletions
diff --git a/libs/libt3window/DEPENDS b/libs/libt3window/DEPENDS
new file mode 100755
index 0000000000..ccf3daa7d2
--- /dev/null
+++ b/libs/libt3window/DEPENDS
@@ -0,0 +1,4 @@
+depends libtranscript &&
+depends libunistring &&
+depends ncurses &&
+depends slibtool LIBTOOL=slibtool-shared
diff --git a/libs/libt3window/DETAILS b/libs/libt3window/DETAILS
new file mode 100755
index 0000000000..cd5823dbcb
--- /dev/null
+++ b/libs/libt3window/DETAILS
@@ -0,0 +1,25 @@
+ SPELL=libt3window
+ VERSION=0.4.1
+ SOURCE="$SPELL-$VERSION.tar.bz2"
+ SOURCE_URL[0]=https://os.ghalkes.nl/dist/$SOURCE
+ SOURCE_HASH=sha512:905fc85d174d9bd8945d051d968aaf8cd166317018b6e14993646549f06ba7fef1aedfafc27c7e88ffdfef17945cb4e0256c5447067b1bc079f4dfbffbb93a9a
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE="https://os.ghalkes.nl/t3/libt3window.html"
+ LICENSE[0]="GPL-3.0-only"
+ ENTERED=20220730
+ KEYWORDS=""
+ SHORT="terminal-based windowing library"
+cat << EOF
+The libt3window library provides functions for manipulating the terminal and for
+creating (possibly overlapping) windows on a terminal. libt3window can be used
+instead of (n)curses for drawing on the terminal. libt3window provides the
+following features:
+* (Overlapping) windows for drawing. Overlapping windows hide windows deeper in
+ the window stack.
+* Clipping of windows to the size of the parent window.
+* UTF-8 used internally, which is converted to the terminal encoding before
+ output. libt3window depends on libunistring for UTF-8 processing and
+ libtranscript for character set conversion.
+* Provides easy access to the most needed terminal functionality.
+* Small code size.
+EOF
diff --git a/libs/libt3window/HISTORY b/libs/libt3window/HISTORY
new file mode 100644
index 0000000000..00cb36449b
--- /dev/null
+++ b/libs/libt3window/HISTORY
@@ -0,0 +1,2 @@
+2022-07-31 Ismael Luceno <ismael@sourcemage.org>
+ * DEPENDS, DETAILS, PRE_BUILD: spell created
diff --git a/libs/libt3window/PRE_BUILD b/libs/libt3window/PRE_BUILD
new file mode 100755
index 0000000000..313136fa4f
--- /dev/null
+++ b/libs/libt3window/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+sedit '/^\tchmod 0644 [^/]*[/]libt[^.]*[.]la$/d' Makefile.in