[jhalfs] 01/03: [BLFS] remove plasma-activities* from compound packages

"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]> Thu, 16 Jan 2025 17:07:29 +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 plabs/kde6
in repository jhalfs.

commit b9710742f64051463a607a497ff458698b966b32
Author: Pierre Labastie <[email protected]>
AuthorDate: Thu Jan 16 18:00:57 2025 +0100

    [BLFS] remove plasma-activities* from compound packages
    
    This prevents duplicate id's with the ones in kf-apps
---
 BLFS/gen-special.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/BLFS/gen-special.sh b/BLFS/gen-special.sh
index 72e29b4..4a98b68 100755
--- a/BLFS/gen-special.sh
+++ b/BLFS/gen-special.sh
@@ -123,6 +123,7 @@ EOF
   cat >> tmpfile << EOF
       <xsl:when test="\$section='$id'">
 EOF
+
 # We extract the list of packages for those pages from
 # the "cat" command that creates the md5 file. We assume
 # that the preceding package is a dependency of the following,
@@ -139,6 +140,10 @@ EOF
 
   precpack=NONE
   for pack in $list_cat; do
+# plasma-activities-* are in kf-apps, so remove them from plasma.
+# the test is for any compound actually, but prevents another test
+# anyway.
+    if [ "${pack#plasma-activities}" != "$pack" ]; then continue; fi
     if grep -q -E 'x7|xcb' $file; then # this is an xorg package
       packname=$pack
 # We extract the version from the ENTITY parts of the .xml file.

-- 
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