From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 71D381387FD for ; Sun, 30 Mar 2014 09:53:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A0AA6E0AA2; Sun, 30 Mar 2014 09:53:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 033D0E0AA2 for ; Sun, 30 Mar 2014 09:53:06 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DB01033FD85 for ; Sun, 30 Mar 2014 09:53:05 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2262) id 5CB9520057; Sun, 30 Mar 2014 09:53:03 +0000 (UTC) From: "Pacho Ramos (pacho)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, pacho@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in app-misc/spacenavd: spacenavd-0.5-r5.ebuild ChangeLog X-VCS-Repository: gentoo-x86 X-VCS-Files: spacenavd-0.5-r5.ebuild ChangeLog X-VCS-Directories: app-misc/spacenavd X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20140330095303.5CB9520057@flycatcher.gentoo.org> Date: Sun, 30 Mar 2014 09:53:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 6b8ec094-69b5-4d0b-b163-57795717fe2b X-Archives-Hash: c421e732e7965574d41a7fab5e437d61 pacho 14/03/30 09:53:03 Modified: ChangeLog Added: spacenavd-0.5-r5.ebuild Log: Add systemd support (#506008 by Anthoine Bourgeois) (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) Revision Changes Path 1.16 app-misc/spacenavd/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/spacenavd/ChangeLog?rev=1.16&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/spacenavd/ChangeLog?rev=1.16&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/spacenavd/ChangeLog?r1=1.15&r2=1.16 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/app-misc/spacenavd/ChangeLog,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- ChangeLog 17 Mar 2013 17:03:15 -0000 1.15 +++ ChangeLog 30 Mar 2014 09:53:03 -0000 1.16 @@ -1,6 +1,13 @@ # ChangeLog for app-misc/spacenavd -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/spacenavd/ChangeLog,v 1.15 2013/03/17 17:03:15 hwoarang Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/spacenavd/ChangeLog,v 1.16 2014/03/30 09:53:03 pacho Exp $ + +*spacenavd-0.5-r5 (30 Mar 2014) + + 30 Mar 2014; Pacho Ramos + +files/99-space-navigator.rules-r1, +files/spacenavd.service, + +spacenavd-0.5-r5.ebuild: + Add systemd support (#506008 by Anthoine Bourgeois) 17 Mar 2013; Markos Chandras metadata.xml: Add proxy-maintainers to metadata.xml 1.1 app-misc/spacenavd/spacenavd-0.5-r5.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/spacenavd/spacenavd-0.5-r5.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/spacenavd/spacenavd-0.5-r5.ebuild?rev=1.1&content-type=text/plain Index: spacenavd-0.5-r5.ebuild =================================================================== # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-misc/spacenavd/spacenavd-0.5-r5.ebuild,v 1.1 2014/03/30 09:53:03 pacho Exp $ EAPI="4" inherit eutils linux-info systemd toolchain-funcs udev MY_PN='spacenav' DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon." HOMEPAGE="http://spacenav.sourceforge.net/" SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}%20daemon/${PN}%20${PV}/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~ppc64 ~x86" IUSE="X" RDEPEND="X? ( x11-apps/xdpyinfo )" DEPEND="${RDEPEND}" pkg_setup() { CONFIG_CHECK="~INPUT_EVDEV" ERROR_CFG="Your kernel needs INPUT_EVDEV for the spacenavd to work properly" check_extra_config } src_prepare() { epatch "${FILESDIR}"/${P}-destdir.patch epatch "${FILESDIR}"/${P}-custom-flags.patch epatch "${FILESDIR}"/${P}-no-x11.patch } src_configure() { econf \ --enable-opt --enable-ldopt \ $(use_enable X x11) } src_compile() { emake CC="$(tc-getCC)" } src_install() { # Config file insinto /etc newins "${S}/doc/example-spnavrc" spnavrc.sample # Init script newinitd "${FILESDIR}/spnavd" spacenavd systemd_dounit "${FILESDIR}/spacenavd.service" # Install udev rule but leave activiation to the user # since Xorg may be configured to grab the device already insinto "$(udev_get_udevdir)" newins "${FILESDIR}"/99-space-navigator.rules-r1 99-space-navigator.rules.ignored # Daemon dobin "${S}/spacenavd" use X && dobin "${S}/spnavd_ctl" } pkg_postinst() { elog "To start the Spacenav daemon system-wide by default" elog "you should add it to the default runlevel :" elog "\`rc-update add spacenavd default\` (for openRC)" elog "\`systemctl enable spacenavd\` (for systemd)" elog if use X; then elog "To start generating Spacenav X events by default" elog "you should add this command in your user startup" elog "scripts such as .gnomerc or .xinitrc :" 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 or \`systemctl restart spacenavd\`" ewarn "if using systemd." }