[arch-commits] Commit in gnome-bluetooth/trunk (3 files)
Ionut Biru
ibiru at archlinux.org
Mon Jul 19 13:00:31 UTC 2010
Date: Monday, July 19, 2010 @ 09:00:31
Author: ibiru
Revision: 85760
Get access to /dev/rfkill for users. Thanks fedora
Added:
gnome-bluetooth/trunk/61-gnome-bluetooth-rfkill.rules
Modified:
gnome-bluetooth/trunk/PKGBUILD
gnome-bluetooth/trunk/gnome-bluetooth.install
---------------------------------+
61-gnome-bluetooth-rfkill.rules | 11 +++++++++++
PKGBUILD | 12 ++++++++----
gnome-bluetooth.install | 3 ---
3 files changed, 19 insertions(+), 7 deletions(-)
Added: 61-gnome-bluetooth-rfkill.rules
===================================================================
--- 61-gnome-bluetooth-rfkill.rules (rev 0)
+++ 61-gnome-bluetooth-rfkill.rules 2010-07-19 13:00:31 UTC (rev 85760)
@@ -0,0 +1,11 @@
+# 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"
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-07-19 11:43:39 UTC (rev 85759)
+++ PKGBUILD 2010-07-19 13:00:31 UTC (rev 85760)
@@ -4,7 +4,7 @@
pkgname=gnome-bluetooth
pkgver=2.30.0
-pkgrel=2
+pkgrel=3
pkgdesc="The GNOME Bluetooth Subsystem"
arch=('i686' 'x86_64')
url="http://live.gnome.org/GnomeBluetooth"
@@ -14,9 +14,11 @@
replaces=('bluez-gnome')
conflicts=('bluez-gnome')
options=('!libtool' '!emptydirs' '!makeflags')
-install=${pkgname}.install
-source=("http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/2.30/${pkgname}-${pkgver}.tar.bz2")
-sha256sums=('4caafa8c28195c81d8c51414f3a64489f81b9b46cac56979aeaaff8c9ebb78d4')
+install=gnome-bluetooth.install
+source=("http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/2.30/${pkgname}-${pkgver}.tar.bz2"
+ 61-gnome-bluetooth-rfkill.rules)
+md5sums=('eb88212922037eb9751f0fcedb9c166e'
+ '9fb6c8dcb5a3de3a953bf2ef42063e6e')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -36,4 +38,6 @@
gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" \
--domain gnome-bluetooth2 ${pkgdir}/etc/gconf/schemas/*.schemas
rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
+ install -m644 -D "${srcdir}/61-gnome-bluetooth-rfkill.rules" \
+ "${pkgdir}/lib/udev/rules.d//61-gnome-bluetooth-rfkill.rules"
}
Modified: gnome-bluetooth.install
===================================================================
--- gnome-bluetooth.install 2010-07-19 11:43:39 UTC (rev 85759)
+++ gnome-bluetooth.install 2010-07-19 13:00:31 UTC (rev 85760)
@@ -3,9 +3,6 @@
post_install() {
usr/sbin/gconfpkg --install ${pkgname}
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-
- echo "NOTE: You have to add your user to rfkill group because read/write"
- echo " access to the /dev/rfkill device is required by gnome-bluetooth"
}
pre_upgrade() {
More information about the arch-commits
mailing list