From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eEBRBd8JX2EmKAAAgWs5BA (envelope-from ) for ; Thu, 07 Oct 2021 16:53:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aJbsAN8JX2F0eAAAbx9fmQ (envelope-from ) for ; Thu, 07 Oct 2021 14:53:19 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 85914BFDA for ; Thu, 7 Oct 2021 16:53:18 +0200 (CEST) Received: from localhost ([::1]:40594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYUS0-0003Sl-CC for larch@yhetil.org; Thu, 07 Oct 2021 10:32:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50222) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYUQJ-0000Wl-7x for guix-patches@gnu.org; Thu, 07 Oct 2021 10:31:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36701) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYUQI-00031y-VL for guix-patches@gnu.org; Thu, 07 Oct 2021 10:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mYUQI-00042v-SV for guix-patches@gnu.org; Thu, 07 Oct 2021 10:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51085] [PATCH 3/7] gnu: opusfile: Add new phase after unpack. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Oct 2021 14:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51085 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51085@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 51085-submit@debbugs.gnu.org id=B51085.163361701615429 (code B ref 51085); Thu, 07 Oct 2021 14:31:02 +0000 Received: (at 51085) by debbugs.gnu.org; 7 Oct 2021 14:30:16 +0000 Received: from localhost ([127.0.0.1]:48233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYUPX-00040n-O2 for submit@debbugs.gnu.org; Thu, 07 Oct 2021 10:30:15 -0400 Received: from mout02.posteo.de ([185.67.36.66]:42367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYUPV-00040K-NR for 51085@debbugs.gnu.org; Thu, 07 Oct 2021 10:30:14 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id EDE10240101 for <51085@debbugs.gnu.org>; Thu, 7 Oct 2021 16:30:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1633617008; bh=IiHEICBD7jhtHWEOosBA+4eWekqbKmmWsMmrBqXVtyM=; h=From:To:Cc:Subject:Date:From; b=EP3VyChp+EGDPYDqk5mIXT2v1vgXkuM6Hkp062tPy9zvmlfaGBz5ozZQiCkyiFesV 9a1i1rw90hLkIR35TszCBHJNy3DunN+FIUDuEcpy0DwUIX2wGfZdByxPB0qVGIO8CP rAU0lKmgcppTKNeGNHYl66RfpVDpqOMF3fQFeRgcjGivyosfoL1knWfnMeNMx99951 b3p5w4jByhHSRWn4ar4s2IlbJOTtUHZc+ToC3XY6NamBNYPLvnmpYxYE4KkxGkNq/7 OO/ISnFCT5Tk0iU21Cu3OwGf1/BAvAftxjnWg/nmOH8mzRc9rVP5MNZlL6Qr2I/rwU +6S5ZGcS3rU5Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HQDHf6X9Vz9rxV; Thu, 7 Oct 2021 16:30:06 +0200 (CEST) From: Vinicius Monego Date: Thu, 7 Oct 2021 14:29:37 +0000 Message-Id: <20211007142941.46591-3-monego@posteo.net> In-Reply-To: <20211007142941.46591-1-monego@posteo.net> References: <20211007142941.46591-1-monego@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633618398; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=9+Yi9uZOf4Ej3y7tobSpkjJjb7ccSeQqv92u4t6IFAM=; b=OTZjfGd8ySGdAVj4td0r/MyIu54EhXZ+OXdYwrGO8JNEXIjofaRMtHphZFp800rPAMarT6 nwhCy+Wa9fQfU3qWYgyUJ6aR8MfHkp2BJVNEDNWu+3KnIjddagTj3JTKkohnXl2DkHqd8t +o6RSaCj0ZhJ2JAS+ponUPppRMX4tJpyv7JsX8Q+uB6OjLH27yUk0K4Ip7DZmvPE+OtgrX iWrE/ElBItctoPCBpsu0ETedXZI3VUusN7eMieeJqD0G2qMLAiF2Gh6wHiuyjzhFHezy6x w8h0V3OtmAuqxMqY6r3YxGOFT/Q0PY1C+DpVZLfxrj1dGSnzPhlxd9A5nqdL6g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633618398; a=rsa-sha256; cv=none; b=qG6pl5HJVrr7w3o5Dc7eYXVXUoDF3sv4gK9ulghF5CeCdXYib7ulPQrCI+Wrefjh8XDZbH WUnpD8DaZZDTCkcLwDbjFqvHPq5HlprHXNCaqMgxRJramZk596LZmFzsSekJnP0Q/DL0HA napLHFXiE3rinauTlhOkRcskXKU3QFTVm/vCHip9DKXjAaj6XDZoKwlP1+YZ8JAj2KegQF DGLKE16oA/8f8FSmDJaND1eC3rpcR3+P+rkrQiooTCtxt1MqWk/WptnqfAd42ClnanvU02 po9tuV9DMiFXbVepanQuxYfg9q6wQ13owLS34L4wHqRgZhTcJOHoKWqET0THIQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=EP3VyChp; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 1.18 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=EP3VyChp; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 85914BFDA X-Spam-Score: 1.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1uBHwC+HwvHU * gnu/packages/xiph.scm (opusfile)[arguments]<#:phases>: After the unpack phase add a fix-multistream phase to adjust the include header call of opus_multistream.h so that opusfile can find it. --- gnu/packages/xiph.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gnu/packages/xiph.scm b/gnu/packages/xiph.scm index fbbcbd6e61..0c9c799067 100644 --- a/gnu/packages/xiph.scm +++ b/gnu/packages/xiph.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2018 Leo Famulari ;;; Copyright © 2020 Vincent Legoll ;;; Copyright © 2021 Brendan Tildesley +;;; Copyright © 2021 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; @@ -406,7 +407,16 @@ decoding .opus files.") "02smwc5ah8nb3a67mnkjzqmrzk43j356hgj2a97s9midq40qd38i")))) (build-system gnu-build-system) (arguments - '(#:configure-flags '("--disable-static"))) + '(#:configure-flags '("--disable-static") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-multistream + ;; Opus include directory should be passed explicitly: + ;; https://github.com/xiph/opusfile/issues/10 however, + ;; opus_multistream.h still can't be found by the compiler. + (lambda _ + (substitute* "include/opusfile.h" + (("opus_multistream\\.h") "opus/opus_multistream.h"))))))) ;; Required by opusfile.pc and opusurl.pc. (propagated-inputs `(("libogg" ,libogg) -- 2.30.2