From patchwork Sat Mar 11 11:59:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rostislav Svoboda X-Patchwork-Id: 47878 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B849F16E85; Sat, 11 Mar 2023 12:00:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id F218F16E84 for ; Sat, 11 Mar 2023 12:00:17 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1paxtM-00086y-NO; Sat, 11 Mar 2023 07:00:04 -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 1paxtK-00086j-VZ for guix-patches@gnu.org; Sat, 11 Mar 2023 07:00:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1paxtK-0005KJ-LS for guix-patches@gnu.org; Sat, 11 Mar 2023 07:00:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1paxtK-0003XW-FY for guix-patches@gnu.org; Sat, 11 Mar 2023 07:00:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61756] [PATCH 5/8] gnu: Add emacs-xcscope. Resent-From: Rostislav Svoboda Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 11 Mar 2023 12:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61756 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou Cc: 61756@debbugs.gnu.org Received: via spool by 61756-submit@debbugs.gnu.org id=B61756.167853599713566 (code B ref 61756); Sat, 11 Mar 2023 12:00:02 +0000 Received: (at 61756) by debbugs.gnu.org; 11 Mar 2023 11:59:57 +0000 Received: from localhost ([127.0.0.1]:56689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paxtF-0003Wk-GO for submit@debbugs.gnu.org; Sat, 11 Mar 2023 06:59:57 -0500 Received: from mail-lj1-f173.google.com ([209.85.208.173]:42799) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paxtD-0003WQ-5e for 61756@debbugs.gnu.org; Sat, 11 Mar 2023 06:59:55 -0500 Received: by mail-lj1-f173.google.com with SMTP id a32so8024201ljr.9 for <61756@debbugs.gnu.org>; Sat, 11 Mar 2023 03:59:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678535989; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=2DOp70h1A0j7EoLpE8gAjC8Yvo82H0OHDeDOKJHatKk=; b=HqWVm2bJX8wEQ2bQGe6R8Fv2cFaJJsIalg3Y5ETm7Xw7RBcUrqEBDZikxHn8IaTn62 snF95SdrX25HlBF9jYzdd30pcVy6b2ccfGripsK/0aUkfaUQiw0WR4jbTE+TwKrmeXJ5 tQ2X+aBrisV03i9hahvEQ4Dkm36jXkM91dAjr8diIku/6PfBplOkxWsGoyDFoBLQ7kQ7 /HAUOHvPr86w+Me/dGCIgXg4e/PSaVqXMS7lRhnxOavIhV1ITn9gwrq8JvNrG55X5qq4 ZPVZTMUwL8mBQ/9pXiVFT10o7eXMdMIm40xD1gImWBVsK0qoCO2mJYCiBbx8iY5p2WAY 41wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678535989; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2DOp70h1A0j7EoLpE8gAjC8Yvo82H0OHDeDOKJHatKk=; b=k3Sj8b0icTCPWkegDqqRtp0Jf7BYfF2rAAIXHoWPLAw/F9t3m8les9lgW6QmLjw1in cxoA1KEIxdgAEGyOPmE4xtwA05gJS7xQkoxW/ZLeoFZHy+fhX0dBQ/e8KWp9m6hOKreE mh5Ze/903+XSJ5SAtPisBwxppLarl6ouj5gr4OJ/2rnl+2SpqbDdjepkVJv9QmaXtKp0 n8hMkT6QkD/djVV2F2WvGEd9Bm1sg+T+aCVBhuBGgtAGoLPI+oSz7cq6tFX7/bhGk9C1 9eQv+VMS5lChDIaYDkjjf/UVPUT9xQKu4Dtm5EhyKtpJUipfQInAbn5qkaA40dLXmrM/ DnXg== X-Gm-Message-State: AO0yUKWLYxG8GC6KZmjwFygsKSVqQHAScj2GKf+L1lFmMs9pl17WBWTA X7qm0OZ9K9kjXGmB5Svc39W0xRf90ngE+m4aCLQ= X-Google-Smtp-Source: AK7set8SXV2WYEZido/tUS/i/cglpr/bh5ItnzH9EiciWvBFnI2r2fGxYdQyzWIKQffKa0EHpS1xhqNttKx3GFvGqkY= X-Received: by 2002:a05:651c:1696:b0:295:a9bd:1be0 with SMTP id bd22-20020a05651c169600b00295a9bd1be0mr8938036ljb.6.1678535988861; Sat, 11 Mar 2023 03:59:48 -0800 (PST) MIME-Version: 1.0 References: <20230224141819.12675-1-Rostislav.Svoboda@gmail.com> <20230224141819.12675-5-Rostislav.Svoboda@gmail.com> <87wn3r6ygy.fsf@nicolasgoaziou.fr> In-Reply-To: <87wn3r6ygy.fsf@nicolasgoaziou.fr> From: Rostislav Svoboda Date: Sat, 11 Mar 2023 12:59:12 +0100 Message-ID: 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hello Nicolas > Could you send an updated patch, with another location for the package > definition, and a proper commit message? The patch is below. I hope I didn't miss any of your points. (And thanks for reviewing my patches.) Regards Bost From 95a4714eaa36608f5c3002d769516346b6df3d99 Mon Sep 17 00:00:00 2001 From: Rostislav Svoboda Date: Sat, 11 Mar 2023 12:50:08 +0100 Subject: [PATCH] gnu: Add emacs-xcscope. * gnu/packages/emacs-xyz.scm (emacs-xcscope): New variable. --- gnu/packages/emacs-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (package (name "emacs-ggtags") diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 13caf6e882..0c440def40 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -4176,6 +4176,39 @@ (define-public emacs-form-feed into mode hooks and is intended to be used that way.") (license license:gpl3+))) +(define-public emacs-xcscope + (let ((commit "d228d7593d762e457340f678d14b663ef66d7cee") + (revision "1.0")) + (package + (name "emacs-xcscope") + (version (git-version "0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dkogan/xcscope.el") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0pr85ywp585imjzswm04647nb4iqqvg8jgmbcs5210qmr9kh0z8d")))) + (build-system emacs-build-system) + (inputs + (list cscope)) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'substitute-cscope-path + (lambda* (#:key inputs #:allow-other-keys) + (emacs-substitute-variables "xcscope.el" + ("cscope-program" (search-input-file inputs "/bin/cscope")))))))) + (home-page "https://github.com/dkogan/xcscope.el") + (synopsis "Interface to the source cross-referencing tool Cscope") + (description + "Xcscope is an Emacs interface to Cscope, the source cross-referencing tool. + See https://cscope.sf.net") + (license license:gpl2+)))) + (define-public emacs-ggtags