Nimbin[12]?Mirrors & Forks / jhalfs / commits / 96528bf

jhalfs git · trunk

jhalfs LFS build automation (mirror)

lfs mirror bash · first commit 2005-09-11 · last commit 2024-02-13 (2 years ago) · synced 3 days ago · upstream: git.linuxfromscratch.org/jhalfs

Python 78.4% Shell 19.8% Makefile 1.8%
git clone https://git.christianimmanuel.de/mirrors-forks/jhalfs.gitwget https://git.christianimmanuel.de/mirrors-forks/jhalfs/archive/jhalfs.tar.gz

Fix download url for some kf5 packages

Pierre Labastie · 2023-10-31 18:07 · 96528bf89b9591b0f475b55e98d60279bde90cfa

Some kf5 packages are in a subdirectory "portingAids" of the
main download directory. There is no way to know which ones
by simply examining the frameworks-<version>.md5 file. So
use directly a list of packages known to be in the subdirectory.
This may change when kf5 changes...
 BLFS/xsl/make_book.xsl | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/BLFS/xsl/make_book.xsl b/BLFS/xsl/make_book.xsl
index cacdc12..00c491c 100644
--- a/BLFS/xsl/make_book.xsl
+++ b/BLFS/xsl/make_book.xsl
@@ -569,6 +569,18 @@
                                 contains(@id,'plasma5')">
                     <xsl:text>/</xsl:text>
                   </xsl:if>
+                  <!-- Some kf5 packages are in a subdirectory -->
+                  <xsl:if test="$package='khtml' or
+                                $package='kdelibs4support' or
+                                $package='kdesignerplugin' or
+                                $package='kdewebkit' or
+                                $package='kjs' or
+                                $package='kjsembed' or
+                                $package='kmediaplayer' or
+                                $package='kross' or
+                                $package='kxmlrpcclient'">
+                    <xsl:text>portingAids/</xsl:text>
+                  </xsl:if>
                   <xsl:value-of select="$tarball"/>
                 </xsl:attribute>
                </xsl:element>