All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] dc3dd: gettextize to match newer gettext version
@ 2017-04-03  1:42 Rodrigo Rebello
  2017-04-03 13:09 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Rodrigo Rebello @ 2017-04-03  1:42 UTC (permalink / raw)
  To: buildroot

Because dc3dd is being autoreconfigured and comes with an old gettext
infra, gettextize needs to be called so that the infra is updated to
match the newer version used in Buildroot.

Commit b36d57fab included a patch to add the definition of MKDIR_P to
po/Makefile.in.in in order to fix autobuild failures that ocurred when
host-gettext was built before dc3dd. This patch is no longer necessary
as gettextize adds a new Makefile template which contains the needed
definition, so drop it.

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
---
 .../dc3dd/0003-po-fix-build-with-NLS-enabled.patch | 25 ----------------------
 package/dc3dd/dc3dd.mk                             |  4 +++-
 2 files changed, 3 insertions(+), 26 deletions(-)
 delete mode 100644 package/dc3dd/0003-po-fix-build-with-NLS-enabled.patch

diff --git a/package/dc3dd/0003-po-fix-build-with-NLS-enabled.patch b/package/dc3dd/0003-po-fix-build-with-NLS-enabled.patch
deleted file mode 100644
index 302604450..000000000
--- a/package/dc3dd/0003-po-fix-build-with-NLS-enabled.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 67d8ff286ebd0ea4c8ef5a02a819bbb6b6273ccd Mon Sep 17 00:00:00 2001
-From: "Yann E. MORIN" <yann.morin.1998@free.fr>
-Date: Sun, 2 Apr 2017 10:58:42 +0200
-Subject: [PATCH] po: fix build with NLS enabled
-
-Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
----
- po/Makefile.in.in | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/po/Makefile.in.in b/po/Makefile.in.in
-index 6a39807..2793c7e 100755
---- a/po/Makefile.in.in
-+++ b/po/Makefile.in.in
-@@ -34,6 +34,7 @@ gettextsrcdir = $(datadir)/gettext/po
- INSTALL = @INSTALL@
- INSTALL_DATA = @INSTALL_DATA@
- mkinstalldirs = $(SHELL) @install_sh@ -d
-+MKDIR_P = @MKDIR_P@
- mkdir_p = @mkdir_p@
- 
- GMSGFMT_ = @GMSGFMT@
--- 
-2.9.3
-
diff --git a/package/dc3dd/dc3dd.mk b/package/dc3dd/dc3dd.mk
index a695524f1..cc89bb63d 100644
--- a/package/dc3dd/dc3dd.mk
+++ b/package/dc3dd/dc3dd.mk
@@ -10,7 +10,9 @@ DC3DD_SOURCE = dc3dd-$(DC3DD_VERSION).tar.xz
 DC3DD_SITE = https://downloads.sourceforge.net/project/dc3dd/dc3dd/$(DC3DD_VERSION_MAJOR)
 DC3DD_LICENSE = GPL-3.0+
 DC3DD_LICENSE_FILES = COPYING
-# We are patching the Makefile.am
+# We are patching Makefile.am, so we need to autoreconf. We also need to
+# enable gettextize as dc3dd comes with an old gettext infra.
 DC3DD_AUTORECONF = YES
+DC3DD_GETTEXTIZE = YES
 
 $(eval $(autotools-package))
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] dc3dd: gettextize to match newer gettext version
  2017-04-03  1:42 [Buildroot] [PATCH] dc3dd: gettextize to match newer gettext version Rodrigo Rebello
@ 2017-04-03 13:09 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-04-03 13:09 UTC (permalink / raw)
  To: buildroot

Hello,

On Sun,  2 Apr 2017 22:42:22 -0300, Rodrigo Rebello wrote:
> Because dc3dd is being autoreconfigured and comes with an old gettext
> infra, gettextize needs to be called so that the infra is updated to
> match the newer version used in Buildroot.
> 
> Commit b36d57fab included a patch to add the definition of MKDIR_P to
> po/Makefile.in.in in order to fix autobuild failures that ocurred when
> host-gettext was built before dc3dd. This patch is no longer necessary
> as gettextize adds a new Makefile template which contains the needed
> definition, so drop it.
> 
> Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
> ---
>  .../dc3dd/0003-po-fix-build-with-NLS-enabled.patch | 25 ----------------------
>  package/dc3dd/dc3dd.mk                             |  4 +++-
>  2 files changed, 3 insertions(+), 26 deletions(-)
>  delete mode 100644 package/dc3dd/0003-po-fix-build-with-NLS-enabled.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-03 13:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-03  1:42 [Buildroot] [PATCH] dc3dd: gettextize to match newer gettext version Rodrigo Rebello
2017-04-03 13:09 ` Thomas Petazzoni

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.