Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] flashrom: update to 1.3.0.
@ 2023-04-07 23:49 Johnnynator
  2023-04-07 23:54 ` [PR PATCH] [Updated] " Johnnynator
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Johnnynator @ 2023-04-07 23:49 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Johnnynator/void-packages flashrom
https://github.com/void-linux/void-packages/pull/43334

flashrom: update to 1.3.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**



#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  -  riscv64



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

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

From 581fd8ddc11942db81bf7323c4907ca951a47164 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Sat, 8 Apr 2023 01:46:18 +0200
Subject: [PATCH] flashrom: update to 1.3.0.

---
 srcpkgs/flashrom/template | 42 ++++++++++++++++++---------------------
 srcpkgs/libflashrom       |  1 +
 srcpkgs/libflashrom-devel |  1 +
 3 files changed, 21 insertions(+), 23 deletions(-)
 create mode 120000 srcpkgs/libflashrom
 create mode 120000 srcpkgs/libflashrom-devel

diff --git a/srcpkgs/flashrom/template b/srcpkgs/flashrom/template
index af1e0d424603..3fb1e8d80c6e 100644
--- a/srcpkgs/flashrom/template
+++ b/srcpkgs/flashrom/template
@@ -1,8 +1,8 @@
 # Template file for 'flashrom'
 pkgname=flashrom
-version=1.2
-revision=3
-build_style=gnu-makefile
+version=1.3.0
+revision=1
+build_style=meson
 hostmakedepends="pkg-config"
 makedepends="pciutils-devel libusb-compat-devel libftdi1-devel"
 short_desc="Utility for reading, writing, erasing and verifying flash ROM chips"
@@ -10,25 +10,21 @@ maintainer="teldra <teldra@rotce.de>"
 license="GPL-2.0-only"
 homepage="https://www.flashrom.org"
 distfiles=https://github.com/flashrom/flashrom/archive/v$version.tar.gz
-checksum=a5bac412cefb87bb426912fed46ccc38799d088a9b92dbe7bac38c5df016d9b2
+checksum=91d3ae239e435682561966350d00890b8bf5ae1a947af1f647198aa391196890
 
-post_patch() {
-	# The Makefile detection is fragile!!!
-	# It doesn't defend against __attribute__("something")
-	case "$XBPS_TARGET_MACHINE" in
-		x86_64* | i686*) _arch=x86 ;;
-		aarch64* | arm*) _arch=arm ;;
-		ppc*)            _arch=ppc ;;
-		mips*)           _arch=mips ;;
-		*) msg_error "Unknown arch\n" ;;
-	esac
-	case "$XBPS_TARGET_ENDIAN" in
-		be) _endian=big ;;
-		le) _endian=little ;;
-	esac
-	vsed -i -e 's/^override TARGET_OS :=.*/TARGET_OS := Linux/' \
-		-e "s/^override ARCH :=.*/ARCH := $_arch/" \
-		-e "s/^override ENDIAN :=.*/ENDIAN := $_endian/" \
-		-e 's/sbin/bin/' \
-		Makefile
+libflashrom_package() {
+	short_desc+=" - library files"
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+	}
+}
+
+libflashrom-devel_package() {
+        short_desc+=" - development files"
+        depends="libflashrom>=${version}_${revision}"
+        pkg_install() {
+                vmove usr/include
+                vmove "usr/lib/*.a"
+                vmove "usr/lib/*.so"
+        }
 }
diff --git a/srcpkgs/libflashrom b/srcpkgs/libflashrom
new file mode 120000
index 000000000000..183c7f43a41c
--- /dev/null
+++ b/srcpkgs/libflashrom
@@ -0,0 +1 @@
+flashrom
\ No newline at end of file
diff --git a/srcpkgs/libflashrom-devel b/srcpkgs/libflashrom-devel
new file mode 120000
index 000000000000..183c7f43a41c
--- /dev/null
+++ b/srcpkgs/libflashrom-devel
@@ -0,0 +1 @@
+flashrom
\ No newline at end of file

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

* Re: [PR PATCH] [Updated] flashrom: update to 1.3.0.
  2023-04-07 23:49 [PR PATCH] flashrom: update to 1.3.0 Johnnynator
@ 2023-04-07 23:54 ` Johnnynator
  2023-07-07  2:06 ` github-actions
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Johnnynator @ 2023-04-07 23:54 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Johnnynator against master on the void-packages repository

https://github.com/Johnnynator/void-packages flashrom
https://github.com/void-linux/void-packages/pull/43334

flashrom: update to 1.3.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**



#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  -  riscv64



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

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

From a6cea861ab36c347afc8a74db5b4606da3123dbe Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Sat, 8 Apr 2023 01:46:18 +0200
Subject: [PATCH] flashrom: update to 1.3.0.

---
 srcpkgs/flashrom/template | 42 ++++++++++++++++++---------------------
 srcpkgs/libflashrom       |  1 +
 srcpkgs/libflashrom-devel |  1 +
 3 files changed, 21 insertions(+), 23 deletions(-)
 create mode 120000 srcpkgs/libflashrom
 create mode 120000 srcpkgs/libflashrom-devel

diff --git a/srcpkgs/flashrom/template b/srcpkgs/flashrom/template
index af1e0d424603..47d7eb604410 100644
--- a/srcpkgs/flashrom/template
+++ b/srcpkgs/flashrom/template
@@ -1,8 +1,8 @@
 # Template file for 'flashrom'
 pkgname=flashrom
-version=1.2
-revision=3
-build_style=gnu-makefile
+version=1.3.0
+revision=1
+build_style=meson
 hostmakedepends="pkg-config"
 makedepends="pciutils-devel libusb-compat-devel libftdi1-devel"
 short_desc="Utility for reading, writing, erasing and verifying flash ROM chips"
@@ -10,25 +10,21 @@ maintainer="teldra <teldra@rotce.de>"
 license="GPL-2.0-only"
 homepage="https://www.flashrom.org"
 distfiles=https://github.com/flashrom/flashrom/archive/v$version.tar.gz
-checksum=a5bac412cefb87bb426912fed46ccc38799d088a9b92dbe7bac38c5df016d9b2
+checksum=91d3ae239e435682561966350d00890b8bf5ae1a947af1f647198aa391196890
 
-post_patch() {
-	# The Makefile detection is fragile!!!
-	# It doesn't defend against __attribute__("something")
-	case "$XBPS_TARGET_MACHINE" in
-		x86_64* | i686*) _arch=x86 ;;
-		aarch64* | arm*) _arch=arm ;;
-		ppc*)            _arch=ppc ;;
-		mips*)           _arch=mips ;;
-		*) msg_error "Unknown arch\n" ;;
-	esac
-	case "$XBPS_TARGET_ENDIAN" in
-		be) _endian=big ;;
-		le) _endian=little ;;
-	esac
-	vsed -i -e 's/^override TARGET_OS :=.*/TARGET_OS := Linux/' \
-		-e "s/^override ARCH :=.*/ARCH := $_arch/" \
-		-e "s/^override ENDIAN :=.*/ENDIAN := $_endian/" \
-		-e 's/sbin/bin/' \
-		Makefile
+libflashrom_package() {
+	short_desc+=" - library files"
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+	}
+}
+
+libflashrom-devel_package() {
+	short_desc+=" - development files"
+	depends="libflashrom>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
 }
diff --git a/srcpkgs/libflashrom b/srcpkgs/libflashrom
new file mode 120000
index 000000000000..183c7f43a41c
--- /dev/null
+++ b/srcpkgs/libflashrom
@@ -0,0 +1 @@
+flashrom
\ No newline at end of file
diff --git a/srcpkgs/libflashrom-devel b/srcpkgs/libflashrom-devel
new file mode 120000
index 000000000000..183c7f43a41c
--- /dev/null
+++ b/srcpkgs/libflashrom-devel
@@ -0,0 +1 @@
+flashrom
\ No newline at end of file

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

* Re: flashrom: update to 1.3.0.
  2023-04-07 23:49 [PR PATCH] flashrom: update to 1.3.0 Johnnynator
  2023-04-07 23:54 ` [PR PATCH] [Updated] " Johnnynator
