GNU bug report logs - #47787
[PATCH] gnu: rss-bridge: Update to 2020-11-10.

Previous Next

Package: guix-patches;

Reported by: la snesne <lasnesne <at> lagunposprasihopre.org>

Date: Thu, 15 Apr 2021 04:13:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47787 in the body.
You can then email your comments to 47787 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#47787; Package guix-patches. (Thu, 15 Apr 2021 04:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to la snesne <lasnesne <at> lagunposprasihopre.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 15 Apr 2021 04:13:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: la snesne <lasnesne <at> lagunposprasihopre.org>
To: guix-patches <at> gnu.org
Cc: la snesne <lasnesne <at> lagunposprasihopre.org>
Subject: [PATCH] gnu: rss-bridge: Update to 2020-11-10.
Date: Thu, 15 Apr 2021 13:12:07 +0900
* 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".
---
 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 165a4fc236..45bbcd2103 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -48,6 +48,7 @@
 ;;; Copyright © 2020, 2021 Ryan Prior <rprior <at> protonmail.com>
 ;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407 <at> posteo.ro>
 ;;; Copyright © 2021 Stefan Reichör <stefan <at> xsteve.at>
+;;; Copyright © 2021 la snesne <lasnesne <at> lagunposprasihopre.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6496,7 +6497,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)
@@ -6505,19 +6506,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
-- 
2.31.1





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Fri, 14 May 2021 10:41:02 GMT) Full text and rfc822 format available.

Notification sent to la snesne <lasnesne <at> lagunposprasihopre.org>:
bug acknowledged by developer. (Fri, 14 May 2021 10:41:02 GMT) Full text and rfc822 format available.

Message #10 received at 47787-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: la snesne <lasnesne <at> lagunposprasihopre.org>
Cc: 47787-done <at> debbugs.gnu.org
Subject: Re: bug#47787: [PATCH] gnu: rss-bridge: Update to 2020-11-10.
Date: Fri, 14 May 2021 12:40:31 +0200
Hi,

la snesne <lasnesne <at> lagunposprasihopre.org> skribis:

> * 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".

Applied, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 11 Jun 2021 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 320 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.