From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id KNHbKuFuk2VQqAAAkFu2QA (envelope-from ) for ; Tue, 02 Jan 2024 03:03:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id qKxIJuFuk2W+3gAAqHPOHw (envelope-from ) for ; Tue, 02 Jan 2024 03:03:13 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=jrBUaR2L; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704160993; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=Z/hn3ZjfA0I6UwvF4rW6x2v0aflAuULgQ2i35QfKJ54=; b=S1KL5CbMNU/3y37lqlwpgXYqHNfaCLMd/vCNCxhHRGISJjLmGonZZonL81v8sp/99YFTG/ 41OZ0a8S9QZpF7txGRnoawqD/Ufq5j0IKRcaiMqV78JVI9HhOZgo3musoQIxogXbA00K/A YoRv9ff1n1KgDiOU/oKfoj1a11ThfIw+f3gpgUuduYHCaBkotlynUq+2YagBAea4DqyZWK meSe2tAk8jbzlz2sbv2IL/rJxQs56xyDJvls2pgPfZJaQHGLZVppJgxloeswGve5DXkg4E 4zPJvuEhKRAf5pMCtDumLUiQuWMWAGF5CiK0U1qIb1WDD61MUthTb4egp0KnoQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704160993; a=rsa-sha256; cv=none; b=lZ2DEz9WuBB5Wea8aiKaEYX9hjunNWnM95/oVaWAq2M72hGTpVoTuORs4LWNDIhr/SJ1jZ kth37FUvh3LIeSDogSi92oJ+xkJnUN9fh/XO24z8oR9N28CROBiZ0V++NdRgkPFtMCHG8f lUXLjg+OXUQ/QyRZlYhSM1RV2iG62VdyPk0nmEZ4UI8Gzc0LuSZHDeCi0CNfRNHqWI1VB9 JbgV2OQ8ra0m5Gx08dLY+Kx4g0kQquIPAud0gJDZv13XkYGBXPlci5H5S/NPveAGL2E8gT nrArCQus2/VprpL5s5Sr6X9mzL/u8du/FULuBmZM7C+Yh2P8RBPV4HkmHhwfxQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=jrBUaR2L; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) 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 493B1259F9 for ; Tue, 2 Jan 2024 03:03:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKU52-0000L1-6D; Mon, 01 Jan 2024 21:00:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rKU4b-00085t-3a for guix-patches@gnu.org; Mon, 01 Jan 2024 21:00:08 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rKU4Z-0007Lv-7Y for guix-patches@gnu.org; Mon, 01 Jan 2024 21:00:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rKU4b-0008Uq-9g; Mon, 01 Jan 2024 21:00:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68180] [PATCH v2 4/4] gnu: Add emacs-pde. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Tue, 02 Jan 2024 02:00:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68180 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68180@debbugs.gnu.org Cc: Maxim Cournoyer , Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-Xcc: Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by 68180-submit@debbugs.gnu.org id=B68180.170416077432277 (code B ref 68180); Tue, 02 Jan 2024 02:00:05 +0000 Received: (at 68180) by debbugs.gnu.org; 2 Jan 2024 01:59:34 +0000 Received: from localhost ([127.0.0.1]:49088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKU45-0008OR-NA for submit@debbugs.gnu.org; Mon, 01 Jan 2024 20:59:34 -0500 Received: from mail-qv1-xf2f.google.com ([2607:f8b0:4864:20::f2f]:54535) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKU3x-0008Nd-Kp for 68180@debbugs.gnu.org; Mon, 01 Jan 2024 20:59:26 -0500 Received: by mail-qv1-xf2f.google.com with SMTP id 6a1803df08f44-680a06cc763so22002426d6.1 for <68180@debbugs.gnu.org>; Mon, 01 Jan 2024 17:59:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704160757; x=1704765557; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Z/hn3ZjfA0I6UwvF4rW6x2v0aflAuULgQ2i35QfKJ54=; b=jrBUaR2LRXThfSJ4cfZvzBDtKR1JgIr0viBd3ZBO6zLSW659u2+L6ao7xZq8Ggioqz GZurl5HPlRUfRNk3Ww9LtTvz6e2IfKcCGiX0ajXglC87KaXqpm1jZZoYj5kFlazBujBH CunXd+JfNw6GkmfPdsMH8mzzYzzWN3yEHnPqY8KXT/zeYSYKBqf233ZRwof7YyONdCFD dpvsLcZqOYUVozVk9mb55xJvyIAxl8arWACkLDBNC9c7DNHSGpe9EarQG5sCL312GJu7 laGsxPYr2BXkpPa7d1S/GAEqP1vaTbUvKW/u4g5srNpoaFpUpNUHkR17e8oK55xG0v7w 5H1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704160757; x=1704765557; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Z/hn3ZjfA0I6UwvF4rW6x2v0aflAuULgQ2i35QfKJ54=; b=nGb6Z0Tx0GBwNy+OXYzDTSBGdpbN/iOKWBMjJUEsqGxPEF6BnB7WXoj7k3NN1txaIi fOBIeQxFkRFTznjj2WeeXCVqSOLqlb93FlUME5zHPYRyCbrTA0awo6mtSPUtVBy9m0hU /o+zdVccf6h1IXXRhj3ClxJW5vfIGlwyOMCjDBkXmIZFHTyhOMwOXzAPXiZjr7X+Ytnq pgJ1M5GJO4JXEZrDAA183auIg51wnU2MQ+rlhzqQdN3PgZFH+qn4LKFlAggdU+MNsT3B YWyxF+ts4vnBcrtlSZEsv97h6thPv+vKwpmbwMaga+nYNs+evVvYnIxdA+3O0y/L6tVq Q07w== X-Gm-Message-State: AOJu0Yxul0Y2U1VPdBGcvE9XjGbbD5T2PoLGPl1j1v2amFs/1KOaAvd7 uVTte6EN+DZMcYohvlAfsHMokNa3Bl8= X-Google-Smtp-Source: AGHT+IHciv/QvKQvezJvnW/4gfzMg3MrTNOzaXOIYNkOOVPAD1lvCzxdWE+bjRTcbCvaiutDu3Vnyg== X-Received: by 2002:a05:6214:20ad:b0:67a:a721:d779 with SMTP id 13-20020a05621420ad00b0067aa721d779mr23700045qvd.95.1704160757643; Mon, 01 Jan 2024 17:59:17 -0800 (PST) Received: from localhost.localdomain (dsl-10-141-187.b2b2c.ca. [72.10.141.187]) by smtp.gmail.com with ESMTPSA id ec17-20020ad44e71000000b0067f90426698sm9082956qvb.23.2024.01.01.17.59.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 17:59:17 -0800 (PST) From: Maxim Cournoyer Date: Mon, 1 Jan 2024 20:58:27 -0500 Message-ID: <76e5781ad616a52b5590b1dd1c37fccf328cb04b.1704160707.git.maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.18 X-Spam-Score: -3.18 X-Migadu-Queue-Id: 493B1259F9 X-Migadu-Scanner: mx12.migadu.com X-TUID: LlCi0DdwwuGS * gnu/packages/emacs-xyz.scm (emacs-pde): New variable. Change-Id: Icab5d8acf9d441bb4a832a82e75432d64cc77ba7 --- (no changes since v1) gnu/packages/emacs-xyz.scm | 86 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index a8ac238f58..fe46342adf 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -167,6 +167,7 @@ (define-module (gnu packages emacs-xyz) #:use-module (guix build-system cmake) #:use-module (guix build-system copy) #:use-module (guix build-system emacs) + #:use-module (guix build-system perl) #:use-module (guix build-system trivial) #:use-module (gnu packages) #:use-module (gnu packages admin) @@ -271,6 +272,7 @@ (define-module (gnu packages emacs-xyz) #:use-module (gnu packages erlang) #:use-module (gnu packages statistics) #:use-module (gnu packages libcanberra) + #:use-module (gnu packages texinfo) #:use-module (gnu packages virtualization) #:use-module (gnu packages web-browsers) #:use-module (gnu packages wget) @@ -12271,6 +12273,90 @@ (define-public emacs-hl-todo regexp that matches all known keywords.") (license license:gpl3+))) +(define-public emacs-pde + (package + (name "emacs-pde") + (version "0.2.17") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/Y/YE/YEWENBIN/Emacs-PDE-v" + version ".tar.gz")) + (modules '((guix build utils))) + (snippet '(begin + ;; Delete pre-generated Texinfo and HTML documentation. + (for-each delete-file '("lisp/doc/pde.info" + "lisp/doc/pde.html")) + (delete-file-recursively "lisp/doc/pde"))) + (sha256 + (base32 "1i82isha839c8lx73kgp43v7gxr2adsr1yfw1glyxvi62w5ab9qz")))) + (build-system perl-build-system) + (arguments + (list + #:imported-modules `(,@%emacs-build-system-modules + ,@%perl-build-system-modules) + #:modules '((guix build perl-build-system) + (guix build emacs-utils) + (guix build utils)) + #:module-build-flags + #~(list (string-append "--elispdir=" #$output + "/share/emacs/site-lisp/pde") + "--verbose") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-commands + (lambda* (#:key inputs #:allow-other-keys) + (make-file-writable "lisp/pde-vars.el") + (emacs-substitute-variables "lisp/pde-vars.el" + ("pde-perl-program" + (search-input-file inputs "bin/perl")) + ("pde-perl-version" + #$(package-version (this-package-input "perl"))) + ("pde-perldoc-program" + (search-input-file inputs "bin/perldoc")) + ("pde-find-program" + (search-input-file inputs "bin/find"))) + (make-file-writable "lisp/perlcritic.el") + (emacs-substitute-variables "lisp/perlcritic.el" + ("perlcritic-program" + (search-input-file inputs "bin/perlcritic"))) + (make-file-writable "lisp/perldoc.el") + (emacs-substitute-variables "lisp/perldoc.el" + ("perldoc-cache-el" + "(expand-file-name \"~/.cache/perldoc-cache.el\"") + ("perldoc-pod2man" + (search-input-file inputs "bin/pod2man"))) + (make-file-writable "lisp/perltidy.el") + (emacs-substitute-variables "lisp/perltidy.el" + ("perltidy-program" + (search-input-file inputs "bin/perltidy"))) + (substitute* "lisp/tools/perldoc-cache.pl" + (("`perldoc") + (string-append + "`" (search-input-file inputs "bin/perldoc")))))) + (add-after 'build 'generate-doc + (lambda _ + (invoke "./Build" "info"))) + (add-after 'install 'move-doc + (lambda _ + (let ((info (string-append #$output "/share/info/pde.info"))) + (mkdir-p (dirname info)) + (rename-file (string-append + #$output + "/share/emacs/site-lisp/pde/doc/pde.info") + info))))))) + (native-inputs (list emacs-minimal perl-module-build texinfo)) + (inputs (list findutils perl perl-critic)) + (home-page "https://metacpan.org/release/Emacs-PDE") + (synopsis "Perl Development Environment for Emacs") + (description "Emacs::PDE is a collection of Emacs Lisp extensions to +facilitate Perl programming. CPerl Mode has provided an excellent environment +for coding; Emacs::PDE provides other common tools such as creating files +using templates, smart compiling, @command{perldoc}, @command{perltidy}, +debugger, tags tree view and so on. PDE also provides an easy configuration +for Perl programing, and a tutorial for novices to start using Emacs.") + (license license:perl-license))) + (define-public emacs-perspective (package (name "emacs-perspective") -- 2.41.0