Files

13 lines
684 B
Bash

#!/bin/bash
cd /tmp
for f in grub-core/gfxmenu/gui_progress_bar.c grub-core/gfxmenu/gui_label.c grub-core/gfxmenu/gui_circular_progress.c grub-core/gfxmenu/view.c grub-core/font/font.c; do
out=$(echo "$f" | tr '/' '_')
[ -s "$out" ] || curl -sSL --max-time 120 "https://raw.githubusercontent.com/rhboot/grub2/master/$f" -o "$out" || true
done
echo "=== __timeout__ usage:"
grep -n '__timeout__\|timeout' grub-core_gfxmenu_gui_progress_bar.c grub-core_gfxmenu_view.c 2>/dev/null | head -20
echo "=== label text handling:"
grep -n 'text\|@' grub-core_gfxmenu_gui_label.c | head -30
echo "=== antialias in font.c:"
grep -in 'antialias\|alpha\|8-bit' grub-core_font_font.c | head -10