GNU bug report logs -
#25973
[PATCH]: gnu: Add blind.
Previous Next
Reported by: iyzsong <at> member.fsf.org (宋文武)
Date: Sun, 5 Mar 2017 11:29:01 UTC
Severity: normal
Tags: patch
Done: iyzsong <at> member.fsf.org (宋文武)
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 17-03-05 16:21:12, ng0 wrote:
> On 17-03-05 19:20:34, 宋文武 wrote:
> > From 7e747dab9c06aa862636423008148f1f08a90f1a Mon Sep 17 00:00:00 2001
> > From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong <at> member.fsf.org>
> > Date: Sun, 5 Mar 2017 19:08:25 +0800
> > Subject: [PATCH] gnu: Add blind.
> >
> > * gnu/packages/suckless.scm (blind): New package.
> > ---
> > gnu/packages/suckless.scm | 27 +++++++++++++++++++++++++++
> > 1 file changed, 27 insertions(+)
> >
> > diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
> > index e30a0883a..58b2bd0f6 100644
> > --- a/gnu/packages/suckless.scm
> > +++ b/gnu/packages/suckless.scm
> > @@ -47,6 +47,33 @@
> > #:use-module (gnu packages base)
> > #:use-module (gnu packages libbsd))
> >
> > +(define-public blind
> > + (package
> > + (name "blind")
> > + (version "1.0")
> > + (source (origin
> > + (method url-fetch)
> > + (uri (string-append "http://dl.suckless.org/tools/blind-"
> > + version ".tar.gz"))
> > + (sha256
> > + (base32
> > + "1b36k8fg2gmabm69jckqja49i8y4rcbccgvv2wija15ciszrm1x9"))))
> > + (build-system gnu-build-system)
> > + (arguments
> > + '(#:tests? #f ; no check target
> > + #:make-flags (list
> > + "CC=gcc"
> > + (string-append "PREFIX=" %output))
> > + #:phases
> > + (modify-phases %standard-phases
> > + (delete 'configure)))) ; no configure script
> > + (synopsis "Command line video editing utilities")
> > + (home-page "http://tools.suckless.org/blind/")
> > + (description
> > + "Blind is a collection of command line video editing utilities. It uses
> > +a custom raw video format with a simple container.")
> > + (license license:isc)))
> > +
> > (define-public dwm
> > (package
> > (name "dwm")
> > --
> > 2.11.1
> >
> >
> >
> >
> Looks good to me.
>
> Do you think we could have a suckless and 2f30 url-scheme now?
> There's just so much repetition with those two domains going on because
> most software is so similar it could simply inherit from one base
> recipe.
>
> I'm using a 2f30-uri in my "package" repository which held lots of
> 2f30.org and suckless.org software until recently.
>
>
>
For reference:
;; Packages of software hosted on 2f30.org
(define* (2f30-uri name version #:optional (extension ".tar.gz"))
"Return a URI string for the package hosted on 2f30.org
corresponding to NAME and VERSION. EXTENSION is the file name
extension, such as '.tar.gz'."
(string-append "http://dl.2f30.org/releases/"
name "-" version extension))
Which when used made maintenance a bit easier.
The same could be written up for suckless.org, and then we could
exchange the sources of current packages coming from those domains and
use this in their source.
If that's okay, I will prepare patches accordingly, it's trivial.
This bug report was last modified 8 years and 139 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.