Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (e184de3f2e037ef87c7ff2e91ddeb6b706e2ebbb)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (e184de3f2e037ef87c7ff2e91ddeb6b706e2ebbb)
  • Date: Fri, 29 Jul 2022 20:21:12 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

ChangeLog
| 5 +
devel/yabasic/DETAILS
| 18 +++++
devel/yabasic/HISTORY
| 2
editors/efte/BUILD
| 2
editors/efte/CONFIGURE
| 1
editors/efte/DEPENDS
| 1
editors/efte/DETAILS
| 21 +++++
editors/efte/HISTORY
| 5 +
editors/efte/PRE_BUILD
| 3
editors/efte/patches/0001-Fix-a-sometimes-uninitialized-variable.patch
| 26 +++++++

editors/efte/patches/0001-con_x11-Make-compatible-with-tiling-window-managers.patch
| 36 ++++++++++
editors/efte/patches/0002-Let-cmake-respect-CMAKE_CXX_FLAGS.patch
| 21 +++++
libs/libtranscript/DETAILS
| 32 ++++++++
libs/libtranscript/HISTORY
| 2
14 files changed, 175 insertions(+)

New commits:
commit e184de3f2e037ef87c7ff2e91ddeb6b706e2ebbb
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

yabasic: new spell, Yet Another BASIC

commit 7b31cdce1ed6ec616f3b38fe7df646168e07f28b
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

libtranscript: new spell, character-set conversion library

commit e5f70c1b56b45fcc69801d97dbb575d0fe2b2908
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

efte: new spell, eFTE - fork of FTE - Folding Text Editor

