From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 29 10:38:15 2019 Received: (at submit) by debbugs.gnu.org; 29 Oct 2019 14:38:15 +0000 Received: from localhost ([127.0.0.1]:48437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPSdQ-0002kR-Md for submit@debbugs.gnu.org; Tue, 29 Oct 2019 10:38:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:60339) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPOK2-0001r5-Q4 for submit@debbugs.gnu.org; Tue, 29 Oct 2019 06:01:55 -0400 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.5 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_NONE, RECEIVED_FROM_WINDOWS_HOST,URIBL_BLOCKED autolearn=disabled version=3.3.2 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 Received: from localhost (129.70.76.171) by uhrz-exch-pmb08.ad.uni-bielefeld.de (129.70.208.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1847.3; Tue, 29 Oct 2019 10:45:45 +0100 Date: Tue, 29 Oct 2019 10:45:41 +0100 From: Florian Paul Schmidt To: Subject: [PATCH 1/1] * audio.scm (define public lilv): enable python bindings Message-ID: <20191029104423.2513c959@uni-bielefeld.de> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/rHDZf=HehUlVsbGoxgMpEPL" X-Originating-IP: [129.70.76.171] X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 129.70.208.134 X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 29 Oct 2019 10:38:11 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) --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--