[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/09: gnu: rss-bridge: Update to 2020-11-10.
From: |
guix-commits |
Subject: |
07/09: gnu: rss-bridge: Update to 2020-11-10. |
Date: |
Fri, 14 May 2021 08:48:44 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 905ecd78a78523b12fc2fcc4e49187ab445fd665
Author: la snesne <lasnesne@lagunposprasihopre.org>
AuthorDate: Thu Apr 15 13:12:07 2021 +0900
gnu: rss-bridge: Update to 2020-11-10.
* gnu/packages/web.scm (rss-bridge): Update to 2020-11-10.
[build-system]: Switch to copy-build-system.
[arguments]: Adjust to new build system. Add phase "patch-paths".
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/web.scm | 31 ++++++++++++++++++-------------
1 file changed, 18 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 1642a1a..865ad97 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -48,6 +48,7 @@
;;; Copyright © 2020, 2021 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@posteo.ro>
;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
+;;; Copyright © 2021 la snesne <lasnesne@lagunposprasihopre.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -6535,7 +6536,7 @@ snippets on @url{https://commandlinefu.com}.")
(define-public rss-bridge
(package
(name "rss-bridge")
- (version "2019-09-12")
+ (version "2020-11-10")
(source
(origin
(method git-fetch)
@@ -6544,19 +6545,23 @@ snippets on @url{https://commandlinefu.com}.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1mx7f3l45nqhcrng531l4cq8kpzm164hhbwn26g5akb2pamdlnra"))))
- (build-system trivial-build-system)
+ (base32 "1mir6mcm37sbdrhl5kgs6schpp3l4r5mfamhiic0yfbz4hqwmg44"))))
+ (build-system copy-build-system)
(arguments
- '(#:modules ((guix build utils))
- #:builder
- (begin
- (use-modules (guix build utils)
- (ice-9 match))
- (let* ((out (assoc-ref %outputs "out"))
- (share-rss-bridge (string-append out "/share/rss-bridge")))
- (mkdir-p share-rss-bridge)
- (copy-recursively (assoc-ref %build-inputs "source")
share-rss-bridge)
- #t))))
+ '(#:install-plan
+ '(("." "share/rss-bridge"))
+ #:phases
+ (modify-phases %standard-phases
+ ;;Change paths to not use source directory.
+ (add-before 'install 'patch-paths
+ (lambda _
+ (substitute* "lib/rssbridge.php"
+ (("PATH_ROOT . 'cache/'")
+ "'/var/cache/rss-bridge/'")
+ (("PATH_ROOT . 'whitelist.txt'")
+ "'/etc/rss-bridge/whitelist.txt'")
+ (("PATH_ROOT . 'config.ini.php'")
+ "'/etc/rss-bridge/config.ini.php'")))))))
(home-page "https://github.com/RSS-Bridge/rss-bridge")
(synopsis "Generate Atom feeds for social networking websites")
(description "rss-bridge generates Atom feeds for social networking
- branch master updated (c37d81c -> e685ae6), guix-commits, 2021/05/14
- 01/09: gnu: guile@3.0.7: Remove pre-built .go files., guix-commits, 2021/05/14
- 02/09: gnu: libmediainfo: Update to 21.03., guix-commits, 2021/05/14
- 03/09: gnu: mediainfo: Update to 21.03., guix-commits, 2021/05/14
- 04/09: gnu: Add guile-raw-strings., guix-commits, 2021/05/14
- 06/09: gnu: Add xdg-desktop-portal-wlr., guix-commits, 2021/05/14
- 05/09: gnu: mercurial: Update to 5.8., guix-commits, 2021/05/14
- 09/09: gnu: Add seatd., guix-commits, 2021/05/14
- 07/09: gnu: rss-bridge: Update to 2020-11-10.,
guix-commits <=
- 08/09: import: go: Fix goproxy option argument's format., guix-commits, 2021/05/14