GNU bug report logs - #68204
[PATCH] gnu: Add emacs-ox-tufte.

Previous Next

Package: guix-patches;

Reported by: Suhail <suhail <at> bayesians.ca>

Date: Tue, 2 Jan 2024 07:37:01 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 68204 in the body.
You can then email your comments to 68204 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#68204; Package guix-patches. (Tue, 02 Jan 2024 07:37:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Suhail <suhail <at> bayesians.ca>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 02 Jan 2024 07:37:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Suhail <suhail <at> bayesians.ca>
To: Guix-patches mailing list <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: Add emacs-ox-tufte.
Date: Tue, 02 Jan 2024 07:36:05 +0000
* gnu/packages/emacs-xyz.scm (emacs-ox-tufte): Add at 3.0.3

Change-Id: Iaaff4b08eddb8f38b39f003e70821ace6c937c86
---
 gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2a24f4a106..1ecba18b1f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -136,6 +136,7 @@
 ;;; Copyright © 2023 Camilo Q.S. (Distopico) <distopico <at> riseup.net>
 ;;; Copyright © 2023 Thanos Apollo <public <at> thanosapollo.com>
 ;;; Copyright © 2023 Ian Eure <ian <at> retrospec.tv>
+;;; Copyright © 2024 Suhail Singh <suhail <at> bayesians.ca>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -33180,6 +33181,29 @@ (define-public emacs-ox-reveal
 simple but powerful Org contents.")
       (license license:gpl3+))))
 
+(define-public emacs-ox-tufte
+  (package
+    (name "emacs-ox-tufte")
+    (version "3.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://stable.melpa.org/packages/ox-tufte-"
+                           version ".tar"))
+       (sha256
+        (base32 "0bl4c8lv3z9r0kdf70fg3bkrm90yz15xbs5hzq8z5gk97iyvjvmx"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-org))
+    (home-page "https://github.com/ox-tufte/ox-tufte")
+    (synopsis "Tufte HTML org-mode export backend")
+    (description
+     "This is an export backend for Org-mode that exports buffers to HTML that is
+compatible with Tufte CSS - <https://edwardtufte.github.io/tufte-css/>.  The
+design goal is to \"minimally\" change the HTML structure as generated by `ox-html
+(with additional CSS as needed) to get behaviour that is equivalent to Tufte
+CSS.")
+    (license license:gpl3+)))
+
 (define-public emacs-ox-rss
   ;; XXX: Upstream provides no version nor tags whatsoever.
   (let ((commit "83dc898fa5493925b01716e5dd495d5e07c3d41a")

base-commit: f2102cb5b9239be2ed2023b908b726af542e0124
-- 
2.43.0






Information forwarded to guix-patches <at> gnu.org:
bug#68204; Package guix-patches. (Tue, 02 Jan 2024 14:24:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Suhail via Guix-patches via <guix-patches <at> gnu.org>
Cc: Suhail <suhail <at> bayesians.ca>, 68204 <at> debbugs.gnu.org
Subject: Re: [bug#68204] [PATCH] gnu: Add emacs-ox-tufte.
Date: Tue, 02 Jan 2024 15:22:57 +0100
Hello,

Suhail via Guix-patches via <guix-patches <at> gnu.org> writes:

> * gnu/packages/emacs-xyz.scm (emacs-ox-tufte): Add at 3.0.3

Thanks. Some comments follow.

> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "https://stable.melpa.org/packages/ox-tufte-"
> +                           version ".tar"))

MELPA Stable is not considered as desirable upstream source. I suggest
to use GitHub instead.

> +       (sha256
> +        (base32 "0bl4c8lv3z9r0kdf70fg3bkrm90yz15xbs5hzq8z5gk97iyvjvmx"))))
> +    (build-system emacs-build-system)
> +    (propagated-inputs (list emacs-org))
> +    (home-page "https://github.com/ox-tufte/ox-tufte")
> +    (synopsis "Tufte HTML org-mode export backend")

Nitpick: Org mode

> +    (description
> +     "This is an export backend for Org-mode that exports buffers to HTML that is

Nitpick: Org mode

> +compatible with Tufte CSS - <https://edwardtufte.github.io/tufte-css/>.  The

Please use @url{...} instead.

> +design goal is to \"minimally\" change the HTML structure as generated by `ox-html

@emph{minimally} but I have the feeling that you can simply drop the
last sentence of the description.

> +(with additional CSS as needed) to get behaviour that is equivalent to Tufte
> +CSS.")
> +    (license license:gpl3+)))

Otherwise, LGTM.

Regards,
-- 
Nicolas Goaziou






Information forwarded to guix-patches <at> gnu.org:
bug#68204; Package guix-patches. (Tue, 02 Jan 2024 14:24:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#68204; Package guix-patches. (Wed, 03 Jan 2024 03:00:03 GMT) Full text and rfc822 format available.

Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Suhail <suhail <at> bayesians.ca>
To: Nicolas Goaziou via Guix-patches via <guix-patches <at> gnu.org>
Cc: suhail <at> bayesians.ca, Nicolas Goaziou <mail <at> nicolasgoaziou.fr>,
 68204 <at> debbugs.gnu.org
