Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xorgtesting.git;a=commitdiff;h=17427a9ddbbcb6d64db8c8c6b6af6d7c29a3843b
commit 17427a9ddbbcb6d64db8c8c6b6af6d7c29a3843b Author: bouleetbil <[email protected]> Date: Tue Jul 12 21:35:42 2011 +0200 gnome-bluetooth-3.0.1-2-x86_64 *fix udev rules diff --git a/source/gnome/gnome-bluetooth/FrugalBuild b/source/gnome/gnome-bluetooth/FrugalBuild index 3a54ee8..fffa992 100644 --- a/source/gnome/gnome-bluetooth/FrugalBuild +++ b/source/gnome/gnome-bluetooth/FrugalBuild @@ -3,7 +3,7 @@ pkgname=gnome-bluetooth pkgver=3.0.1 -pkgrel=1 +pkgrel=2 pkgdesc="The GNOME Bluetooth Subsystem." url="http://www.usefulinc.com/software/gnome-bluetooth/" makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils' 'gobject-introspection') @@ -15,7 +15,9 @@ _F_gnome_glib="y" _F_gnome_scrollkeeper="y" _F_gnome_iconcache="y" Finclude gnome gnome-scriptlet -sha1sums=('3620bdebdfb93ef856ed4762a179cc99428a67e4') +source=($source gnome-bluetooth-rfkill.rules) +sha1sums=('3620bdebdfb93ef856ed4762a179cc99428a67e4' \ + 'dfdae8371cc3febe90f5f019f3c2362feeb5977e') replaces=('bluez-gnome' 'gnome-phone-manager' 'gnome-bluetooth-nautilus-sendto') provides=('bluez-gnome' 'gnome-bluetooth-nautilus-sendto') conflicts=('bluez-gnome') @@ -34,6 +36,8 @@ build() { Frm usr/share/applications/mimeinfo.cache Fbuild_gnome_scriptlet #Fsplit $pkgname-nautilus-sendto usr/lib/nautilus-sendto + Fmkdir lib/udev/rules.d/ + Fcp gnome-bluetooth-rfkill.rules lib/udev/rules.d/61-gnome-bluetooth-rfkill.rules } # optimization OK diff --git a/source/gnome/gnome-bluetooth/gnome-bluetooth-rfkill.rules b/source/gnome/gnome-bluetooth/gnome-bluetooth-rfkill.rules new file mode 100644 index 0000000..11f2b91 --- /dev/null +++ b/source/gnome/gnome-bluetooth/gnome-bluetooth-rfkill.rules @@ -0,0 +1,12 @@ +# Get access to /dev/rfkill for users +# See https://bugzilla.redhat.com/show_bug.cgi?id=514798 +# +# Updated for udev >= 154 +# http://bugs.debian.org/582188 +# https://bugzilla.redhat.com/show_bug.cgi?id=588660 + +ENV{ACL_MANAGE}=="0", GOTO="gnome_bluetooth_end" +ACTION!="add|change", GOTO="gnome_bluetooth_end" +KERNEL=="rfkill", TAG+="udev-acl" +LABEL="gnome_bluetooth_end" + _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
