GNU bug report logs - #77913
[PATCH] gnu: Add scad-dbus.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: nomike <nomike@HIDDEN>; Keywords: patch; Done: Danny Milosavljevic <dannym@HIDDEN>; Maintainer for guix-patches is guix-patches@HIDDEN.
bug closed, send any further explanations to 77913 <at> debbugs.gnu.org and nomike <nomike@HIDDEN> Request was from Danny Milosavljevic <dannym@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 77913 <at> debbugs.gnu.org:


Received: (at 77913) by debbugs.gnu.org; 16 May 2025 00:02:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 15 20:02:42 2025
Received: from localhost ([127.0.0.1]:57991 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uFiXC-0004Ob-4L
	for submit <at> debbugs.gnu.org; Thu, 15 May 2025 20:02:42 -0400
Received: from rusty.tulip.relay.mailchannels.net ([23.83.218.252]:21065)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <nomike@HIDDEN>) id 1uFiX9-0004OP-RV
 for 77913 <at> debbugs.gnu.org; Thu, 15 May 2025 20:02:40 -0400
X-Sender-Id: dreamhost|x-authsender|nomike@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id 5B1AC8C3F14;
 Fri, 16 May 2025 00:02:38 +0000 (UTC)
Received: from pdx1-sub0-mail-a284.dreamhost.com
 (trex-green-9.trex.outbound.svc.cluster.local [100.112.61.115])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id 9C8BB8C3EFC;
 Fri, 16 May 2025 00:02:37 +0000 (UTC)
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1747353757; a=rsa-sha256;
 cv=none;
 b=306DUJN0BR2V6OZ4ByoN4J2GWRN75akIcAluT4D0TyXl1Fus3AC7i2t3ZBtMOocUL2Tufd
 HGjk3PM0cIzw876GD9/Wii6Wn3k4EimQJC8MWGuTo65QBIFzVG5WStFk3NgfjgBeSNFODU
 siqpQNz5GBVKPCR4xKUV7LYTYNf+HkpjFxKEGIdvC+i2dKUegYwIpEUzRjJ6gFnie20Alg
 VfAybFfPxlABybbsq4Gm/mQXpYZpTWtxX0qvIGDEnbQtkCwlalTmQxJAUVblmAtrMiHolI
 ILEbdCyLxblwcrbqy95fehm/UtWy45PndY/sjg8RStqh1b7tanzFt1fFWjqLsA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mailchannels.net; s=arc-2022; t=1747353757;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding:dkim-signature;
 bh=TOtc6NxuNw4g5mXPiz+9dGWx/+b4LF7NZ/r+htnhWxo=;
 b=nlBhzYV4PNUQwqJ3fEut6/yErA0z0YCvX9nYh3nERCf3Vmn5r4IvIRborEoaqqsChr3Qty
 V4SEYOEsuvJpQQet9jynU8XAAhFA03UWxKgcfa/YlkjvwTrdvmZ94mpDfUVJ8bkffV0fMe
 n0c1+6ayK9UD1JYr6gT/FdTP7i6qCEZt/g7YTATgH+TAWx0HGzRh2WG0pXkm9wMdZaAvHC
 hZCui9AD6CRaT2sj0+0DUkGz/xA3YxCbPKv4MyLSHUlT2Pk/PEAEerucnORXSlB2Pkxtvo
 kxOIfStoi+DIHB5qOjnFdvQ2DS8ZjLfDGTFd84zSAtSJcyRGs6V9TWVbJbwumw==
ARC-Authentication-Results: i=1; rspamd-5b49d78d5-2fwf9;
 auth=pass smtp.auth=dreamhost smtp.mailfrom=nomike@HIDDEN
