GNU bug report logs - #31748
[PATCH 0/2] enable ikiwiki 'Edit' and 'Preferences' links

Previous Next

Package: guix-patches;

Reported by: Paul Garlick <pgarlick <at> tourbillion-technology.com>

Date: Thu, 7 Jun 2018 15:20:01 UTC

Severity: normal

Tags: patch

Done: iyzsong <at> member.fsf.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 31748 in the body.
You can then email your comments to 31748 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#31748; Package guix-patches. (Thu, 07 Jun 2018 15:20:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Garlick <pgarlick <at> tourbillion-technology.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 07 Jun 2018 15:20:02 GMT) Full text and rfc822 format available.

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

From: Paul Garlick <pgarlick <at> tourbillion-technology.com>
To: guix-patches <at> gnu.org
Cc: Paul Garlick <pgarlick <at> tourbillion-technology.com>
Subject: [PATCH 0/2] enable ikiwiki 'Edit' and 'Preferences' links
Date: Thu,  7 Jun 2018 16:18:42 +0100
Hi Guix,

The current GNU Guix ikiwiki package produces wikis with an incomplete set of
functioning links.  Specifically, the 'Edit' and 'Preferences' links generate
error messages (missing perl modules).

These two patches add the necessary inputs to produce the expected 'signin'
pages when the links are accessed.

Best regards,

Paul.

Paul Garlick (2):
  gnu: Add perl-cgi-formbuilder.
  gnu: ikiwiki: Add inputs for CGI script and remove duplicate input.

 gnu/packages/web.scm | 35 ++++++++++++++++++++++++++++++-----
 1 file changed, 30 insertions(+), 5 deletions(-)

-- 
1.8.3.1





Information forwarded to guix-patches <at> gnu.org:
bug#31748; Package guix-patches. (Thu, 07 Jun 2018 15:34:01 GMT) Full text and rfc822 format available.

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

From: Paul Garlick <pgarlick <at> tourbillion-technology.com>
To: 31748 <at> debbugs.gnu.org
Cc: Paul Garlick <pgarlick <at> tourbillion-technology.com>
Subject: [PATCH 1/2] gnu: Add perl-cgi-formbuilder.
Date: Thu,  7 Jun 2018 16:32:55 +0100
* gnu/packages/web.scm (perl-cgi-formbuilder): New variable.
---
 gnu/packages/web.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 7819a87..80f9f22 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -2133,6 +2133,30 @@ string generation and manipulation, and processing and preparing HTTP
 headers.")
     (license l:perl-license)))
 
+(define-public perl-cgi-formbuilder
+  (package
+    (name "perl-cgi-formbuilder")
+    (version "3.10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/"
+             "CGI-FormBuilder-" version ".tar.gz"))
+       (sha256
+        (base32
+         "163ixq9kninqq094z2rnkg9pv3bcmvjphlww4vksfrzhq3h9pjdf"))))
+    (build-system perl-build-system)
+    (inputs `(("perl-cgi" ,perl-cgi)))
+    (home-page
+     "https://metacpan.org/release/CGI-FormBuilder")
+    (synopsis
+     "Generate and process stateful forms")
+    (description
+     "@code{CGI::FormBuilder} provides an easy way to generate and process CGI
+form-based applications.")
+    (license l:perl-license)))
+
 (define-public perl-cgi-session
   (package
     (name "perl-cgi-session")
-- 
1.8.3.1





Information forwarded to guix-patches <at> gnu.org:
bug#31748; Package guix-patches. (Thu, 07 Jun 2018 15:35:02 GMT) Full text and rfc822 format available.

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

From: Paul Garlick <pgarlick <at> tourbillion-technology.com>
To: 31748 <at> debbugs.gnu.org
Cc: Paul Garlick <pgarlick <at> tourbillion-technology.com>
Subject: [PATCH 2/2] gnu: ikiwiki: Add inputs for CGI script and remove
 duplicate input.
Date: Thu,  7 Jun 2018 16:32:56 +0100
* gnu/packages/web.scm (ikiwiki)[inputs]: Add perl-cgi-formbuilder and
perl-db-file.  Remove perl-uri duplicate.  Sort 'perl-*' inputs
alphabetically.
---
 gnu/packages/web.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 80f9f22..5254b9a 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -4402,16 +4402,17 @@ NetSurf project.")
        ("mercurial" ,mercurial)))
     (inputs
      `(("python" ,python-wrapper)
+       ("perl-cgi-formbuilder" ,perl-cgi-formbuilder)
        ("perl-cgi-session" ,perl-cgi-session)
        ("perl-cgi-simple" ,perl-cgi-simple)
-       ("perl-json" ,perl-json)
-       ("perl-image-magick" ,perl-image-magick)
-       ("perl-uri" ,perl-uri)
+       ("perl-db-file" ,perl-db-file)
        ("perl-html-parser" ,perl-html-parser)
-       ("perl-uri" ,perl-uri)
-       ("perl-text-markdown-discount" ,perl-text-markdown-discount)
        ("perl-html-scrubber" ,perl-html-scrubber)
        ("perl-html-template" ,perl-html-template)
+       ("perl-image-magick" ,perl-image-magick)
+       ("perl-json" ,perl-json)
+       ("perl-text-markdown-discount" ,perl-text-markdown-discount)
+       ("perl-uri" ,perl-uri)
        ("perl-yaml-libyaml" ,perl-yaml-libyaml)))
     (home-page "https://ikiwiki.info/")
     (synopsis "Wiki compiler, capable of generating HTML")
-- 
1.8.3.1





Reply sent to iyzsong <at> member.fsf.org (宋文武):
You have taken responsibility. (Fri, 08 Jun 2018 12:31:02 GMT) Full text and rfc822 format available.

Notification sent to Paul Garlick <pgarlick <at> tourbillion-technology.com>:
bug acknowledged by developer. (Fri, 08 Jun 2018 12:31:02 GMT) Full text and rfc822 format available.

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

From: iyzsong <at> member.fsf.org (宋文武)
To: Paul Garlick <pgarlick <at> tourbillion-technology.com>
Cc: 31748-done <at> debbugs.gnu.org
Subject: Re: [bug#31748] [PATCH 0/2] enable ikiwiki 'Edit' and 'Preferences'
 links
Date: Fri, 08 Jun 2018 20:28:37 +0800
Paul Garlick <pgarlick <at> tourbillion-technology.com> writes:

> Hi Guix,
>
> The current GNU Guix ikiwiki package produces wikis with an incomplete set of
> functioning links.  Specifically, the 'Edit' and 'Preferences' links generate
> error messages (missing perl modules).
>
> These two patches add the necessary inputs to produce the expected 'signin'
> pages when the links are accessed.

Pushed, thank you!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 07 Jul 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 352 days ago.

Previous Next


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