diff --git a/ChangeLog b/ChangeLog
index 180a573..8117b5d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-07-29 Ismael Luceno <ismael AT sourcemage.org>
+ * editors/efte: new spell, eFTE - fork of FTE - Folding Text Editor
+ * libs/libtranscript: new spell, character-set conversion library
+ * devel/yabasic: new spell, Yet Another BASIC
+
2022-07-28 Vlad Glagolev <stealth AT sourcemage.org>
* security/uacme: new spell, ACMEv2 client written in plain C with
minimal dependencies
diff --git a/devel/yabasic/DETAILS b/devel/yabasic/DETAILS
new file mode 100755
index 0000000..1835e59
--- /dev/null
+++ b/devel/yabasic/DETAILS
@@ -0,0 +1,18 @@
+ SPELL=yabasic
+ VERSION=2.90.2
+ SOURCE="$SPELL-$VERSION.tar.gz"
+ SOURCE_URL[0]=https://2484.de/$SPELL/download/$SOURCE
+
SOURCE_HASH=sha512:e0ac29379ff73d7b91a088f848885207b2528b3b641f06ea4584c7f3f8efee7dfe37156197315d85f58e2ee3059a9065c80db656ed01b7ae91015c7f8d5f8617
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE="https://2484.de/yabasic/";
+ LICENSE[0]="MIT"
+ ENTERED=20220729
+ KEYWORDS=""
+ SHORT="Yet Another BASIC"
+cat << EOF
+Yabasic is a traditional basic-interpreter. It comes with goto and various
+loops and allows to define subroutines and libraries. It does simple graphics
+and printing. Yabasic can call out to libraries written in C and allows to
+create standalone programs. Yabasic runs under Unix and Windows and has a
+comprehensive documentation; it is small, simple, open-source and free.
+EOF
diff --git a/devel/yabasic/HISTORY b/devel/yabasic/HISTORY
new file mode 100644
index 0000000..2e0a4c0
--- /dev/null
+++ b/devel/yabasic/HISTORY
@@ -0,0 +1,2 @@
+2022-07-29 Ismael Luceno <ismael AT sourcemage.org>
+ * DETAILS: spell created
diff --git a/editors/efte/BUILD b/editors/efte/BUILD
new file mode 100755
index 0000000..f97af22
--- /dev/null
+++ b/editors/efte/BUILD
@@ -0,0 +1,2 @@
+CXXFLAGS+=" -DNDEBUG" &&
+default_build
diff --git a/editors/efte/CONFIGURE b/editors/efte/CONFIGURE
new file mode 100755
index 0000000..b1e2770
--- /dev/null
+++ b/editors/efte/CONFIGURE
@@ -0,0 +1 @@
+. "$GRIMOIRE"/CMAKE_CONFIGURE
diff --git a/editors/efte/DEPENDS b/editors/efte/DEPENDS
new file mode 100755
index 0000000..bd2c258
--- /dev/null
+++ b/editors/efte/DEPENDS
@@ -0,0 +1 @@
+. "$GRIMOIRE"/CMAKE_DEPENDS
diff --git a/editors/efte/DETAILS b/editors/efte/DETAILS
new file mode 100755
index 0000000..262880e
--- /dev/null
+++ b/editors/efte/DETAILS
@@ -0,0 +1,21 @@
+. "$GRIMOIRE"/CMAKE_FUNCTIONS
+ SPELL=efte
+ VERSION=1.1
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+
SOURCE_URL[0]=https://github.com/lanurmi/${SPELL}/archive/refs/tags/${SOURCE}
+
SOURCE_HASH=sha512:bd02693e1e341924e01648301281ad7bc7fa3735e21e703e24f8ce66c6e9c98e0680c5aa2a05cf0e08d63ced2024e3975192a52ff089a97dc9ee58e6ffb9be70
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${SPELL}-${VERSION}"
+ WEB_SITE="https://github.com/lanurmi/efte";
+ LICENSE[0]="GPL-2.0-or-later"
+ ENTERED=20220728
+ KEYWORDS=""
+ SHORT="eFTE - fork of FTE - Folding Text Editor"
+cat << EOF
+eFTE is an intuitive yet powerful text-mode text editor for developers,
+forked from FTE.
+
+Features: - Syntax highlighting for: C/C++, REXX, HTML, IPF, PERL, Ada,
Pascal,
+TEX; - Multiple file/window editing; - Column blocks; - configurable menus
+and keyboard bindings; - mouse support; - undo/redo; - regular expression
+search and replace; - folding; - background compiler execution.
+EOF
diff --git a/editors/efte/HISTORY b/editors/efte/HISTORY
new file mode 100644
index 0000000..c10fdd5
--- /dev/null
+++ b/editors/efte/HISTORY
@@ -0,0 +1,5 @@
+2022-07-28 Ismael Luceno <ismael AT sourcemage.org>
+ * BUILD, CONFIGURE, DEPENDS, DETAILS, PRE_BUILD,
+ patches/0001-Fix-a-sometimes-uninitialized-variable.patch,
+
patches/0001-con_x11-Make-compatible-with-tiling-window-managers.patch,
+ patches/0002-Let-cmake-respect-CMAKE_CXX_FLAGS.patch: spell created
diff --git a/editors/efte/PRE_BUILD b/editors/efte/PRE_BUILD
new file mode 100755
index 0000000..c230ad1
--- /dev/null
+++ b/editors/efte/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+apply_patch_dir patches
diff --git
a/editors/efte/patches/0001-Fix-a-sometimes-uninitialized-variable.patch
b/editors/efte/patches/0001-Fix-a-sometimes-uninitialized-variable.patch
new file mode 100644
index 0000000..bf03f7e
--- /dev/null
+++ b/editors/efte/patches/0001-Fix-a-sometimes-uninitialized-variable.patch
@@ -0,0 +1,26 @@
+From c4bbf67d20aabad507e8db5432ec71d34e818aba Mon Sep 17 00:00:00 2001
+From: Lauri Nurmi <lanurmi AT iki.fi>
+Date: Thu, 17 Sep 2015 01:04:53 +0300
+Subject: [PATCH] Fix a sometimes uninitialized variable.
+
+Signed-off-by: Ismael Luceno <ismael AT iodev.co.uk>
+---
+ src/con_x11.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/con_x11.cpp b/src/con_x11.cpp
+index 42677bcc1379..dec75a797358 100644
+--- a/src/con_x11.cpp
++++ b/src/con_x11.cpp
+@@ -414,7 +414,7 @@ static int InitXFonts(void) {
+ }
+
+ static int SetupXWindow(int argc, char **argv) {
+- unsigned long mask;
++ unsigned long mask = 0;
+
+ #ifdef WINHCLX
+ HCLXlibInit(); /* HCL - Initialize the X DLL */
+--
+2.36.0
+
diff --git
a/editors/efte/patches/0001-con_x11-Make-compatible-with-tiling-window-managers.patch

b/editors/efte/patches/0001-con_x11-Make-compatible-with-tiling-window-managers.patch
new file mode 100644
index 0000000..ae41f11
--- /dev/null
+++
b/editors/efte/patches/0001-con_x11-Make-compatible-with-tiling-window-managers.patch
@@ -0,0 +1,36 @@
+From b9e4293c01345abb489369c1a274374627908916 Mon Sep 17 00:00:00 2001
+From: Ismael Luceno <ismael AT iodev.co.uk>
+Date: Fri, 29 Jul 2022 22:15:12 +0200
+Subject: [PATCH] con_x11: Make compatible with tiling window managers
+
+Tiling window managers can force the window size to be larger than
+supported, causing either an early abort at ConSetSize, or if compiled
+with NDEBUG, a segmentation fault down the road.
+
+Instead, just cap X and Y to their maximums. The only consequence is that
+the window is not fully utilised.
+
+Upstream-Status: Submitted [https://github.com/lanurmi/efte/pull/110]
+Signed-off-by: Ismael Luceno <ismael AT iodev.co.uk>
+---
+ src/con_x11.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/con_x11.cpp b/src/con_x11.cpp
+index 95c53e8c562d..8460b879db3e 100644
+--- a/src/con_x11.cpp
++++ b/src/con_x11.cpp
+@@ -898,8 +898,8 @@ int ConSetSize(int X, int Y) {
+ int i;
+ int MX, MY;
+
+- assert(X <= ConMaxCols);
+- assert(Y <= ConMaxRows);
++ if (X > ConMaxCols) X = ConMaxCols;
++ if (Y > ConMaxRows) Y = ConMaxRows;
+
+ p = NewBuffer = (unsigned char *) malloc(X * Y * 2);
+ if (NewBuffer == NULL) return -1;
+--
+2.36.0
+
diff --git
a/editors/efte/patches/0002-Let-cmake-respect-CMAKE_CXX_FLAGS.patch
b/editors/efte/patches/0002-Let-cmake-respect-CMAKE_CXX_FLAGS.patch
new file mode 100644
index 0000000..3547da4
--- /dev/null
+++ b/editors/efte/patches/0002-Let-cmake-respect-CMAKE_CXX_FLAGS.patch
@@ -0,0 +1,21 @@
+From: Boyuan Yang <byang AT debian.org>
+Date: Wed, 14 Apr 2021 23:52:47 -0400
+Subject: Let cmake respect CMAKE_CXX_FLAGS
+
+---
+ src/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 067ef11..73600ea 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -86,7 +86,7 @@ IF( UNIX AND ${CMAKE_SYSTEM_NAME} MATCHES "Darwin" )
+ ENDIF( UNIX AND ${CMAKE_SYSTEM_NAME} MATCHES "Darwin" )
+
+ IF( CMAKE_COMPILER_IS_GNUCC )
+- SET( CMAKE_CXX_FLAGS "-pedantic -Wall -Wno-long-long -Wpointer-arith
-Wconversion -Wwrite-strings -Winline -fno-rtti -fno-exceptions" )
++ SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Wall -Wno-long-long
-Wpointer-arith -Wconversion -Wwrite-strings -Winline -fno-rtti
-fno-exceptions" )
+ ENDIF( CMAKE_COMPILER_IS_GNUCC )
+
+ IF( CMAKE_SYSTEM_NAME MATCHES "HP/UX" )
diff --git a/libs/libtranscript/DETAILS b/libs/libtranscript/DETAILS
new file mode 100755
index 0000000..147349b
--- /dev/null
+++ b/libs/libtranscript/DETAILS
@@ -0,0 +1,32 @@
+ SPELL=libtranscript
+ VERSION=0.3.3
+ SOURCE="${SPELL}-${VERSION}.tar.bz2"
+ SOURCE_URL[0]=https://os.ghalkes.nl/dist/${SOURCE}
+
SOURCE_HASH=sha512:82f906be407622e5bec2641f6d7d412f854533fe3e0e4a0087384e27cf17f2f6ba5310cc5b921e41136363d44b25cd5d2c25deafab51cbd8ed736b5c2675dbf6
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="https://os.ghalkes.nl/libtranscript.html";
+ LICENSE[0]="GPL-3.0-only"
+ ENTERED=20220729
+ KEYWORDS=""
+ SHORT="character-set conversion library"
+cat << EOF
+libtranscript is a character-set conversion library, much like the iconv
+set of functions. The library allows great control over the conversions. It
+was designed for use in programs which use Unicode internally, using UTF-8,
+UTF-16 or UTF-32/UCS-4.
+
+libtranscript currently provides converters for the following
+encodings:
+* Unicode UTF-{7,8,16LE,16BE,32LE,32BE}, CESU-8, GB-18030.
+* ISO-8859-{1,2,3,4,5,6,7,7-2003,8,9,10,11,13,14,15,16}.
+* Windows-125{0,1,2,3,4,5,6,7,8}.
+* KOI8-{R,U,RU}.
+* ISO-2022-{JP,JP2,JP3,JP2004,KR,CN,CN-EXT}.
+* EUC-{CN,JP,JIS-2004,KR,TW}, Windows-949.
+* Big5, Big5-HKSCS, Windows-950.
+* Shift-JIS, Shift-JISX0213, Shift-JIS-2004, Windows-932.
+* JIS-X-201.
+* Window-936.
+* VISCII.
+* IBM-{37,437,1047}.
+EOF
diff --git a/libs/libtranscript/HISTORY b/libs/libtranscript/HISTORY
new file mode 100644
index 0000000..2e0a4c0
--- /dev/null
+++ b/libs/libtranscript/HISTORY
@@ -0,0 +1,2 @@
+2022-07-29 Ismael Luceno <ismael AT sourcemage.org>
+ * DETAILS: spell created



  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (e184de3f2e037ef87c7ff2e91ddeb6b706e2ebbb), Ismael Luceno, 07/29/2022

Archive powered by MHonArc 2.6.24.

Top of Page