wok-next diff udisks/receipt @ rev 20715

Up nsd (4.1.21)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 13:10:46 2018 +0300 (2018-05-27)
parents 5c189fc65a98
children f48456621a9d
line diff
     1.1 --- a/udisks/receipt	Wed Apr 25 22:28:07 2018 +0300
     1.2 +++ b/udisks/receipt	Sun May 27 13:10:46 2018 +0300
     1.3 @@ -1,53 +1,51 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="udisks"
     1.7 -VERSION="1.0.4"
     1.8 +VERSION="1.0.5"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="D-Bus interfaces to query and manipulate storage devices"
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13  WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks"
    1.14 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/udisks.html"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="http://hal.freedesktop.org/releases/$TARBALL"
    1.18  
    1.19  BUILD_DEPENDS="libatasmart-dev eudev-dev sg3_utils-dev libgudev-dev \
    1.20 -polkit-dev dbus-dev dbus-glib-dev pcre-dev dbus-dev parted-dev libdevmapper-dev \
    1.21 -util-linux-blkid-dev util-linux-uuid-dev intltool"
    1.22 +polkit-dev dbus-dev dbus-glib-dev pcre-dev dbus-dev parted-dev \
    1.23 +libdevmapper-dev util-linux-blkid-dev util-linux-uuid-dev intltool libxslt \
    1.24 +docbook-xsl"
    1.25  SPLIT="udisks-dev"
    1.26  
    1.27  compile_rules() {
    1.28 +	# fix glibc-2.24 issue
    1.29 +	sed 's@#include <stdio\.h>@#include <sys/stat.h>\n#include <stdio.h>@' \
    1.30 +		-i src/helpers/job-drive-detach.c
    1.31 +
    1.32  	./configure \
    1.33 -		--libexecdir=/usr/lib/udisks \
    1.34 -		--disable-static \
    1.35  		--disable-remote-access \
    1.36 -		--disable-gtk-doc-html \
    1.37  		$CONFIGURE_ARGS &&
    1.38  	fix libtool &&
    1.39  	make &&
    1.40 -	make install
    1.41 +	make \
    1.42 +		profiledir=/etc/bash_completion.d \
    1.43 +		install || return 1
    1.44 +
    1.45 +	# we don't have consolekit and don't want systemd so we need
    1.46 +	# a rule to give disk group complete access to udisks2
    1.47 +	# methods without password.
    1.48 +	install -Dm644 $stuff/org.freedesktop.udisks.pkla \
    1.49 +		$install/etc/polkit-1/localauthority/90-mandatory.d/org.freedesktop.udisks.pkla
    1.50  }
    1.51  
    1.52  genpkg_rules() {
    1.53  	case $PACKAGE in
    1.54  		udisks)
    1.55 -			mkdir -p $fs/etc/polkit-1/localauthority/90-mandatory.d \
    1.56 -				$fs/usr/lib/udev $fs/usr/share $fs/etc/udev
    1.57 -			cp -a $install/etc/dbus-1 $fs/etc
    1.58 -			cp -a $install/lib/udev/rules.d $fs/etc/udev
    1.59 -			cp -a $install/lib/udev/udisks* $fs/usr/lib/udev/
    1.60 -			cp -a $install/usr/bin $fs/usr
    1.61 -			cp -a $install/sbin $fs
    1.62 -			cp -a $install/usr/lib/udisks $fs/usr/lib
    1.63 -			cp -a $install/usr/share/*-1 $fs/usr/share
    1.64 -			#we don't have consolekit and don't want systemd so we need
    1.65 -			#a rule to give disk group complete access to udisks2
    1.66 -			#methods without password.
    1.67 -			cp $stuff/org.freedesktop.udisks.pkla \
    1.68 -				$fs/etc/polkit-1/localauthority/90-mandatory.d
    1.69 -			DEPENDS="libatasmart eudev libsgutils2 sg3_utils libgudev polkit \
    1.70 -			dbus util-linux-blkid dbus-helper parted libdevmapper glib \
    1.71 -			util-linux-mount lsof"
    1.72 +			copy @std
    1.73 +			DEPENDS="dbus dbus-glib eudev glib libatasmart libdevmapper \
    1.74 +			libgudev libsgutils2 parted polkit   bash sg3_utils \
    1.75 +			util-linux-blkid dbus-helper util-linux-mount lsof" # not sure...
    1.76  			;;
    1.77  		*-dev)
    1.78  			copy @dev