From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id Z3xPAzgrUGAWFAAA0tVLHw (envelope-from ) for ; Tue, 16 Mar 2021 03:51:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2NpEOjcrUGAeYwAA1q6Kng (envelope-from ) for ; Tue, 16 Mar 2021 03:51: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 D1BD32146C for ; Tue, 16 Mar 2021 04:51:18 +0100 (CET) Received: from localhost ([::1]:45144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lM0jl-0005Bm-Fm for larch@yhetil.org; Mon, 15 Mar 2021 23:51:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lM0jW-0005BD-HF for guix-patches@gnu.org; Mon, 15 Mar 2021 23:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54432) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lM0jW-00062R-9V for guix-patches@gnu.org; Mon, 15 Mar 2021 23:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lM0jW-0004Dl-6R for guix-patches@gnu.org; Mon, 15 Mar 2021 23:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47181] Packaging python-soundfile for use in MediaGoblin Resent-From: Ben Sturmfels Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 Mar 2021 03:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47181 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 47181@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161586665716209 (code B ref -1); Tue, 16 Mar 2021 03:51:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Mar 2021 03:50:57 +0000 Received: from localhost ([127.0.0.1]:37745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lM0jQ-0004DN-Rr for submit@debbugs.gnu.org; Mon, 15 Mar 2021 23:50:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:46752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lM0jP-0004DF-8J for submit@debbugs.gnu.org; Mon, 15 Mar 2021 23:50:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lM0jO-0005A1-Uj for guix-patches@gnu.org; Mon, 15 Mar 2021 23:50:55 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:35781) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lM0jM-0005v5-QH for guix-patches@gnu.org; Mon, 15 Mar 2021 23:50:54 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 94E24284E for ; Mon, 15 Mar 2021 23:50:50 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 15 Mar 2021 23: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=NEO5yuTMoQ03mjfIOw4r0SZgdBMBHUXekFgyXBvVfkI=; b=r+A18xbW qTsyeE/DlIMwSl0jgNh88c0s8AJ1rmOmEa922EQNbo7myycfI8pD4uPhGfXWAO6T KeJkL3+aOwZ1+jgx+7BAfg6JS9zPFXcl+01mNbRJ6z7HOU+ZC1E1pTswoc7/xqXD ixhBQQiklO+by1v8AkmIOadzHlXN1OMbqcHfe1FzvjNbikSdujK4xQwEQhRYyu3g 7nqFmnxPZ1tKKNPo2HRDpPILiO/DZ5OcLnflx9XisZLsu3ZrcsMAA7oGQSZOTiUs jHg2aptslp88LVyrmYZzzeq1Q72TnvDsI2HWwTwwvcmaZMW6fSXJIq4Xf+ftivHa 1BVxvN5D0xzL+g== 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=NEO5yuTMoQ03mjfIOw4r0SZgdBMBH UXekFgyXBvVfkI=; b=YMkm4PhGvpNw57bb/h2idPvD2Ylc5V/frMDURtTuxsedp Q/5J3NoauKj6c5WnAPq/MyVSjBq4OEAvR86MxnaKd5qEZxlgBe09/i047vUdpMdu n0W5AE3896y6/qsjuq5RFgjY1EWahhIHahehSg8d4yv/Izh/QtGeu0KDmL/SAqbj 6F2LC+GcFezkx9h4xIvC0g7KENvYk0ehWqLR3/dvXMwsVOcP2fY04IwwCZMayJQJ h5yn02KVEBHym2/mFUmpweue3QzIeBuK5lVU6uNfa+/gzDMqhH0sqKaXY2X4xDaj 3cUpoTToxE8+5dYHW6/ECpefSF6yGTLH9gxErZ5BA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudefuddgieefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpegfhffvufffkfggtgesmhdtreertd ertdenucfhrhhomhepuegvnhcuufhtuhhrmhhfvghlshcuoegsvghnsehsthhurhhmrdgt ohhmrdgruheqnecuggftrfgrthhtvghrnhepveegveefkeetuedvueetkedvudduhffhgf etfeevffduiedvteduffffveefkeeinecukfhppedvtdefrddvudegrddufedvrddujedt necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepsggvnh esshhtuhhrmhdrtghomhdrrghu X-ME-Proxy: Received: from Marseille (203-214-132-170.perm.iinet.net.au [203.214.132.170]) by mail.messagingengine.com (Postfix) with ESMTPA id 4B06C24005B for ; Mon, 15 Mar 2021 23:50:49 -0400 (EDT) User-agent: mu4e 1.4.15; emacs 27.1 Date: Tue, 16 Mar 2021 14:50:45 +1100 Message-ID: <87im5r21uy.fsf@sturm.com.au> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=64.147.123.24; envelope-from=ben@sturm.com.au; helo=wout1-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_H4=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=1615866679; 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=NEO5yuTMoQ03mjfIOw4r0SZgdBMBHUXekFgyXBvVfkI=; b=F5w5wZrjzNSlMXPdzw8dwzi1vRM7I6RrN93x37oC19mldzzcCLQmYTiCh1xFWwE7HJm1zd TxNsZsnOGHopp8ulCQNMs4wOmCiVB61Heaiyir9A9vH5jzEWVr+MSHh6oWjPmN8xNDw47i B/Ls2L3h88KmooqidhU1+qmeacXKUHZKZuRsDixMCBHneqX0MJu6PXkbDIUPM5RejoqjYX uESWzIVYoqllCw9Sw6t36Lst3ag8W/GsmsGG/LW+PmePrtnlcObn4nCxix6Ot2YkEAH8ox EKNJ4VwxL4ftK1gat1c7tGSYTxonU4waPv0mK9KRjMRhDfzb5+tHZIghic414A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615866679; a=rsa-sha256; cv=none; b=umlmxjtOI8D281gN9KUZaww6sHbGVKQmKqONW+2OT5A5XX8MhTXdD4n2vohYZEhNIGVCNu CQFmzuTOIH8mZb0HwlndVoAGZBh1HF/NoeSYhc4tciY0NMBXJITI+WD5ZmfBjW2mDjfbfF G6j7INssRzazAg4Fiqy+QLige8MyD/AcqrT/dBVItDwTCJmodPGpR9Ka+FV3TYcL9OyQdW R8RUsbtqCEunRjuG3Rt9RGgODk1IEFx0a7k4pEGSJXPMhpuC6YpGgI+Gw8DidjrCh9tJqt 6EJtAnIOD2BOcmkETp+H2i8T1lO5E2TV6p7C8mqQH++bGeNnEROhyu91mYPI8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=sturm.com.au header.s=fm2 header.b=r+A18xbW; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=YMkm4PhG; 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=r+A18xbW; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=YMkm4PhG; 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: D1BD32146C X-Spam-Score: -2.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: xHdWPHq7AjYM --=-=-= Content-Type: text/plain Hi folks, I'm working on adding MediaGoblin to Guix and we're actually getting fairly close! I'm having some trouble packaging python-soundfile and would love some help (patch attached). When I run: ./pre-inst-env guix build python-soundfile I get: OSError: cannot load library 'libsndfile.so.1': libsndfile.so.1: cannot open shared object file: No such file or directory The libsndfile package is included as an input, but I guess there's something I'm missing. Regards, Ben --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=add-python-soundfile.patch >From 44dd541cca8fb2b1eabdf445c7251c964e17fed8 Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Tue, 16 Mar 2021 14:31:15 +1100 Subject: [PATCH] gnu: Add python-soundfile * gnu/packages/audio.scm (python-soundfile): New variable. --- gnu/packages/audio.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 67a3e57dd9..6ce5823aa6 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -83,6 +83,7 @@ #:use-module (gnu packages icu4c) #:use-module (gnu packages image) #:use-module (gnu packages libbsd) + #:use-module (gnu packages libffi) #:use-module (gnu packages libusb) #:use-module (gnu packages linux) #:use-module (gnu packages llvm) @@ -2379,6 +2380,31 @@ included are the command line utilities @code{send_osc} and @code{dump_osc}.") (define-public python2-pyliblo (package-with-python2 python-pyliblo)) +(define-public python-soundfile + (package + (name "python-soundfile") + (version "0.10.3.post1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "SoundFile" version)) + (sha256 + (base32 + "0yqhrfz7xkvqrwdxdx2ydy4h467sk7z3gf984y1x2cq7cm1gy329")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest" ,python-pytest))) + (propagated-inputs + `(("python-cffi" ,python-cffi) + ("libsndfile" ,libsndfile) + ("python-numpy" ,python-numpy))) + (home-page "https://github.com/bastibe/python-soundfile") + (synopsis "An audio library based on libsndfile, CFFI and NumPy") + (description + "The soundfile module can read and write sound files, representing audio +data as NumPy arrays.") + (license license:bsd-3))) + (define-public lilv (package (name "lilv") -- 2.30.2 --=-=-=--