mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <mol@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Bruno Thomsen <bruno.thomsen@gmail.com>
Subject: Re: [ptxdist] [APPLIED] gettext: cli/lib install options
Date: Fri, 17 Jul 2020 13:57:08 +0200	[thread overview]
Message-ID: <E1jwOzE-00054R-N1@dude02.hi.pengutronix.de> (raw)
In-Reply-To: <20200714165405.4622-2-bruno.thomsen@gmail.com>

Thanks, applied as b9a52493d874fb4d671f950607365372163010bd.

Michael

[sent from post-receive hook]

On Fri, 17 Jul 2020 13:57:08 +0200, Bruno Thomsen <bruno.thomsen@gmail.com> wrote:
> This allows users to deselect parts not needed, e.g. if you
> only need envsubst tool.
> 
> Fixed runtime issue with xgettext missing libtextstyle.
> 
> Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
> Message-Id: <20200714165405.4622-2-bruno.thomsen@gmail.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/gettext.in b/rules/gettext.in
> index dc05739120ec..3c823eca402b 100644
> --- a/rules/gettext.in
> +++ b/rules/gettext.in
> @@ -20,4 +20,17 @@ config GETTEXT_ENVSUBST
>  	help
>  	  Substitutes environment variables in shell format strings
>  
> +config GETTEXT_TOOLS
> +	bool
> +	prompt "gettext/xgettext cli"
> +	select GETTEXT_LIBS
> +	help
> +	  Command line tools for translations.
> +
> +config GETTEXT_LIBS
> +	bool
> +	prompt "gettext libs"
> +	help
> +	  System libraries for translations.
> +
>  endif
> diff --git a/rules/gettext.make b/rules/gettext.make
> index f4360aa2a852..83638543e4cb 100644
> --- a/rules/gettext.make
> +++ b/rules/gettext.make
> @@ -76,13 +76,18 @@ ifdef PTXCONF_GETTEXT_ENVSUBST
>  	@$(call install_copy, gettext, 0, 0, 0755, -, /usr/bin/envsubst)
>  endif
>  
> +ifdef PTXCONF_GETTEXT_TOOLS
>  	@$(call install_copy, gettext, 0, 0, 0755, -, /usr/bin/xgettext)
>  	@$(call install_copy, gettext, 0, 0, 0755, -, /usr/bin/gettext)
> +endif
>  
> +ifdef PTXCONF_GETTEXT_LIBS
>  	@$(call install_lib, gettext, 0, 0, 0644, libgettextlib-$(GETTEXT_VERSION))
>  	@$(call install_lib, gettext, 0, 0, 0644, libasprintf)
>  	@$(call install_lib, gettext, 0, 0, 0644, libgettextpo)
> -	@$(call install_lib, gettext, 0, 0, 0644,libgettextsrc-$(GETTEXT_VERSION))
> +	@$(call install_lib, gettext, 0, 0, 0644, libgettextsrc-$(GETTEXT_VERSION))
> +	@$(call install_lib, gettext, 0, 0, 0644, libtextstyle)
> +endif
>  
>  	@$(call install_finish, gettext)
>  

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

  parent reply	other threads:[~2020-07-17 11:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-14 16:54 [ptxdist] [PATCH 1/3] gettext: version bump 0.19.8.1 -> 0.20.2 Bruno Thomsen
2020-07-14 16:54 ` [ptxdist] [PATCH 2/3] gettext: cli/lib install options Bruno Thomsen
2020-07-16 12:18   ` Bruno Thomsen
2020-07-17  6:47     ` Michael Olbrich
2020-07-17 11:57   ` Michael Olbrich [this message]
2020-07-14 16:54 ` [ptxdist] [PATCH 3/3] Revert "gettext: move to staging" Bruno Thomsen
2020-07-17 11:57   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-07-17 11:57 ` [ptxdist] [APPLIED] gettext: version bump 0.19.8.1 -> 0.20.2 Michael Olbrich

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=E1jwOzE-00054R-N1@dude02.hi.pengutronix.de \
    --to=mol@pengutronix.de \
    --cc=bruno.thomsen@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox