summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-11-16 10:33:05 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-11-16 10:33:05 +0000
commit1e092e4caf4317c6522c25064ff04272f38886cb (patch)
tree45747559ee490f94d0af133ac7961772c8f41d0f /app-misc/spacenavd
parentCorrect the filename too. Sorry about that. (diff)
downloadgentoo-2-1e092e4caf4317c6522c25064ff04272f38886cb.tar.gz
gentoo-2-1e092e4caf4317c6522c25064ff04272f38886cb.tar.bz2
gentoo-2-1e092e4caf4317c6522c25064ff04272f38886cb.zip
Refix the whole thing...
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'app-misc/spacenavd')
-rw-r--r--app-misc/spacenavd/spacenavd-0.5-r4.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/app-misc/spacenavd/spacenavd-0.5-r4.ebuild b/app-misc/spacenavd/spacenavd-0.5-r4.ebuild
index 64d04215eb23..ef933772d85c 100644
--- a/app-misc/spacenavd/spacenavd-0.5-r4.ebuild
+++ b/app-misc/spacenavd/spacenavd-0.5-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/spacenavd/spacenavd-0.5-r4.ebuild,v 1.2 2012/11/16 10:29:22 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/spacenavd/spacenavd-0.5-r4.ebuild,v 1.3 2012/11/16 10:33:05 ssuominen Exp $
EAPI="4"
@@ -50,11 +50,8 @@ src_install() {
# Install udev rule but leave activiation to the user
# since Xorg may be configured to grab the device already
- # ^ Above statement doesn't seem to be correct as rules from
- # udevdir are loaded normally. /etc/udev/rules.d is when you
- # do changes to the rules. - ssuominen
insinto "$(udev_get_udevdir)"
- doins "${FILESDIR}"/99-space-navigator.rules
+ newins "${FILESDIR}"/99-space-navigator.rules 99-space-navigator.rules.ignored
# Daemon
dobin "${S}/spacenavd"
@@ -73,6 +70,10 @@ pkg_postinst() {
elog "\`spnavd_ctl x11 start\`"
elog
fi
+ elog
+ elog "If you want to auto-start the daemon when you plug in"
+ elog "a SpaceNavigator device, activate the related udev rule :"
+ elog "\`sudo ln -s $(udev_get_udevdir)/rules.d/99-space-navigator.rules.ignored /etc/udev/rules.d\`"
ewarn "You must restart spnavd \`/etc/init.d/spacenavd restart\` to run"
ewarn "the new version of the daemon."
}