all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ng0 <ng0@we.make.ritual.n0.is>
To: Leo Famulari <leo@famulari.name>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] Add tintin.
Date: Fri, 19 Aug 2016 20:40:24 +0000	[thread overview]
Message-ID: <87y43sqypz.fsf@we.make.ritual.n0.is> (raw)
In-Reply-To: <20160819193248.GA18259@jasmine>

Hi,

Leo Famulari <leo@famulari.name> writes:

> On Mon, Aug 08, 2016 at 09:21:09PM +0000, ng0 wrote:
>> Updated patch.
>> 
>> * gnu/packages/games.scm (tintin): New variable.
>
> Thanks!
>
>> +              (uri (string-append "https://sourceforge.net/projects/tintin"
>> +                                  "/files/TinTin++ Source Code/" version
>> +                                  "/tintin" "-" version ".tar.gz"))
>
> This URL does not work for me. Maybe you already had the tarball in your
> /gnu/store? Also, it should use our SourceForge mirrors.

The mirror://sourceforge uses /project/, while this uses /projects/.
Just /project/ failed for me, as did the mirrors.

>> +       #:phases
>> +       (modify-phases %standard-phases
>> +         ;; The source is in tt/src.
>> +         (add-before 'configure 'chdir-to-tt-src
>> +           (lambda _
>> +             (chdir "src"))))))
>
> I would call this phase 'chdir'.

Okay I will update when we can solve the url above.
Their download site, http://tintin.sourceforge.net/download.php, says:
http://sourceforge.net/projects/tintin/files/TinTin%2B%2B%20Source%20Code/2.01.1/tintin-2.01.1.tar.gz/download

And when I try /project/ instead of /projects/ I get:
ng0@shadowwalker ~$ wget http://sourceforge.net/project/tintin/files/TinTin%2B%2B%20Source%20Code/2.01.1/tintin-2.01.1.tar.gz/download
--2016-08-19 20:35:45--
http://sourceforge.net/project/tintin/files/TinTin%2B%2B%20Source%20Code/2.01.1/tintin-2.01.1.tar.gz/download
Resolving sourceforge.net (sourceforge.net)... 216.34.181.60
Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location:
https://sourceforge.net/project/tintin/files/TinTin%2B%2B%20Source%20Code/2.01.1/tintin-2.01.1.tar.gz/download [following]
--2016-08-19 20:35:45--
https://sourceforge.net/project/tintin/files/TinTin%2B%2B%20Source%20Code/2.01.1/tintin-2.01.1.tar.gz/download
Connecting to sourceforge.net
(sourceforge.net)|216.34.181.60|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-08-19 20:35:46 ERROR 404: Not Found.

while /projects/ would resolve:

ng0@shadowwalker ~$ wget
http://sourceforge.net/projects/tintin/files/TinTin%2B%2B%20Source%20Code/2.01.1/tintin-2.01.1.tar.gz/download
--2016-08-19 20:38:53--
http://sourceforge.net/projects/tintin/files/TinTin%2B%2B%20Source%20Code/2.01.1/tintin-2.01.1.tar.gz/download
Resolving sourceforge.net (sourceforge.net)... 216.34.181.60
Connecting to sourceforge.net
(sourceforge.net)|216.34.181.60|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location:
https://sourceforge.net/projects/tintin/files/TinTin%2B%2B%20Source%20Code/2.01.1/tintin-2.01.1.tar.gz/download
[following]
--2016-08-19 20:38:56--
https://sourceforge.net/projects/tintin/files/TinTin%2B%2B%20Source%20Code/2.01.1/tintin-2.01.1.tar.gz/download
Connecting to sourceforge.net
(sourceforge.net)|216.34.181.60|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location:
http://downloads.sourceforge.net/project/tintin/TinTin%2B%2B%20Source%20Code/2.01.1/tintin-2.01.1.tar.gz?r=&ts=1471639137&use_mirror=netix
[following]
--2016-08-19 20:38:57--
http://downloads.sourceforge.net/project/tintin/TinTin%2B%2B%20Source%20Code/2.01.1/tintin-2.01.1.tar.gz?r=&ts=1471639137&use_mirror=netix
Resolving downloads.sourceforge.net
(downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net
(downloads.sourceforge.net)|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location:
http://netix.dl.sourceforge.net/project/tintin/TinTin%2B%2B%20Source%20Code/2.01.1/tintin-2.01.1.tar.gz
[following]
--2016-08-19 20:38:57--
http://netix.dl.sourceforge.net/project/tintin/TinTin%2B%2B%20Source%20Code/2.01.1/tintin-2.01.1.tar.gz
Resolving netix.dl.sourceforge.net
(netix.dl.sourceforge.net)... 87.121.121.2
Connecting to netix.dl.sourceforge.net
(netix.dl.sourceforge.net)|87.121.121.2|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 272506 (266K) [application/x-gzip]
Saving to: ‘download’

download
100%[===============================================================================================>]
266.12K   850KB/s    in 0.3s

2016-08-19 20:38:58 (850 KB/s) - ‘download’ saved [272506/272506]


>
>> +    (home-page "http://tintin.sourceforge.net/")
>
> HTTPS, if possible.

In this case, no. This sourceforge subdomain has no tls option:
Oops! Unable to display this website.
The site at “https://tintin.sourceforge.net/” seems to be
unavailable. The precise error was:
Could not connect: Connection refused
It may be temporarily unavailable or moved to a new address. You may
wish to verify that your internet connection is working correctly.

>
> Otherwise, looks good so far!

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

      reply	other threads:[~2016-08-19 20:40 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-08 20:00 [PATCH] Add tintin ng0
2016-08-08 20:12 ` ng0
2016-08-08 21:13 ` ng0
2016-08-08 21:21 ` ng0
2016-08-19  9:01   ` ng0
2016-08-19  9:21     ` David Craven
2016-08-19  9:38       ` ng0
2016-08-19  9:48         ` David Craven
2016-08-19 10:30           ` ng0
2016-08-19 11:25             ` David Craven
2016-08-19 11:50           ` Marius Bakke
2016-08-19 12:38             ` David Craven
2016-08-19 17:59               ` David Craven
2016-08-19 18:46                 ` Marius Bakke
2016-08-19 19:15           ` Leo Famulari
2016-08-20 16:38           ` Alex Vong
2016-08-20 17:18             ` David Craven
2016-08-23 17:05               ` David Craven
2016-08-23 22:31                 ` ng0
2016-08-23 23:00                   ` David Craven
2016-08-24  8:35                 ` Question about emacs and guix (was: Re: [PATCH] Add tintin) Alex Kost
2016-08-19 19:32   ` [PATCH] Add tintin Leo Famulari
2016-08-19 20:40     ` ng0 [this message]

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=87y43sqypz.fsf@we.make.ritual.n0.is \
    --to=ng0@we.make.ritual.n0.is \
    --cc=guix-devel@gnu.org \
    --cc=leo@famulari.name \
    /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.