[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] gnu: Add qtox.
From: |
Brendan Tildesley |
Subject: |
Re: [PATCH 2/2] gnu: Add qtox. |
Date: |
Wed, 21 Sep 2016 17:47:03 +1000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.2.0 |
Andy Patterson 於 2016-09-15 05:30 寫道:
[...]
> + (arguments
> + '(#:phases
> + (modify-phases %standard-phases
> + (replace 'configure
> + (lambda* (#:key outputs #:allow-other-keys)
> + (zero?
> + (system* "qmake"
> + (string-append "PREFIX="
> + (assoc-ref outputs "out"))))))
> + (add-after 'unpack 'fix-reproducibility-issues
> + (lambda _
> + (substitute* "src/main.cpp"
> + (("__DATE__") "\"\"")
> + (("__TIME__") "\"\"")
> + (("TIMESTAMP") "\"\""))
> + #t)))))
'unpack is before 'configure, so I think this should be put above
(replace 'configure. Also I noticed qmake outputs Makefile that contains
DTIMESTAMP=.... It doesn't look like it actually does anything though.
> + (home-page "https://qtox.github.io/")
> + (synopsis "Tox chat client using Qt")
> + (description "qTox is a Tox client that follows the Tox design
> +guidelines. It provides an easy to use application that allows you to
> +connect with friends and family without anyone else listening in.")
> + (license license:gpl3+)))
> +
> (define-public pybitmessage
> (package
> (name "pybitmessage")
I was able to compile and run, but the package technically failed with
builder for `/gnu/store/3qh6k8lixrkdxvd3zfvapc1fdwl079lv-qtox-1.5.1.drv'
failed to produce output path
`/gnu/store/j4yg5hd5giss2fpivzdkrdlzp62x4qbq-qtox-1.5.1'
I don't understand what produces this message. Can anyone explain. If I
use guix build qtox -K I can find the "failed" build in /tmp/ and run it.