GNU bug report logs -
#63900
[PATCH] gnu: Add emacs-fb2-reader.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63900 in the body.
You can then email your comments to 63900 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#63900
; Package
guix-patches
.
(Mon, 05 Jun 2023 04:57:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Adam Kandur <4164616d.4b616e647572 <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Mon, 05 Jun 2023 04:57:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/emacs-xyz.scm (emacs-fb2-reader): New variable.
---
gnu/packages/emacs-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b77bd0aa83..f563063d7f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1632,6 +1632,38 @@ (define-public emacs-fzf
purpose finder.")
(license license:gpl3+))))
+(define-public emacs-fb2-reader
+ (let ((revision "0")
+ ;; named branch is outdated
+ (commit "9836db284749e0cef4c43c2cb5358c82ae9b8589"))
+ (package
+ (name "emacs-fb2-reader")
+ (version (git-version "0.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jumper047/fb2-reader")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0vx4b9wnmx1bng8wak5r7yryyvgib4m46l6b877xzkdhsjr3rbsi"))))
+ (build-system emacs-build-system)
+ (native-inputs
+ (list emacs-buttercup
+ emacs-dash
+ emacs-s
+ emacs-async))
+ (propagated-inputs
+ (list emacs-visual-fill-column
+ emacs-f
+ unzip))
+ (home-page "https://github.com/jumper047/fb2-reader")
+ (synopsis "Emacs plugin to read .fb2 and .fb2.zip ebooks")
+ (description "This package allows users to read fb2 books
+whithout quiting Emacs.")
+ (license license:gpl3))))
+
(define-public emacs-minions
(package
(name "emacs-minions")
--
2.40.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#63900
; Package
guix-patches
.
(Mon, 05 Jun 2023 16:16:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 63900 <at> debbugs.gnu.org (full text, mbox):
Hello,
Adam Kandur <4164616d.4b616e647572 <at> gmail.com> writes:
> * gnu/packages/emacs-xyz.scm (emacs-fb2-reader): New variable.
Thank you. Some comments follow.
> +(define-public emacs-fb2-reader
> + (let ((revision "0")
> + ;; named branch is outdated
> + (commit "9836db284749e0cef4c43c2cb5358c82ae9b8589"))
This exactly matches version 0.1.1 so you should add "; version bump"
comment at the end of the line, and use 0.1.1 as the version.
> + (native-inputs
> + (list emacs-buttercup
> + emacs-dash
> + emacs-s
> + emacs-async))
There are tests, could you try running them?
Note that inputs should be ordered alphabetically.
> + (propagated-inputs
> + (list emacs-visual-fill-column
> + emacs-f
> + unzip))
Likewise.
Also, unzip should be an input rather than a propagated input, and
"fb2-reader.el" should be patched accordingly (i.e., replacing
"unzip"
with
(search-input-files inputs "/bin/unzip"))
> + (home-page "https://github.com/jumper047/fb2-reader")
> + (synopsis "Emacs plugin to read .fb2 and .fb2.zip ebooks")
I suggest:
Emacs plugin to read FictionBook2 ebooks
> + (description "This package allows users to read fb2 books
> +whithout quiting Emacs.")
What about:
FB2 Reader provides a major mode for reading FictionBook2 (@file{.fb2}
and @file{.fb2.zip} files) ebooks.
> + (license license:gpl3))))
License is actually gpl3+, as mentioned in the main file.
Could you send an updated patch?
Regards,
--
Nicolas Goaziou
Information forwarded
to
guix-patches <at> gnu.org
:
bug#63900
; Package
guix-patches
.
(Tue, 06 Jun 2023 20:36:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 63900 <at> debbugs.gnu.org (full text, mbox):
Sure, I will try make a new patch this week
On Mon, Jun 5, 2023 at 7:15 PM Nicolas Goaziou <mail <at> nicolasgoaziou.fr> wrote:
>
> Hello,
>
> Adam Kandur <4164616d.4b616e647572 <at> gmail.com> writes:
>
> > * gnu/packages/emacs-xyz.scm (emacs-fb2-reader): New variable.
>
> Thank you. Some comments follow.
>
> > +(define-public emacs-fb2-reader
> > + (let ((revision "0")
> > + ;; named branch is outdated
> > + (commit "9836db284749e0cef4c43c2cb5358c82ae9b8589"))
>
> This exactly matches version 0.1.1 so you should add "; version bump"
> comment at the end of the line, and use 0.1.1 as the version.
>
> > + (native-inputs
> > + (list emacs-buttercup
> > + emacs-dash
> > + emacs-s
> > + emacs-async))
>
> There are tests, could you try running them?
>
> Note that inputs should be ordered alphabetically.
>
> > + (propagated-inputs
> > + (list emacs-visual-fill-column
> > + emacs-f
> > + unzip))
>
> Likewise.
>
> Also, unzip should be an input rather than a propagated input, and
> "fb2-reader.el" should be patched accordingly (i.e., replacing
>
> "unzip"
>
> with
>
> (search-input-files inputs "/bin/unzip"))
>
> > + (home-page "https://github.com/jumper047/fb2-reader")
> > + (synopsis "Emacs plugin to read .fb2 and .fb2.zip ebooks")
>
> I suggest:
>
> Emacs plugin to read FictionBook2 ebooks
>
> > + (description "This package allows users to read fb2 books
> > +whithout quiting Emacs.")
>
> What about:
>
> FB2 Reader provides a major mode for reading FictionBook2 (@file{.fb2}
> and @file{.fb2.zip} files) ebooks.
>
> > + (license license:gpl3))))
>
> License is actually gpl3+, as mentioned in the main file.
>
> Could you send an updated patch?
>
> Regards,
> --
> Nicolas Goaziou
Information forwarded
to
guix-patches <at> gnu.org
:
bug#63900
; Package
guix-patches
.
(Sat, 10 Jun 2023 10:39:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 63900 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/emacs-xyz.scm (emacs-fb2-reader): New variable.
---
gnu/packages/emacs-xyz.scm | 44 ++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b77bd0a..5335b3f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2365,6 +2365,50 @@ (define-public emacs-flycheck
provides an optional IDE-like error list.")
(license license:gpl3+))) ;+GFDLv1.3+ for the manual
+(define-public emacs-fb2-reader
+ (let ((revision "0")
+ (commit "9836db284749e0cef4c43c2cb5358c82ae9b8589")) ; version bump
+ (package
+ (name "emacs-fb2-reader")
+ (version (git-version "0.1.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jumper047/fb2-reader")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0vx4b9wnmx1bng8wak5r7yryyvgib4m46l6b877xzkdhsjr3rbsi"))))
+ (build-system emacs-build-system)
+ (arguments
+ (list
+ #:tests? #t
+ #:test-command
+ #~(list "emacs" "-Q" "--batch" "-L" "."
+ "--eval" "(load-file \"tests/test-fb2-reader.el\")")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'qualify-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((unzip (search-input-file inputs "/bin/unzip")))
+ (substitute* "fb2-reader.el"
+ (("unzip") unzip))))))))
+ (inputs (list unzip))
+ (native-inputs
+ (list emacs-buttercup
+ emacs-dash
+ emacs-s
+ emacs-async))
+ (propagated-inputs
+ (list emacs-visual-fill-column
+ emacs-f))
+ (home-page "https://github.com/jumper047/fb2-reader")
+ (synopsis "Emacs plugin to read FictionBook2 ebooks")
+ (description "FB2 Reader provides a major mode for reading FictionBook2 (@file{.fb2}
+and @file{.fb2.zip} files) ebooks.")
+ (license license:gpl3+))))
+
(define-public emacs-flymake-collection
(package
(name "emacs-flymake-collection")
--
2.40.1
Reply sent
to
Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
:
You have taken responsibility.
(Sat, 10 Jun 2023 18:47:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Adam Kandur <4164616d.4b616e647572 <at> gmail.com>
:
bug acknowledged by developer.
(Sat, 10 Jun 2023 18:47:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 63900-done <at> debbugs.gnu.org (full text, mbox):
Hello,
Adam Kandur <4164616d.4b616e647572 <at> gmail.com> writes:
> * gnu/packages/emacs-xyz.scm (emacs-fb2-reader): New variable.
Thank you. Applied, with the changes below.
> +(define-public emacs-fb2-reader
> + (let ((revision "0")
> + (commit "9836db284749e0cef4c43c2cb5358c82ae9b8589")) ; version bump
> + (package
> + (name "emacs-fb2-reader")
> + (version (git-version "0.1.1" revision commit))
No need for `git-version' for version bumps.
> + (native-inputs
> + (list emacs-buttercup
> + emacs-dash
> + emacs-s
> + emacs-async))
> + (propagated-inputs
> + (list emacs-visual-fill-column
> + emacs-f))
I reordered inputs alphabetically.
Regards,
--
Nicolas Goaziou
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 09 Jul 2023 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 306 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.