diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2010-12-16 23:23:47 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2010-12-16 23:23:47 +0000 |
commit | d454b59a44f68c233575c9d00a6076f540253eb5 (patch) | |
tree | fee9bb5a6663c65f6d7f25bb4329d48eb7118f81 /net-wireless | |
parent | Add meta for Gnome 2.32. (diff) | |
download | gentoo-2-d454b59a44f68c233575c9d00a6076f540253eb5.tar.gz gentoo-2-d454b59a44f68c233575c9d00a6076f540253eb5.tar.bz2 gentoo-2-d454b59a44f68c233575c9d00a6076f540253eb5.zip |
Add udev rules in order to get rfkill control, bug #315351.
(Portage version: 2.2.0_alpha8/cvs/Linux x86_64)
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/gnome-bluetooth/ChangeLog | 6 | ||||
-rw-r--r-- | net-wireless/gnome-bluetooth/files/80-rfkill.rules | 5 | ||||
-rw-r--r-- | net-wireless/gnome-bluetooth/gnome-bluetooth-2.32.0.ebuild | 15 |
3 files changed, 22 insertions, 4 deletions
diff --git a/net-wireless/gnome-bluetooth/ChangeLog b/net-wireless/gnome-bluetooth/ChangeLog index dc2424d4143b..4fbc4995a302 100644 --- a/net-wireless/gnome-bluetooth/ChangeLog +++ b/net-wireless/gnome-bluetooth/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-wireless/gnome-bluetooth # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/gnome-bluetooth/ChangeLog,v 1.82 2010/11/02 21:47:24 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/gnome-bluetooth/ChangeLog,v 1.83 2010/12/16 23:23:47 eva Exp $ + + 16 Dec 2010; Gilles Dartiguelongue <eva@gentoo.org> +files/80-rfkill.rules, + gnome-bluetooth-2.32.0.ebuild: + Add udev rules in order to get rfkill control, bug #315351. 02 Nov 2010; Gilles Dartiguelongue <eva@gentoo.org> -gnome-bluetooth-0.12.0.ebuild: diff --git a/net-wireless/gnome-bluetooth/files/80-rfkill.rules b/net-wireless/gnome-bluetooth/files/80-rfkill.rules new file mode 100644 index 000000000000..61f9ca5eb0d1 --- /dev/null +++ b/net-wireless/gnome-bluetooth/files/80-rfkill.rules @@ -0,0 +1,5 @@ +# do not edit this file, it will be overwritten on update + +# network +KERNEL=="rfkill", GROUP="plugdev", MODE="0664" + diff --git a/net-wireless/gnome-bluetooth/gnome-bluetooth-2.32.0.ebuild b/net-wireless/gnome-bluetooth/gnome-bluetooth-2.32.0.ebuild index f37c822c0ac6..1d7f81f2d58f 100644 --- a/net-wireless/gnome-bluetooth/gnome-bluetooth-2.32.0.ebuild +++ b/net-wireless/gnome-bluetooth/gnome-bluetooth-2.32.0.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/gnome-bluetooth/gnome-bluetooth-2.32.0.ebuild,v 1.2 2010/10/22 21:34:36 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/gnome-bluetooth/gnome-bluetooth-2.32.0.ebuild,v 1.3 2010/12/16 23:23:47 eva Exp $ EAPI="3" -inherit eutils gnome2 +inherit eutils gnome2 multilib DESCRIPTION="Fork of bluez-gnome focused on integration with GNOME" HOMEPAGE="http://live.gnome.org/GnomeBluetooth" @@ -22,7 +22,8 @@ COMMON_DEPEND=">=dev-libs/glib-2.25.7:2 nautilus? ( >=gnome-extra/nautilus-sendto-2.31.7 )" RDEPEND="${COMMON_DEPEND} >=net-wireless/bluez-4.34 - app-mobilephone/obexd" + app-mobilephone/obexd + sys-fs/udev" DEPEND="${COMMON_DEPEND} !!net-wireless/bluez-gnome app-text/gnome-doc-utils @@ -47,6 +48,8 @@ pkg_setup() { --disable-desktop-update --disable-icon-update" DOCS="AUTHORS README NEWS ChangeLog" + + enewgroup plugdev } src_install() { @@ -57,6 +60,9 @@ src_install() { find "${ED}"/usr/$(get_libdir)/nautilus-sendto/plugins -name "*.la" -delete \ || die "la file removal failed (1)" fi + + insinto /$(get_libdir)/udev/rules.d + doins "${FILESDIR}"/80-rfkill.rules || die "udev rules installation failed" } pkg_preinst() { @@ -67,4 +73,7 @@ pkg_preinst() { pkg_postinst() { gnome2_pkg_postinst preserve_old_lib_notify /usr/$(get_libdir)/libgnome-bluetooth.so.7 + + elog "Don't forget to add yourself to the plugdev group " + elog "if you want to be able to control bluetooth transmitter." } |