package/libuio: migrate to new autopoint flag

Drop patch that is no longer necessary after moving to new package flag.
Add patch to fix builds due to missing required files.

Signed-off-by: Vincent Fazio <vfazio@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
Vincent Fazio 2023-02-21 11:21:59 -06:00 committed by Arnout Vandecappelle
parent b21fc7532c
commit cf7b3a1a36
3 changed files with 32 additions and 27 deletions

View File

@ -1,26 +0,0 @@
From c5fa0b778e1c2a7d03ff6e661bdfa2faef878f68 Mon Sep 17 00:00:00 2001
From: Romain Naour <romain.naour@smile.fr>
Date: Fri, 1 Jul 2016 17:56:30 +0200
Subject: [PATCH] configure: remove po/Makefile.in
The file po/Makefile.in is automatically added to AC_OUTPUT while using gettexize
Signed-off-by: Romain Naour <romain.naour@smile.fr>
---
configure.ac | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index f7fb40f..a25e463 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,5 +55,4 @@ dnl last but not least
AC_OUTPUT([Makefile
libuio.dox
libuio-uninstalled.pc
- libuio.pc
- po/Makefile.in])
+ libuio.pc])
--
2.5.5

View File

@ -0,0 +1,31 @@
From 546e07b2405455c03b7eb0d392c331e189913bc4 Mon Sep 17 00:00:00 2001
From: Vincent Fazio <vfazio@xes-inc.com>
Date: Tue, 31 Jan 2023 19:06:29 -0600
Subject: [PATCH] configure.ac: set automake strictness to foreign
libuio does not conform to the GNU's strict layout requirements. [1]
Set the strictness to foreign to account for this.
[1] https://www.gnu.org/software/automake/manual/html_node/Strictness.html
Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 101abd3..ef46171 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
dnl Every other copy of the package version number gets its value from here
AC_INIT(libuio, 0.2.8, https://github.com/linutronix/libuio/issues)
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([foreign])
AM_CONFIG_HEADER(config.h)
--
2.25.1

View File

@ -14,7 +14,7 @@ LIBUIO_LIBS = $(TARGET_NLS_LIBS)
LIBUIO_INSTALL_STAGING = YES
# Fetched from github, no pre-generated configure script provided
LIBUIO_GETTEXTIZE = YES
LIBUIO_AUTOPOINT = YES
LIBUIO_AUTORECONF = YES
# Avoid build issue when makeinfo is missing