libstfl: drop outdated and unused recipe. (#12732)

This seems to have never been required by any other .recipe on-tree
since its introduction in 2017.

"Upstream is dead", according to https://github.com/newsboat/newsboat,
which maintains a "low-key" fork for stfl.

I can't really find much besides the mentioned "newsboat" requiring
libstfl at all, and newsboat seems to have too many dependencies for
what it offers, IMO.

(In case someone really wanted to package newsboat for Haiku, they would
need to write an updated version of this stfl .recipe anyway)
This commit is contained in:
OscarL
2025-08-16 04:32:41 -03:00
committed by GitHub
parent 0f9bc0b08f
commit 35491a4c70
2 changed files with 0 additions and 119 deletions

View File

@@ -1,39 +0,0 @@
From 5229c08d55cfd4882f8443e025a21317dc0c552d Mon Sep 17 00:00:00 2001
From: Zoltan Mizsei <miqlas@gmail.com>
Date: Tue, 29 Mar 2016 16:38:34 +0200
Subject: [PATCH] Changes for Haiku
---
Makefile | 2 +-
stfl_internals.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index a2e512f..4e3dcb0 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@
include Makefile.cfg
-export CC = gcc -pthread
+export CC = gcc -lroot -liconv
export CFLAGS += -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC
export LDLIBS += -lncursesw
diff --git a/stfl_internals.h b/stfl_internals.h
index 024fa97..c16347b 100644
--- a/stfl_internals.h
+++ b/stfl_internals.h
@@ -28,7 +28,7 @@ extern "C" {
#endif
#include "stfl.h"
-#include <ncursesw/ncurses.h>
+#include <ncurses.h>
#include <pthread.h>
struct stfl_widget_type;
--
2.8.0

View File

@@ -1,80 +0,0 @@
SUMMARY="A curses-based widget library"
DESCRIPTION="STFL is a library which implements a curses-based widget set for \
text terminals. The STFL API can be used from C, SPL, Python, Perl \
and Ruby. Since the API is only 14 simple function calls big and there \
are already generic SWIG bindings it is very easy to port STFL to \
additional scripting languages.
A special language (the Structured Terminal Forms Language) is used \
to describe STFL GUIs. The language is designed to be easy and fast to \
write so an application programmer does not need to spend ages \
fiddling around with the GUI and can concentrate on the more \
interesting programming tasks."
HOMEPAGE="http://www.clifford.at/stfl/"
COPYRIGHT="2006-2007 Clifford Wolf"
LICENSE="GNU GPL v3"
REVISION="6"
srcGitRev="cc355eb6a28e5ad25d20d5b83b57ad6ea1ada316"
SOURCE_URI="https://github.com/dennisschagt/stfl/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="6eb003c328765f730b5593325cbb1e244de4c790b0c96a02ade614280fe21bc4"
SOURCE_FILENAME="stfl-$portVersion-$srcGitRev.tar.gz"
SOURCE_DIR="stfl-$srcGitRev"
PATCHES="stfl-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
stfl$secondaryArchSuffix = $portVersion compat >= 0
lib:libstfl$secondaryArchSuffix = $portVersion compat >= 0
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libncurses$secondaryArchSuffix
"
PROVIDES_devel="
stfl${secondaryArchSuffix}_devel = $portVersion compat >= 0
devel:libstfl$secondaryArchSuffix = $portVersion compat >= 0
"
REQUIRES_devel="
stfl$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libiconv$secondaryArchSuffix
devel:libncurses$secondaryArchSuffix
devel:libruby$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:perl
cmd:python
"
# FOR BUILD() AND INSTALL()
export libdir=$relativeLibDir
export prefix=$prefix
BUILD()
{
make $jobArgs
}
INSTALL()
{
make install
mkdir -p $includeDir
mv $prefix/include/* $includeDir
rmdir $prefix/include/
prepareInstalledDevelLibs libstfl
fixPkgconfig
# devel package
packageEntries devel \
$developDir
}