@ 2023-07-07  2:06 ` github-actions
  2023-10-06  1:45 ` github-actions
  2023-10-21  1:44 ` [PR PATCH] [Closed]: " github-actions
  3 siblings, 0 replies; 5+ messages in thread
From: github-actions @ 2023-07-07  2:06 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/43334#issuecomment-1624538837

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: flashrom: update to 1.3.0.
  2023-04-07 23:49 [PR PATCH] flashrom: update to 1.3.0 Johnnynator
  2023-04-07 23:54 ` [PR PATCH] [Updated] " Johnnynator
  2023-07-07  2:06 ` github-actions
@ 2023-10-06  1:45 ` github-actions
  2023-10-21  1:44 ` [PR PATCH] [Closed]: " github-actions
  3 siblings, 0 replies; 5+ messages in thread
From: github-actions @ 2023-10-06  1:45 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/43334#issuecomment-1749875660

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: [PR PATCH] [Closed]: flashrom: update to 1.3.0.
  2023-04-07 23:49 [PR PATCH] flashrom: update to 1.3.0 Johnnynator
                   ` (2 preceding siblings ...)
  2023-10-06  1:45 ` github-actions
@ 2023-10-21  1:44 ` github-actions
  3 siblings, 0 replies; 5+ messages in thread
From: github-actions @ 2023-10-21  1:44 UTC (permalink / raw)
  To: ml

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

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

flashrom: update to 1.3.0.
https://github.com/void-linux/void-packages/pull/43334

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**



#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  -  riscv64



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

end of thread, other threads:[~2023-10-21  1:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-07 23:49 [PR PATCH] flashrom: update to 1.3.0 Johnnynator
2023-04-07 23:54 ` [PR PATCH] [Updated] " Johnnynator
2023-07-07  2:06 ` github-actions
2023-10-06  1:45 ` github-actions
2023-10-21  1:44 ` [PR PATCH] [Closed]: " github-actions

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).