all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#60537] [PATCH] gnu: ledger: Install example referenced in docs.
@ 2023-01-04  3:04 Frank Pursel
  2023-01-04 15:21 ` Frank Pursel
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Frank Pursel @ 2023-01-04  3:04 UTC (permalink / raw)
  To: 60537


* gnu/packages/finance.scm (ledger): Provide additional script from upstream.
---
 gnu/packages/finance.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index f5906ec738..abc2134aee 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -32,6 +32,7 @@
 ;;; Copyright © 2022 Philip McGrath <philip@philipmcgrath.com>
 ;;; Copyright © 2022 Collin J. Doering <collin@rekahsoft.ca>
 ;;; Copyright © 2022 Justin Veilleux <terramorpha@cock.li>
+;;; Copyright © 2023 Frank Pursel <frank.pursel@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -342,7 +343,8 @@ (define-public ledger
              (let ((examples (string-append (assoc-ref outputs "out")
                                             "/share/doc/ledger/examples")))
                (install-file "test/input/sample.dat" examples)
-               (install-file "test/input/demo.ledger" examples))
+               (install-file "test/input/demo.ledger" examples)
+               (install-file "config/report" examples))
              #t))
          (add-after 'build 'build-doc
            (lambda _ (invoke "make" "doc")))
-- 
2.38.1





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#60537] [PATCH] gnu: ledger: Install example referenced in docs.
  2023-01-04  3:04 [bug#60537] [PATCH] gnu: ledger: Install example referenced in docs Frank Pursel
@ 2023-01-04 15:21 ` Frank Pursel
  2023-01-21 13:27   ` zimoun
  2023-01-31 22:11   ` bug#60537: " Ludovic Courtès
  2023-01-23 20:41 ` [bug#60537] " Frank Pursel
  2023-01-27 13:59 ` Frank Pursel
  2 siblings, 2 replies; 6+ messages in thread
From: Frank Pursel @ 2023-01-04 15:21 UTC (permalink / raw)
  To: 60537

Better.

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index f5906ec738..e96058e7b2 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -32,6 +32,7 @@
 ;;; Copyright © 2022 Philip McGrath <philip@philipmcgrath.com>
 ;;; Copyright © 2022 Collin J. Doering <collin@rekahsoft.ca>
 ;;; Copyright © 2022 Justin Veilleux <terramorpha@cock.li>
+;;; Copyright © 2023 Frank Pursel <frank.pursel@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -342,7 +343,8 @@ (define-public ledger
              (let ((examples (string-append (assoc-ref outputs "out")
                                             "/share/doc/ledger/examples")))
                (install-file "test/input/sample.dat" examples)
-               (install-file "test/input/demo.ledger" examples))
+               (install-file "test/input/demo.ledger" examples)
+               (install-file "contrib/report" examples))
              #t))
          (add-after 'build 'build-doc
            (lambda _ (invoke "make" "doc")))
-- 
2.38.1




^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#60537] [PATCH] gnu: ledger: Install example referenced in docs.
  2023-01-04 15:21 ` Frank Pursel
@ 2023-01-21 13:27   ` zimoun
  2023-01-31 22:11   ` bug#60537: " Ludovic Courtès
  1 sibling, 0 replies; 6+ messages in thread
From: zimoun @ 2023-01-21 13:27 UTC (permalink / raw)
  To: Frank Pursel, 60537

Hi,

On Wed, 04 Jan 2023 at 07:21, Frank Pursel <frank.pursel@gmail.com> wrote:

> Better.

Better compared to what?  It is the same patch as the previous one, no ?


Cheers,
simon




^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#60537] [PATCH] gnu: ledger: Install example referenced in docs.
  2023-01-04  3:04 [bug#60537] [PATCH] gnu: ledger: Install example referenced in docs Frank Pursel
  2023-01-04 15:21 ` Frank Pursel
@ 2023-01-23 20:41 ` Frank Pursel
  2023-01-27 13:59 ` Frank Pursel
  2 siblings, 0 replies; 6+ messages in thread
From: Frank Pursel @ 2023-01-23 20:41 UTC (permalink / raw)
  To: 60537

[-- Attachment #1: Type: text/plain, Size: 217 bytes --]

No, the second one is different.  I made a typo on the first one and tried
to bring the file in from the config directory but it's actually in the
'contrib' directory.  The second one is what we want.

Regards,
Frank

[-- Attachment #2: Type: text/html, Size: 291 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#60537] [PATCH] gnu: ledger: Install example referenced in docs.
  2023-01-04  3:04 [bug#60537] [PATCH] gnu: ledger: Install example referenced in docs Frank Pursel
  2023-01-04 15:21 ` Frank Pursel
  2023-01-23 20:41 ` [bug#60537] " Frank Pursel
@ 2023-01-27 13:59 ` Frank Pursel
  2 siblings, 0 replies; 6+ messages in thread
From: Frank Pursel @ 2023-01-27 13:59 UTC (permalink / raw)
  To: 60537

It may be appropriate for me to provide a little more background on
this one line change to the ledger package.

I use the ledger package nearly daily and it works great.  Still when
you use it a lot and read the documentation you come across
info:(ledger3)"Visualizing with Gnuplot" and you see that another simple
utility is described, report, that adds considerable functionality to
ledger but is not provided in the guix version.  It seems to me that
this one line patch is the most trivial way to remedy this shortcoming.

Sincerely,
Frank




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#60537: [PATCH] gnu: ledger: Install example referenced in docs.
  2023-01-04 15:21 ` Frank Pursel
  2023-01-21 13:27   ` zimoun
@ 2023-01-31 22:11   ` Ludovic Courtès
  1 sibling, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2023-01-31 22:11 UTC (permalink / raw)
  To: Frank Pursel; +Cc: 60537-done

Frank Pursel <frank.pursel@gmail.com> skribis:

> Better.
>
> diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
> index f5906ec738..e96058e7b2 100644
> --- a/gnu/packages/finance.scm
> +++ b/gnu/packages/finance.scm
> @@ -32,6 +32,7 @@
>  ;;; Copyright © 2022 Philip McGrath <philip@philipmcgrath.com>
>  ;;; Copyright © 2022 Collin J. Doering <collin@rekahsoft.ca>
>  ;;; Copyright © 2022 Justin Veilleux <terramorpha@cock.li>
> +;;; Copyright © 2023 Frank Pursel <frank.pursel@gmail.com>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -342,7 +343,8 @@ (define-public ledger
>               (let ((examples (string-append (assoc-ref outputs "out")
>                                              "/share/doc/ledger/examples")))
>                 (install-file "test/input/sample.dat" examples)
> -               (install-file "test/input/demo.ledger" examples))
> +               (install-file "test/input/demo.ledger" examples)
> +               (install-file "contrib/report" examples))

Hi!  Applied with a commit log, thanks.

Ludo’.




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-01-31 22:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-04  3:04 [bug#60537] [PATCH] gnu: ledger: Install example referenced in docs Frank Pursel
2023-01-04 15:21 ` Frank Pursel
2023-01-21 13:27   ` zimoun
2023-01-31 22:11   ` bug#60537: " Ludovic Courtès
2023-01-23 20:41 ` [bug#60537] " Frank Pursel
2023-01-27 13:59 ` Frank Pursel

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.