X-Sender-Id: dreamhost|x-authsender|nomike@HIDDEN
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|nomike@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Bottle-Madly: 50a2004b1b4560aa_1747353758106_970329498
X-MC-Loop-Signature: 1747353758106:2069030631
X-MC-Ingress-Time: 1747353758106
Received: from pdx1-sub0-mail-a284.dreamhost.com (pop.dreamhost.com
 [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384)
 by 100.112.61.115 (trex/7.0.3); Fri, 16 May 2025 00:02:38 +0000
Received: from localhost (84-112-221-106.cable.dynamic.surfer.at
 [84.112.221.106])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest
 SHA256) (No client certificate requested)
 (Authenticated sender: nomike@HIDDEN)
 by pdx1-sub0-mail-a284.dreamhost.com (Postfix) with ESMTPSA id 4Zz6hs15Bqz30; 
 Thu, 15 May 2025 17:02:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomike.com;
 s=dreamhost; t=1747353757;
 bh=TOtc6NxuNw4g5mXPiz+9dGWx/+b4LF7NZ/r+htnhWxo=;
 h=From:To:Cc:Subject:Date:Content-Transfer-Encoding;
 b=LpOhjR+15TZtAGrx4uZfqsqcxrk/+3tYxFrLvkFk+kjSIkiuzjMsrxK5CdWHmex1A
 UlIW3+AhE52idPBAKu36WvO+IC+760VwWzehVLjGXdDFRoA7HeZhEM2N7Ha9Z9gWFV
 hRWWTL2kS89u+rBONQsqaBxZgXy1Sn3KmBrcbROCroSeeOSf9yKRNLKdgPHA/Ik5bQ
 FE+emrjgh+dhrA1DgbEmYV3C7qw5jtvg1tJeICwvLF8QrYKRo7yecetcWzEt+D2MoK
 DJCyTgM1ydVcPGvk2NzXwZb1q3yguYD3FjVORSpADFDCAqlCDoJ6B3ltIFEA/ys5xl
 tZN/7rXwrvWaQ==
From: nomike <nomike@HIDDEN>
To: 77913 <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add emacs-scad-dbus
Date: Fri, 16 May 2025 02:01:48 +0200
Message-ID: <20250516000232.2900046-1-nomike@HIDDEN>
X-Mailer: git-send-email 2.49.0
MIME-Version: 1.0
X-Debbugs-Cc: nomike <nomike@HIDDEN>, Nicolas Graves <ngraves@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77913
Cc: nomike <nomike@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* 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





Information forwarded to nomike@HIDDEN, ngraves@HIDDEN, guix-patches@HIDDEN:
bug#77913; Package guix-patches. Full text available.

Message received at 77913 <at> debbugs.gnu.org:


Received: (at 77913) by debbugs.gnu.org; 5 May 2025 11:56:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 05 07:56:09 2025
Received: from localhost ([127.0.0.1]:39324 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uBuQb-0007Ld-Fb
	for submit <at> debbugs.gnu.org; Mon, 05 May 2025 07:56:09 -0400
Received: from 3.mo563.mail-out.ovh.net ([46.105.40.8]:39995)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ngraves@HIDDEN>)
 id 1uBuQU-0007Kz-43
 for 77913 <at> debbugs.gnu.org; Mon, 05 May 2025 07:56:06 -0400
Received: from director3.derp.mail-out.ovh.net
 (director3.derp.mail-out.ovh.net [152.228.215.222])
 by mo563.mail-out.ovh.net (Postfix) with ESMTPS id 4Zrg341C5sz1Yvs;
 Mon,  5 May 2025 11:56:00 +0000 (UTC)
Received: from director3.derp.mail-out.ovh.net
 (director3.derp.mail-out.ovh.net. [127.0.0.1])
 by director3.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP
 for <77913 <at> debbugs.gnu.org>; Mon,  5 May 2025 11:56:00 +0000 (UTC)
Received: from mta6.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.110.188.134])
 by director3.derp.mail-out.ovh.net (Postfix) with ESMTPS id
 4Zrg3374wrz625F; Mon,  5 May 2025 11:55:59 +0000 (UTC)
Received: from ngraves.fr (unknown [10.1.6.6])
 by mta6.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 8AF4BD43EAD; 
 Mon,  5 May 2025 11:55:59 +0000 (UTC)
Authentication-Results: garm.ovh; auth=pass
 (GARM-101G00409bd7a95-a69c-4320-8f91-eb61b4a9b5f0,
 64E865B9D27337561BBEA920F470E39E9148F63E) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 80.215.197.18
