~nabijaczleweli/klapki

38b52bb406f9dc46fff101278a8c611f3d313a83 — наб 2 years ago f301b45
Remove authors list from manual (=> font preparation on CI)
3 files changed, 3 insertions(+), 36 deletions(-)

M .build.yml
M README.md
M man/klapki.8
M .build.yml => .build.yml +0 -32
@@ 11,7 11,6 @@ packages:
  - curl
  - groff
  - ghostscript
  - gsfonts
tasks:
  - build-gcc: |
      cd klapki


@@ 20,37 19,6 @@ tasks:
  - build-clang: |
      cd klapki
      CC=clang CXX=clang++ make
  # https://nabijaczleweli.xyz/content/blogn_t/007-groff-Tps-cyrillic-et-al.html
  - prep-fonts: |
      mkdir /tmp/devps; cd /tmp/devps
      for f in {C,T}{R,B,I,BI}; do
        in="$(awk '$1 == "internalname" {print $2; exit}' "/usr/share/groff/current/font/devps/$f")";
        echo $f: $in;
        src="$(awk -v cur="/$in" '
          $1 ~ /^\// && $2 ~ /^[\/\(]/ {
            if($2 ~ /^\//)
              aliases[$1] = $2;
            else
              paths[$1] = $2;
          }
          END {
            while(cur in aliases)
              cur = aliases[cur];
            if(cur in paths) {
              sub(/^\(/, "", paths[cur]);
              sub(/(pfb)?\)$/, "", paths[cur]);
              print paths[cur]
            } else {
              print "last: " cur > "/dev/stderr";
              exit 1
            }
          }' /var/lib/ghostscript/fonts/Fontmap)";
        echo ${src}afm;
        afmtodit $(expr "$f" : C > /dev/null && printf -- -n) -cmi0 \
          -d /usr/share/groff/current/font/devps/DESC \
          -e /usr/share/groff/current/font/devps/text.enc \
          "${src}afm" /usr/share/groff/current/font/devps/generate/textmap "$f";
      done
  - manpages: |
      git -C klapki/ worktree add ../klapki-man man
      cd klapki-man

M README.md => README.md +1 -0
@@ 101,3 101,4 @@ To all who support further development on Patreon, in particular:

  * ThePhD
  * Embark Studios
  * Jasper Bekkers

M man/klapki.8 => man/klapki.8 +2 -4
@@ 455,10 455,6 @@ UEFI specification, Sexion 3.1.3 Load Options and related:
libefivar verbosity levels:
.Lk https://github.com/rhboot/efivar/blob/36297adcb266f07bb06e725a0da377bc6e6aedd0/src/util.h#L328
.
.Sh AUTHORS
Written by
.An наб Aq nabijaczleweli@nabijaczleweli.xyz .
.
.Sh SPECIAL THANKS
To all who support further development, in particular:
.Bl -bullet -offset 4n -compact -width 0


@@ 466,4 462,6 @@ To all who support further development, in particular:
ThePhD
.It
Embark Studios
.It
Jasper Bekkers
.El