all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: dub: Patch pkg-config name.
Date: Thu, 2 Feb 2017 20:36:29 +0100	[thread overview]
Message-ID: <20170202203629.14521773@scratchpost.org> (raw)
In-Reply-To: <87bmula6vr.fsf@gnu.org>

Hi Ludo,

On Wed, 01 Feb 2017 23:22:32 +0100
ludo@gnu.org (Ludovic Courtès) wrote:

> Is it necessary?  It might be a case where picking whatever’s in $PATH
> (“late binding”) is good enough; for instance, ‘gcc’ picks ‘ld’ from
> $PATH, and that’s fine.

I don't know. What's the policy for pkg-config in general?

I did it that way now because

(1) pkg-config is not a native-input of anything D - so if the user didn't install pkg-config into his profile by chance, the build of some D packages will fail.
(2) pkg-config itself is very seldomly updated so it doesn't matter if dub pins it to one specific version - that would even be what I would expect to happen.

I'm fine with adding it someway else (especially if it's the same way it's usually added).

So either

(a) dub needs it as input (like this patch would do) or
(b) every D package needs it as native-input (maybe the build system would auto-add it as native-input to every D package - like it does add ldc and dub)

- otherwise it will break.

(dub uses pkg-config in order to find the library flags to add when importing a given library)

  reply	other threads:[~2017-02-02 19:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-31 16:00 [PATCH] gnu: dub: Patch pkg-config name Danny Milosavljevic
2017-02-01 22:22 ` Ludovic Courtès
2017-02-02 19:36   ` Danny Milosavljevic [this message]
2017-02-03 15:14     ` Danny Milosavljevic
2017-02-03 16:49     ` Ludovic Courtès
2017-02-03 17:38       ` Danny Milosavljevic
2017-02-07 14:13         ` Ludovic Courtès

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=20170202203629.14521773@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=guix-devel@gnu.org \
    --cc=ludo@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 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.