* [Buildroot] [PATCH 1/1] pkg-autotools-infra: disable NLS for the host by default
@ 2019-04-03 15:40 Vadim Kochan
2019-04-03 19:34 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Vadim Kochan @ 2019-04-03 15:40 UTC (permalink / raw)
To: buildroot
From: Vadim Kochan <vadim4j@gmail.com>
There is no need for language translaion feature for the host packages,
anyway some of them disable it explicitly, so lets do it automatically
at least for the host-autotools- kind of packages.
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
---
package/acl/acl.mk | 1 -
package/attr/attr.mk | 1 -
package/gcc/gcc-initial/gcc-initial.mk | 1 -
package/gutenprint/gutenprint.mk | 2 --
package/pkg-autotools.mk | 2 ++
package/vim/vim.mk | 3 +--
6 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/package/acl/acl.mk b/package/acl/acl.mk
index 038bc7a..8dce274 100644
--- a/package/acl/acl.mk
+++ b/package/acl/acl.mk
@@ -15,7 +15,6 @@ HOST_ACL_DEPENDENCIES = host-attr
ACL_INSTALL_STAGING = YES
ACL_CONF_OPTS = --disable-nls
-HOST_ACL_CONF_OPTS = --disable-nls
$(eval $(autotools-package))
$(eval $(host-autotools-package))
diff --git a/package/attr/attr.mk b/package/attr/attr.mk
index 348dcd2..ba77e80 100644
--- a/package/attr/attr.mk
+++ b/package/attr/attr.mk
@@ -12,7 +12,6 @@ ATTR_LICENSE_FILES = doc/COPYING doc/COPYING.LGPL
ATTR_INSTALL_STAGING = YES
ATTR_CONF_OPTS = --disable-nls
-HOST_ATTR_CONF_OPTS = --disable-nls
$(eval $(autotools-package))
$(eval $(host-autotools-package))
diff --git a/package/gcc/gcc-initial/gcc-initial.mk b/package/gcc/gcc-initial/gcc-initial.mk
index 1decca8..f5bc6c5 100644
--- a/package/gcc/gcc-initial/gcc-initial.mk
+++ b/package/gcc/gcc-initial/gcc-initial.mk
@@ -38,7 +38,6 @@ HOST_GCC_INITIAL_CONF_OPTS = \
--disable-threads \
--with-newlib \
--disable-largefile \
- --disable-nls \
$(call qstrip,$(BR2_EXTRA_GCC_CONFIG_OPTIONS))
HOST_GCC_INITIAL_CONF_ENV = \
diff --git a/package/gutenprint/gutenprint.mk b/package/gutenprint/gutenprint.mk
index 65b8d31..6c42319 100644
--- a/package/gutenprint/gutenprint.mk
+++ b/package/gutenprint/gutenprint.mk
@@ -61,8 +61,6 @@ HOST_GUTENPRINT_CONF_OPTS = \
--disable-samples \
--without-gimp2 \
--without-doc \
- --disable-nls \
- --disable-nls-macos \
--without-foomatic \
--without-foomatic3 \
--disable-escputil \
diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk
index 45de993..3f139f8 100644
--- a/package/pkg-autotools.mk
+++ b/package/pkg-autotools.mk
@@ -232,6 +232,8 @@ define $(2)_CONFIGURE_CMDS
--disable-debug \
--with-xmlto=no \
--with-fop=no \
+ --disable-nls \
+ --disable-nls-macos \
$$(if $$($$(PKG)_OVERRIDE_SRCDIR),,--disable-dependency-tracking) \
$$(QUIET) $$($$(PKG)_CONF_OPTS) \
)
diff --git a/package/vim/vim.mk b/package/vim/vim.mk
index 56716cb..c19d835 100644
--- a/package/vim/vim.mk
+++ b/package/vim/vim.mk
@@ -86,8 +86,7 @@ HOST_VIM_CONF_OPTS = \
--without-x \
--disable-acl \
--disable-gpm \
- --disable-selinux \
- --disable-nls
+ --disable-selinux
$(eval $(autotools-package))
$(eval $(host-autotools-package))
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] pkg-autotools-infra: disable NLS for the host by default
2019-04-03 15:40 [Buildroot] [PATCH 1/1] pkg-autotools-infra: disable NLS for the host by default Vadim Kochan
@ 2019-04-03 19:34 ` Thomas Petazzoni
2019-04-03 21:11 ` Vadim Kochan
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2019-04-03 19:34 UTC (permalink / raw)
To: buildroot
Hello,
On Wed, 3 Apr 2019 18:40:55 +0300
Vadim Kochan <vadim4j@gmail.com> wrote:
> From: Vadim Kochan <vadim4j@gmail.com>
>
> There is no need for language translaion feature for the host packages,
> anyway some of them disable it explicitly, so lets do it automatically
> at least for the host-autotools- kind of packages.
>
> Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Thanks for the patch. One question below, though.
> + --disable-nls \
> + --disable-nls-macos \
What is --disable-nls-macos ? Why do we need to pass it even though no
package is passing it right now ?
It should perhaps be a separate patch, or at the very least be
explained in the commit log.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] pkg-autotools-infra: disable NLS for the host by default
2019-04-03 19:34 ` Thomas Petazzoni
@ 2019-04-03 21:11 ` Vadim Kochan
0 siblings, 0 replies; 3+ messages in thread
From: Vadim Kochan @ 2019-04-03 21:11 UTC (permalink / raw)
To: buildroot
Hi Thomas,
On Wed, Apr 03, 2019 at 09:34:22PM +0200, Thomas Petazzoni wrote:
> Hello,
>
> On Wed, 3 Apr 2019 18:40:55 +0300
> Vadim Kochan <vadim4j@gmail.com> wrote:
>
> > From: Vadim Kochan <vadim4j@gmail.com>
> >
> > There is no need for language translaion feature for the host packages,
> > anyway some of them disable it explicitly, so lets do it automatically
> > at least for the host-autotools- kind of packages.
> >
> > Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
>
> Thanks for the patch. One question below, though.
>
> > + --disable-nls \
> > + --disable-nls-macos \
Yeahh, sorry I took it from guterprint, but it should be removed at all.
>
> What is --disable-nls-macos ? Why do we need to pass it even though no
> package is passing it right now ?
>
> It should perhaps be a separate patch, or at the very least be
> explained in the commit log.
>
Regards,
Vadim Kochan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-04-03 21:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-03 15:40 [Buildroot] [PATCH 1/1] pkg-autotools-infra: disable NLS for the host by default Vadim Kochan
2019-04-03 19:34 ` Thomas Petazzoni
2019-04-03 21:11 ` Vadim Kochan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox