summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-02-08 13:08:33 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-02-08 13:08:33 +0000
commit1df5a4f08f3ca3445f4bceeead052f3503ef737a (patch)
tree77cdad90e984c52fcec7aebfe064ca222f62d1ca /app-misc/logitech-applet
parentVersion bump. (diff)
downloadgentoo-2-1df5a4f08f3ca3445f4bceeead052f3503ef737a.tar.gz
gentoo-2-1df5a4f08f3ca3445f4bceeead052f3503ef737a.tar.bz2
gentoo-2-1df5a4f08f3ca3445f4bceeead052f3503ef737a.zip
Missing Logitech MX518 device ID wrt #278077.
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/logitech-applet')
-rw-r--r--app-misc/logitech-applet/ChangeLog10
-rw-r--r--app-misc/logitech-applet/files/logitech_applet-mx518-2.patch21
-rw-r--r--app-misc/logitech-applet/logitech-applet-0.4_pre1-r3.ebuild33
3 files changed, 62 insertions, 2 deletions
diff --git a/app-misc/logitech-applet/ChangeLog b/app-misc/logitech-applet/ChangeLog
index 13e10c49a43a..0bc7085e1bc2 100644
--- a/app-misc/logitech-applet/ChangeLog
+++ b/app-misc/logitech-applet/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/logitech-applet
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/logitech-applet/ChangeLog,v 1.11 2009/09/23 16:04:45 patrick Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/logitech-applet/ChangeLog,v 1.12 2010/02/08 13:08:33 ssuominen Exp $
+
+*logitech-applet-0.4_pre1-r3 (08 Feb 2010)
+
+ 08 Feb 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +logitech-applet-0.4_pre1-r3.ebuild, +files/logitech_applet-mx518-2.patch:
+ Missing Logitech MX518 device ID wrt #278077.
23 Sep 2009; Patrick Lauer <patrick@gentoo.org>
logitech-applet-0.4_pre1-r2.ebuild:
diff --git a/app-misc/logitech-applet/files/logitech_applet-mx518-2.patch b/app-misc/logitech-applet/files/logitech_applet-mx518-2.patch
new file mode 100644
index 000000000000..6529b88d7871
--- /dev/null
+++ b/app-misc/logitech-applet/files/logitech_applet-mx518-2.patch
@@ -0,0 +1,21 @@
+http://bugs.gentoo.org/show_bug.cgi?id=278077
+
+--- logitech_applet.c
++++ logitech_applet.c
+@@ -65,6 +65,7 @@
+ { VENDOR_LOGITECH, 0xC024, "M-BP82", "MX300 Optical Mouse", HAS_RES },
+ { VENDOR_LOGITECH, 0xC025, "M-BP81A", "MX500 Optical Mouse", HAS_RES | HAS_SS | HAS_SSR },
+ { VENDOR_LOGITECH, 0xC031, "M-UT58A", "iFeel Mouse (silver)", HAS_RES },
++ { VENDOR_LOGITECH, 0xC051, "M-BS81A", "MX518 Optical Mouse", HAS_RES },
+ { VENDOR_LOGITECH, 0xC501, "C-BA4-MSE", "Mouse Receiver", HAS_CSR },
+ { VENDOR_LOGITECH, 0xC502, "C-UA3-DUAL", "Dual Receiver", HAS_CSR | USE_CH2},
+ { VENDOR_LOGITECH, 0xC504, "C-BD9-DUAL", "Cordless Freedom Optical", HAS_CSR | USE_CH2 },
+@@ -182,7 +183,7 @@
+ * - 0x03 for 400cpi
+ * - 0x04 for 800cpi
+ * - 0x05 for 1200cpi
+- * - 0x06 for 1600cpi
++ * - 0x06 for 1600cpi (actually 1800cpi on newer MX518)
+ */
+ int set_resolution(struct usb_device *dev, int resolution)
+ {
diff --git a/app-misc/logitech-applet/logitech-applet-0.4_pre1-r3.ebuild b/app-misc/logitech-applet/logitech-applet-0.4_pre1-r3.ebuild
new file mode 100644
index 000000000000..a9b90d81c690
--- /dev/null
+++ b/app-misc/logitech-applet/logitech-applet-0.4_pre1-r3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/logitech-applet/logitech-applet-0.4_pre1-r3.ebuild,v 1.1 2010/02/08 13:08:33 ssuominen Exp $
+
+EAPI=2
+inherit eutils
+
+MY_P=${P/_pre/test}
+MY_P=${MY_P/-applet/_applet}
+
+DESCRIPTION="Control utility for some special features of some special Logitech USB mice!"
+HOMEPAGE="http://freshmeat.net/projects/logitech_applet/"
+SRC_URI="http://www.frogmouth.net/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="virtual/libusb:0"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/logitech_applet-mx518.patch \
+ "${FILESDIR}"/logitech_applet-mx518-2.patch \
+ "${FILESDIR}"/add-new-id-of-mx300.patch
+}
+
+src_install() {
+ dosbin logitech_applet || die
+ dodoc AUTHORS ChangeLog README doc/article.txt
+}