mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-22 11:06:32 +01:00
Update gperf
This commit is contained in:
parent
59e5a4341a
commit
e4689a9467
7 changed files with 35 additions and 13 deletions
29
steps/gperf-3.3/pass1.sh
Executable file
29
steps/gperf-3.3/pass1.sh
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
rm doc/gperf.{1,dvi,info,pdf,ps} doc/*.html
|
||||
touch doc/gperf.info doc/gperf.pdf
|
||||
|
||||
# Useless tests things
|
||||
rm tests/*.exp tests/{languages,charsets}.gperf tests/lang-ucs2.in
|
||||
|
||||
GNULIB_SRCDIR=$(realpath ../gnulib-b08ee1d) \
|
||||
AUTOCONF=autoconf-2.71 \
|
||||
./autogen.sh
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix="${PREFIX}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make "${MAKEJOBS}" MAKEINFO=true PREFIX="${PREFIX}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make MAKEINFO=true PREFIX="${PREFIX}" DESTDIR="${DESTDIR}" install
|
||||
}
|
||||
19
steps/gperf-3.3/patches/reproducible-docs.patch
Normal file
19
steps/gperf-3.3/patches/reproducible-docs.patch
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
SPDX-FileCopyrightText: 2026 Samuel Tyler <samuel@samuelt.me>
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
Make output of the vendored texi2html reproducible.
|
||||
|
||||
--- gperf-3.3/doc/texi2html 2026-01-15 21:18:39.886947132 +1100
|
||||
+++ gperf-3.3/doc/texi2html 2026-01-15 21:22:28.937926499 +1100
|
||||
@@ -1842,7 +1842,9 @@
|
||||
|
||||
@MoY = ('January', 'February', 'March', 'April', 'May', 'June',
|
||||
'July', 'August', 'September', 'October', 'November', 'December');
|
||||
- ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localtime(time);
|
||||
+ ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = defined($ENV{SOURCE_DATE_EPOCH}) ?
|
||||
+ gmtime($ENV{SOURCE_DATE_EPOCH}) :
|
||||
+ localtime(time);
|
||||
$year += ($year < 70) ? 2000 : 1900;
|
||||
return("$mday $MoY[$mon] $year");
|
||||
}
|
||||
2
steps/gperf-3.3/sources
Normal file
2
steps/gperf-3.3/sources
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
f https://mirrors.kernel.org/gnu/gperf/gperf-3.3.tar.gz fd87e0aba7e43ae054837afd6cd4db03a3f2693deb3619085e6ed9d8d9604ad8
|
||||
g https://https.git.savannah.gnu.org/git/gnulib.git~b08ee1d _ b2f5ee417643f729b6c679fbc0c3cd5e448fa17d2b0a9fd612a8e203573a8757 gnulib-b08ee1d.tar.gz
|
||||
Loading…
Add table
Add a link
Reference in a new issue