unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ng0 <ng0@libertad.pw>
To: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add toxic.
Date: Fri, 23 Dec 2016 09:18:08 +0000	[thread overview]
Message-ID: <87eg0zrokv.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <20161223055830.GA27511@jocasta.intra>

John Darrington <john@darrington.wattle.id.au> writes:

> On Thu, Dec 22, 2016 at 06:51:10PM -0500, Kei Kebreau wrote:
>      ng0 <ng0@libertad.pw> writes:
>      
>      > * gnu/packages/messaging.scm (toxic): New variable.
>      > ---
>      >  gnu/packages/messaging.scm | 47 ++++++++++++++++++++++++++++++++++++++++++++++
>      >  1 file changed, 47 insertions(+)
>      >
>      > +(define-public toxic
>      > +  (package
>      > +    (name "toxic")
>      > +    (version "0.7.2")
>      > +    (source
>      > +     (origin
>      > +       (method url-fetch)
>      > +       (uri (string-append "https://github.com/JFreegman/toxic/archive/"
>      > +                           "v" version ".tar.gz"))
>      > +       (sha256
>      > +        (base32
>      > +         "0nbcj71ffl85l396bxc5cs8d7abn4b7absaj5asq9bvcfv52m5m2"))
>      > +       (file-name (string-append name "-" version ".tar.gz"))))
>      > +    (inputs
>      > +     `(("ncurses" ,ncurses)
>      
>      I'm not sure what's up here. IIRC, we don't install the ncurses *.pc
>      files. If I'm wrong, someone please correct me.
>
> It would seem that we don't.  In fact so far as I'm aware, ncurses doesn't even
> provide such a thing.  Instead it provides it's own pkg-config like utility called
> "ncursesw60config" which you can use if you like.
>
> Personally however I don't like either approach.   I think it much cleaner and more
> reliably to explicitly state which path(s) and libraries you need rather than to 
> rely on some wierd script to guess it for you.
>      
> J'
>
> -- 
> Avoid eavesdropping.  Send strong encrypted email.
> PGP Public key ID: 1024D/2DE827B3 
> fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
> See http://sks-keyservers.net or any PGP keyserver for public key.
>

I have no preference. I just have no idea right now how to fix
the detection of ncurses here. If I would sit down for more than
a few hours with months apart I could come up with a solution,
but I'd rather use the collaborative approach and get review and
ideas from other people.
Kei: Thanks for solving the first part of the problem!

John: If we used absolute paths for every occurence of ncurses
related files in the build system of toxic, would this work? I
have no time to try this at the moment.
-- 
♥Ⓐ  ng0  | PGP keys and more: https://n0is.noblogs.org/
         |                    http://ng0.chaosnet.org

  reply	other threads:[~2016-12-23  9:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-22 18:47 A ncurses tox client: toxic ng0
2016-12-22 18:47 ` [PATCH] gnu: Add toxic ng0
2016-12-22 23:51   ` Kei Kebreau
2016-12-23  5:58     ` John Darrington
2016-12-23  9:18       ` ng0 [this message]
2016-12-23  9:24         ` ng0
2016-12-23 19:58       ` Tobias Geerinckx-Rice
2016-12-23 14:34     ` Marius Bakke
2016-12-23 15:59       ` Kei Kebreau
2016-12-23 17:36         ` ng0

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87eg0zrokv.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me \
    --to=ng0@libertad.pw \
    --cc=guix-devel@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).