From 16909c03b86be7aa2e9275fb93b8d03f1c3c3356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luc=C3=ADa=20Andrea=20Illanes=20Albornoz?= Date: Mon, 20 Mar 2023 17:29:39 +0100 Subject: Implements 256-colour pkgtool.sh theme. --- etc/pkgtool.msgs.en | 50 +++++++++++++++++++++++++---------------------- etc/pkgtool.theme | 56 ++++++++++++++++++++++++++++++++++++++++++++--------- 2 files changed, 74 insertions(+), 32 deletions(-) (limited to 'etc') diff --git a/etc/pkgtool.msgs.en b/etc/pkgtool.msgs.en index 95deb0f8..eb9d25ab 100644 --- a/etc/pkgtool.msgs.en +++ b/etc/pkgtool.msgs.en @@ -2,28 +2,32 @@ # en_* locale messages file for pkgtool.sh # -MSG_pkgtool_build_group="1;Build group: %s"; -MSG_pkgtool_pkg_archive_mirroring="2;Mirroring package \`%s', archive URL(s): \`%s'..."; -MSG_pkgtool_pkg_archive_mirroring_parent="3;Mirroring package \`%s' (parent package: \`%s'), archive URL(s): \`%s'..."; -MSG_pkgtool_pkg_deps_fail="1;Warning: failed to unfold dependency-expanded package name list for \`%s'."; -MSG_pkgtool_pkg_deps_full_disabled="2;Full dependencies of \`%s' (disabled packages:) %s"; -MSG_pkgtool_pkg_deps_full="2;Full dependencies of \`%s': %s"; -MSG_pkgtool_pkg_deps_rev_none="1;Package \`%s' has no reverse dependencies."; -MSG_pkgtool_pkg_direct_deps="2;Direct dependencies of \`%s': %s"; -MSG_pkgtool_pkg_disabled="2;Package \`%s' (parent package: \`%s') disabled, skipping."; -MSG_pkgtool_pkg_git_mirroring="2;Mirroring package \`%s', Git URL(s): \`%s'..."; -MSG_pkgtool_pkg_git_mirroring_parent="3;Mirroring package \`%s' (parent package: \`%s'), Git URL(s): \`%s'..."; -MSG_pkgtool_pkg_link_fail="3;Failed to create symbolic link \`%s' for package \`%s' w/ parent package \`%s'."; -MSG_pkgtool_pkg_mirror_fail="1;Failed to mirror package \`%s', skipping."; -MSG_pkgtool_pkg_no_deps="1;Package \`%s' has no dependencies."; -MSG_pkgtool_pkgs_deps_rev_disabled="2;Reverse dependencies of \`%s' (disabled packages:) %s"; -MSG_pkgtool_pkgs_deps_rev="2;Reverse dependencies of \`%s': %s"; -MSG_pkgtool_pkg_skip_archive_mirror="1;Archive URL(s) mirroring disabled, skipping \`%s'."; -MSG_pkgtool_pkg_skip_git_mirror_disabled="1;Package \`%s' specifies to skip Git URL(s) mirroring, skipping."; -MSG_pkgtool_pkg_skip_git_mirror="1;Git URL(s) mirroring disabled, skipping \`%s'."; -MSG_pkgtool_pkg_skip_no_urls="1;Package \`%s' has neither archive nor Git URL(s), skipping."; -MSG_pkgtool_tarball_created="2;Created compressed tarball of \`%s' and \`%s_stderrout.log'."; -MSG_pkgtool_tarball_creating="2;Creating compressed tarball of \`%s' and \`%s_stderrout.log'..."; -MSG_pkgtool_updated_patches="2;Updated \`%s/patches/%s'."; +MSG_info_build_group="1;Build group: %s"; +MSG_info_pkg_deps_fail="1;Warning: failed to unfold dependency-expanded package name list for \`%s'."; +MSG_info_pkg_direct_deps="2;Direct dependencies of \`%s': %s"; +MSG_info_pkg_no_deps="1;Package \`%s' has no dependencies."; +MSG_info_pkg_disabled="1;Package \`%s' is disabled."; +MSG_info_pkg_deps_full="2;Full dependencies of \`%s': %s"; +MSG_info_pkg_deps_full_disabled="2;Full dependencies of \`%s' (disabled packages:) %s"; + +MSG_mirror_pkg_disabled="2;Package \`%s' (parent package: \`%s') disabled, skipping."; +MSG_mirror_pkg_skip_archive_mirror="1;Archive URL(s) mirroring disabled, skipping \`%s'."; +MSG_mirror_pkg_archive_mirroring="2;Mirroring package \`%s', archive URL(s): \`%s'..."; +MSG_mirror_pkg_archive_mirroring_parent="3;Mirroring package \`%s' (parent package: \`%s'), archive URL(s): \`%s'..."; +MSG_mirror_pkg_mirror_fail="1;Failed to mirror package \`%s', skipping."; +MSG_mirror_pkg_skip_git_mirror="1;Git URL(s) mirroring disabled, skipping \`%s'."; +MSG_mirror_pkg_skip_git_mirror_disabled="1;Package \`%s' specifies to skip Git URL(s) mirroring, skipping."; +MSG_mirror_pkg_link_fail="3;Failed to create symbolic link \`%s' for package \`%s' w/ parent package \`%s'."; +MSG_mirror_pkg_git_mirroring="2;Mirroring package \`%s', Git URL(s): \`%s'..."; +MSG_mirror_pkg_git_mirroring_parent="3;Mirroring package \`%s' (parent package: \`%s'), Git URL(s): \`%s'..."; +MSG_mirror_pkg_skip_no_urls="1;Package \`%s' has neither archive nor Git URL(s), skipping."; + +MSG_rdepends_pkg_deps_rev_none="1;Package \`%s' has no reverse dependencies."; +MSG_rdepends_pkgs_deps_rev_disabled="2;Reverse dependencies of \`%s' (disabled packages:) %s"; +MSG_rdepends_pkgs_deps_rev="2;Reverse dependencies of \`%s': %s"; +MSG_rdepends_pkgs_deps_rev_recurse="2;Recursive reverse dependencies of \`%s': %s"; + +MSG_tarball_created="2;Created compressed tarball of \`%s' and \`%s_stderrout.log'."; +MSG_tarball_creating="2;Creating compressed tarball of \`%s' and \`%s_stderrout.log'..."; # vim:foldmethod=marker ft=sh diff --git a/etc/pkgtool.theme b/etc/pkgtool.theme index 31ea331e..cba6c9f9 100644 --- a/etc/pkgtool.theme +++ b/etc/pkgtool.theme @@ -35,22 +35,60 @@ # # Tag sets # -LOG_TAGS_all="fileop,install,fatal,info,verbose,warning"; -LOG_TAGS_normal="fatal,info,warning"; +LOG_TAGS_all="fileop,install,fatal,info,verbose,warning,package_vars,info_build_group,info_pkg_direct_deps,info_pkg_no_deps,info_pkg_disabled,info_pkg_deps_full,info_pkg_deps_full_disabled,mirror_pkg_archive_mirroring,mirror_pkg_archive_mirroring_parent,mirror_pkg_git_mirroring,mirror_pkg_git_mirroring_parent"; +LOG_TAGS_normal="fatal,info,warning,package_vars,info_build_group,info_pkg_direct_deps,info_pkg_no_deps,info_pkg_disabled,info_pkg_deps_full,info_pkg_deps_full_disabled,mirror_pkg_archive_mirroring,mirror_pkg_archive_mirroring_parent,mirror_pkg_git_mirroring,mirror_pkg_git_mirroring_parent"; LOG_TAGS_verbose="${LOG_TAGS_normal:+${LOG_TAGS_normal},}verbose"; - # # Subsystem tags # -LOG_TAG_fileop=36; # Cyan -LOG_TAG_install=36; # Cyan +LOG_TAG_fileop=36; # Cyan +LOG_TAG_install=36; # Cyan # # General level tags # -LOG_TAG_fatal=91; # Bright red -LOG_TAG_info=93; # Bright yellow -LOG_TAG_verbose=96; # Bright cyan -LOG_TAG_warning=31; # Dark red +LOG_TAG_fatal=91; # Bright red +LOG_TAG_info=93; # Bright yellow +LOG_TAG_verbose=96; # Bright cyan +LOG_TAG_warning=31; # Dark red + +# +# General build tags +# +LOG_TAG_package_vars=33; # Dark yellow +LOG_TAG_package_vars_even_256="38;5;228"; # RGB #ffaf5f +LOG_TAG_package_vars_odd_256="38;5;226"; # RGB #ffaf00 + +# +# Package info tags +# +LOG_TAG_info_build_group=93; # Bright yellow +LOG_TAG_info_build_group_256="38;5;221"; # RGB #ffd75f +LOG_TAG_info_pkg_direct_deps=93; # Bright yellow +LOG_TAG_info_pkg_direct_deps_256="38;5;215"; # RGB #ffaf5f +LOG_TAG_info_pkg_no_deps=96; # Bright cyan +LOG_TAG_info_pkg_no_deps_256="38;5;205"; # RGB #ff5faf +LOG_TAG_info_pkg_disabled=96; # Bright cyan +LOG_TAG_info_pkg_disabled_256="38;5;207"; # RGB #ff5fff +LOG_TAG_info_pkg_deps_full=93; # Bright yellow +LOG_TAG_info_pkg_deps_full_256="38;5;208"; # RGB #ff8700 +LOG_TAG_info_pkg_deps_full_disabled=96; # Bright cyan +LOG_TAG_info_pkg_deps_full_disabled_256="38;5;147"; # RGB #afafff + +# +# Package mirror tags +# +LOG_TAG_mirror_pkg_archive_mirroring=93; # Bright yellow +LOG_TAG_mirror_pkg_archive_mirroring_even_256="38;5;123"; # RGB #87ffff +LOG_TAG_mirror_pkg_archive_mirroring_odd_256="38;5;122"; # RGB #87ffd7 +LOG_TAG_mirror_pkg_archive_mirroring_parent=93; # Bright yellow +LOG_TAG_mirror_pkg_archive_mirroring_parent_even_256="38;5;123"; # RGB #87ffff +LOG_TAG_mirror_pkg_archive_mirroring_parent_odd_256="38;5;122"; # RGB #87ffd7 +LOG_TAG_mirror_pkg_git_mirroring=93; # Bright yellow +LOG_TAG_mirror_pkg_git_mirroring_even_256="38;5;117"; # RGB #87d7ff +LOG_TAG_mirror_pkg_git_mirroring_odd_256="38;5;116"; # RGB #87d7d7 +LOG_TAG_mirror_pkg_git_mirroring_parent=93; # Bright yellow +LOG_TAG_mirror_pkg_git_mirroring_parent_even_256="38;5;117"; # RGB #87d7ff +LOG_TAG_mirror_pkg_git_mirroring_parent_odd_256="38;5;116"; # RGB #87d7d7 # vim:foldmethod=marker ft=sh -- cgit v1.2.3