From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:35279) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPSeF-0007se-TF for guix-patches@gnu.org; Tue, 29 Oct 2019 10:39:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPSeE-0001b3-FA for guix-patches@gnu.org; Tue, 29 Oct 2019 10:39:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39618) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPSeE-0001at-BM for guix-patches@gnu.org; Tue, 29 Oct 2019 10:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iPSeE-0002ln-6W for guix-patches@gnu.org; Tue, 29 Oct 2019 10:39:02 -0400 Subject: [bug#37979] [PATCH 1/1] * audio.scm (define public lilv): enable python bindings Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:53053) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPOK1-0001Cz-Be for guix-patches@gnu.org; Tue, 29 Oct 2019 06:01:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPOJA-0002uu-DX for guix-patches@gnu.org; Tue, 29 Oct 2019 06:01:05 -0400 Received: from uhrz-exch-pmb08.ad.uni-bielefeld.de ([129.70.208.134]:40775 helo=smtp.uni-bielefeld.de) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iPOJ6-0002pi-J7 for guix-patches@gnu.org; Tue, 29 Oct 2019 06:00:58 -0400 Date: Tue, 29 Oct 2019 10:45:41 +0100 From: Florian Paul Schmidt Message-ID: <20191029104423.2513c959@uni-bielefeld.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/rHDZf=HehUlVsbGoxgMpEPL" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37979@debbugs.gnu.org --MP_/rHDZf=HehUlVsbGoxgMpEPL Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Content-Disposition: inline --MP_/rHDZf=HehUlVsbGoxgMpEPL Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-audio.scm-define-public-lilv-enable-python-bindings-.patch" >From 5afa9eac9c34c2e74114f96a6fe746a571b752ee Mon Sep 17 00:00:00 2001 From: Florian Paul Schmidt Date: Tue, 29 Oct 2019 10:34:45 +0100 Subject: [PATCH 1/1] * audio.scm (define public lilv): enable python bindings to be built --- gnu/packages/audio.scm | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 88f3b5eccd..6438e4e3c6 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -1828,6 +1828,7 @@ included are the command line utilities @code{send_osc} and @code{dump_osc}.") (build-system waf-build-system) (arguments `(#:tests? #f ; no check target + #:configure-flags (list "--bindings") #:phases (modify-phases %standard-phases (add-before @@ -1836,6 +1837,16 @@ included are the command line utilities @code{send_osc} and @code{dump_osc}.") (setenv "LDFLAGS" (string-append "-Wl,-rpath=" (assoc-ref outputs "out") "/lib")) + #t)) + (add-after + 'unpack 'full-store-path-to-shared-library + (lambda* (#:key outputs #:allow-other-keys) + (chdir "bindings/python") + (substitute* + "lilv.py" + (("liblilv-0.so") (string-append (assoc-ref outputs "out") + "/lib/liblilv-0.so"))) + (chdir "../../") #t))))) ;; Required by lilv-0.pc. (propagated-inputs @@ -1844,8 +1855,9 @@ included are the command line utilities @code{send_osc} and @code{dump_osc}.") ("sord" ,sord) ("sratom" ,sratom))) (native-inputs - `(("pkg-config" ,pkg-config))) - (home-page "https://drobilla.net/software/lilv/") + `(("python" ,python) + ("pkg-config" ,pkg-config))) + (home-page "https://drobilla.net/software/lilv") (synopsis "Library to simplify use of LV2 plugins in applications") (description "Lilv is a C library to make the use of LV2 plugins as simple as possible -- 2.23.0 --MP_/rHDZf=HehUlVsbGoxgMpEPL--