udisks: bump to version 1.0.5
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Wed, 2 Sep 2015 14:21:19 +0000 (15:21 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 7 Sep 2015 21:39:34 +0000 (23:39 +0200)
This version depends on libgudev when using systemd, otherwise it fails
with an error like this one:

checking for GUDEV... no
configure: error: Package requirements (gudev-1.0 >= 147) were not met:

[Peter: add to _DEPENDENCIES, not _CONF_OPTS]
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/udisks/Config.in
package/udisks/udisks.hash
package/udisks/udisks.mk

index a5da2bfba7be4095610a46439a2f08c4a36c141c..f24df03ab714b883e218a613a19c402973d75cda 100644 (file)
@@ -12,6 +12,12 @@ config BR2_PACKAGE_UDISKS
        select BR2_PACKAGE_PARTED
        select BR2_PACKAGE_LVM2
        select BR2_PACKAGE_LIBATASMART
+       # When eudev is used as the udev provider, libgudev is automatically
+       # provided as it is part of eudev. However, when systemd is used as
+       # the udev provider, libgudev is not provided, and needs to be built
+       # separately. This is why we select the libgudev package only if
+       # systemd is used.
+       select BR2_PACKAGE_LIBGUDEV if BR2_PACKAGE_SYSTEMD
        help
          The udisks project provides
 
index 5debfd53d2bfe05dd6c6f5b4464db53a93aa1420..7ad4326b1c483ebc91f52db892cf26eb8e449a76 100644 (file)
@@ -1,2 +1,2 @@
 # Locally calculated
-sha256 854b89368733b9c3a577101b761ad5397ae75a05110c8698ac5b29de9a8bf8f5        udisks-1.0.4.tar.gz
+sha256 f2ec82eb0ea7e01dc299b5b29b3c18cdf861236ec43dcff66b3552b4b31c6f71  udisks-1.0.5.tar.gz
index 7a241069c8ceea4c4bed74bdd636dae61757d144..bea94522a6dde025e8cfb56ef7fdb6e154cf1b7e 100644 (file)
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-UDISKS_VERSION = 1.0.4
+UDISKS_VERSION = 1.0.5
 UDISKS_SITE = http://hal.freedesktop.org/releases
 UDISKS_LICENSE = GPLv2+
 UDISKS_LICENSE_FILES = COPYING
@@ -22,6 +22,15 @@ UDISKS_DEPENDENCIES =        \
 
 UDISKS_CONF_OPTS = --disable-remote-access --disable-man-pages
 
+# When eudev is used as the udev provider, libgudev is automatically
+# provided as it is part of eudev. However, when systemd is used as the
+# udev provider, libgudev is not provided, and needs to be built
+# separately. This is why we select the libgudev package only if systemd
+# is used.
+ifeq ($(BR2_PACKAGE_SYSTEMD),y)
+UDISKS_DEPENDENCIES += libgudev
+endif
+
 ifeq ($(BR2_PACKAGE_UDISKS_LVM2),y)
 UDISKS_CONF_OPTS += --enable-lvm2
 endif