summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-check-fmttriggers
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-03 23:24:42 +0000
committerKarl Berry <karl@freefriends.org>2020-03-03 23:24:42 +0000
commitdf4fa7852addda5e7bd65587f7d52c89fa9ada9a (patch)
tree2f0caf6b83cc6ee34b69669ffdfd788e2d730e5a /Master/tlpkg/bin/tl-check-fmttriggers
parente0cf1c6f0003d2d2504e786112d1f3132d7ab17a (diff)
make hyph-utf8 a trigger, do not complain about unnecessary l3backend trigger
git-svn-id: svn://tug.org/texlive/trunk@54057 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tl-check-fmttriggers')
-rwxr-xr-xMaster/tlpkg/bin/tl-check-fmttriggers13
1 files changed, 8 insertions, 5 deletions
diff --git a/Master/tlpkg/bin/tl-check-fmttriggers b/Master/tlpkg/bin/tl-check-fmttriggers
index 3b9f66729b9..24535739cd3 100755
--- a/Master/tlpkg/bin/tl-check-fmttriggers
+++ b/Master/tlpkg/bin/tl-check-fmttriggers
@@ -289,8 +289,8 @@ sub pkgs_per_format {
# Compare lists of packages required by building (PKGS_PER_FORMAT) with
# lists of existing trigger directives (FMTTRIGGERS). Return 0 if
-# identical, 1 otherwise (and report differences). Ignore hyphenation
-# dependencies, except hyph-utf8, l3backend, and the package itself
+# identical, 1 otherwise (and report differences). Ignore some
+# hyphenation dependencies and l3backend, and the package itself
# containing the trigger directive (FMTPKGCONTAINERS).
#
sub compare_pkgs_and_triggers {
@@ -300,9 +300,7 @@ sub compare_pkgs_and_triggers {
# we don't include these as fmttriggers since when they meaningfully
# change, fmtutil should get called anyway due to language.* changing.
- # See 00texlive.autopatterns.tlpsrc for the story on l3backend.
- my @skip_pkgs = qw(dehyph-exptl ruhyphen ukrhyph
- l3backend);
+ my @skip_pkgs = qw(dehyph-exptl ruhyphen ukrhyph);
# Anything matching hyphen-.* is also ignored, but not hyph-utf8.
for my $ef (sort keys %$pkgs_per_format) {
@@ -321,6 +319,11 @@ sub compare_pkgs_and_triggers {
# It's used in the lualatex formats.
delete $tlpdb_pkgs{"luaotfload"};
+ # We intentionally include this as a fmttrigger in tlpdb even
+ # though it is not read at fmt creation time. See
+ # 00texlive.autopatterns.tlpsrc.
+ delete $tlpdb_pkgs{"l3backend"};
+
my @recorded_only = ();
for my $r (keys %recorded_pkgs) {
# no need for a package to include itself as a fmttrigger.