Skip to Content.
Sympa Menu

sm-commit - [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (f7819c9414c5d9b1c1d9b9e0a9556df7805f4893)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
  • Subject: [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (f7819c9414c5d9b1c1d9b9e0a9556df7805f4893)
  • Date: Sat, 29 Mar 2025 13:43:18 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

devel/appstream/DEPENDS | 8 +++++---
devel/appstream/HISTORY | 4 ++++
devel/appstream/PRE_BUILD | 5 +++++
3 files changed, 14 insertions(+), 3 deletions(-)

New commits:
commit f7819c9414c5d9b1c1d9b9e0a9556df7805f4893
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

devel/appstream: made documentation fully optional

diff --git a/devel/appstream/DEPENDS b/devel/appstream/DEPENDS
index bc909b9..157f7a1 100755
--- a/devel/appstream/DEPENDS
+++ b/devel/appstream/DEPENDS
@@ -1,11 +1,9 @@
source $GRIMOIRE/MESON_DEPENDS &&
#depends -sub CXX gcc &&
-depends docbook-xsl &&
depends GETTEXT &&
depends glib2 &&
depends libxml2 &&
depends libxmlb &&
-depends libxslt &&
depends libyaml &&
depends PKG-CONFIG &&
depends curl &&
@@ -20,4 +18,8 @@ optional_depends vala 'vapi=true' '' 'Vala support' &&
optional_depends gobject-introspection 'gir=true' 'gir=false' \
'to build Introspection data' &&
optional_depends systemd 'systemd=true' 'systemd=false' 'for systemd
integration' &&
-optional_depends gtk-doc 'docs=true' 'docs=false apidocs=false' 'to build
documentation'
+optional_depends gtk-doc 'docs=true' 'docs=false apidocs=false' 'to build
documentation' &&
+if is_depends_enabled "${SPELL}" "gtk-doc"; then
+ depends docbook-xsl &&
+ depends libxslt
+fi
diff --git a/devel/appstream/HISTORY b/devel/appstream/HISTORY
index 915b57e..70cf379 100644
--- a/devel/appstream/HISTORY
+++ b/devel/appstream/HISTORY
@@ -1,3 +1,7 @@
+2025-03-29 Pavel Vinogradov <public AT sourcemage.org>
+ * DEPENDS, PRE_BUILD: needs libxslt and docbook-xsl only when gtk-doc
is
+ enabled, disabled documentation building otherwise
+
2025-01-17 Ismael Luceno <ismael AT sourcemage.org>
* DETAILS: updated spell to 1.0.4
* BUILD, DEPENDS: uses qt6 now
diff --git a/devel/appstream/PRE_BUILD b/devel/appstream/PRE_BUILD
index 77edb5c..ec77dce 100755
--- a/devel/appstream/PRE_BUILD
+++ b/devel/appstream/PRE_BUILD
@@ -3,4 +3,9 @@ cd "${SOURCE_DIRECTORY}" &&

if is_depends_enabled "${SPELL}" samurai; then
sed "s;ninja;samu;" -i po/meson.build
+fi &&
+
+# to disable documentation building
+if ! is_depends_enabled "${SPELL}" "gtk-doc"; then
+ sed "/docs/d" -i meson.build
fi


  • [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (f7819c9414c5d9b1c1d9b9e0a9556df7805f4893), Pavel Vinogradov, 03/29/2025

Archive powered by MHonArc 2.6.24.

Top of Page