Github messages for voidlinux
 help / color / mirror / Atom feed
From: fosslinux <fosslinux@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] alsa-firmware: remove nocross, add ignore_elf_files
Date: Sat, 05 Sep 2020 01:09:16 +0200	[thread overview]
Message-ID: <20200904230916.vzG9QhqUIqMfI6irfiP3mECnHUomsXShMdsMAjS4aT0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24632@inbox.vuxu.org>

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

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

https://github.com/fosslinux/void-packages alsa-firmware-nocross
https://github.com/void-linux/void-packages/pull/24632

alsa-firmware: remove nocross, add ignore_elf_files
alsa-firmware's only C files are internal generation utilities;
use the host cc to allow it to be cross.

There is an elf file that is required for one of the pieces of
firmware which needs to be located in /usr/share; add it to
ignore_elf_files.

This PR will be required for the nocross removal.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-alsa-firmware-nocross-24632.patch --]
[-- Type: text/x-diff, Size: 1600 bytes --]

From 71f899c48c56339889a0d2e2895393778094f258 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Wed, 2 Sep 2020 15:47:46 +1000
Subject: [PATCH] alsa-firmware: remove nocross, noarch, add ignore_elf_files

alsa-firmware's only C files are internal generation utilities;
use the host cc to allow it to be cross.

There is an elf file that is required for one of the pieces of
firmware which needs to be located in /usr/share; add it to
ignore_elf_files.

Part of the noarch removal.
---
 srcpkgs/alsa-firmware/template | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/alsa-firmware/template b/srcpkgs/alsa-firmware/template
index 63d37de92b1..4168c558c8a 100644
--- a/srcpkgs/alsa-firmware/template
+++ b/srcpkgs/alsa-firmware/template
@@ -1,8 +1,7 @@
 # Template file for 'alsa-firmware'
 pkgname=alsa-firmware
 version=1.2.1
-revision=1
-archs=noarch
+revision=2
 build_style=gnu-configure
 configure_args="--with-hotplug-dir=/usr/lib/firmware"
 short_desc="Advanced Linux Sound Architecture (ALSA) firmware"
@@ -11,8 +10,12 @@ license="GPL-2.0-only"
 homepage="http://www.alsa-project.org"
 distfiles="https://www.alsa-project.org/files/pub/firmware/${pkgname}-${version}.tar.bz2"
 checksum=aea27c571dbe02ede298cf9f637d8dfdb758e032e372c8d7e96ccb2b15fa08ab
-nocross=yes
 nostrip=yes
+ignore_elf_files="/usr/share/alsa/firmware/mixartloader/miXart8.elf"
+
+pre_configure() {
+	export CC="${BUILD_CC}" CFLAGS="${BUILD_CFLAGS}" LDFLAGS="${BUILD_LDFLAGS}"
+}
 
 post_install() {
 	# Removed to prevent any conflict with 'linux-firmware' package

  parent reply	other threads:[~2020-09-04 23:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24632@inbox.vuxu.org>
2020-09-03 11:40 ` fosslinux
2020-09-03 23:45 ` [PR REVIEW] " fosslinux
2020-09-04 23:09 ` fosslinux [this message]
2020-09-22  6:02 ` fosslinux
2020-09-22 13:53 ` [PR PATCH] [Merged]: " sgn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200904230916.vzG9QhqUIqMfI6irfiP3mECnHUomsXShMdsMAjS4aT0@z \
    --to=fosslinux@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).