unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Xinglu Chen <public@yoctocell.xyz>
To: 48104@debbugs.gnu.org
Subject: [bug#48104] [PATCH] gnu: emacs-org-roam: Update to 1.2.4.
Date: Thu, 29 Apr 2021 20:15:14 +0200	[thread overview]
Message-ID: <5e63ff785fecb417ac56e80f95121fee8ef72630.1619720060.git.public@yoctocell.xyz> (raw)

* gnu/packages/emacs-xyz.scm (emacs-org-roam): Update to 1.2.4.
[native-inputs]: Add texinfo.
[arguments]: Install image and Texinfo documentation.
---
 gnu/packages/emacs-xyz.scm | 66 +++++++++++++++++++++++---------------
 1 file changed, 40 insertions(+), 26 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index ef26d19506..c5e66e5e92 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -26875,36 +26875,50 @@ snippets for Emacs.")
       (license license:expat))))
 
 (define-public emacs-org-roam
-  (let ((commit "8ad57b121831eda8d226faa14ff2ba7ab652849c")
-        (revision "0")
-        (version "1.2.3"))
-    (package
-      (name "emacs-org-roam")
-      (version (git-version version revision commit))
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://github.com/org-roam/org-roam")
-               (commit commit)))
-         (file-name (git-file-name name version))
-         (sha256
-          (base32 "162qhb6rkpl1n0l8yhnwgagsx56ykaj9lchsny1id5z1257kgw9w"))))
-      (build-system emacs-build-system)
-      (propagated-inputs
-       `(("emacs-dash" ,emacs-dash)
-         ("emacs-emacsql-sqlite3" ,emacs-emacsql-sqlite3)
-         ("emacs-f" ,emacs-f)
-         ("emacs-org" ,emacs-org)
-         ("emacs-s" ,emacs-s)))
-      (home-page "https://github.com/org-roam/org-roam/")
-      (synopsis "Non-hierarchical note-taking with Org mode")
-      (description "Emacs Org Roam is a solution for taking non-hierarchical
+  (package
+    (name "emacs-org-roam")
+    (version "1.2.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/org-roam/org-roam")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "10jrnjq65lpg1x8d7lqc537yai9m6pdnfbzwr87fcyv6f8yii8xn"))))
+    (build-system emacs-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'install 'install-image
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out")))
+               (install-file "doc/images/org-ref-citelink.png"
+                             (string-append out "/share/info/images")))))
+         (add-after 'install-image 'make-info
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out")))
+               (with-directory-excursion "doc"
+                 (invoke "makeinfo" "-o" "org-roam.info" "org-roam.texi")
+                 (install-file "org-roam.info"
+                               (string-append out "/share/info")))))))))
+       (native-inputs
+        `(("texinfo" ,texinfo)))
+       (propagated-inputs
+        `(("emacs-dash" ,emacs-dash)
+          ("emacs-emacsql-sqlite3" ,emacs-emacsql-sqlite3)
+          ("emacs-f" ,emacs-f)
+          ("emacs-org" ,emacs-org)
+          ("emacs-s" ,emacs-s)))
+       (home-page "https://github.com/org-roam/org-roam/")
+       (synopsis "Non-hierarchical note-taking with Org mode")
+       (description "Emacs Org Roam is a solution for taking non-hierarchical
 notes with Org mode.  Notes are captured without hierarchy and are connected
 by tags.  Notes can be found and created quickly.  Org Roam should also work
 as a plug-and-play solution for anyone already using Org mode for their
 personal wiki.")
-      (license license:gpl3+))))
+       (license license:gpl3+)))
 
 (define-public emacs-org-roam-bibtex
   (package

base-commit: 7540f6915c0ea04412ffdc8d70acd7b063251e74
-- 
2.31.1






             reply	other threads:[~2021-04-29 18:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-29 18:15 Xinglu Chen [this message]
2021-05-03 23:03 ` bug#48104: [PATCH] gnu: emacs-org-roam: Update to 1.2.4 Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5e63ff785fecb417ac56e80f95121fee8ef72630.1619720060.git.public@yoctocell.xyz \
    --to=public@yoctocell.xyz \
    --cc=48104@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).