Skip to content

Commit 56cc98d

Browse files
committed
loksh: recover the pre-meson 5.6..6.6 band
dimkr/loksh only began publishing meson sources and release tarballs at 6.7.5; the 11 earlier tags (5.6..6.6) ship a plain Makefile and a pre-generated config.h (emacs/vi editors enabled) with no meson.build and no release asset. The earlier "no upstream tarball" exclusion was half-right -- releases/download 404s, but the github archive tag tarball exists and carries the full Makefile tree. shvr_download_loksh now fetches that archive for < 6.7.5, and shvr_build_loksh builds it via the Makefile path: the in-tree static ncurses is wired in through CFLAGS/LDFLAGS so <term.h>/cur_term/tputs/setupterm resolve (the Makefile sources -lncurses from a pkg-config the in-tree build lacks, so -lncurses is appended explicitly), and a minimal TAILQ-only <sys/queue.h> shim is dropped for <=6.0 (emacs.c needs it; musl omits that BSD header). Build flags pass through the environment, not `make VAR=...`, so each Makefile's own `CFLAGS +=` additions (-I./-isystem ., -DEMACS/-DVI) survive. 6.7.5+ keep the unchanged meson path. All 11 build static against musl on both arches and are byte-reproducible (verified: rebuilds match). No versions remain excluded.
1 parent abacaf2 commit 56cc98d

38 files changed

Lines changed: 237 additions & 19 deletions

File tree

.github/actions/downloads/action.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -657,6 +657,61 @@ runs:
657657
shvr_shell: loksh
658658
shvr_version: "6.7.5"
659659
cache_path: "loksh/6.7.5"
660+
- uses: ./.github/actions/single-download
661+
with:
662+
shvr_shell: loksh
663+
shvr_version: "6.6"
664+
cache_path: "loksh/6.6"
665+
- uses: ./.github/actions/single-download
666+
with:
667+
shvr_shell: loksh
668+
shvr_version: "6.5"
669+
cache_path: "loksh/6.5"
670+
- uses: ./.github/actions/single-download
671+
with:
672+
shvr_shell: loksh
673+
shvr_version: "6.4"
674+
cache_path: "loksh/6.4"
675+
- uses: ./.github/actions/single-download
676+
with:
677+
shvr_shell: loksh
678+
shvr_version: "6.3"
679+
cache_path: "loksh/6.3"
680+
- uses: ./.github/actions/single-download
681+
with:
682+
shvr_shell: loksh
683+
shvr_version: "6.2"
684+
cache_path: "loksh/6.2"
685+
- uses: ./.github/actions/single-download
686+
with:
687+
shvr_shell: loksh
688+
shvr_version: "6.1"
689+
cache_path: "loksh/6.1"
690+
- uses: ./.github/actions/single-download
691+
with:
692+
shvr_shell: loksh
693+
shvr_version: "6.0"
694+
cache_path: "loksh/6.0"
695+
- uses: ./.github/actions/single-download
696+
with:
697+
shvr_shell: loksh
698+
shvr_version: "5.9"
699+
cache_path: "loksh/5.9"
700+
- uses: ./.github/actions/single-download
701+
with:
702+
shvr_shell: loksh
703+
shvr_version: "5.8"
704+
cache_path: "loksh/5.8"
705+
- uses: ./.github/actions/single-download
706+
with:
707+
shvr_shell: loksh
708+
shvr_version: "5.7"
709+
cache_path: "loksh/5.7"
710+
- uses: ./.github/actions/single-download
711+
with:
712+
shvr_shell: loksh
713+
shvr_version: "5.6"
714+
cache_path: "loksh/5.6"
660715
- uses: ./.github/actions/single-download
661716
with:
662717
shvr_shell: mksh

.github/workflows/docker.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,17 @@ jobs:
577577
loksh_6.9
578578
loksh_6.8.1
579579
loksh_6.7.5
580+
loksh_6.6
581+
loksh_6.5
582+
loksh_6.4
583+
loksh_6.3
584+
loksh_6.2
585+
loksh_6.1
586+
loksh_6.0
587+
loksh_5.9
588+
loksh_5.8
589+
loksh_5.7
590+
loksh_5.6
580591
mksh_R59c
581592
mksh_R58
582593
mksh_R57
@@ -883,6 +894,17 @@ jobs:
883894
loksh_6.9
884895
loksh_6.8.1
885896
loksh_6.7.5
897+
loksh_6.6
898+
loksh_6.5
899+
loksh_6.4
900+
loksh_6.3
901+
loksh_6.2
902+
loksh_6.1
903+
loksh_6.0
904+
loksh_5.9
905+
loksh_5.8
906+
loksh_5.7
907+
loksh_5.6
886908
mksh_R59c
887909
mksh_R58
888910
mksh_R57
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
b07680563af89f177e54d5d8a13c157f08bcf157d1ba79b536cd28b8ef262fbb loksh
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
982b0760b6364b592b3a7aeb877c389abe1109b63eff904e4032d3a3824b3842 loksh
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
09149239330a8766b8b119c91b78979fdec26492dae803815f1595b2f3f67e63 loksh
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
92474d1bae1eef4c39b3976200cd4cfdf32f89ac03237ae8909d763c57776063 loksh
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
497684a12c1a9ef85b7847f1c79180bf9945742612d7f48a377c9f95e52429f7 loksh
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ff6b3d099c4157c5060b9047482c772735a14b118185fd9e81e530e43bab1922 loksh
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1a6d4a33b219a9f2e9d20f11fdd1a3351c3e3119fe8b3243254e72485b8c9eaf loksh
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
352f087f68b98f382d2f87b28a45c05936b83b6c0f2662823eacc4df49574e07 loksh

0 commit comments

Comments
 (0)