From ae612c9b4e2b143c9c4b630ce342056e6ef1c9be Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 17 Jan 2026 12:44:52 +0200 Subject: [PATCH] Update package version to 2.14 --- pkg.info | 7 ++++--- source.sh | 22 ++++++++++------------ 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/pkg.info b/pkg.info index 8fa91c0..18d3ed2 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: grub description: The GRand Unified Bootloader -version: "2.12" -revision: 10 +version: "2.14" +revision: 1 url: https://www.gnu.org/software/grub/ license: GPL3-or-later architecture: any @@ -20,6 +20,7 @@ optional_depends: - mtools - os-prober make_depends: + - autoconf-archive - freetype2 - fuse3 - gzip @@ -28,7 +29,7 @@ downloads: - url: https://ftpmirror.gnu.org/gnu/grub/grub-${BPM_PKG_VERSION}.tar.xz extract_to: ${BPM_SOURCE} extract_strip_components: 1 - checksum: f3c97391f7c4eaa677a78e090c7e97e6dc47b16f655f04683ebd37bef7fe0faa + checksum: bc8d3c73535b8838d8c8e2654d73edc4e6ae8c8acdb45d5df5dc9a1547446d43 - url: https://ftpmirror.gnu.org/gnu/unifont/unifont-16.0.03/unifont-16.0.03.bdf.gz filepath: unifont.bdf.gz checksum: 7f3d1664ac1c051f59a1a1360dd654f78d82c246a688c342e863cec7f6ba95d4 diff --git a/source.sh b/source.sh index 48822ca..5a22086 100644 --- a/source.sh +++ b/source.sh @@ -9,7 +9,14 @@ prepare() { gunzip -c unifont.bdf.gz > "$BPM_SOURCE"/unifont.bdf cd "$BPM_SOURCE" + # Allow detection of non-versioned initramfs image file names patch -Np1 -i "$BPM_WORKDIR"/fix-initramfs-detection.patch + # Add missing file + echo depends bli part_gpt > grub-core/extra_deps.lst + # Fix dejavu font directory + sed 's|/usr/share/fonts/dejavu|/usr/share/fonts/dejavu /usr/share/fonts/TTF|g' -i "configure.ac" + + autoreconf -fi } # The build function is executed in the source directory @@ -17,17 +24,12 @@ prepare() { build() { unset {C,CPP,CXX,LD}FLAGS - # Add missing file - echo depends bli part_gpt > grub-core/extra_deps.lst - - # Fix dejavu font directory - sed 's|/usr/share/fonts/dejavu|/usr/share/fonts/dejavu /usr/share/fonts/TTF|g' -i "configure.ac" - - autoreconf -fi ./configure --prefix=/usr \ --sysconfdir=/etc \ --disable-efiemu \ --disable-werror \ + --enable-boot-time \ + --enable-cache-stats \ --with-platform=efi \ --target=x86_64 make @@ -36,15 +38,11 @@ build() { # The package function is executed in the source directory # This function is used to move the compiled files into the output directory package() { - make DESTDIR="$BPM_OUTPUT" install + make DESTDIR="$BPM_OUTPUT" bashcompletiondir=/usr/share/bash-completion/completions install #Install font data files install -Dm644 ascii.h widthspec.h *.pf2 "$BPM_OUTPUT"/usr/share/grub/ - # Install bash completions - install -dm755 "$BPM_OUTPUT"/usr/share/bash-completion/completions/ - mv "$BPM_OUTPUT"/etc/bash_completion.d/grub "$BPM_OUTPUT"/usr/share/bash-completion/completions - # Install grub default file install -Dm644 "$BPM_WORKDIR"/grub.default "$BPM_OUTPUT"/etc/default/grub