Subject: Re: [bug#32053] [PATCH 2/2] gnu: Add quaternion.

From: [email-masked] (Ludovic Courtès)
Date: Mon, 09 Jul 2018 14:37:46 +0200

Hello,

Arun Isaac <[email-masked]> skribis:

> * gnu/packages/messaging.scm (quaternion): New variable.

[...]

> +    (inputs
> +     `(("libqmatrixclient-source" ,(package-source libqmatrixclient))
> +       ("qt" ,qt)))
> +    (arguments
> +     `(#:tests? #f ; No tests
> +       #:phases
> +       (modify-phases %standard-phases
> +         (add-after 'unpack 'unpack-libqmatrixclient
> +           (lambda* (#:key inputs #:allow-other-keys)
> +             (invoke "tar" "-C" "lib" "-xvf"
> +                     (assoc-ref inputs "libqmatrixclient-source")
> +                     "--strip-components=1"))))))

That doesn’t sound great.  :-)

Could we arrange to have it use an externally-built libqtmatrixclient.so?
Perhaps that’ll involve modifying the CMake/Qt/whatever build files?

> +    (home-page "https://matrix.org/docs/projects/client/quaternion.html")
> +    (synopsis "Qt5 desktop client for the Matrix protocol")

What about: “Graphical client for the Matrix instant messaging protocol”?

> +    (description "Quaternion is a Qt5 desktop client for the Matrix protocol.

s/protocol/instant messaging protocol/

It’s all about giving enough context so that people know what kind of
matrix we’re talking about.  ;-)

Thank you,
Ludo’.