From patchwork Sun Apr 3 17:53:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Albers Raviola X-Patchwork-Id: 1358 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 2266027BBEA; Sun, 3 Apr 2022 19:11:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED 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 B667727BBE9 for ; Sun, 3 Apr 2022 19:11:09 +0100 (BST) Received: from localhost ([::1]:39752 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nb4gu-00019p-Qp for patchwork@mira.cbaines.net; Sun, 03 Apr 2022 14:11:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nb4go-00019g-NP for guix-patches@gnu.org; Sun, 03 Apr 2022 14:11:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nb4go-0002Q4-EM for guix-patches@gnu.org; Sun, 03 Apr 2022 14:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nb4go-0001XF-7H for guix-patches@gnu.org; Sun, 03 Apr 2022 14:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54692] [PATCH] gnu: Add emacs-opencl-mode Resent-From: Thomas Albers Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 03 Apr 2022 18:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54692 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54692@debbugs.gnu.org Cc: Thomas Albers , maximedevos@telenet.be Received: via spool by 54692-submit@debbugs.gnu.org id=B54692.16490094075831 (code B ref 54692); Sun, 03 Apr 2022 18:11:02 +0000 Received: (at 54692) by debbugs.gnu.org; 3 Apr 2022 18:10:07 +0000 Received: from localhost ([127.0.0.1]:49483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nb4fv-0001Vz-0D for submit@debbugs.gnu.org; Sun, 03 Apr 2022 14:10:07 -0400 Received: from vmd69031.contaboserver.net ([161.97.172.214]:35430 helo=mail.thomaslabs.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nb4ft-0001Vr-EF for 54692@debbugs.gnu.org; Sun, 03 Apr 2022 14:10:06 -0400 Received: from laptop.fritz.box (unknown [31.19.193.73]) by mail.thomaslabs.org (Postfix) with ESMTPSA id B67EE9C01C6; Sun, 3 Apr 2022 20:10:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thomaslabs.org; s=mail; t=1649009403; bh=htZlOZ/AIdukYPZf9ag/QAVbYwyXB6xdxi8+5wR6OxQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CKonH2pl9QfsgYVc03/EUzYVl9Zn+l/JcEs8rS3+scnN1Cobsfk4lg9Hz4T8otEyc yhvcPNfiCMPNHnbWhOi0yTB2GTPgW+jjT6moMluc/6hmem6NJot7npuO4bfjcuNWJX vgUfddX0Hzbft9nkkzks6/uPsbhgw/ejapGyMj3U9WwFazD3UIy6cOgowUuEQ6P045 fSY6fFGKd8CmrSZNDASJ1/O6tUqb3nA6QDh+TGA9qlcp5eS4SvY8GMKKxAjWBip2tZ AwtaaSg3sbMB2jt2OPpCJSoZVwu/yWaq0nzr6EWPUEKPibZ3E+H509psRETUs2e+66 GI3yK7Dsg3FeQ== Date: Sun, 3 Apr 2022 19:53:03 +0200 Message-Id: <20220403175302.3771-1-thomas@thomaslabs.org> X-Mailer: git-send-email 2.34.0 In-Reply-To: <7618c71dcc0d1994819ca735e13b73b38d3b1e72.camel@telenet.be> References: <7618c71dcc0d1994819ca735e13b73b38d3b1e72.camel@telenet.be> MIME-Version: 1.0 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" Reply-to: Thomas Albers X-ACL-Warn: , Thomas Albers via Guix-patches X-Patchwork-Original-From: Thomas Albers via Guix-patches via From: Thomas Albers Raviola X-getmail-retrieved-from-mailbox: Patches Hello Maxime, thank you for your feedback. Here I send a new patch with the suggested corrections. About your questions: - cc-fonts is part of emacs - Offline access to the OpenCL documentation would indeed be nice, I guess this should however be a separate package. I could add this afterwards, once this package is available. Greetings, Thomas --- gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 42fc13f4c2..8aef0b42eb 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -108,6 +108,7 @@ ;;; Copyright © 2021, 2022 Taiju HIGASHI ;;; Copyright © 2022 Brandon Lucas ;;; Copyright © 2022 Jai Vetrivelan +;;; Copyright © 2022 Thomas Albers Raviola ;;; ;;; This file is part of GNU Guix. ;;; @@ -30833,3 +30834,27 @@ (define-public emacs-osm zoomable and moveable map display, display of tracks and POIs from GPX files, parallel fetching of tiles with cURL, and more.") (license license:gpl3+))) + +(define-public emacs-opencl-mode + ;; Upstream never makes any formal releases, there is only v1.0. + ;; Use the latest commit instead. + (let ((commit "15091eff92c33ee0d1ece40eb99299ef79fee92d") + (revision "1")) + (package + (name "emacs-opencl-mode") + (version (git-version "1.0" revision commit)) + (source (origin + (uri (git-reference + (url "https://github.com/salmanebah/opencl-mode") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1zn6rr48w0ai0sn51zzyp546va6flfgf9lm12vfrdb6kkiiiq403")) + (method git-fetch))) + (build-system emacs-build-system) + (synopsis "Emacs major mode for editing OpenCL kernels") + (description "This Emacs package provides the @code{opencl-mode} major +mode for editing OpenCL kernels. It supports syntax highlighting and online +access to the OpenCL documentation through the @code{opencl-lookup} function.") + (home-page "https://github.com/salmanebah/opencl-mode") + (license license:gpl3+))))