gnu: newsboat: Update to 2.10.2.
* gnu/packages/syndication.scm (newsboat): Update to 2.10.2. [inherit]: Remove inheritance of unmaintained newsbeuter. [native-inputs]: Remove perl. [arguments]: Remove #:make-flags to build on ARM, which should work now. [synopsis, description]: Mash up Newsboat's own description with useful information from its predecessor.
This commit is contained in:
parent
2feee5e7a3
commit
9d8fb0e30f
|
@ -1,4 +1,5 @@
|
||||||
;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
|
||||||
|
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;;
|
;;;
|
||||||
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
||||||
;;; under the terms of the GNU General Public License as published by
|
;;; under the terms of the GNU General Public License as published by
|
||||||
|
@ -28,8 +29,7 @@
|
||||||
#:use-module (gnu packages pkg-config)
|
#:use-module (gnu packages pkg-config)
|
||||||
#:use-module (gnu packages ruby)
|
#:use-module (gnu packages ruby)
|
||||||
#:use-module (gnu packages xml)
|
#:use-module (gnu packages xml)
|
||||||
#:use-module (gnu packages web)
|
#:use-module (gnu packages web))
|
||||||
#:use-module (srfi srfi-1))
|
|
||||||
|
|
||||||
(define-public newsbeuter
|
(define-public newsbeuter
|
||||||
(package
|
(package
|
||||||
|
@ -81,32 +81,50 @@ common to users of @command{mutt} and @command{slrn}.")
|
||||||
|
|
||||||
(define-public newsboat
|
(define-public newsboat
|
||||||
(package
|
(package
|
||||||
(inherit newsbeuter)
|
|
||||||
(name "newsboat")
|
(name "newsboat")
|
||||||
(version "2.10.1")
|
(version "2.10.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://newsboat.org/releases/" version
|
(uri (string-append "https://newsboat.org/releases/" version
|
||||||
"/newsboat-" version ".tar.xz"))
|
"/newsboat-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1xgqkhpjbq916g9hkaxs0s2fz8bg103pzjx75ziq5ba688l9imj4"))))
|
"1x4nxx1kvmrcm8jy73dvg56h4z15y3sach2vr13cw8rsbi7v99px"))))
|
||||||
(arguments
|
(build-system gnu-build-system)
|
||||||
'(#:phases (modify-phases %standard-phases
|
|
||||||
(delete 'configure) ; no configure
|
|
||||||
(add-after 'build 'build-documentation
|
|
||||||
(lambda _ (zero? (system* "make" "doc")))))
|
|
||||||
#:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out"))
|
|
||||||
;; see https://github.com/newsboat/newsboat/issues/43
|
|
||||||
"WARNFLAGS=-Wno-sign-compare")
|
|
||||||
#:test-target "test"))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("asciidoc" ,asciidoc)
|
`(("gettext" ,gettext-minimal)
|
||||||
,@(alist-delete "ruby" (package-native-inputs newsbeuter))))
|
("pkg-config" ,pkg-config)
|
||||||
|
;; For building documentation.
|
||||||
|
("asciidoc" ,asciidoc)))
|
||||||
|
(inputs
|
||||||
|
`(("curl" ,curl)
|
||||||
|
("json-c" ,json-c-0.12) ; check whether json-c-0.12 can be removed
|
||||||
|
("libxml2" ,libxml2)
|
||||||
|
("ncurses" ,ncurses)
|
||||||
|
("stfl" ,stfl)
|
||||||
|
("sqlite" ,sqlite)))
|
||||||
|
(arguments
|
||||||
|
'(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(delete 'configure) ; no configure script
|
||||||
|
(add-after 'build 'build-documentation
|
||||||
|
(lambda _
|
||||||
|
(zero? (system* "make" "doc")))))
|
||||||
|
#:make-flags
|
||||||
|
(list (string-append "prefix=" (assoc-ref %outputs "out")))
|
||||||
|
#:test-target "test"))
|
||||||
(home-page "https://newsboat.org/")
|
(home-page "https://newsboat.org/")
|
||||||
(description "Newsboat is a fork of Newsbeuter, an RSS/Atom feed reader for
|
(synopsis "Text-mode RSS and Atom feed reader with podcast support")
|
||||||
the text console. It supports OPML import/exports, HTML rendering, podcast
|
(description "Newsboat is a feed reader for @dfn{RSS} and @dfn{Atom}, XML
|
||||||
(podboat), offline reading, searching and storing articles to your filesystem,
|
formats widely used to transmit, publish, and syndicate news or blog articles.
|
||||||
and many more features. Its user interface is coherent, easy to use, and might
|
It's designed for use on text terminals, and to have a coherent and easy-to-use
|
||||||
look common to users of @command{mutt} and @command{slrn}.")))
|
interface that might look familiar to @command{mutt} or @command{slrn} users.
|
||||||
|
|
||||||
|
Newsboat supports OPML import/exports, HTML rendering, podcasts (with
|
||||||
|
@command{podboat}), off-line reading, searching and storing articles to your
|
||||||
|
file system, and many more features.
|
||||||
|
|
||||||
|
It started life as a fork of the currently unmaintained Newsbeuter.")
|
||||||
|
(license (list license:gpl2+ ; filter/*
|
||||||
|
license:expat)))) ; everything else
|
||||||
|
|
Loading…
Reference in New Issue