unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add stagit.
@ 2016-08-10 10:18 ng0
  2016-08-12  8:39 ` ng0
  2016-08-12 18:12 ` Leo Famulari
  0 siblings, 2 replies; 4+ messages in thread
From: ng0 @ 2016-08-10 10:18 UTC (permalink / raw)
  To: guix-devel


[-- Attachment #1.1: Type: text/plain, Size: 264 bytes --]

Same as sic, I am not sure if the description could be extended. This is
what I could come up with.

If you have trouble testing it, consider this commit which is not in 0.4
release:
http://git.2f30.org/stagit/commit/44a49f51db565cbfc31f31393d8dcdec1cdc8167.html


[-- Attachment #1.2: 0001-gnu-Add-stagit.patch --]
[-- Type: text/x-patch, Size: 2501 bytes --]

From d2a2dd0b6f831f8a1ecc09794c44d6ea2b3992b5 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@we.make.ritual.n0.is>
Date: Wed, 10 Aug 2016 10:04:29 +0000
Subject: [PATCH] gnu: Add stagit.

* gnu/packages/version-control.scm (stagit): New variable.
---
 gnu/packages/version-control.scm | 30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 767715d..b12c53a 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -9,6 +9,7 @@
 ;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2015 Kyle Meyer <kyle@kyleam.com>
 ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
+;;; Coypright © 2016 ng0 <ng0@we.make.ritual.n0.is>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -29,7 +30,7 @@
   #:use-module ((guix licenses)
                 #:select (asl2.0 bsd-2 bsd-3
                           gpl1+ gpl2 gpl2+ gpl3+ lgpl2.1
-                          public-domain x11-style))
+                          public-domain x11-style expat))
   #:use-module (guix utils)
   #:use-module (guix packages)
   #:use-module (guix download)
@@ -1250,3 +1251,30 @@ access and administration over HTTP CGI or via a built-in HTTP server.  It has
 a built-in wiki, built-in file browsing, built-in tickets system, etc.")
     (license (list public-domain        ;src/miniz.c, src/shell.c
                    bsd-2))))
