Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] refind: update to 0.12.0.
@ 2020-05-03  2:45 sgn
  2020-05-03 12:51 ` [PR PATCH] [Merged]: " sgn
  0 siblings, 1 reply; 2+ messages in thread
From: sgn @ 2020-05-03  2:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 308 bytes --]

There is a new pull request by sgn against master on the void-packages repository

https://github.com/sgn/void-packages refind-update
https://github.com/void-linux/void-packages/pull/21576

refind: update to 0.12.0.


A patch file from https://github.com/void-linux/void-packages/pull/21576.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-refind-update-21576.patch --]
[-- Type: text/x-diff, Size: 2255 bytes --]

From 527a82256e1110d895e21206410a8c630bd1bf6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx+sgn@gmail.com>
Date: Mon, 27 Apr 2020 22:52:30 +0700
Subject: [PATCH] refind: update to 0.12.0.

---
 srcpkgs/refind/template | 29 ++++++++++++++++-------------
 1 file changed, 16 insertions(+), 13 deletions(-)

diff --git a/srcpkgs/refind/template b/srcpkgs/refind/template
index ed30ddeef1b..5e9865b9667 100644
--- a/srcpkgs/refind/template
+++ b/srcpkgs/refind/template
@@ -1,32 +1,35 @@
 # Template file for 'refind'
 pkgname=refind
-version=0.11.4
-revision=4
-makedepends="gnu-efi-libs git"
+version=0.12.0
+revision=1
+archs="x86_64* i686* aarch64*"
+makedepends="gnu-efi-libs"
 depends="bash dosfstools efibootmgr"
 short_desc="EFI boot manager utility"
-maintainer="Julio Galvan <juliogalvan@protonmail.com>"
+maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
 license="GPL-3.0-only, BSD-3-Clause"
 homepage="https://sourceforge.net/projects/refind/"
 distfiles="${SOURCEFORGE_SITE}/refind/refind-src-${version}.tar.gz"
-checksum=39baf140603951da098238c1cbf4176fdd7d4a45fab0399e9985ad7368034dae
-python_version=2 #unverified
+checksum=7bb8505bc9ff87a7b6de38bf9a91d46f4d613b30031d5eb088a4d791a31eb7c4
+python_version=2
 conf_files="/etc/default/refind-kernel-hook.conf"
 
-case "$XBPS_TARGET_MACHINE" in
-	x86_64*|i686*|aarch64*) ;;
-	*) broken="${XBPS_TARGET_MACHINE} is unsupported" ;;
-esac
-
 post_extract() {
-	sed 's|RefindDir=\"\$ThisDir/refind\"|RefindDir="/usr/share/refind"|g' -i refind-install
+	vsed -e 's|RefindDir=\"\$ThisDir/refind\"|RefindDir="/usr/share/refind"|g' \
+		-i refind-install
 
 	# Patch paths to libaries and includes for cross-compiling
-	sed -e "s|^EFIINC.*|EFIINC = ${XBPS_CROSS_BASE}/usr/include/efi|" \
+	vsed \
+		-e "s|^EFIINC.*|EFIINC = ${XBPS_CROSS_BASE}/usr/include/efi|" \
 		-e "s|^GNUEFILIB.*|GNUEFILIB = ${XBPS_CROSS_BASE}/usr/lib|" \
 		-e "s|^EFILIB.*|EFILIB = ${XBPS_CROSS_BASE}/usr/lib|" \
 		-e "s|^EFICRT0.*|EFICRT0 = ${XBPS_CROSS_BASE}/usr/lib|" \
 		-i Make.common
+
+	# Only this file is written in python3
+	# All other files are python2
+	vsed -e '1s,^.*python3$,#!/usr/bin/python3,' \
+			-i refind-mkdefault
 }
 
 do_build() {

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: refind: update to 0.12.0.
  2020-05-03  2:45 [PR PATCH] refind: update to 0.12.0 sgn
@ 2020-05-03 12:51 ` sgn
  0 siblings, 0 replies; 2+ messages in thread
From: sgn @ 2020-05-03 12:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 159 bytes --]

There's a merged pull request on the void-packages repository

refind: update to 0.12.0.
https://github.com/void-linux/void-packages/pull/21576

Description:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-03 12:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-03  2:45 [PR PATCH] refind: update to 0.12.0 sgn
2020-05-03 12:51 ` [PR PATCH] [Merged]: " sgn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).