sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (24083b74a5ba3bd11b82839b41c2f4cedd46bd8c)
- From: Vlad Glagolev <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (24083b74a5ba3bd11b82839b41c2f4cedd46bd8c)
- Date: Fri, 13 Jan 2023 05:38:58 +0000
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
news/newsraft/BUILD | 12 +++++++++++-
news/newsraft/DEPENDS | 3 ++-
news/newsraft/DETAILS | 4 ++--
news/newsraft/HISTORY | 5 +++++
news/newsraft/INSTALL | 8 +++++++-
news/newsraft/PRE_BUILD | 8 --------
6 files changed, 27 insertions(+), 13 deletions(-)
New commits:
commit 24083b74a5ba3bd11b82839b41c2f4cedd46bd8c
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
newsraft: => 0.16
diff --git a/news/newsraft/BUILD b/news/newsraft/BUILD
index b62551b..d75d20e 100755
--- a/news/newsraft/BUILD
+++ b/news/newsraft/BUILD
@@ -1 +1,11 @@
-make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+if spell_ok curl && is_version_less $(installed_version curl) 7.87.0; then
+ CFLAGS+=" -DCURL_WRITEFUNC_ERROR=0xFFFFFFFF"
+fi &&
+
+local target="" &&
+
+if ! is_depends_enabled ${SPELL} scdoc; then
+ target="newsraft"
+fi &&
+
+make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" $target
diff --git a/news/newsraft/DEPENDS b/news/newsraft/DEPENDS
index 2c1c5ce..1f4cb3d 100755
--- a/news/newsraft/DEPENDS
+++ b/news/newsraft/DEPENDS
@@ -4,4 +4,5 @@ depends curl &&
depends expat &&
depends yajl &&
depends gumbo-parser &&
-depends scdoc
+
+optional_depends scdoc "" "" "to generate and install man page"
diff --git a/news/newsraft/DETAILS b/news/newsraft/DETAILS
index cfbc4d4..9037290 100755
--- a/news/newsraft/DETAILS
+++ b/news/newsraft/DETAILS
@@ -1,8 +1,8 @@
SPELL=newsraft
- VERSION=0.15
+ VERSION=0.16
SOURCE=${SPELL}-${VERSION}.tar.gz
SOURCE_URL[0]=https://codeberg.org/grisha/${SPELL}/archive/${SOURCE}
-
SOURCE_HASH=sha512:a539dd74059e182058344d157bac26767ccd81d7726ee652f1cad769e0d241dc5d4a2886e5e009afbcd512ef4f0473b486ebd8993c4f0701b77de8d4ede52553
+
SOURCE_HASH=sha512:8d58a690a08078a70b243d5e77dcd2a154742a51140ba731acfd24847bfea85750c0bd9c8e6ea07cdfe01751a381d22e85f298317325689b690db396cf7fed5f
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}"
DOC_DIRS=""
DOCS="doc/*.md ${DOCS}"
diff --git a/news/newsraft/HISTORY b/news/newsraft/HISTORY
index e587895..60ab421 100644
--- a/news/newsraft/HISTORY
+++ b/news/newsraft/HISTORY
@@ -1,3 +1,8 @@
+2023-01-12 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated spell to 0.16
+ * DEPENDS, BUILD, INSTALL: made scdoc optional
+ * PRE_BUILD: dropped; moved definition to BUILD
+
2023-01-04 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 0.15
diff --git a/news/newsraft/INSTALL b/news/newsraft/INSTALL
index e72b41d..ab2e234 100755
--- a/news/newsraft/INSTALL
+++ b/news/newsraft/INSTALL
@@ -1 +1,7 @@
-make PREFIX="${INSTALL_ROOT}/usr" install
+local target="install" &&
+
+if ! is_depends_enabled ${SPELL} scdoc; then
+ target="install-newsraft install-examples"
+fi &&
+
+make PREFIX="${INSTALL_ROOT}/usr" $target
diff --git a/news/newsraft/PRE_BUILD b/news/newsraft/PRE_BUILD
deleted file mode 100755
index c44186b..0000000
--- a/news/newsraft/PRE_BUILD
+++ /dev/null
@@ -1,8 +0,0 @@
-. "$GRIMOIRE/FUNCTIONS" &&
-
-default_pre_build &&
-cd "${SOURCE_DIRECTORY}" &&
-
-if spell_ok curl && is_version_less $(installed_version curl) 7.87.0; then
- echo "#define CURL_WRITEFUNC_ERROR 0xFFFFFFFF" >>
src/update_feed/update_feed.h
-fi
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (24083b74a5ba3bd11b82839b41c2f4cedd46bd8c), Vlad Glagolev, 01/13/2023
Archive powered by MHonArc 2.6.24.