All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] Removing/solving gettext dependencies in libuio
Date: Mon, 12 Aug 2013 21:36:49 +0200	[thread overview]
Message-ID: <52093951.7060608@mind.be> (raw)
In-Reply-To: <CAAXf6LWskVXQjvLYeEBx_JJxuTujMZEq2JzqLMftXXUSaPTQHg@mail.gmail.com>

On 30/07/13 14:28, Thomas De Schampheleire wrote:
> Hi,
>
> I'm adding the library libuio to buildroot
> (https://github.com/Linutronix/libuio/).
> This library expects gettext to be present, but I want to avoid adding
> this dependency to buildroot because it really isn't needed.
>
> What is the best way to solve this?

  Isn't docs/manual/adding-packages-gettext.txt sufficient?


  Regards,
  Arnout

> The first alternative is to patch the package and remove the
> problematic code. These changes are in configure.ac, Makefile.am, the
> patch is fairly short. This change is not acceptable upstream (I
> guess).
>
> A second alternative is to change libuio to recognize --disable-nls.
> However, I'm not sure how to do that.
> The configure.ac file contains:
>
>    AM_GNU_GETTEXT([external])
>    AM_GNU_GETTEXT_VERSION([0.17])
>
> This macro is provided by gettext itself, so without gettext this doesn't work.
> I tried something like:
>
> AC_ARG_ENABLE([nls], AC_HELP_STRING([--disable-nls], [Do not use
> Native Language Support]),
>                USE_NLS=$enableval, USE_NLS=yes)
>
> AC_SUBST(USE_NLS)
>
> AS_IF([test "x$enable_nls" == xyes],
>    AM_GNU_GETTEXT([external])
>    AM_GNU_GETTEXT_VERSION([0.17])
> )
>
> but I still get complaints about AM_GNU_GETTEXT not recognized.
> I have tried finding good examples of implementing --disable-nls
> without requiring gettext, but I can't find any.
>
>
> Any input welcome,
>
> Thomas
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

  reply	other threads:[~2013-08-12 19:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-30 12:28 [Buildroot] Removing/solving gettext dependencies in libuio Thomas De Schampheleire
2013-08-12 19:36 ` Arnout Vandecappelle [this message]
2013-08-19 14:41   ` Thomas De Schampheleire
2013-08-19 22:25 ` Thomas Petazzoni
2013-08-20  5:00   ` Thomas De Schampheleire

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=52093951.7060608@mind.be \
    --to=arnout@mind.be \
    --cc=buildroot@busybox.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.
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.