Subject: Re: [bug#68204] [PATCH] gnu: Add emacs-ox-tufte.
Date: Wed, 03 Jan 2024 02:58:41 +0000
Nicolas Goaziou via Guix-patches via <guix-patches <at> gnu.org> writes:

> Thanks. Some comments follow.

Thank you for the review.  All comments made sense; I'll send a revised
patch shortly.

-- 
Suhail

This email is not an offer capable of acceptance, does not evidence an
intention to enter into an agreement, has no operative effect until a
definitive agreement is signed in writing by both parties, and that no
party should act in reliance on the email or any representations of the
sender until a definitive agreement is signed in writing by both
parties.





Information forwarded to guix-patches <at> gnu.org:
bug#68204; Package guix-patches. (Wed, 03 Jan 2024 03:00:03 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#68204; Package guix-patches. (Wed, 03 Jan 2024 03:11:01 GMT) Full text and rfc822 format available.

Message #20 received at 68204 <at> debbugs.gnu.org (full text, mbox):

From: Suhail <suhail <at> bayesians.ca>
To: 68204 <at> debbugs.gnu.org
Subject: [PATCH v2] gnu: Add emacs-ox-tufte.
Date: Wed, 03 Jan 2024 03:09:27 +0000
* gnu/packages/emacs-xyz.scm (emacs-ox-tufte): New variable.

Change-Id: Iaaff4b08eddb8f38b39f003e70821ace6c937c86
---
 gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2a24f4a106..1916bf82e5 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -136,6 +136,7 @@
 ;;; Copyright © 2023 Camilo Q.S. (Distopico) <distopico <at> riseup.net>
 ;;; Copyright © 2023 Thanos Apollo <public <at> thanosapollo.com>
 ;;; Copyright © 2023 Ian Eure <ian <at> retrospec.tv>
+;;; Copyright © 2024 Suhail Singh <suhail <at> bayesians.ca>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -33180,6 +33181,29 @@ (define-public emacs-ox-reveal
 simple but powerful Org contents.")
       (license license:gpl3+))))
 
+(define-public emacs-ox-tufte
+  (package
+    (name "emacs-ox-tufte")
+    (version "3.0.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ox-tufte/ox-tufte")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "14i1pliifj5p0i1bgsdgph32ilj7snrh8gnhk59f1f4ngh3kw3zg"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-org))
+    (home-page "https://github.com/ox-tufte/ox-tufte")
+    (synopsis "Tufte HTML Org mode export backend")
+    (description
+     "This is an export backend for Org mode that exports buffers to HTML that
+is compatible with Tufte
+CSS (@url{https://edwardtufte.github.io/tufte-css/}).")
+    (license license:gpl3+)))
+
 (define-public emacs-ox-rss
   ;; XXX: Upstream provides no version nor tags whatsoever.
   (let ((commit "83dc898fa5493925b01716e5dd495d5e07c3d41a")

base-commit: f2102cb5b9239be2ed2023b908b726af542e0124
-- 
2.43.0






Information forwarded to guix-patches <at> gnu.org:
bug#68204; Package guix-patches. (Wed, 17 Jan 2024 04:27:02 GMT) Full text and rfc822 format available.

Message #23 received at 68204 <at> debbugs.gnu.org (full text, mbox):

From: Suhail <suhail <at> bayesians.ca>
To: 68204 <at> debbugs.gnu.org
Subject: [PATCH v2] gnu: Add emacs-ox-tufte.
Date: Wed, 17 Jan 2024 04:26:23 +0000
* gnu/packages/emacs-xyz.scm (emacs-ox-tufte): New variable.

Change-Id: Iaaff4b08eddb8f38b39f003e70821ace6c937c86
---
 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 2a24f4a106..090429b229 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -136,6 +136,7 @@
 ;;; Copyright © 2023 Camilo Q.S. (Distopico) <distopico <at> riseup.net>
 ;;; Copyright © 2023 Thanos Apollo <public <at> thanosapollo.com>
 ;;; Copyright © 2023 Ian Eure <ian <at> retrospec.tv>
+;;; Copyright © 2024 Suhail Singh <suhail <at> bayesians.ca>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -33180,6 +33181,30 @@ (define-public emacs-ox-reveal
 simple but powerful Org contents.")
       (license license:gpl3+))))
 
+(define-public emacs-ox-tufte
+  (package
+    (name "emacs-ox-tufte")
+    (version "4.0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ox-tufte/ox-tufte")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1v8jr1k8wfpzwry073rrgkxfpwylxmk7xqabxzp49z40rc7hp26s"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-org))
+    (arguments '(#:include (cons "^src/" %default-include)))
+    (home-page "https://github.com/ox-tufte/ox-tufte")
+    (synopsis "Tufte HTML Org mode export backend")
+    (description
+     "This is an export backend for Org mode that exports buffers to HTML that
+is compatible with Tufte
+CSS (@url{https://edwardtufte.github.io/tufte-css/}).")
+    (license license:gpl3+)))
+
 (define-public emacs-ox-rss
   ;; XXX: Upstream provides no version nor tags whatsoever.
   (let ((commit "83dc898fa5493925b01716e5dd495d5e07c3d41a")

base-commit: f2102cb5b9239be2ed2023b908b726af542e0124
-- 
2.43.0






Information forwarded to guix-patches <at> gnu.org:
bug#68204; Package guix-patches. (Sun, 21 Jan 2024 23:31:01 GMT) Full text and rfc822 format available.

Message #26 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Suhail via Guix-patches via <guix-patches <at> gnu.org>
Cc: 68204-done <at> debbugs.gnu.org, Suhail <suhail <at> bayesians.ca>
Subject: Re: [bug#68204] [PATCH v2] gnu: Add emacs-ox-tufte.
Date: Mon, 22 Jan 2024 00:29:42 +0100
Hello,

Suhail via Guix-patches via <guix-patches <at> gnu.org> writes:

> * gnu/packages/emacs-xyz.scm (emacs-ox-tufte): New variable.

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou






Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Sun, 21 Jan 2024 23:31:02 GMT) Full text and rfc822 format available.

Notification sent to Suhail <suhail <at> bayesians.ca>:
bug acknowledged by developer. (Sun, 21 Jan 2024 23:31: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, 19 Feb 2024 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 122 days ago.

Previous Next


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