[Buildroot] [PATCH 1/1] package/debianutils: bump version to 5.7-0.2

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Jul 26 20:04:05 UTC 2022


Hello Petr,

On Tue, 26 Jul 2022 21:38:10 +0200
Petr Vorel <pevik at seznam.cz> wrote:

> From: Petr Vorel <petr.vorel at gmail.com>
> 
> debian/copyright has been moved to a different tarball
> (debianutils_5.7-0.2.debian.tar.xz) which does not contain the source
> code, thus build from salsa git instead of tarball from
> https://snapshot.debian.org/.
> 
> Add patch to disable po4a (unnecessary dependency just to get
> translations).
> 
> Signed-off-by: Petr Vorel <petr.vorel at gmail.com>
> ---
>  package/debianutils/0001-Disable-po4a.patch | 25 +++++++++++++++++++++
>  package/debianutils/debianutils.hash        |  6 ++---
>  package/debianutils/debianutils.mk          |  7 +++---
>  3 files changed, 32 insertions(+), 6 deletions(-)
>  create mode 100644 package/debianutils/0001-Disable-po4a.patch
> 
> diff --git a/package/debianutils/0001-Disable-po4a.patch b/package/debianutils/0001-Disable-po4a.patch
> new file mode 100644
> index 0000000000..2af9a93279
> --- /dev/null
> +++ b/package/debianutils/0001-Disable-po4a.patch
> @@ -0,0 +1,25 @@
> +From 7134952f97ad5afb208e270571afbfe12670cc14 Mon Sep 17 00:00:00 2001
> +From: Petr Vorel <petr.vorel at gmail.com>
> +Date: Mon, 25 Jul 2022 12:59:45 +0200
> +Subject: [PATCH] Disable po4a
> +
> +Signed-off-by: Petr Vorel <petr.vorel at gmail.com>
> +---
> + Makefile.am | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/Makefile.am b/Makefile.am
> +index 86ac499..7c61896 100644
> +--- a/Makefile.am
> ++++ b/Makefile.am
> +@@ -1,6 +1,6 @@
> + AUTOMAKE_OPTIONS = foreign
> + 
> +-SUBDIRS = po4a
> ++# SUBDIRS = po4a

We already have a po4a directory in the current version of debianutils.
Why suddenly do we have to remove this?

I'm also a bit annoyed by patches like this that we cannot upstream
(and therefore have to keep forever), and that require AUTORECONF :-/

Do we have a better solution?

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com



More information about the buildroot mailing list