From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MHaFEAUee2DYOgEAgWs5BA (envelope-from ) for ; Sat, 17 Apr 2021 19:42:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iI33CwUee2AuBgAAB5/wlQ (envelope-from ) for ; Sat, 17 Apr 2021 17:42:29 +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 CA85BC0D2 for ; Sat, 17 Apr 2021 19:42:28 +0200 (CEST) Received: from localhost ([::1]:60258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lXoTd-0002zp-Ex for larch@yhetil.org; Sat, 17 Apr 2021 13:11:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXoQX-0008HA-KB for guix-patches@gnu.org; Sat, 17 Apr 2021 13:08:13 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32845) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lXoQV-0000IB-VJ for guix-patches@gnu.org; Sat, 17 Apr 2021 13:08:13 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lXoQV-0005du-Qz for guix-patches@gnu.org; Sat, 17 Apr 2021 13:08:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47661] [PATCH v2 17/33] gnu: emacs-edbi: Adjust to changes in emacs-build-system. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 17 Apr 2021 17:08:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47661 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47661@debbugs.gnu.org Received: via spool by 47661-submit@debbugs.gnu.org id=B47661.161867927021380 (code B ref 47661); Sat, 17 Apr 2021 17:08:11 +0000 Received: (at 47661) by debbugs.gnu.org; 17 Apr 2021 17:07:50 +0000 Received: from localhost ([127.0.0.1]:44336 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXoQ9-0005Yf-Gp for submit@debbugs.gnu.org; Sat, 17 Apr 2021 13:07:49 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:48735) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXoQ0-0005Xt-M5 for 47661@debbugs.gnu.org; Sat, 17 Apr 2021 13:07:41 -0400 Received: from localhost.localdomain (194-96-9-9.adsl.highway.telekom.at [194.96.9.9]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4FMzzF52zpz1LBRx for <47661@debbugs.gnu.org>; Sat, 17 Apr 2021 19:07:37 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4FMzzF52zpz1LBRx DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1618679257; bh=oC38L5iX7Y2eQRNaPFNngbwrz11RTcnubzDUvu9kSVo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=PdKPzplMk+Jv1mU/YNU+nMVZfp+dALhIaJfbdcKao2jNnmsZP5Z8bZFQQZWTpV6TN pCvsv6NEB8eLdzWnQ+Lgyd87ffpqnyqmg/PWXCkk+AAWmNOiWTVFt3P1GTGuPgrci7 jPz4/AvaZP6zXnzy+gYQc3CAZsNVVc9qyYAJkWLs= From: Leo Prikler Date: Sat, 17 Apr 2021 19:06:32 +0200 Message-Id: <20210417170648.3810-17-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210417170648.3810-1-leo.prikler@student.tugraz.at> References: <20210417170648.3810-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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=1618681348; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: 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=oC38L5iX7Y2eQRNaPFNngbwrz11RTcnubzDUvu9kSVo=; b=o63Uhp8cO/LR/GlDkKnH8kjelsOPpRf0aLj6S1NC8JpHTbDqflgG12VZHqNbgl97bvV2SN SyrEc//Ba0uvXFUU+ktNEWu9offr+IO/31it2WEQfsoe3FyGbCqwL1rGGyt4A0dOYWk2iI lznp6q6Ic/j/YeFTuTs2iJ7SYVBRBIayySSYa8sltPcxIv7ZxrFC3/i0MLIzvIEOcj4PgZ soEEdf5Yn9qBaQDQgeFjB8ytCzmpWnC8kvP1uFdvnSqNud0nCudubMUxkWEMg2LwKT7Aud 5Gw2IWMw25vEDB+xeBIB6DrG/bPB66juBWdGbLhAIyqaY/gg7WYYoOK0+me3hQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618681348; a=rsa-sha256; cv=none; b=oHf4QqAOOILDIX3b2TPHBbbp55wviYkihdB+9M+kwMQTPqf2YVnzG0//Nq0wHxr6b9nksz S72ptjwriu9n9yZGRuS2dsKTPXDHGnI/QB52IiKUmLkC4kp05kSdLXEb4r1EkfPwDUVupp 7nma+4MaV99oWhSqnR9E5NJYCsFGzJgoJpFnV1o7kIeMU8GIUFnuevMBEB0bDcOk6k+YmZ CkpP5tIeaUD30HdD1O2AZn0YH8tQuva/2BeWe8XTkUdev2ze86ryc/QVCIxJsBvuu2dxW8 39APIKRntzYRqj1GnXatcZOXGnBLBW77gL2MeZnIu6nJFwp6JRe41JSlGsB+Cg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=PdKPzplM; 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: 5.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=PdKPzplM; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (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: CA85BC0D2 X-Spam-Score: 5.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0iqHGEyumcR1 * gnu/packages/emacs-xyz.scm (emacs-edbi)[patch-path]: Execute after unpack. [wrap-edbi-bridge]: New phase (after wrap). Find edbi-bridge in elpa-directory. --- gnu/packages/emacs-xyz.scm | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index fd38b70c59..00a3368620 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -21494,17 +21494,21 @@ asynchronous communications, the RPC response is fairly good.") `(#:include '("\\.el$" "\\.pl$") #:phases (modify-phases %standard-phases - (add-after 'install 'patch-path - (lambda* (#:key inputs outputs #:allow-other-keys) - (let ((perl (assoc-ref inputs "perl")) - (dir (string-append (assoc-ref outputs "out") - "/share/emacs/site-lisp"))) - (substitute* (string-append dir "/edbi.el") + (add-after 'unpack 'patch-path + (lambda* (#:key inputs #:allow-other-keys) + (let ((perl (assoc-ref inputs "perl"))) + (substitute* "edbi.el" (("\"perl\"") (string-append "\"" perl "/bin/perl\""))) - (chmod (string-append dir "/edbi-bridge.pl") #o555) - (wrap-program (string-append dir "/edbi-bridge.pl") - `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))) - #t)))))) + #t))) + (add-after 'wrap 'wrap-edbi-bridge + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bridge (string-append (elpa-directory out) + "/edbi-bridge.pl"))) + (chmod bridge #o555) + (wrap-program bridge + `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB"))))) + #t))))) (synopsis "Database Interface for Emacs Lisp") (description "This program connects the database server through Perl's DBI, and provides DB-accessing API and the simple management UI.") -- 2.31.1