From fdbaed54d69f4c7525f0e057292c7275864a56d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E9=9B=A8=E8=90=BD?= Date: Sat, 5 Oct 2024 20:43:10 +0800 Subject: [PATCH] updpatch: lorem 1.4-2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 秋雨落 --- lorem/longer-timeout.patch | 11 ----------- lorem/riscv64.patch | 24 ++++++------------------ 2 files changed, 6 insertions(+), 29 deletions(-) delete mode 100644 lorem/longer-timeout.patch diff --git a/lorem/longer-timeout.patch b/lorem/longer-timeout.patch deleted file mode 100644 index b7216dc22..000000000 --- a/lorem/longer-timeout.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff --git src/meson.build src/meson.build -index 92a21b4..dcd5e5c 100644 ---- src/meson.build -+++ src/meson.build -@@ -64,5 +64,5 @@ test ( - env: [ - cargo_env, - ], -- timeout: 300, # cargo might take a bit of time sometimes -+ timeout: 600, # cargo might take a bit of time sometimes - ) diff --git a/lorem/riscv64.patch b/lorem/riscv64.patch index 23810d9d2..e3e8bdcbd 100644 --- a/lorem/riscv64.patch +++ b/lorem/riscv64.patch @@ -1,23 +1,11 @@ --- PKGBUILD +++ PKGBUILD -@@ -22,14 +22,18 @@ makedepends=( - meson - rust - ) --source=("git+https://gitlab.gnome.org/World/design/lorem.git#tag=$pkgver") --b2sums=(967ed9ffc098f3ce55a5549ce2beccde4e95a1fa69917f087c83ecf45fa2f8018983e2c892dc6d28d64fce5507d5c4d7db33f6950006f434cdc09b0de021f570) -+source=("git+https://gitlab.gnome.org/World/design/lorem.git#tag=$pkgver" -+ "longer-timeout.patch") -+b2sums=(967ed9ffc098f3ce55a5549ce2beccde4e95a1fa69917f087c83ecf45fa2f8018983e2c892dc6d28d64fce5507d5c4d7db33f6950006f434cdc09b0de021f570 -+ e9628245c57e1e344eb7a19a75a52edede7c33cc073a0749b770a8b875d32360c260f6642c1bbad013e8d36ebf959f7147024c2d2580b2022341dbcfcc3090c1) - - prepare() { - cd $pkgname +@@ -44,7 +44,7 @@ build() { + } - CARGO_HOME="$srcdir/build/cargo-home" \ - cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" -+ -+ patch -Np0 -i ../longer-timeout.patch + check() { +- meson test -C build --print-errorlogs --no-rebuild ++ meson test -C build --print-errorlogs --no-rebuild --timeout-multiplier 0 } - build() { + package() {