From patchwork Mon Jan 7 20:43:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Belisko X-Patchwork-Id: 210237 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 000C72C0086 for ; Tue, 8 Jan 2013 07:44:19 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 47A393102B; Mon, 7 Jan 2013 20:44:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nUNNiNSsFi3I; Mon, 7 Jan 2013 20:44:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id AFFDE30F9C; Mon, 7 Jan 2013 20:44:14 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id F36878F753 for ; Mon, 7 Jan 2013 20:43:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id CB79C8C10C for ; Mon, 7 Jan 2013 20:43:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Szw6zf8IQOWi for ; Mon, 7 Jan 2013 20:43:49 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ea0-f176.google.com (mail-ea0-f176.google.com [209.85.215.176]) by whitealder.osuosl.org (Postfix) with ESMTPS id AD4208C0AE for ; Mon, 7 Jan 2013 20:43:48 +0000 (UTC) Received: by mail-ea0-f176.google.com with SMTP id d13so7776597eaa.7 for ; Mon, 07 Jan 2013 12:43:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=9apo8ihWBbu/y1jpkZIkIV40rNwShSnmx6b13rRiHDc=; b=TEKMaQMgXbrU393VdD8DA8orP6nBpiuGooDhjJg0D8Hr6zZYYJepemGorTRpvfwIyZ oTzI8WFqzJPdj4UW1/Z14feHKjWDYOg0Lsv147npNazB/1CuB8YOsPbiBQ+0U1G43H4/ 1kb+356x25XB4i1dwBbpVakHMHcBbSoqJVFQvrqQAEFXQz6Vn7x8CW3i+8jCsJV314ry 3+y6q3iIHOU/6kyflQHtyf7mpyVi1X0R/aYwP80CkBRfrO0MPLSnVGu8tT1EOQTdT9oN CAdj9vNdCCXTiUuxe0wtZ8PdkIColKhtAcak9wEI0b/E9YPQLuWZ1WgnAWzsxCT8E5J6 ESTA== X-Received: by 10.14.223.200 with SMTP id v48mr168305901eep.24.1357591426877; Mon, 07 Jan 2013 12:43:46 -0800 (PST) Received: from localhost.localdomain (dial-95-105-233-51.orange.sk. [95.105.233.51]) by mx.google.com with ESMTPS id b2sm131266801eep.9.2013.01.07.12.43.45 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Jan 2013 12:43:46 -0800 (PST) From: Marek Belisko To: buildroot@uclibc.org Date: Mon, 7 Jan 2013 21:43:19 +0100 Message-Id: <1357591399-3566-7-git-send-email-marek.belisko@open-nandra.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1357591399-3566-1-git-send-email-marek.belisko@open-nandra.com> References: <1357591399-3566-1-git-send-email-marek.belisko@open-nandra.com> Cc: Thomas Petazzoni , Marek Belisko Subject: [Buildroot] [PATCH v2 6/6] udisks: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net Signed-off-by: Thomas Petazzoni Signed-off-by: Marek Belisko --- package/Config.in | 1 + package/udisks/Config.in | 32 ++++++++++++++++++++++++++++++++ package/udisks/udisks.mk | 28 ++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+) create mode 100644 package/udisks/Config.in create mode 100644 package/udisks/udisks.mk diff --git a/package/Config.in b/package/Config.in index 53bb5be..5968282 100644 --- a/package/Config.in +++ b/package/Config.in @@ -272,6 +272,7 @@ source "package/sysstat/Config.in" source "package/ti-utils/Config.in" source "package/uboot-tools/Config.in" source "package/udev/Config.in" +source "package/udisks/Config.in" source "package/usb_modeswitch/Config.in" source "package/usb_modeswitch_data/Config.in" source "package/usbmount/Config.in" diff --git a/package/udisks/Config.in b/package/udisks/Config.in new file mode 100644 index 0000000..bdc99b3 --- /dev/null +++ b/package/udisks/Config.in @@ -0,0 +1,32 @@ +config BR2_PACKAGE_UDISKS + bool "udisks" + depends on BR2_PACKAGE_UDEV + depends on BR2_PACKAGE_DBUS + select BR2_PACKAGE_SG3_UTILS + select BR2_PACKAGE_UDEV_ALL_EXTRAS + select BR2_PACKAGE_DBUS_GLIB + select BR2_PACKAGE_POLKIT + select BR2_PACKAGE_PARTED #select BR2_PACKAGE_LVM2 + select BR2_PACKAGE_LVM2_DMSETUP_ONLY #devmapper library + select BR2_PACKAGE_LIBATASMART + help + The udisks project provides + + o A storage daemon that implements well-defined D-Bus + interfaces that can be used to query and manipulate + storage devices. + + o a command-line tool, udisks(1), that can be used to query + and use the daemon + + http://www.freedesktop.org/wiki/Software/udisks + +config BR2_PACKAGE_UDISKS_LVM2 + bool "lvm2 support" + depends on BR2_PACKAGE_UDISKS + depends on BR2_PACKAGE_LVM2 + select BR2_PACKAGE_LVM2_APP_LIBRARY + default n + +comment "udisks requires udev and dbus to be enabled" + depends on !BR2_PACKAGE_UDEV || !BR2_PACKAGE_DBUS diff --git a/package/udisks/udisks.mk b/package/udisks/udisks.mk new file mode 100644 index 0000000..19f9da4 --- /dev/null +++ b/package/udisks/udisks.mk @@ -0,0 +1,28 @@ +############################################################# +# +# udisks +# +############################################################# +UDISKS_VERSION = 1.0.4 +UDISKS_SITE = http://hal.freedesktop.org/releases/ +UDISKS_LICENCE = GPLv2+ +UDISKS_LICENCE_FILES = COPYING + +UDISKS_DEPENDENCIES = \ + sg3_utils \ + host-pkgconf \ + udev \ + dbus \ + dbus-glib \ + polkit \ + parted \ + lvm2 \ + libatasmart + +UDISKS_CONF_OPT = --disable-remote-access --disable-gtk-doc + +ifeq ($(BR2_PACKAGE_UDISKS_LVM2),y) +UDISKS_CONF_OPT += --enable-lvm2 +endif + +$(eval $(autotools-package))