all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ekaitz at ElenQ Technology <ekaitz@elenq.tech>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: "help-guix\\@gnu.org" <help-guix@gnu.org>
Subject: Re: Guix packaging, dealing with pkg-config
Date: Thu, 25 Jul 2019 11:19:10 +0000	[thread overview]
Message-ID: <mnB1jWCbSXA5o9MDbxMmSrAC2xcKV2VUcTM1tLZE-N-TdSsw3r8AUzVcQZ0h2mjQD4ZUsyVoXi6wNUyKcFxvK_YGcPrxEfzn4Sd91nFEX2g=@elenq.tech> (raw)
In-Reply-To: <87h87aa98r.fsf@elephly.net>

On Thursday, July 25, 2019 9:01 AM, Ricardo Wurmus <rekado@elephly.net> wrote:

>
>
> Ekaitz at ElenQ Technologyekaitz@elenq.tech writes:
>
> > Yeah, there are in the original makefiles of sc-im:
> > https://github.com/andmarti1424/sc-im/blob/freeze/src/Makefile#L124
>
> The FreeBSD case (line 128 and following) works for me:
>
> $ guix environment --ad-hoc lua@5.1 pkg-config
> [env] $ pkg-config --exists lua51 && echo yes || echo no
> no
> [env] $ pkg-config --exists lua-5.1 && echo yes || echo no
> yes
> [env] $ pkg-config --cflags lua-5.1
> -I/gnu/store/yl6v5ma16ya9b6npwqlrcp9pr2gqp6dc-lua-5.1.5/include
> [env] $ pkg-config --libs lua-5.1
> -L/gnu/store/yl6v5ma16ya9b6npwqlrcp9pr2gqp6dc-lua-5.1.5/lib -llua -lm
>
> So this works just fine.
>

Yes, the guix environment works fine for me too!


But, when I run --version in the recently built one I don't get any reference to lua support.


$ /gnu/store/svn5hkyckw9gmcdhybs5599mcbrkydyx-sc-im-freeze/bin/sc-im  --version
Sc-im - version 0.7.0
-DNCURSES
-DMAXROWS 1048576
-DUNDO
-DDEFAULT_COPY_TO_CLIPBOARD_CMD="xclip -i -selection clipboard <"
-DDEFAULT_PASTE_FROM_CLIPBOARD_CMD="xclip -o -selection clipboard"
-DUSELOCALE
-DUSECOLORS
-D_XOPEN_SOURCE_EXTENDED
-D_GNU_SOURCE
-DSNAME="sc-im"
-DHELP_PATH="/gnu/store/svn5hkyckw9gmcdhybs5599mcbrkydyx-sc-im-freeze/share/sc-im"
-DLIBDIR="/gnu/store/svn5hkyckw9gmcdhybs5599mcbrkydyx-sc-im-freeze/share/doc/sc-im"
-DDFLT_PAGER="less"
-DHISTORY_FILE=".sc-iminfo"
-DINS_HISTORY_FILE=".sc-iminfo"
-DHAVE_PTHREAD
-DAUTOBACKUP

When the package is building and all the commands executed by the makefile are printed, there's no reference to any Lua flag that should be there like -DXLUA or all of those flags added by the makefile. So, it's working but the makefile is somehow ignoring the package or I added it incorrectly in the definition.

Thoughts?

Thanks you,
Ekaitz

      reply	other threads:[~2019-07-25 11:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-24  9:15 Guix packaging, dealing with pkg-config Ekaitz at ElenQ Technology
2019-07-24 13:31 ` Ricardo Wurmus
2019-07-24 13:38   ` Ekaitz at ElenQ Technology
2019-07-24 18:07     ` Ricardo Wurmus
2019-07-25  1:49       ` Ekaitz at ElenQ Technology
2019-07-25  7:01         ` Ricardo Wurmus
2019-07-25 11:19           ` Ekaitz at ElenQ Technology [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='mnB1jWCbSXA5o9MDbxMmSrAC2xcKV2VUcTM1tLZE-N-TdSsw3r8AUzVcQZ0h2mjQD4ZUsyVoXi6wNUyKcFxvK_YGcPrxEfzn4Sd91nFEX2g=@elenq.tech' \
    --to=ekaitz@elenq.tech \
    --cc=help-guix@gnu.org \
    --cc=rekado@elephly.net \
    /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.