+
+(define-public stagit
+  (package
+    (name "stagit")
+    (version "0.4")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://dl.2f30.org/releases/"
+                                  name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0z5r06wqrfnsz24ci4hjqbd62svclvhkgzaq9npsyjcp6jnf7izc"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f ; no tests
+       #:make-flags (list "CC=gcc"
+                          (string-append "PREFIX=" %output))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)))) ; no configure
+    (inputs
+     `(("libgit2" ,libgit2)))
+    (home-page "http://2f30.org")
+    (synopsis "Static git page generator")
+    (description "Stagit creates static pages for git repositories, the results can
+be served with a HTTP file server.")
+    (license expat)))
-- 
2.9.2


[-- Attachment #1.3: Type: text/plain, Size: 134 bytes --]


-- 
♥Ⓐ  ng0
Current Keys: https://we.make.ritual.n0.is/ng0.txt
For non-prism friendly talk find me on http://www.psyced.org

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 800 bytes --]

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

* Re: [PATCH] gnu: Add stagit.
  2016-08-10 10:18 [PATCH] gnu: Add stagit ng0
@ 2016-08-12  8:39 ` ng0
  2016-08-12 18:12 ` Leo Famulari
  1 sibling, 0 replies; 4+ messages in thread
From: ng0 @ 2016-08-12  8:39 UTC (permalink / raw)
  To: guix-devel

ng0 <ng0@we.make.ritual.n0.is> writes:

> [ Unknown signature status ]
> Same as sic, I am not sure if the description could be extended. This is
> what I could come up with.
>
> If you have trouble testing it, consider this commit which is not in 0.4
> release:
> http://git.2f30.org/stagit/commit/44a49f51db565cbfc31f31393d8dcdec1cdc8167.html

Should this go into gnu/packages/suckless.scm then? Seems more
appropriate after the last comments on suckless.scm.

> From d2a2dd0b6f831f8a1ecc09794c44d6ea2b3992b5 Mon Sep 17 00:00:00 2001
> From: ng0 <ng0@we.make.ritual.n0.is>
> Date: Wed, 10 Aug 2016 10:04:29 +0000
> Subject: [PATCH] gnu: Add stagit.
>
> * gnu/packages/version-control.scm (stagit): New variable.
> ---
>  gnu/packages/version-control.scm | 30 +++++++++++++++++++++++++++++-
>  1 file changed, 29 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
> index 767715d..b12c53a 100644
> --- a/gnu/packages/version-control.scm
> +++ b/gnu/packages/version-control.scm
> @@ -9,6 +9,7 @@
>  ;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
>  ;;; Copyright © 2015 Kyle Meyer <kyle@kyleam.com>
>  ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
> +;;; Coypright © 2016 ng0 <ng0@we.make.ritual.n0.is>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -29,7 +30,7 @@
>    #:use-module ((guix licenses)
>                  #:select (asl2.0 bsd-2 bsd-3
>                            gpl1+ gpl2 gpl2+ gpl3+ lgpl2.1
> -                          public-domain x11-style))
> +                          public-domain x11-style expat))
>    #:use-module (guix utils)
>    #:use-module (guix packages)
>    #:use-module (guix download)
> @@ -1250,3 +1251,30 @@ access and administration over HTTP CGI or via a built-in HTTP server.  It has
>  a built-in wiki, built-in file browsing, built-in tickets system, etc.")
>      (license (list public-domain        ;src/miniz.c, src/shell.c
>                     bsd-2))))
> +
> +(define-public stagit
> +  (package
> +    (name "stagit")
> +    (version "0.4")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "http://dl.2f30.org/releases/"
> +                                  name "-" version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "0z5r06wqrfnsz24ci4hjqbd62svclvhkgzaq9npsyjcp6jnf7izc"))))
> +    (build-system gnu-build-system)
> +    (arguments
> +     `(#:tests? #f ; no tests
> +       #:make-flags (list "CC=gcc"
> +                          (string-append "PREFIX=" %output))
> +       #:phases
> +       (modify-phases %standard-phases
> +         (delete 'configure)))) ; no configure
> +    (inputs
> +     `(("libgit2" ,libgit2)))
> +    (home-page "http://2f30.org")
> +    (synopsis "Static git page generator")
> +    (description "Stagit creates static pages for git repositories, the results can
> +be served with a HTTP file server.")
> +    (license expat)))
> -- 
> 2.9.2
>
>
> -- 
> ♥Ⓐ  ng0
> Current Keys: https://we.make.ritual.n0.is/ng0.txt
> For non-prism friendly talk find me on http://www.psyced.org

-- 
♥Ⓐ  ng0
For non-prism friendly talk find me on http://www.psyced.org

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

* Re: [PATCH] gnu: Add stagit.
  2016-08-10 10:18 [PATCH] gnu: Add stagit ng0
  2016-08-12  8:39 ` ng0
@ 2016-08-12 18:12 ` Leo Famulari
  2016-08-13  8:01   ` ng0
  1 sibling, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2016-08-12 18:12 UTC (permalink / raw)
  To: ng0; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 256 bytes --]

On Wed, Aug 10, 2016 at 10:18:31AM +0000, ng0 wrote:
> * gnu/packages/version-control.scm (stagit): New variable.

Thank you for this!

I added some more licensing information, and cleaned up the synopsis and
description a little bit.

Pushed as b3885778.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* Re: [PATCH] gnu: Add stagit.
  2016-08-12 18:12 ` Leo Famulari
@ 2016-08-13  8:01   ` ng0
  0 siblings, 0 replies; 4+ messages in thread
From: ng0 @ 2016-08-13  8:01 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel

Leo Famulari <leo@famulari.name> writes:

> [ Unknown signature status ]
> On Wed, Aug 10, 2016 at 10:18:31AM +0000, ng0 wrote:
>> * gnu/packages/version-control.scm (stagit): New variable.
>
> Thank you for this!
>
> I added some more licensing information, and cleaned up the synopsis and
> description a little bit.
>
> Pushed as b3885778.

Shouldn't this be moved into suckless.scm? It is by 2f30, who are
associated with suckless.
-- 
♥Ⓐ  ng0
For non-prism friendly talk find me on http://www.psyced.org

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

end of thread, other threads:[~2016-08-13  8:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-10 10:18 [PATCH] gnu: Add stagit ng0
2016-08-12  8:39 ` ng0
2016-08-12 18:12 ` Leo Famulari
2016-08-13  8:01   ` ng0

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).