all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Vong <alexvong1995@gmail.com>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: "guix-devel@gnu.org" <guix-devel@gnu.org>, Alex Kost <alezost@gmail.com>
Subject: Re: [PATCH] Replace broken LADSPA URL.
Date: Tue, 29 Dec 2015 21:15:33 +0800	[thread overview]
Message-ID: <8760zhmm4q.fsf@gmail.com> (raw)
In-Reply-To: <87mvsu4bjt.fsf@elephly.net> (Ricardo Wurmus's message of "Mon, 28 Dec 2015 20:29:10 +0100")

Ricardo Wurmus <rekado@elephly.net> writes:

> Alex Vong <alexvong1995@gmail.com> writes:
>
>> From 2feefc6fd7162d7226015aa296ace0c8e7d034bf Mon Sep 17 00:00:00 2001
>> From: Alex Vong <alexvong1995@gmail.com>
>> Date: Thu, 12 Nov 2015 01:19:44 +0800
>> Subject: [PATCH] gnu: ladspa: Update urls.
>>
>> * gnu/packages/audio.scm (ladspa): Update source and home page url.
>>
>> Thanks to Ricardo Wurmus for suggesting downloading the source
>> from Internet Archive.
>
> Thanks, but attribution is not required here :)
>
OK...

>>  gnu/packages/audio.scm | 29 +++++++++++++++++++----------
>>  1 file changed, 19 insertions(+), 10 deletions(-)
>>
>> diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
>> index 6a8347a..9f3c217 100644
>> --- a/gnu/packages/audio.scm
>> +++ b/gnu/packages/audio.scm
>> @@ -817,15 +817,22 @@ plugin function as a JACK application.")
>>    (package
>>      (name "ladspa")
>>      (version "1.13")
>> -    (source (origin
>> -             (method url-fetch)
>> -             (uri (string-append
>> -                   "http://www.ladspa.org/download/ladspa_sdk_"
>> -                   version
>> -                   ".tgz"))
>> -             (sha256
>> -              (base32
>> -               "0srh5n2l63354bc0srcrv58rzjkn4gv8qjqzg8dnq3rs4m7kzvdm"))))
>> +    (source
>> +     (origin
>> +       (method url-fetch)
>> +       ;; Since the official link is dead,
>> +       ;; we download the tarball from Debian or Internet Archive.
>> +       (uri (list (string-append "http://http.debian.net"
>> +                                 "/debian/pool/main/l/ladspa-sdk/ladspa-sdk_"
>> +                                 version
>> +                                 ".orig.tar.gz")
>
> My preference is to keep “version” and the following string on the same
> line because they are both short.
>
Is it a lisp / scheme convention to do this? I always think I should
call a function like this:
(func arg1 arg2 ...)
or
(func arg1
      arg2
      ...)

>> + (string-append "https://web.archive.org/web/20140717172251/"
>> +                                 "http://www.ladspa.org/download/ladspa_sdk_"
>> +                                 version
>> +                                 ".tgz")))
>
> Same here.  (It’s just a nitpick.)
>
>> +       (sha256
>> +        (base32
>> +         "0srh5n2l63354bc0srcrv58rzjkn4gv8qjqzg8dnq3rs4m7kzvdm"))))
>>      (build-system gnu-build-system)
>>      (arguments
>>       `(#:tests? #f  ; the "test" target is a listening test only
>> @@ -843,7 +850,9 @@ plugin function as a JACK application.")
>>                (("^CC.*")            "CC = gcc\n")
>>                (("^CPP.*")           "CPP = g++\n"))))
>>          (alist-delete 'build %standard-phases))))
>> -    (home-page "http://ladspa.org")
>> +    ;; Since the home page is gone, we provide a link to the archived version.
>> +    (home-page
>> +     "https://web.archive.org/web/20140729190945/http://www.ladspa.org/")
>>      (synopsis "Linux Audio Developer's Simple Plugin API (LADSPA)")
>>      (description
>>       "LADSPA is a standard that allows software audio processors and effects
>
> Do you have permission to push or should I apply this on your behalf?
>
No, I don't have push right. I am more of a user-programmer right now :)

> ~~ Ricardo

  parent reply	other threads:[~2015-12-29 13:15 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-16 19:33 [PATCH] Replace broken LADSPA URL Ricardo Wurmus
2015-11-17  8:45 ` Alex Kost
2015-11-17  9:47   ` Ricardo Wurmus
2015-11-17 16:14     ` Ludovic Courtès
2015-12-27 14:40       ` Alex Kost
2015-12-28  7:18         ` Alex Vong
2015-12-28 16:07           ` Mathieu Lirzin
2015-12-28 16:14             ` Alex Vong
2015-12-28 16:21               ` Alex Vong
2015-12-28 19:29                 ` Ricardo Wurmus
2015-12-28 22:24                   ` Alex Kost
2015-12-29 13:17                     ` Alex Vong
2015-12-30 17:19                       ` Ludovic Courtès
2015-12-29 13:15                   ` Alex Vong [this message]
2015-12-29 16:04                     ` Mathieu Lirzin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760zhmm4q.fsf@gmail.com \
    --to=alexvong1995@gmail.com \
    --cc=alezost@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.