From: Nicolas Graves <ngraves@HIDDEN>
To: nomike <nomike@HIDDEN>, 77913 <at> debbugs.gnu.org
Subject: Re: [bug#77913] [PATCH] gnu: Add scad-dbus.
In-Reply-To: <20250419041413.225129-1-nomike@HIDDEN>
References: <20250419041413.225129-1-nomike@HIDDEN>
Date: Mon, 05 May 2025 13:55:58 +0200
Message-ID: <871pt38e5t.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Ovh-Tracer-Id: 12056136202868482586
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvkedutdefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufgjfhffkfggtgfgsehtqhertddttdejnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepgeeugfdvfedvueelgeejiedugeefieevhfekheethefguefgleetfeeutdeiteevnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkedtrddvudehrdduleejrddukeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjeejledufeesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehnohhmihhkvgesnhhomhhikhgvrdgtohhmpdfovfetjfhoshhtpehmohehieefmgdpmhhouggvpehsmhhtphhouhht
DKIM-Signature: a=rsa-sha256; bh=c7iHVORaiSMGdn0qFbtTUzVHNwg1wCibMjf0AFQl+ss=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1746446160; v=1;
 b=kAhdalwNdCY/eTgTzBoLYEkVU9vkHMcSn07flVAxJgfSe93881MXyeHcJ2CI99/DyIyU69jb
 90YcpI3F34UhzrVtozLAMsH4hGSc5l/BXtdCeo39jgEcq+ftC2X9wP40MMqUzzKOmzx73QFOMRx
 o4CmnOkV4oqErTFkRc3+Rv/vrB3La6t1Cpdy9lhZbuZ/CXe8hMnRlA5yGJtWJgmP0Y8QDZTy5m1
 djbO/X6oClR88i3kez2PPbBHjgEHJoi1gVotU1UPhcC+V3wX39bmn/7e7IsN4FAHMIIYo77/I/P
 h08c6ZzLVvJFydwpxC6TgD9wXIt9FWQVIUmAfjXMNoYpw==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77913
Cc: nomike <nomike@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 2025-04-19 06:14, nomike@HIDDEN 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 =C2=A9 2024 Juliana Sims <juli@HIDDEN>
>  ;;; Copyright =C2=A9 2024 Nguy=E1=BB=85n Gia Phong <mcsinyx@HIDDEN>
>  ;;; Copyright =C2=A9 2025 Frederick Muriuki Muriithi <fredmanglis@gmail.=
com>
> +;;; Copyright =C2=A9 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.")))
>=20=20
> +(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 execu=
te most
> +of the OpenSCAD GUI adjustments without having to switch windows or reac=
h for
> +our mouse.")
> +    (home-page "https://github.com/lenbok/scad-dbus")))
> +
>  (define-public ondsel-solver
>    (let ((commit "2e3659c4bce3e6885269e0cb3d640261b2a91108")
>          (revision "1"))

--=20
Best regards,
Nicolas Graves




Information forwarded to guix-patches@HIDDEN:
bug#77913; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Apr 2025 04:14:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 19 00:14:40 2025
Received: from localhost ([127.0.0.1]:54992 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u5zbD-0006vB-Q6
	for submit <at> debbugs.gnu.org; Sat, 19 Apr 2025 00:14:40 -0400
Received: from lists.gnu.org ([2001:470:142::17]:57036)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <nomike@HIDDEN>) id 1u5zbB-0006tx-84
 for submit <at> debbugs.gnu.org; Sat, 19 Apr 2025 00:14:37 -0400
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 <nomike@HIDDEN>) id 1u5zb5-0005tm-75
 for guix-patches@HIDDEN; Sat, 19 Apr 2025 00:14:31 -0400
Received: from shrimp.cherry.relay.mailchannels.net ([23.83.223.164])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <nomike@HIDDEN>) id 1u5zb2-0007Xf-3r
 for guix-patches@HIDDEN; Sat, 19 Apr 2025 00:14:30 -0400
X-Sender-Id: dreamhost|x-authsender|nomike@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id B5ABD8A2F3C;
 Sat, 19 Apr 2025 04:14:22 +0000 (UTC)
