From e8db74cfb1525e412d2c5a2cd7f85f3fbdbe79b2 Mon Sep 17 00:00:00 2001 From: Andreas Müller Date: Tue, 9 Apr 2019 00:42:54 +0200 Subject: udisks2: upgrade 2.8.1 -> 2.8.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit >From release shortlog [1]: | The 2.8.2 release brings mostly bugfixes without any changes to the public API. Notable changes include: | | * migration from intltool to gettext, udisks no longer depends on gnome-common | * added 'windows_names' as a default mount option for ntfs-3g | * fixed an issue potentially leading to open filedescriptors exhaustion OE-Notes: * Follow changes mentioned in announcement * Rename recipe and move PV into recipe [1] https://github.com/storaged-project/udisks/releases Signed-off-by: Andreas Müller Signed-off-by: Khem Raj --- meta-oe/recipes-support/udisks/udisks2_2.8.1.bb | 50 ---------------------- meta-oe/recipes-support/udisks/udisks2_git.bb | 55 +++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 50 deletions(-) delete mode 100644 meta-oe/recipes-support/udisks/udisks2_2.8.1.bb create mode 100644 meta-oe/recipes-support/udisks/udisks2_git.bb (limited to 'meta-oe/recipes-support/udisks') diff --git a/meta-oe/recipes-support/udisks/udisks2_2.8.1.bb b/meta-oe/recipes-support/udisks/udisks2_2.8.1.bb deleted file mode 100644 index 3f2130ecd..000000000 --- a/meta-oe/recipes-support/udisks/udisks2_2.8.1.bb +++ /dev/null @@ -1,50 +0,0 @@ -SUMMARY = "udisks provides dbus interfaces for disks and storage devices" -LICENSE = "GPLv2+ & LGPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=dd79f6dbbffdbc8e86b086a8f0c0ef43" - -DEPENDS = " \ - acl \ - libatasmart \ - polkit \ - libgudev \ - dbus-glib \ - glib-2.0 \ - libblockdev \ - intltool-native \ - gnome-common-native \ - libxslt-native \ -" -DEPENDS += "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" - -RDEPENDS_${PN} = "acl" - -SRC_URI = " \ - git://github.com/storaged-project/udisks.git;branch=master \ - file://non-gnu-libc.patch \ -" -SRCREV = "05ae471be3c2adf2255b3a01edb00bba06e02afb" -S = "${WORKDIR}/git" - -CVE_PRODUCT = "udisks" - -inherit autotools systemd gtk-doc gobject-introspection distro_features_check - -REQUIRED_DISTRO_FEATURES = "polkit" - -EXTRA_OECONF = "--disable-man --disable-gtk-doc" - -FILES_${PN} += " \ - ${datadir}/dbus-1/ \ - ${datadir}/polkit-1 \ - ${datadir}/bash-completion \ - ${libdir}/polkit-1/extensions/*.so \ - ${nonarch_base_libdir}/udev/* \ - ${exec_prefix}${nonarch_base_libdir}/udisks2/* \ - ${systemd_system_unitdir} \ -" - -PACKAGES =+ "${PN}-libs" -FILES_${PN}-libs = "${libdir}/lib*${SOLIBS}" - -SYSTEMD_SERVICE_${PN} = "${BPN}.service" -SYSTEMD_AUTO_ENABLE = "disable" diff --git a/meta-oe/recipes-support/udisks/udisks2_git.bb b/meta-oe/recipes-support/udisks/udisks2_git.bb new file mode 100644 index 000000000..9c9e5e52a --- /dev/null +++ b/meta-oe/recipes-support/udisks/udisks2_git.bb @@ -0,0 +1,55 @@ +SUMMARY = "udisks provides dbus interfaces for disks and storage devices" +LICENSE = "GPLv2+ & LGPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=dd79f6dbbffdbc8e86b086a8f0c0ef43" + +DEPENDS = " \ + acl \ + libatasmart \ + polkit \ + libgudev \ + dbus-glib \ + glib-2.0 \ + libblockdev \ + libxslt-native \ +" +DEPENDS += "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" + +RDEPENDS_${PN} = "acl" + +SRC_URI = " \ + git://github.com/storaged-project/udisks.git;branch=master \ + file://non-gnu-libc.patch \ +" +PV = "2.8.2" +SRCREV = "7a787aa3b340fc7f1ca72d748635d6c5445edc58" +S = "${WORKDIR}/git" + +CVE_PRODUCT = "udisks" + +inherit autotools systemd gtk-doc gobject-introspection gettext distro_features_check + +REQUIRED_DISTRO_FEATURES = "polkit" + +EXTRA_OECONF = "--disable-man --disable-gtk-doc" + +do_configure_prepend() { + # | configure.ac:656: error: required file 'build-aux/config.rpath' not found + mkdir -p ${S}/build-aux + touch ${S}/build-aux/config.rpath +} + +FILES_${PN} += " \ + ${datadir}/dbus-1/ \ + ${datadir}/polkit-1 \ + ${datadir}/bash-completion \ + ${libdir}/polkit-1/extensions/*.so \ + ${nonarch_base_libdir}/udev/* \ + ${exec_prefix}${nonarch_base_libdir}/udisks2/* \ + ${systemd_system_unitdir} \ +" + +PACKAGES =+ "${PN}-libs" +FILES_${PN}-libs = "${libdir}/lib*${SOLIBS}" + +SYSTEMD_SERVICE_${PN} = "${BPN}.service" +SYSTEMD_AUTO_ENABLE = "disable" -- cgit v1.2.3-54-g00ecf