[jhalfs] 09/12: [BLFS] Add plasma-post-install as a runtime dep of plasma

"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]> Wed, 22 Jan 2025 11:27:24 +0000
Newsgroups gmane.linux.lfs.automated
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository jhalfs.

commit f0f709c0db8002bea23b69eb8e68b361961e2e9c
Author: Pierre Labastie <[email protected]>
AuthorDate: Thu Jan 16 18:04:41 2025 +0100

    [BLFS] Add plasma-post-install as a runtime dep of plasma
    
    If a user unticks it (it's ticked by defult if plasma is
    selected), it may not run, while it is necessary for plasma.
---
 BLFS/gen-special.sh | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/BLFS/gen-special.sh b/BLFS/gen-special.sh
index 77664a1..a715b39 100755
--- a/BLFS/gen-special.sh
+++ b/BLFS/gen-special.sh
@@ -183,6 +183,9 @@ EOF
                                mode="dependency"/>
 EOF
 # we have to add plasma-activities* to plasma dependencies
+# Also we add a runtime dep on plasma-post-install, in case a user
+# changes the defaults in the "plasma" package (untick plasma-post-install
+# which is ticked by default).
       if [ $(basename $file .xml) = plasma-all ]; then
         cat >>$SPECIAL_FILE << EOF
           <xsl:element name="dependency">
@@ -197,6 +200,12 @@ EOF
             <xsl:attribute name="name">plasma-activities-stats</xsl:attribute>
             <xsl:attribute name="type">ref</xsl:attribute>
           </xsl:element>
+          <xsl:element name="dependency">
+            <xsl:attribute name="status">required</xsl:attribute>
+            <xsl:attribute name="build">after</xsl:attribute>
+            <xsl:attribute name="name">plasma-post-install</xsl:attribute>
+            <xsl:attribute name="type">ref</xsl:attribute>
+          </xsl:element>
 EOF
       fi
     fi

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page