Received: from pdx1-sub0-mail-a248.dreamhost.com
 (trex-9.trex.outbound.svc.cluster.local [100.107.106.146])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id D62848A2967;
 Sat, 19 Apr 2025 04:14:20 +0000 (UTC)
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1745036060; a=rsa-sha256;
 cv=none;
 b=IqenLxiH4hphMu20yQT8ZkKaVXRcANu1qHV2g9OH+omwLmWtVzQaNND2jA5z4glkBb749m
 KRpnbQ0EoSFWp4iaVBTuLewMuM9cbIVpcdC+C3fhqYyaf5xVJQemgpHTUWonHbtDt5at4X
 Vs+4clGq3lT/uBtpvqvxtZvD7hhYN3WrAlxZN77MtDVI59tGIXE6f/Nqq5S2UMB9PS24qA
 530jf2snV2TMf22GRF6vIgZzoU4oTV/lnH+lqsYZZjsYHAnPSelCK9/PAggrF46NrJ0zbi
 iubIYnuHKAszPLKPVEUYBVqp//7qp2MSWAqeHGx7gIA75JJ3SLgK0nh+rDHs7Q==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mailchannels.net; s=arc-2022; t=1745036060;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:dkim-signature;
 bh=FexlpPZB3yMdjJDyW7TAgYCEmzBeWVqYnc73dwAEUew=;
 b=+Sgl2cRbwT5iqGK+CdOLaicUsrTFeAyWxldgf3L/9t8rK3y+YXcaU5fQvPxw23Xu5cuVkt
 hwRlTSp5QI08RBNbAPM/2WTNWDzM2WuaewekVIyKWCs2S5atDKaCCaknBBMu6pOS7mpYs5
 liLzQZ7YweW56jmNGIQfwjWrLiiEm9tQZHntmvH5miibbRoDSfcQuPl8aHI18vguz+CNLG
 ivhx7l3o5nFSwh8J8LIX+Fkska7sE0NCxSBnTRZz6ehgzqqJhLd2dUcCrRaAsH5U7GNTcp
 TJEQOUjr7CQZN3fdbUpGsmp7p5CKsvuIx03d0FdfIJ7xrlQrpbGEtdLl0IEzZA==
ARC-Authentication-Results: i=1; rspamd-7bd9ff6c58-klr7s;
 auth=pass smtp.auth=dreamhost smtp.mailfrom=nomike@HIDDEN
X-Sender-Id: dreamhost|x-authsender|nomike@HIDDEN
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|nomike@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Reaction-Plucky: 7a72f5a51419fd0b_1745036062498_2466970651
X-MC-Loop-Signature: 1745036062498:4182034530
X-MC-Ingress-Time: 1745036062498
Received: from pdx1-sub0-mail-a248.dreamhost.com (pop.dreamhost.com
 [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384)
 by 100.107.106.146 (trex/7.0.3); Sat, 19 Apr 2025 04:14:22 +0000
Received: from localhost (84-112-221-106.cable.dynamic.surfer.at
 [84.112.221.106])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest
 SHA256) (No client certificate requested)
 (Authenticated sender: nomike@HIDDEN)
 by pdx1-sub0-mail-a248.dreamhost.com (Postfix) with ESMTPSA id 4ZfdYm2hBNzNV; 
 Fri, 18 Apr 2025 21:14:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomike.com;
 s=dreamhost; t=1745036060;
 bh=FexlpPZB3yMdjJDyW7TAgYCEmzBeWVqYnc73dwAEUew=;
 h=From:To:Cc:Subject:Date:Content-Type:Content-Transfer-Encoding;
 b=PakTPzbx6XKV+yEYbSxQMvDxlNxZ+xaq+OfMwCRwA2zTo1b19IUNRcgFhRJsc5J9H
 ncsJgeddSxCNSHhLkdxVrPFowX8xH0x5h5BCdriP5b4fJgb2r/luU25KwDURY+iB9C
 O5jHABK5dfHA2SxXZe3LCHOmg5EPqO2RoHch+QJC5x2fyQko24u4CaKQJo/TSDQmpB
 J5OYntaSXB0f2TIVWAJ/Ca0nW/trm4NoLZKF4zTRnbRT4mqQvTeYsOutFVoK3IWVkU
 cPJx2vfFd01fRA48vV7+ml6/bs/AdEPCYNiyxc+N9Dwlm0XHQnnBkCCe4lznFvDPFU
 +MIA1a914poBg==
From: nomike <nomike@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add scad-dbus.
Date: Sat, 19 Apr 2025 06:14:02 +0200
Message-ID: <20250419041413.225129-1-nomike@HIDDEN>
X-Mailer: git-send-email 2.49.0
MIME-Version: 1.0
Content-Type: text/plain; charset=yes
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=23.83.223.164; envelope-from=nomike@HIDDEN;
 helo=shrimp.cherry.relay.mailchannels.net
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001,
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
Cc: nomike <nomike@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

* 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@HIDDEN>
 ;;; Copyright © 2024 Nguyễn Gia Phong <mcsinyx@HIDDEN>
 ;;; Copyright © 2025 Frederick Muriuki Muriithi <fredmanglis@HIDDEN>
+;;; 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





Acknowledgement sent to nomike <nomike@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#77913; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 18 May 2025 14:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.