GNU bug report logs -
#77913
[PATCH] gnu: Add scad-dbus.
Previous Next
Reported by: nomike <nomike <at> nomike.com>
Date: Sat, 19 Apr 2025 04:15:04 UTC
Severity: normal
Tags: patch
Done: Danny Milosavljevic <dannym <at> friendly-machines.com>
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 77913 in the body.
You can then email your comments to 77913 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#77913
; Package
guix-patches
.
(Sat, 19 Apr 2025 04:15:06 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
nomike <nomike <at> nomike.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 19 Apr 2025 04:15:06 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/engineering.scm (scad-dbus): New variable
Change-Id: I6bcc33ef1780f427dc6b612acd25d968ea487258
---
gnu/packages/engineering.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index f37b0e3844..a6a1bb61b2 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -42,6 +42,7 @@
;;; Copyright © 2024 Juliana Sims <juli <at> incana.org>
;;; Copyright © 2024 Nguyễn Gia Phong <mcsinyx <at> disroot.org>
;;; Copyright © 2025 Frederick Muriuki Muriithi <fredmanglis <at> gmail.com>
+;;; Copyright © 2025 nomike Postmann <nomikenomike.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -98,6 +99,8 @@ (define-module (gnu packages engineering)
#:use-module (gnu packages digest)
#:use-module (gnu packages docbook)
#:use-module (gnu packages documentation)
+ #:use-module (gnu packages emacs)
+ #:use-module (gnu packages emacs-xyz)
#:use-module (gnu packages file)
#:use-module (gnu packages flex)
#:use-module (gnu packages fontutils)
@@ -3269,6 +3272,37 @@ (define-public emacs-scad-mode
OpenSCAD code. It supports syntax highlighting, indenting and refilling of
comments.")))
+(define-public scad-dbus
+ (package
+ (name "scad-dbus")
+ (version "0.1")
+ (properties '((release-tag-prefix . "^v")
+ (release-tag-version-delimiter . ".")))
+ (license license:gpl3+)
+ (native-inputs (list emacs))
+ (inputs (list emacs-scad-mode emacs-hydra))
+ (build-system emacs-build-system)
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/lenbok/scad-dbus")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1r9qiiyr4m04yh38zlmrk7r23s7w9rsiy0nkq0x8x2ci7fsy2qyf"))))
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ )))
+ (synopsis "Control OpenSCAD from Emacs using D-Bus")
+ (description
+ "@code{OpenSCAD} has the ability to use D-Bus (an Linux IPC
+mechanism) as an input driver, which allows manipulation of the viewport and
+execution of menu commands. Since Emacs also speaks D-Bus, we can execute most
+of the OpenSCAD GUI adjustments without having to switch windows or reach for
+our mouse.")
+ (home-page "https://github.com/lenbok/scad-dbus")))
+
(define-public ondsel-solver
(let ((commit "2e3659c4bce3e6885269e0cb3d640261b2a91108")
(revision "1"))
--
2.49.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#77913
; Package
guix-patches
.
(Mon, 05 May 2025 11:57:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 77913 <at> debbugs.gnu.org (full text, mbox):
On 2025-04-19 06:14, nomike <at> nomike.com wrote:
> * gnu/packages/engineering.scm (scad-dbus): New variable
>
> Change-Id: I6bcc33ef1780f427dc6b612acd25d968ea487258
> ---
> gnu/packages/engineering.scm | 34 ++++++++++++++++++++++++++++++++++
> 1 file changed, 34 insertions(+)
>
> diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
> index f37b0e3844..a6a1bb61b2 100644
> --- a/gnu/packages/engineering.scm
> +++ b/gnu/packages/engineering.scm
> @@ -42,6 +42,7 @@
> ;;; Copyright © 2024 Juliana Sims <juli <at> incana.org>
> ;;; Copyright © 2024 Nguyễn Gia Phong <mcsinyx <at> disroot.org>
> ;;; Copyright © 2025 Frederick Muriuki Muriithi <fredmanglis <at> gmail.com>
> +;;; Copyright © 2025 nomike Postmann <nomikenomike.com>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -98,6 +99,8 @@ (define-module (gnu packages engineering)
> #:use-module (gnu packages digest)
> #:use-module (gnu packages docbook)
> #:use-module (gnu packages documentation)
> + #:use-module (gnu packages emacs)
You most likely don't require emacs as native-inputs since it should be
provided in the emacs-build-system. So you probably don't need this.
> + #:use-module (gnu packages emacs-xyz)
> #:use-module (gnu packages file)
> #:use-module (gnu packages flex)
> #:use-module (gnu packages fontutils)
> @@ -3269,6 +3272,37 @@ (define-public emacs-scad-mode
> OpenSCAD code. It supports syntax highlighting, indenting and refilling of
> comments.")))
>
> +(define-public scad-dbus
> + (package
> + (name "scad-dbus")
> + (version "0.1")
> + (properties '((release-tag-prefix . "^v")
> + (release-tag-version-delimiter . ".")))
> + (license license:gpl3+)
> + (native-inputs (list emacs))
> + (inputs (list emacs-scad-mode emacs-hydra))
> + (build-system emacs-build-system)
Those fields are usually at the end of the record. Please conform to
classic order (source > build-system > arguments > various inputs >
home-pag > synopsis > description > license), it's easier to review in this case.
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/lenbok/scad-dbus")
> + (commit version)))
This should be (string-append "v" version), the hash should be updated too.
> + (file-name (git-file-name name version))
> + (sha256
> + (base32 "1r9qiiyr4m04yh38zlmrk7r23s7w9rsiy0nkq0x8x2ci7fsy2qyf"))))
> + (arguments
> + `(#:phases (modify-phases %standard-phases
> + )))
This field can be removed.
> + (synopsis "Control OpenSCAD from Emacs using D-Bus")
> + (description
> + "@code{OpenSCAD} has the ability to use D-Bus (an Linux IPC
> +mechanism) as an input driver, which allows manipulation of the viewport and
> +execution of menu commands. Since Emacs also speaks D-Bus, we can execute most
> +of the OpenSCAD GUI adjustments without having to switch windows or reach for
> +our mouse.")
> + (home-page "https://github.com/lenbok/scad-dbus")))
> +
> (define-public ondsel-solver
> (let ((commit "2e3659c4bce3e6885269e0cb3d640261b2a91108")
> (revision "1"))
--
Best regards,
Nicolas Graves
Information forwarded
to
nomike <at> nomike.com, ngraves <at> ngraves.fr, guix-patches <at> gnu.org
:
bug#77913
; Package
guix-patches
.
(Fri, 16 May 2025 00:03:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 77913 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/engineering.scm (emacs-scad-dbus): New variable
Change-Id: Ie0f0835739fcd1cbcacdaeb3fcd073e870262a9e
---
I've updated the package definition to have a better synopsis and
I cleaned up the inputs.
I hope this is OK now.
gnu/packages/engineering.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 2f1f87d47e..c2e8a965f6 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -3347,6 +3347,30 @@ (define-public emacs-scad-mode
(home-page "https://openscad.org/")
(license license:gpl3+)))
+(define-public emacs-scad-dbus
+ (package
+ (name "emacs=scad-dbus")
+ (version "0.1")
+ (properties '((release-tag-prefix . "^v")
+ (release-tag-version-delimiter . ".")))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/lenbok/scad-dbus")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "09p1icdiwq6r5clnqljg058vn84acyf33jwqpfjkkm0l5pbvcgn0"))))
+ (build-system emacs-build-system)
+ (inputs (list emacs-scad-mode emacs-hydra emacs-compat))
+ (synopsis "Control OpenSCAD from Emacs using D-Bus")
+ (description
+ "scad-dbus allows controlling @code{OpenSCAD} from within @code{Emacs} via
+D-Bus without having to switch programs or reach for the mouse.")
+ (home-page "https://github.com/lenbok/scad-dbus")
+ (license license:gpl3+)))
+
(define-public ondsel-solver
(let ((commit "2e3659c4bce3e6885269e0cb3d640261b2a91108")
(revision "1"))
--
2.49.0
bug closed, send any further explanations to
77913 <at> debbugs.gnu.org and nomike <nomike <at> nomike.com>
Request was from
Danny Milosavljevic <dannym <at> friendly-machines.com>
to
control <at> debbugs.gnu.org
.
(Sun, 18 May 2025 13:59: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
.
(Mon, 16 Jun 2025 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.