From d7ac98509e0df015023b6e3ce0407f348853493e Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Tue, 5 Apr 2011 11:28:04 +0000 Subject: Fix lomoco-helper call in udev rules; thanks to Hans Nieser in bug #362027. (Portage version: 2.2.0_alpha29/cvs/Linux x86_64) --- sys-apps/lomoco/ChangeLog | 8 +++++- sys-apps/lomoco/lomoco-1.0-r5.ebuild | 52 ------------------------------------ sys-apps/lomoco/lomoco-1.0-r6.ebuild | 52 ++++++++++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+), 53 deletions(-) delete mode 100644 sys-apps/lomoco/lomoco-1.0-r5.ebuild create mode 100644 sys-apps/lomoco/lomoco-1.0-r6.ebuild diff --git a/sys-apps/lomoco/ChangeLog b/sys-apps/lomoco/ChangeLog index bd93256e7ee8..ad9412d7c104 100644 --- a/sys-apps/lomoco/ChangeLog +++ b/sys-apps/lomoco/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/lomoco # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/lomoco/ChangeLog,v 1.12 2011/03/27 19:38:42 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/lomoco/ChangeLog,v 1.13 2011/04/05 11:28:04 flameeyes Exp $ + +*lomoco-1.0-r6 (05 Apr 2011) + + 05 Apr 2011; Diego E. Pettenò -lomoco-1.0-r5.ebuild, + +lomoco-1.0-r6.ebuild: + Fix lomoco-helper call in udev rules; thanks to Hans Nieser in bug #362027. *lomoco-1.0-r5 (27 Mar 2011) diff --git a/sys-apps/lomoco/lomoco-1.0-r5.ebuild b/sys-apps/lomoco/lomoco-1.0-r5.ebuild deleted file mode 100644 index d777fe5829c3..000000000000 --- a/sys-apps/lomoco/lomoco-1.0-r5.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/lomoco/lomoco-1.0-r5.ebuild,v 1.1 2011/03/27 19:38:42 flameeyes Exp $ - -EAPI="4" - -inherit autotools eutils multilib - -DESCRIPTION="Lomoco can configure vendor-specific options on Logitech USB mice." -HOMEPAGE="http://www.lomoco.org/" -SRC_URI="http://www.lomoco.org/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~x86" -IUSE="" - -DEPEND="=virtual/libusb-0*" -RDEPEND="${DEPEND} - ! udev/40-lomoco.rules \ - || die "failed to create udev rules" - sed -i -e 's:RUN="lomoco":RUN+="lomoco-helper":' \ - udev/40-lomoco.rules || die -} - -src_install() { - emake DESTDIR="${D}" install || die "make install failed" - - insinto /$(get_libdir)/udev/rules.d - doins udev/40-lomoco.rules - - insinto /etc - doins "${FILESDIR}"/lomoco.conf - - exeinto /usr/libexec/ - newexe udev/udev.lomoco lomoco-helper - - exeinto /etc/pm/sleep.d - newexe "${FILESDIR}"/lomoco-pm-utils lomoco - - dodoc AUTHORS ChangeLog NEWS README -} diff --git a/sys-apps/lomoco/lomoco-1.0-r6.ebuild b/sys-apps/lomoco/lomoco-1.0-r6.ebuild new file mode 100644 index 000000000000..640d18f9b7e5 --- /dev/null +++ b/sys-apps/lomoco/lomoco-1.0-r6.ebuild @@ -0,0 +1,52 @@ +1;2602;0c# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/lomoco/lomoco-1.0-r6.ebuild,v 1.1 2011/04/05 11:28:04 flameeyes Exp $ + +EAPI="4" + +inherit autotools eutils multilib + +DESCRIPTION="Lomoco can configure vendor-specific options on Logitech USB mice." +HOMEPAGE="http://www.lomoco.org/" +SRC_URI="http://www.lomoco.org/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~x86" +IUSE="" + +DEPEND="=virtual/libusb-0*" +RDEPEND="${DEPEND} + ! udev/40-lomoco.rules \ + || die "failed to create udev rules" + sed -i -e 's:RUN="lomoco":RUN+="/usr/libexec/lomoco-helper":' \ + udev/40-lomoco.rules || die +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + + insinto /$(get_libdir)/udev/rules.d + doins udev/40-lomoco.rules + + insinto /etc + doins "${FILESDIR}"/lomoco.conf + + exeinto /usr/libexec/ + newexe udev/udev.lomoco lomoco-helper + + exeinto /etc/pm/sleep.d + newexe "${FILESDIR}"/lomoco-pm-utils lomoco + + dodoc AUTHORS ChangeLog NEWS README +} -- cgit v1.2.3-65-gdbad