From 35491a4c7035d3f23d33c9c1de9b3e07409caac1 Mon Sep 17 00:00:00 2001 From: OscarL Date: Sat, 16 Aug 2025 04:32:41 -0300 Subject: [PATCH] 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) --- sys-libs/stfl/patches/stfl-0.24.patchset | 39 ------------ sys-libs/stfl/stfl-0.24.recipe | 80 ------------------------ 2 files changed, 119 deletions(-) delete mode 100644 sys-libs/stfl/patches/stfl-0.24.patchset delete mode 100644 sys-libs/stfl/stfl-0.24.recipe diff --git a/sys-libs/stfl/patches/stfl-0.24.patchset b/sys-libs/stfl/patches/stfl-0.24.patchset deleted file mode 100644 index 60a3b83c9..000000000 --- a/sys-libs/stfl/patches/stfl-0.24.patchset +++ /dev/null @@ -1,39 +0,0 @@ -From 5229c08d55cfd4882f8443e025a21317dc0c552d Mon Sep 17 00:00:00 2001 -From: Zoltan Mizsei -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 -+#include - #include - - struct stfl_widget_type; --- -2.8.0 - diff --git a/sys-libs/stfl/stfl-0.24.recipe b/sys-libs/stfl/stfl-0.24.recipe deleted file mode 100644 index c41f93830..000000000 --- a/sys-libs/stfl/stfl-0.24.recipe +++ /dev/null @@ -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 -}