unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#31748] [PATCH 0/2] enable ikiwiki 'Edit' and 'Preferences' links
@ 2018-06-07 15:18 Paul Garlick
  2018-06-07 15:32 ` [bug#31748] [PATCH 1/2] gnu: Add perl-cgi-formbuilder Paul Garlick
  2018-06-08 12:28 ` bug#31748: [PATCH 0/2] enable ikiwiki 'Edit' and 'Preferences' links 宋文武
  0 siblings, 2 replies; 4+ messages in thread
From: Paul Garlick @ 2018-06-07 15:18 UTC (permalink / raw)
  To: 31748; +Cc: Paul Garlick

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#31748] [PATCH 1/2] gnu: Add perl-cgi-formbuilder.
  2018-06-07 15:18 [bug#31748] [PATCH 0/2] enable ikiwiki 'Edit' and 'Preferences' links Paul Garlick
@ 2018-06-07 15:32 ` Paul Garlick
  2018-06-07 15:32   ` [bug#31748] [PATCH 2/2] gnu: ikiwiki: Add inputs for CGI script and remove duplicate input Paul Garlick
  2018-06-08 12:28 ` bug#31748: [PATCH 0/2] enable ikiwiki 'Edit' and 'Preferences' links 宋文武
  1 sibling, 1 reply; 4+ messages in thread
From: Paul Garlick @ 2018-06-07 15:32 UTC (permalink / raw)
  To: 31748; +Cc: Paul Garlick

* 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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#31748] [PATCH 2/2] gnu: ikiwiki: Add inputs for CGI script and remove duplicate input.
  2018-06-07 15:32 ` [bug#31748] [PATCH 1/2] gnu: Add perl-cgi-formbuilder Paul Garlick
@ 2018-06-07 15:32   ` Paul Garlick
  0 siblings, 0 replies; 4+ messages in thread
From: Paul Garlick @ 2018-06-07 15:32 UTC (permalink / raw)
  To: 31748; +Cc: Paul Garlick

* 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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#31748: [PATCH 0/2] enable ikiwiki 'Edit' and 'Preferences' links
  2018-06-07 15:18 [bug#31748] [PATCH 0/2] enable ikiwiki 'Edit' and 'Preferences' links Paul Garlick
  2018-06-07 15:32 ` [bug#31748] [PATCH 1/2] gnu: Add perl-cgi-formbuilder Paul Garlick
@ 2018-06-08 12:28 ` 宋文武
  1 sibling, 0 replies; 4+ messages in thread
From: 宋文武 @ 2018-06-08 12:28 UTC (permalink / raw)
  To: Paul Garlick; +Cc: 31748-done

Paul Garlick <pgarlick@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!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-06-08 12:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-07 15:18 [bug#31748] [PATCH 0/2] enable ikiwiki 'Edit' and 'Preferences' links Paul Garlick
2018-06-07 15:32 ` [bug#31748] [PATCH 1/2] gnu: Add perl-cgi-formbuilder Paul Garlick
2018-06-07 15:32   ` [bug#31748] [PATCH 2/2] gnu: ikiwiki: Add inputs for CGI script and remove duplicate input Paul Garlick
2018-06-08 12:28 ` bug#31748: [PATCH 0/2] enable ikiwiki 'Edit' and 'Preferences' links 宋文武

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).