From patchwork Fri Jul 1 16:32:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 643134 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rh24y1PYzz9s9x for ; Sat, 2 Jul 2016 02:32:34 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=ybk6evbz; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id A355BC349E; Fri, 1 Jul 2016 16:32:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MrbrsO2bRgXb; Fri, 1 Jul 2016 16:32:30 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 484CAC3286; Fri, 1 Jul 2016 16:32:30 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 971631C160D for ; Fri, 1 Jul 2016 16:32:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 941E897B04 for ; Fri, 1 Jul 2016 16:32:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BXc98nTSqudG for ; Fri, 1 Jul 2016 16:32:27 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by hemlock.osuosl.org (Postfix) with ESMTPS id 9EBB097B00 for ; Fri, 1 Jul 2016 16:32:27 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id r201so6471230wme.0 for ; Fri, 01 Jul 2016 09:32:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=r80u1pJQ7QnO3po8uRZsZiaNWhkyt1T77ZFhlVw27Gg=; b=ybk6evbzcmz8vU8oqn0vl3GwPOfcVt8wELLqelsDA+V9emFMsg9e7kLMHehrvntKq6 5uSIghZaOIxbBmdkfXGAa6R1iXXRLmGHPRrosBVvUSqobHVOnY0mGaXRusT5gG9s0HxV bHY6zjy7qX+jKMI8bTAA6tagj4KyWS+sXN9mSgQ4lfMdRUDbfYVbG/7y5rZ2EHOpwFjK BIIbRe99XZEWn6ZcUakAdf9ZEMqlROU5Wkh5xgMwFszckjX2v7kRZHA46ZAbCodLI9Ph KEqlJSxfal99GF+YBSsXf8AdL6rliHSJoXluZouiORtg8mG+/GORQNjZrQ2VujNO2A+u 6d4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=r80u1pJQ7QnO3po8uRZsZiaNWhkyt1T77ZFhlVw27Gg=; b=C/YYxtLiUqBVPdvrRTFbQUG23hDkSxh4jdDobRpTPYoSZOP6rks8lCXClHIULkZF+Y zU4QB20MTvM+9bHM4YzmgC86rKB0Hf4c0zZYo7L38W/DyZNSOZDM8htt+vHDWph3QbgG 8JgZz9nCa5CXG4q0Wf49xczBVVB8HX3Z60yjxWngxBUW4QszLHMQhkXuTQDRAonEhPaN YVqm/PFrdnAhUQKaPyb4hiCE/OBJa+OP3jJKGpPBGGvOfkhvYy2jnMlNwuVPp14nRV4z UnRDJkTXxOPfyC/yi+epttf6HPQVmEv3ex05tOPeainlOpCYL2Nj9fsbtrBXl5oArLL1 ufpw== X-Gm-Message-State: ALyK8tLa/jwgmEXV/hLC9K9uYBBaTktIZFp9ROxy7Hm2AWrAyqQ+PKVD8yvv+Erro8/eZQ== X-Received: by 10.194.120.167 with SMTP id ld7mr4879014wjb.69.1467390746043; Fri, 01 Jul 2016 09:32:26 -0700 (PDT) Received: from atlas.home ([2a01:cb19:84c0:6b00:290:f5ff:fed8:79ac]) by smtp.gmail.com with ESMTPSA id x10sm1020203wjj.14.2016.07.01.09.32.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Jul 2016 09:32:25 -0700 (PDT) From: Romain Naour X-Google-Original-From: Romain Naour To: buildroot@buildroot.org Date: Fri, 1 Jul 2016 18:32:22 +0200 Message-Id: <1467390742-19307-1-git-send-email-romain.naour@smile.fr> X-Mailer: git-send-email 2.5.5 Cc: Romain Naour , Joris Lijssens Subject: [Buildroot] [PATCH v4] package/libuio: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Joris Lijssens [Romain: fix autoreconf issue by using GETTEXTIZE and AUTORECONF fix issue with missing makeinfo move version number comment in .mk] Signed-off-by: Joris Lijssens Signed-off-by: Romain Naour --- package/Config.in | 1 + .../0001-configure-remove-po-Makefile.in.patch | 26 +++++++++++++++++++++ package/libuio/Config.in | 8 +++++++ package/libuio/libuio.hash | 2 ++ package/libuio/libuio.mk | 27 ++++++++++++++++++++++ 5 files changed, 64 insertions(+) create mode 100644 package/libuio/0001-configure-remove-po-Makefile.in.patch create mode 100644 package/libuio/Config.in create mode 100644 package/libuio/libuio.hash create mode 100644 package/libuio/libuio.mk diff --git a/package/Config.in b/package/Config.in index f120025..280be4b 100644 --- a/package/Config.in +++ b/package/Config.in @@ -410,6 +410,7 @@ endif source "package/iucode-tool/Config.in" source "package/kbd/Config.in" source "package/lcdproc/Config.in" + source "package/libuio/Config.in" source "package/libump/Config.in" source "package/linux-backports/Config.in" source "package/lirc-tools/Config.in" diff --git a/package/libuio/0001-configure-remove-po-Makefile.in.patch b/package/libuio/0001-configure-remove-po-Makefile.in.patch new file mode 100644 index 0000000..067465c --- /dev/null +++ b/package/libuio/0001-configure-remove-po-Makefile.in.patch @@ -0,0 +1,26 @@ +From c5fa0b778e1c2a7d03ff6e661bdfa2faef878f68 Mon Sep 17 00:00:00 2001 +From: Romain Naour +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 +--- + 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 + diff --git a/package/libuio/Config.in b/package/libuio/Config.in new file mode 100644 index 0000000..97be1e3 --- /dev/null +++ b/package/libuio/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_LIBUIO + bool "libuio" + select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL + help + libuio is a light-weight C programming library to handle UIO + (Userspace I/O) device discovery and binding task. + + http://github.com/Linutronix/libuio diff --git a/package/libuio/libuio.hash b/package/libuio/libuio.hash new file mode 100644 index 0000000..6afe7de --- /dev/null +++ b/package/libuio/libuio.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 57f9617f75d20f7912b270568cffdf098fe9d0c1ca690c002e949be8424aa4e6 libuio-940861de278cb794bf9d775b76a4d1d4f9108607.tar.gz diff --git a/package/libuio/libuio.mk b/package/libuio/libuio.mk new file mode 100644 index 0000000..cead7f2 --- /dev/null +++ b/package/libuio/libuio.mk @@ -0,0 +1,27 @@ +################################################################################ +# +# libuio +# +################################################################################ + +# v0.2.7 +LIBUIO_VERSION = 940861de278cb794bf9d775b76a4d1d4f9108607 +LIBUIO_SITE = $(call github,Linutronix,libuio,$(LIBUIO_VERSION)) +LIBUIO_LICENSE = LGPLv2.1 +LIBUIO_LICENSE_FILES = COPYING +LIBUIO_CONF_OPTS = --with-glib=no +LIBUIO_INSTALL_STAGING = YES + +# Fetched from github, no pre-generated configure script provided +LIBUIO_GETTEXTIZE = YES +LIBUIO_AUTORECONF = YES + +# Avoid build issue when makeinfo is missing +LIBUIO_CONF_ENV += MAKEINFO=true + +ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) +LIBUIO_DEPENDENCIES += argp-standalone +LIBUIO_CONF_ENV += LIBS="-largp" +endif + +$(eval $(autotools-package))