Changeset d4a6891 for BLFS


Ignore:
Timestamp:
10/31/2023 06:22:43 PM (11 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
ablfs-more, trunk
Children:
3439ff6
Parents:
96528bf
Message:

compound packages: some subpackages are not built

some subpackage names contain digits (for example libX11), but
we test that the tarball name with digits replaced with "X"
contain $package-X. The problem is that the digits have been
replaced in the whole tarball name, and don't match $package.
So translate
$package too. Note that there is no problem if some
packages have names only differing with digits, since
we are sure that the tarball name contain "$package-".
We just want to rule out the case when what comes after
$package- is not a version string.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/xsl/make_book.xsl

    r96528bf rd4a6891  
    517517         package=kwallet and tarball=kwallet-pam-(version).tar.xz.
    518518         We should not continue in this case. For checking, transform
    519          digits into X, and check that package-X occurs in tarball.-->
    520     <xsl:if test="contains(translate($tarball,'0123456789','XXXXXXXXXX'),
    521                            concat($package,'-X'))">
     519         digits into X, and check that package-X occurs in tarball. We
     520         have to translate package too, since it may contain digits.-->
     521    <xsl:if test=
     522        "contains(translate($tarball,'0123456789','XXXXXXXXXX'),
     523                  concat(translate($package,'0123456789','XXXXXXXXXX'),'-X'))">
    522524      <xsl:variable name="md5sum">
    523525        <xsl:call-template name="md5sum">
Note: See TracChangeset for help on using the changeset viewer.