From 45a06d2bd79e6023d913425b4f9e6e7ed9389cd1 Mon Sep 17 00:00:00 2001 From: wwwutz personal clanker Date: Wed, 14 Oct 2026 19:33:30 +0200 Subject: [PATCH 1/4] vte: Keep text readable with a minimum contrast Add vte-0.84.1-min-contrast.patch and bump the revision to 0.84.1-1. Text whose WCAG 2 contrast ratio against its background is below 3.0 (white on light grey, dark blue on black, yellow on grey, ...) is drawn lighter or darker, keeping its hue. Only the drawing changes, including selection and the character under the cursor; the colors applications chose stay as they are. Text deliberately hidden with the same text and background color is left alone. On by default for all VTE terminals, GTK 3 and GTK 4; VTE_MINIMUM_CONTRAST in the environment sets the ratio, 1 disables it. Same as xterm's minimumContrast. The patch is fetched under an md5-specific local name, since bee reuses any cached file of the same name. Co-Authored-By: Claude Opus 5.5 --- vte.be0 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vte.be0 b/vte.be0 index 670f090d5..3bb04a585 100755 --- a/vte.be0 +++ b/vte.be0 @@ -1,12 +1,15 @@ #!/usr/bin/env beesh -# BEE_VERSION vte-0.84.1-0 +# BEE_VERSION vte-0.84.1-1 # SRCURL[0]="https://download.gnome.org/sources/vte/${PKGVERSION[2]}/vte-${PKGVERSION}.tar.xz" SRCURL[0]="https://beehive.molgen.mpg.de/ea4e16dbba54a6b8ba2cbb95cfdaa217/vte-0.84.1.tar.xz" # std::out_ptr needs libstdc++ from GCC 14, but meson.build accepts GCC 12.1. PATCHURL+=("https://beehive.molgen.mpg.de/a10f77b0a96086ce67dbfbed929100b8/vte-0.84.1-do-not-use-std-out_ptr.patch") +# Keep text readable: minimum WCAG contrast 3.0, VTE_MINIMUM_CONTRAST=1 disables. +# Local names carry the md5: bee reuses any cached file of the same name. +PATCHURL+=("https://beehive.molgen.mpg.de/b41160b22410a306a1165ab0366aeb0a/vte-0.84.1-min-contrast.patch vte-0.84.1-min-contrast-b41160b2.patch") # build_in_sourcedir From b04429d2c7cadefe8fd2000f524a7f6b49249b89 Mon Sep 17 00:00:00 2001 From: wwwutz personal clanker Date: Wed, 14 Oct 2026 19:33:30 +0200 Subject: [PATCH 2/4] xfce4-terminal: Embed Hack Braille as default font Add xfce4-terminal-1.1.5-embedded-font.patch with the Hack Braille tarball (already used by xterm) as a second source, and bump the revision to 1.1.5-1. The patch compiles Hack Braille (Hack 3.003 plus the braille patterns U+2800..U+28FF, four styles; MIT and Bitstream Vera License) into xfce4-terminal and makes "Hack Braille 12" the default font. Many TUIs draw graphs and spinners with braille, which the previous default "Monospace" lacks. The fonts are registered with fontconfig from memory at startup; nothing is installed. A font set in the preferences still wins. Adds a direct fontconfig dependency. Co-Authored-By: Claude Opus 5.5 --- xfce4-terminal.be0 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xfce4-terminal.be0 b/xfce4-terminal.be0 index 85bef61fc..cb909e8d6 100755 --- a/xfce4-terminal.be0 +++ b/xfce4-terminal.be0 @@ -1,11 +1,15 @@ #!/usr/bin/env beesh -# BEE_VERSION xfce4-terminal-1.1.5-0 +# BEE_VERSION xfce4-terminal-1.1.5-1 #SRCURL[0]="https://archive.xfce.org/src/apps/xfce4-terminal/${PKGVERSION[2]}/xfce4-terminal-${PKGVERSION}.tar.xz" SRCURL[0]="https://beehive.molgen.mpg.de/d779b64ead82330b6bbc7d500f542490/xfce4-terminal-1.1.5.tar.xz" +# Hack Braille 3.003 (Hack plus braille; MIT, Bitstream Vera), compiled in by xfce4-terminal-1.1.5-embedded-font.patch +SRCURL[1]="https://beehive.molgen.mpg.de/9d3164696416dac1787155b809fd6787/hack-braille-3.003.tar.gz" PATCHURL+=("https://beehive.molgen.mpg.de/8d9408ec1b4244ffa3215d588dd45dca/xfce4-terminal-1.2-paste-warning-default-false.patch") +# Local names carry the md5: bee reuses any cached file of the same name. +PATCHURL+=("https://beehive.molgen.mpg.de/41880e975f5ad5e4d0229ef31653bb48/xfce4-terminal-1.1.5-embedded-font.patch xfce4-terminal-1.1.5-embedded-font-41880e97.patch") # EXCLUDE+=() From d64172e5e7b604a6825b91e95981b6efa69124b3 Mon Sep 17 00:00:00 2001 From: wwwutz personal clanker Date: Wed, 14 Oct 2026 19:52:41 +0200 Subject: [PATCH 3/4] vte: Make the minimum contrast switchable Update vte-0.84.1-min-contrast.patch: the ratio is now also the property VteTerminal:minimum-contrast (1.0 turns it off), so terminals can offer a switch. Only a property, no new C functions, so the exported symbols of libvte stay the same. The revision stays 0.84.1-1, which has not been built yet. Co-Authored-By: Claude Opus 5.5 --- vte.be0 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vte.be0 b/vte.be0 index 3bb04a585..accaf5c33 100755 --- a/vte.be0 +++ b/vte.be0 @@ -7,9 +7,10 @@ SRCURL[0]="https://beehive.molgen.mpg.de/ea4e16dbba54a6b8ba2cbb95cfdaa217/vte-0. # std::out_ptr needs libstdc++ from GCC 14, but meson.build accepts GCC 12.1. PATCHURL+=("https://beehive.molgen.mpg.de/a10f77b0a96086ce67dbfbed929100b8/vte-0.84.1-do-not-use-std-out_ptr.patch") -# Keep text readable: minimum WCAG contrast 3.0, VTE_MINIMUM_CONTRAST=1 disables. +# Keep text readable: minimum WCAG contrast 3.0 (property VteTerminal:minimum-contrast, +# VTE_MINIMUM_CONTRAST in the environment; 1 disables). # Local names carry the md5: bee reuses any cached file of the same name. -PATCHURL+=("https://beehive.molgen.mpg.de/b41160b22410a306a1165ab0366aeb0a/vte-0.84.1-min-contrast.patch vte-0.84.1-min-contrast-b41160b2.patch") +PATCHURL+=("https://beehive.molgen.mpg.de/901cb2b0745a3e6be6f61dbe827e79fa/vte-0.84.1-min-contrast.patch vte-0.84.1-min-contrast-901cb2b0.patch") # build_in_sourcedir From 3106a9ff1a5d951cf881dfa9f1f2efe7423434b1 Mon Sep 17 00:00:00 2001 From: wwwutz personal clanker Date: Wed, 14 Oct 2026 19:52:41 +0200 Subject: [PATCH 4/4] xfce4-terminal: Add View > Minimum Contrast toggle Add xfce4-terminal-1.1.5-minimum-contrast-toggle.patch: a View menu item (also in the context menu's View Options) and the saved preference misc-minimum-contrast, default on, switch VTE's minimum contrast for all terminals. It needs a VTE with the VteTerminal:minimum-contrast property and is hidden otherwise; the property is looked up at runtime, so this still builds against any VTE. The revision stays 1.1.5-1, which has not been built yet. Co-Authored-By: Claude Opus 5.5 --- xfce4-terminal.be0 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xfce4-terminal.be0 b/xfce4-terminal.be0 index cb909e8d6..630126b32 100755 --- a/xfce4-terminal.be0 +++ b/xfce4-terminal.be0 @@ -10,6 +10,8 @@ SRCURL[1]="https://beehive.molgen.mpg.de/9d3164696416dac1787155b809fd6787/hack-b PATCHURL+=("https://beehive.molgen.mpg.de/8d9408ec1b4244ffa3215d588dd45dca/xfce4-terminal-1.2-paste-warning-default-false.patch") # Local names carry the md5: bee reuses any cached file of the same name. PATCHURL+=("https://beehive.molgen.mpg.de/41880e975f5ad5e4d0229ef31653bb48/xfce4-terminal-1.1.5-embedded-font.patch xfce4-terminal-1.1.5-embedded-font-41880e97.patch") +# View > Minimum Contrast (needs vte with VteTerminal:minimum-contrast, otherwise hidden) +PATCHURL+=("https://beehive.molgen.mpg.de/ff7d5a19356d52cdebfb3a900b4839fb/xfce4-terminal-1.1.5-minimum-contrast-toggle.patch xfce4-terminal-1.1.5-minimum-contrast-toggle-ff7d5a19.patch") # EXCLUDE+=()