GNU bug report logs -
#54692
[PATCH] gnu: Add emacs-opencl-mode
Previous Next
Reported by: Thomas Albers <thomas <at> thomaslabs.org>
Date: Sun, 3 Apr 2022 13:44:02 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 54692 in the body.
You can then email your comments to 54692 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#54692
; Package
guix-patches
.
(Sun, 03 Apr 2022 13:44:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Thomas Albers <thomas <at> thomaslabs.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 03 Apr 2022 13:44:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi guix,
the following patch adds the emacs-opencl-mode package. It provides
syntax highlighting when editing OpenCL kernels.
Regards,
Thomas
---
gnu/packages/emacs-xyz.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 42fc13f4c2..6c82a9d784 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -108,6 +108,7 @@
;;; Copyright © 2021, 2022 Taiju HIGASHI <higashi <at> taiju.info>
;;; Copyright © 2022 Brandon Lucas <br <at> ndon.dk>
;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan <at> gmail.com>
+;;; Copyright © 2022 Thomas Albers Raviola <thomas <at> thomaslabs.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -30833,3 +30834,23 @@ (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
+ (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 "OpenCL syntax coloring for Emacs")
+ (description "This Emacs package provides syntax coloring for OpenCL kernels.")
+ (home-page "https://github.com/salmanebah/opencl-mode")
+ (license license:gpl3))))
--
2.34.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54692
; Package
guix-patches
.
(Sun, 03 Apr 2022 14:31:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 54692 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Thomas Albers via Guix-patches via schreef op zo 03-04-2022 om 15:41
[+0200]:
> + (license license:gpl3))))
According to opencl-mode.el, it's GPL3+.
Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54692
; Package
guix-patches
.
(Sun, 03 Apr 2022 14:32:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 54692 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Thomas Albers via Guix-patches via schreef op zo 03-04-2022 om 15:41
[+0200]:
> + (source (origin
The code does (require 'cc-fonts) -- is this part of Emacs itself, or
is it a dependency that needs to be added to propagated-inputs?
Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54692
; Package
guix-patches
.
(Sun, 03 Apr 2022 14:34:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 54692 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Thomas Albers via Guix-patches via schreef op zo 03-04-2022 om 15:41
[+0200]:
> + (version (git-version "1.0" revision commit))
I would add a comment here, maybe
;; Upstream never makes any formal releases, there is only v1.0.
;; Use the latest commit instead.
to explain why a non-version commit was chosen.
Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54692
; Package
guix-patches
.
(Sun, 03 Apr 2022 14:43:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 54692 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Thomas Albers via Guix-patches via schreef op zo 03-04-2022 om 15:41
[+0200]:
> + (description "This Emacs package provides syntax coloring for OpenCL kernels.")
This is a bit short. Some additional things that could be mentioned:
* the name of the emacs mode (in case a non-recognised file name is
used)
* its documentation support (opencl-lookup)
Additionally, for offline usage, it would be nice if the OpenCL
documentation was built from source (*) and referred to by
file:///gnu/store/... instead of http://www.khronos.org, though I don't
think that can be a requirement.
Greetings,
Maxime.
(*) https://github.com/KhronosGroup/OpenCL-Docs#license
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54692
; Package
guix-patches
.
(Sun, 03 Apr 2022 18:11:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 54692 <at> debbugs.gnu.org (full text, mbox):
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 <higashi <at> taiju.info>
;;; Copyright © 2022 Brandon Lucas <br <at> ndon.dk>
;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan <at> gmail.com>
+;;; Copyright © 2022 Thomas Albers Raviola <thomas <at> thomaslabs.org>
;;;
;;; 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+))))
--
2.34.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54692
; Package
guix-patches
.
(Sun, 03 Apr 2022 18:44:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 54692 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Thomas Albers schreef op zo 03-04-2022 om 19:53 [+0200]:
> + (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.")
Looks like a nice description!
Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54692
; Package
guix-patches
.
(Tue, 07 Jun 2022 22:04:02 GMT)
Full text and
rfc822 format available.
Message #26 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
Thomas Albers via Guix-patches via <guix-patches <at> gnu.org> writes:
>
> ---
> 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 <higashi <at> taiju.info>
> ;;; Copyright © 2022 Brandon Lucas <br <at> ndon.dk>
> ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan <at> gmail.com>
> +;;; Copyright © 2022 Thomas Albers Raviola <thomas <at> thomaslabs.org>
> ;;;
> ;;; 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
I added a proper commit message and pushed.
Thank you.
Regards,
--
Nicolas Goaziou
Reply sent
to
Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
:
You have taken responsibility.
(Tue, 07 Jun 2022 22:04:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Thomas Albers <thomas <at> thomaslabs.org>
:
bug acknowledged by developer.
(Tue, 07 Jun 2022 22:04:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 06 Jul 2022 11:24:11 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 287 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.