From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KBy6OB7fUWAbRgAA0tVLHw (envelope-from ) for ; Wed, 17 Mar 2021 10:51:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id sA+ENB7fUWD0eAAAB5/wlQ (envelope-from ) for ; Wed, 17 Mar 2021 10:51:10 +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 4FFB61B046 for ; Wed, 17 Mar 2021 11:51:10 +0100 (CET) Received: from localhost ([::1]:32884 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMTld-0002Oy-43 for larch@yhetil.org; Wed, 17 Mar 2021 06:51:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMTlW-0002Ne-43 for guix-patches@gnu.org; Wed, 17 Mar 2021 06:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58832) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lMTlV-0007bc-SB for guix-patches@gnu.org; Wed, 17 Mar 2021 06:51:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lMTlV-0007C6-RO for guix-patches@gnu.org; Wed, 17 Mar 2021 06:51:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47210] Enable ogg/flac/vorbis/opus support in libsndfile Resent-From: Ben Sturmfels Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 17 Mar 2021 10:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47210 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 47210@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161597825827643 (code B ref -1); Wed, 17 Mar 2021 10:51:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Mar 2021 10:50:58 +0000 Received: from localhost ([127.0.0.1]:42145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMTlR-0007Bn-WA for submit@debbugs.gnu.org; Wed, 17 Mar 2021 06:50:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:34162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMTlO-0007Bd-Gn for submit@debbugs.gnu.org; Wed, 17 Mar 2021 06:50:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMTlO-0002CX-6Z for guix-patches@gnu.org; Wed, 17 Mar 2021 06:50:54 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:33139) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMTlM-0007Pt-6A for guix-patches@gnu.org; Wed, 17 Mar 2021 06:50:53 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 04C9E5C00C5 for ; Wed, 17 Mar 2021 06:50:50 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 17 Mar 2021 06:50:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sturm.com.au; h= from:to:subject:date:message-id:mime-version:content-type; s= fm2; bh=QXru/IkuX2THjk+L15g8cffeK0XFKt32CM4PNSffWd0=; b=i3m5lmht hbjRIA8Ygljyigl3uZjd4gJbaquWZKsqxDcsX+b1UkDSN/EWO4qxlvBhaaBpHLXo WUqIu5BnL04ra0UgTOflD+7ffVKJZXQIFQ0EiEAcd7Mk+MwyjhUVQQjcUGl+QJpA cJW5os9q0X9pgxx6VqHBmb9Wuu1DI5bdVTehkI8sP1ly6ya7LZ9OvGijI3x6pT9D wlDCY1qqrKu1QrqqN/etzQz8/sg9UzhDNsM1mdeDn6liyGSdEjgqzaoL0WbhE32u RYFnWX6WmY908VRqOnek4C2WInDNBZRCqUGYqqyfwYzIFg2xZPKinXJHft78gXm4 zKzYlRnH/buLCA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=QXru/IkuX2THjk+L15g8cffeK0XFK t32CM4PNSffWd0=; b=BHhnNsSrfSyRTp6Y8C+AIuBWwJ+jPwvrTrrBilZd79hQv cPAymzsXZnKs2bl0nL4gfdx7yvLDTZ4aG0Z4ZLIqFMmwjViUy36538ZaqufgxHdl Xho/nkTfskmVQ8HptPvhQseQSaj600/6BoaWAp2asW+CdhGro2kXQshxnzZ0wjYt mnKE2UpWVl67KNmFvTxOHgCt3FrOTHkRJJAJbSMCttkwZBZ0SxiODH5xuwkt2EDM poIFLM+Ppb6xWHREASizo2pzgifmBxkk6UK+kh3Dtdmm+4eL6HIFK7eEKtPMyW+N 5JKtaJoXM96h8g4FS8jcaSrtIMF9SEfwU3QCxvJpw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudefgedgvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpegfhffvufffkfggtgesmhdtreertd ertdenucfhrhhomhepuegvnhcuufhtuhhrmhhfvghlshcuoegsvghnsehsthhurhhmrdgt ohhmrdgruheqnecuggftrfgrthhtvghrnhepffegieekudffleejjeduffelueejffduie ejfeethfffteekhedvvefggeeviedunecuffhomhgrihhnpehsthhurhhmrdgtohhmrdgr uhenucfkphepuddukedrvddutddrudeluddrgeefnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepsggvnhesshhtuhhrmhdrtghomhdrrghu X-ME-Proxy: Received: from Marseille (ppp118-210-191-43.adl-adc-lon-bras34.tpg.internode.on.net [118.210.191.43]) by mail.messagingengine.com (Postfix) with ESMTPA id 77F2B240057 for ; Wed, 17 Mar 2021 06:50:48 -0400 (EDT) User-agent: mu4e 1.4.15; emacs 27.1 Date: Wed, 17 Mar 2021 21:50:44 +1100 Message-ID: <87czvy12bf.fsf@sturm.com.au> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=66.111.4.28; envelope-from=ben@sturm.com.au; helo=out4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Reply-to: Ben Sturmfels X-ACL-Warn: , Ben Sturmfels via Guix-patches From: Ben Sturmfels via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615978270; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=QXru/IkuX2THjk+L15g8cffeK0XFKt32CM4PNSffWd0=; b=dKbq4VeOJg4snTswceB2oj3aEwYsrvpx4Yrwj/ALEK4Hbv7jPJlnwIjeyEg2sxmRuSFHBG EOGvD7Z+Kza5pWnyYNfxHYhTCpRHHjVMkIUflVQHxpd4+yHfWlNfKpAeItPoeuNFwzEJMb Dr8POOOpJ+vYZ4kcflr6nVJqJVfcUk6CW3GMIERJsnbDX3ux8q3bjEVRIOufP7RhW4gVq4 yh1iRyHvxHqL60ghq6kp6TFwJO2aPpnLeY01o7a0YcCTTWwHZkFfkTlL+pFKem7iyQv0nr xzRk9ArDBIvZfghIfeH0Ge6V0GtwmDzz5fhnX3qsSGOdAmhAGhJCExy3zqbdag== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615978270; a=rsa-sha256; cv=none; b=oZot1gaeP43F3a3GQL6dAvzMz4IbCtjRCFeLqI74ZwKeWXIt4QE2O2JIwnQbJNsf944PWj QS1cheELzPTyY5ZpJOzeDvNmF05mEpI/smJEAJjZxWPwlfRfzJzTVSxdqqTmDSrTpQRsAl YLZy6heoOrz4hBIA+scn5JoS2REJcaNnHvUzopJWp1CiHdFV2Ge+KDdr0xdsVzaMyuXwR7 rT4A/na71LQcYyAo0hKmI2Ude02wVo9+OmvOz64KQMTJxo/7v2ngEVh+flZGQdS2SoQ9YY 1pdzQKyQkBzBszURGm/Q7ibrKXCgKEi/ylZBL1a8Lu/UW8WSNoN624mbjZ5BFg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=sturm.com.au header.s=fm2 header.b=i3m5lmht; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=BHhnNsSr; dmarc=pass (policy=none) header.from=gnu.org; 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: -2.90 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=sturm.com.au header.s=fm2 header.b=i3m5lmht; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=BHhnNsSr; dmarc=pass (policy=none) header.from=gnu.org; 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: 4FFB61B046 X-Spam-Score: -2.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5CT46ShR2mTk --=-=-= Content-Type: text/plain Hi folks, This is small update to libsndfile as part of my effort to package MediaGoblin. Essentially, the ogg/flac/vorbis/opus support is only on if *all four* libraries are present, and opus is currently missing. Before applying this patch, the configure phase for libsndfile reports: checking for flac >= 1.3.1 ... yes checking for ogg >= 1.3.0 ... yes checking for vorbis >= 1.2.3 ... yes checking for vorbisenc >= 1.2.3 ... yes checking for opus >= 1.1 ... no <<< LOOK HERE configure: WARNING: *** One or more of the external libraries (ie libflac, libogg and configure: WARNING: *** libvorbis) is either missing (possibly only the development configure: WARNING: *** headers) or is of an unsupported version. configure: WARNING: *** configure: WARNING: *** Unfortunately, for ease of maintenance, the external libs configure: WARNING: *** are an all or nothing affair. -=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-=- Configuration summary : External FLAC/Ogg/Vorbis/Opus : ....... no After this patch the libsndfile configure shows: checking for flac >= 1.3.1 ... yes checking for ogg >= 1.3.0 ... yes checking for vorbis >= 1.2.3 ... yes checking for vorbisenc >= 1.2.3 ... yes checking for opus >= 1.1 ... yes <<< LOOK HERE -=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-=- Configuration summary : External FLAC/Ogg/Vorbis/Opus : ....... yes Regards, Ben Ben Sturmfels Sturm Software Engineering www.sturm.com.au +61 3 9024 2467 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-libsndfile-enable-vorbis-ogg-flac-opus-support.patch >From d91cedcdd324d10d0406166c43b938cba842eb03 Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Wed, 17 Mar 2021 21:35:16 +1100 Subject: [PATCH] gnu: libsndfile: enable vorbis/ogg/flac/opus support. * gnu/packages/pulseaudio.scm (libsndfile): Add input for opus to trigger all-or-nothing external library support --- gnu/packages/pulseaudio.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm index ea61dd807c..0c1acdc6e0 100644 --- a/gnu/packages/pulseaudio.scm +++ b/gnu/packages/pulseaudio.scm @@ -102,7 +102,8 @@ (inputs `(("libvorbis" ,libvorbis) ("libogg" ,libogg) - ("flac" ,flac))) + ("flac" ,flac) + ("opus" ,opus))) (native-inputs `(("pkg-config" ,pkg-config) ("python" ,python))) -- 2.30.2 --=-=-=--