sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Ismael Luceno (75f78e59a060f0f7675b1e654f76da1b8e009002)
- 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 (75f78e59a060f0f7675b1e654f76da1b8e009002)
- Date: Fri, 21 Aug 2020 17:40:53 +0000
GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:
ChangeLog | 6 ++++++
archive/opkg/DETAILS | 21 +++++++++++++++++++++
archive/opkg/HISTORY | 2 ++
devel/libsolv/BUILD | 1 +
devel/libsolv/DEPENDS | 1 +
devel/libsolv/DETAILS | 35 +++++++++++++++++++++++++++++++++++
devel/libsolv/HISTORY | 2 ++
devel/libsolv/INSTALL | 1 +
devel/libsolv/PRE_BUILD | 4 ++++
shell-term-fm/bash/CONFIGURE | 2 ++
shell-term-fm/bash/DEPENDS | 19 ++++++++++++++-----
shell-term-fm/bash/HISTORY | 3 +++
shell-term-fm/yash/BUILD | 6 ++++++
shell-term-fm/yash/DETAILS | 27 +++++++++++++++++++++++++++
shell-term-fm/yash/HISTORY | 2 ++
15 files changed, 127 insertions(+), 5 deletions(-)
New commits:
commit 75f78e59a060f0f7675b1e654f76da1b8e009002
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
bash: Make ncurses and readline optional
Termcap can be used instead of ncurses, so it's optional.
Readline not only can be disabled, but also a version is
bundled to enable line editing without depending on the
system library.
commit e93a64d5c5fc2b435db4a817e3b45922f6b8fee3
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
yash: new spell, Yet Another Shell
commit 4dfe1130f173e978f996ca76a98a15e47d70fcfe
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
libsolv: new spell, free package dependency solver
commit 0682112fe7c213774273dd23b09e45b4d1cda200
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
opkg: new spell, lightweight package management system
diff --git a/ChangeLog b/ChangeLog
index aff5c55..624aa23 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2020-08-21 Ismael Luceno <ismael AT sourcemage.org>
+ * archive/opkg: new spell, lightweight package management system
+ * devel/libsolv: new spell, free package dependency solver using
+ a satisfiability algorithm
+ * shell-term-fm/yash: new spell, Yet Another Shell
+
2020-08-17 Treeve Jelbert <treeve AT sourcemage.org>
* libs/libepubgen: added, generate EPUB documents
diff --git a/archive/opkg/DETAILS b/archive/opkg/DETAILS
new file mode 100755
index 0000000..1ef5257
--- /dev/null
+++ b/archive/opkg/DETAILS
@@ -0,0 +1,21 @@
+ SPELL=opkg
+ VERSION=0.4.3
+ SOURCE="$SPELL-$VERSION.tar.gz"
+ SOURCE_URL=("http://downloads.yoctoproject.org/releases/opkg/$SOURCE")
+
SOURCE_HASH=sha512:5a88295f4aca9c1177b6dc40ed802612ed5f15fe20421dcce6da4756e0b98bd6e41ef7702d7b421cfb38e31983f048a72f39d3d600cf66b68d2d71f49190e8de
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE="http://code.google.com/p/opkg/"
+ LICENSE[0]="GPL-2.0-or-later"
+ ENTERED=20200821
+ KEYWORDS=""
+ SHORT="lightweight package management system"
+cat << EOF
+Opkg is a lightweight package management system based on Ipkg.
+
+It is written in C and resembles apt/dpkg in operation. It is intended for
+use on embedded Linux devices and is used in this capacity in the
OpenEmbedded
+and OpenWrt projects.
+
+As best it can, opkg maintains backwards compatibility with ipkg and conforms
+to a subset of debian's policy manual regarding control files.
+EOF
diff --git a/archive/opkg/HISTORY b/archive/opkg/HISTORY
new file mode 100644
index 0000000..b62a227
--- /dev/null
+++ b/archive/opkg/HISTORY
@@ -0,0 +1,2 @@
+2020-08-21 Ismael Luceno <ismael AT sourcemage.org>
+ * DETAILS: spell created
diff --git a/devel/libsolv/BUILD b/devel/libsolv/BUILD
new file mode 100755
index 0000000..e013b8d
--- /dev/null
+++ b/devel/libsolv/BUILD
@@ -0,0 +1 @@
+cmake_build
diff --git a/devel/libsolv/DEPENDS b/devel/libsolv/DEPENDS
new file mode 100755
index 0000000..f36acc9
--- /dev/null
+++ b/devel/libsolv/DEPENDS
@@ -0,0 +1 @@
+depends cmake
diff --git a/devel/libsolv/DETAILS b/devel/libsolv/DETAILS
new file mode 100755
index 0000000..9f641a7
--- /dev/null
+++ b/devel/libsolv/DETAILS
@@ -0,0 +1,35 @@
+ SPELL=libsolv
+ VERSION=0.7.14
+ SOURCE="$SPELL-$VERSION.tar.gz"
+ WEB_SITE="https://github.com/openSUSE/libsolv/"
+ SOURCE_URL[0]="$WEB_SITE/archive/$VERSION.tar.gz"
+
SOURCE_HASH=sha512:4bc3ecb72ffa5973f7867f700517267fae3b1033788c9e42bf78e21d0a7f9707784f683b118f675709a90a2375c54c4e3cdae326f7ba67b746d1f472131bd494
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ LICENSE[0]="BSD-3-Clause"
+ ENTERED=20200821
+ KEYWORDS=""
+ SHORT="free package dependency solver using a satisfiability
algorithm"
+cat << EOF
+This is libsolv, a free package dependency solver using a satisfiability
+algorithm.
+
+The code is based on two major, but independent, blocks:
+
+- Using a dictionary approach to store and retrieve package and dependency
+ information in a fast and space efficient manner.
+
+- Using satisfiability, a well known and researched topic, for resolving
+ package dependencies.
+
+The sat-solver code has been written to aim for the newest packages, record
+the decision tree to provide introspection, and also provides the user with
+suggestions on how to deal with unsolvable problems. It also takes advantage
+of repository storage to minimize memory usage.
+
+Supported package formats: - rpm/rpm5 - deb - arch linux - haiku
+
+Supported repository formats: - rpmmd (primary, filelists, comps,
+deltainfo/presto, updateinfo) - susetags, suse product formats -
+mandriva/mageia (synthesis, info, files) - arch linux - red carpet helix
+format - haiku
+EOF
diff --git a/devel/libsolv/HISTORY b/devel/libsolv/HISTORY
new file mode 100644
index 0000000..4e44ddd
--- /dev/null
+++ b/devel/libsolv/HISTORY
@@ -0,0 +1,2 @@
+2020-08-21 Ismael Luceno <ismael AT sourcemage.org>
+ * BUILD, DEPENDS, DETAILS, INSTALL, PRE_BUILD: spell created
diff --git a/devel/libsolv/INSTALL b/devel/libsolv/INSTALL
new file mode 100755
index 0000000..157bcdc
--- /dev/null
+++ b/devel/libsolv/INSTALL
@@ -0,0 +1 @@
+cmake_install
diff --git a/devel/libsolv/PRE_BUILD b/devel/libsolv/PRE_BUILD
new file mode 100755
index 0000000..a32172e
--- /dev/null
+++ b/devel/libsolv/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+# not needed on linux
+sedit '/^#include <sys[/]cdefs.h>/d' src/qsort_r.c
diff --git a/shell-term-fm/bash/CONFIGURE b/shell-term-fm/bash/CONFIGURE
index 37d975a..7f17f52 100755
--- a/shell-term-fm/bash/CONFIGURE
+++ b/shell-term-fm/bash/CONFIGURE
@@ -1 +1,3 @@
+config_query_option BASH_OPTS "Enable command line editing?" y \
+ '' --disable-readline &&
config_query BASH_NI_LOGIN "Make non-interactive login shells (started
without --login option) parse config files?" n
diff --git a/shell-term-fm/bash/DEPENDS b/shell-term-fm/bash/DEPENDS
index 5efbf19..8db869b 100755
--- a/shell-term-fm/bash/DEPENDS
+++ b/shell-term-fm/bash/DEPENDS
@@ -4,11 +4,20 @@ case "$HOST" in
*-musl) depends libiconv ;;
esac &&
-depends "readline" "--with-installed-readline" &&
-depends "ncurses" "--with-curses"
depends smgl-fhs &&
depends autoconf &&
-
-if spell_ok readline && is_version_less $(installed_version readline) 6.3;
then
- force_depends readline
+optional_depends ncurses \
+ --with-curses \
+ --without-curses \
+ 'to use curses instead of termcap' &&
+if ! list_find "$BASH_OPTS" --disable-readline
+then
+ optional_depends readline \
+ --with-installed-readline '' \
+ 'to use system readline (not recommended)' &&
+ if is_depends_enabled "$SPELL" readline && spell_ok readline &&
+ is_version_less $(installed_version readline) 6.3
+ then
+ force_depends readline
+ fi
fi
diff --git a/shell-term-fm/bash/HISTORY b/shell-term-fm/bash/HISTORY
index 81163be..05514c7 100644
--- a/shell-term-fm/bash/HISTORY
+++ b/shell-term-fm/bash/HISTORY
@@ -1,3 +1,6 @@
+2020-08-21 Ismael Luceno <ismael AT sourcemage.org>
+ * CONFIGURE, DEPENDS: Made ncurses and readline optional
+
2020-06-28 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* DETAILS: version 5.0.17
diff --git a/shell-term-fm/yash/BUILD b/shell-term-fm/yash/BUILD
new file mode 100755
index 0000000..f65a9ea
--- /dev/null
+++ b/shell-term-fm/yash/BUILD
@@ -0,0 +1,6 @@
+# FIXME -D_XOPEN_SOURCE >= 500 required for setgrent
+# FIXME -D_POSIX_C_SOURCE >= 200112L required for setenv/unsetenv
+# maybe other portability issues
+CFLAGS+=" -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600" &&
+./configure --prefix="$INSTALL_ROOT"/usr &&
+make -j "$MAKE_NJOBS"
diff --git a/shell-term-fm/yash/DETAILS b/shell-term-fm/yash/DETAILS
new file mode 100755
index 0000000..a94f825
--- /dev/null
+++ b/shell-term-fm/yash/DETAILS
@@ -0,0 +1,27 @@
+ SPELL=yash
+ VERSION=2.50
+ SOURCE="$SPELL-$VERSION.tar.xz"
+ SOURCE_URL[0]=https://dotsrc.dl.osdn.net/osdn/$SPELL/73097/$SOURCE
+
SOURCE_HASH=sha512:fc78d61b09f7c81d1d7bd3f4feefa7d4c0de910524759ebcba2b53322abc3f1e0a937007b36a5060af0ee759df210ec06d5eed2c71cf3f7ccd0825521b50edb7
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE="https://yash.osdn.jp/"
+ LICENSE[0]="GPL-2.0-or-later"
+ ENTERED=20200821
+ KEYWORDS=""
+ SHORT="Yet Another Shell"
+cat << EOF
+Yash, yet another shell, is a POSIX-compliant command line shell written in
C99
+(ISO/IEC 9899:1999). Yash is intended to be the most POSIX-compliant shell in
+the world while supporting features for daily interactive and scripting use.
+Notable features are:
+
+- Global aliases
+- Arrays
+- Socket redirection, pipeline redirection, and process redirection
+- Brace expansion and extended globbing
+- Fractional numbers in arithmetic expansion
+- Prompt command and command-not-found handler
+- Command line completion with predefined completion scripts for more than
100
+ commands
+- Command line prediction based on command history
+EOF
diff --git a/shell-term-fm/yash/HISTORY b/shell-term-fm/yash/HISTORY
new file mode 100644
index 0000000..e255145
--- /dev/null
+++ b/shell-term-fm/yash/HISTORY
@@ -0,0 +1,2 @@
+2020-08-21 Ismael Luceno <ismael AT sourcemage.org>
+ * BUILD, DETAILS: spell created
- [SM-Commit] GIT changes to master grimoire by Ismael Luceno (75f78e59a060f0f7675b1e654f76da1b8e009002), Ismael Luceno, 08/21/2020
Archive powered by MHonArc 2.6.24.