Revision bump, with patch that adds support for Logitech Cordless Optical Mouse for...
authorMichele Noberasco <s4t4n@gentoo.org>
Thu, 8 Sep 2005 13:39:56 +0000 (13:39 +0000)
committerMichele Noberasco <s4t4n@gentoo.org>
Thu, 8 Sep 2005 13:39:56 +0000 (13:39 +0000)
Package-Manager: portage-2.0.51.22-r2

sys-apps/lmctl/ChangeLog
sys-apps/lmctl/Manifest
sys-apps/lmctl/files/0.3.2-cordless-optical-4-notebooks.diff [new file with mode: 0644]
sys-apps/lmctl/files/digest-lmctl-0.3.2-r3 [new file with mode: 0644]
sys-apps/lmctl/lmctl-0.3.2-r3.ebuild [new file with mode: 0644]

index 11e3a745dd0afbbf1b1047f581992da9a5bf5da5..e52257944d7740523366d94823358ee6effd51eb 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for sys-apps/lmctl
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lmctl/ChangeLog,v 1.4 2005/02/08 16:43:12 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lmctl/ChangeLog,v 1.5 2005/09/08 13:39:56 s4t4n Exp $
+
+*lmctl-0.3.2-r3 (08 Sep 2005)
+
+  08 Sep 2005; Michele Noberasco <s4t4n@gentoo.org> +lmctl-0.3.2-r3.ebuild,
+  +0.3.2-cordless-optical-4-notebooks.diff:
+  Revision bump, with patch that adds support for Logitech Cordless Optical
+  Mouse for Notebooks. Fixed Homepage URL.
 
   08 Feb 2005; Jan Brinkmann <luckyduck@gentoo.org> lmctl-0.3.2-r2.ebuild:
   added ~amd64 to KEYWORDS. fixes #81189
index dfe99e3782f32899acaf99d5ccbfc88d8df537df..70b62252d912c104380e685300f8124e8f623398 100644 (file)
@@ -1,8 +1,11 @@
 MD5 e8ff161ff91d738e6ee5968736b9b6dd lmctl-0.3.2-r1.ebuild 1041
-MD5 9b85dfcfaaac8519010c8192c53ec352 ChangeLog 940
+MD5 442233542c7331d7bb1eb4e7237bf204 lmctl-0.3.2-r3.ebuild 1145
+MD5 5786d6bea19c9a0d783caf9e8132e807 ChangeLog 1207
 MD5 34801217f8a06223cd0d02a1efb09589 lmctl-0.3.2-r2.ebuild 1092
 MD5 3d4dfb4356f56ee83e0f426163e3b6cf metadata.xml 231
 MD5 28632edefbfc4bc5b72659b30ac9320d files/C-BK16A-DUAL.patch 576
 MD5 1a909d8a0ebb516ddf57d7d9c2a95f78 files/0.3.2-beautyfix.diff 432
 MD5 9e0da21fd6f234d98d9952777960cda6 files/digest-lmctl-0.3.2-r1 63
 MD5 9e0da21fd6f234d98d9952777960cda6 files/digest-lmctl-0.3.2-r2 63
+MD5 9e0da21fd6f234d98d9952777960cda6 files/digest-lmctl-0.3.2-r3 63
+MD5 f12d88aca9e5e361d513d39b30eaa0bd files/0.3.2-cordless-optical-4-notebooks.diff 820
diff --git a/sys-apps/lmctl/files/0.3.2-cordless-optical-4-notebooks.diff b/sys-apps/lmctl/files/0.3.2-cordless-optical-4-notebooks.diff
new file mode 100644 (file)
index 0000000..a444648
--- /dev/null
@@ -0,0 +1,23 @@
+--- lmctl.c    2005-09-08 15:24:13.000000000 +0200
++++ lmctl.c.new        2005-09-08 15:24:58.000000000 +0200
+@@ -114,6 +114,9 @@
+       /* From Markus Wiesner <m_wiesner@gmx.net> */
+       {0xc50e, "Receiver for MX1000 Laser",              "C-BN34",      1, 0, 1, 0},
+ 
++      /* From Michele Noberasco <s4t4n@gentoo.org> */
++      {0xc50a, "USB Receiver",                           "C-BJ27-MSE",  1, 0, 0, 0},
++
+       {0x0000, NULL, NULL, 0, 0, 0}
+ };
+ 
+@@ -195,6 +198,10 @@
+               case 0x82: printf ("Cordless Optical TrackMan\n"); break;
+               case 0x8A: printf ("Mx700 Cordless Optical Mouse\n"); break;
+               case 0x8B: printf ("Mx700 Cordless Optical Mouse (2ch)\n"); break;
++
++              /* from Michele Noberasco <s4t4n@gentoo.org> */
++              case 0x94: printf ("Cordless Optical Mouse for Notebooks\n"); break;
++
+               default: printf ("Unknown (type %x)\n", P4);
+               }
+ 
diff --git a/sys-apps/lmctl/files/digest-lmctl-0.3.2-r3 b/sys-apps/lmctl/files/digest-lmctl-0.3.2-r3
new file mode 100644 (file)
index 0000000..1ef3326
--- /dev/null
@@ -0,0 +1 @@
+MD5 c2acb088c95adeac68b6de8f05ddc0e4 lmctl_0.3.2.tar.gz 223963
diff --git a/sys-apps/lmctl/lmctl-0.3.2-r3.ebuild b/sys-apps/lmctl/lmctl-0.3.2-r3.ebuild
new file mode 100644 (file)
index 0000000..0abc5ee
--- /dev/null
@@ -0,0 +1,40 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lmctl/lmctl-0.3.2-r3.ebuild,v 1.1 2005/09/08 13:39:56 s4t4n Exp $
+
+inherit fixheadtails eutils
+
+MY_P=${P/-/_}
+DESCRIPTION="Utility to change modern logitech mouse parameters"
+SRC_URI="http://www.bedroomlan.org/~alexios/files/SOFTWARE/lmctl/${MY_P}.tar.gz"
+HOMEPAGE="http://www.bedroomlan.org/~alexios/coding_lmctl.html"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND="virtual/libc
+               >=dev-libs/libusb-0.1.8"
+
+src_unpack() {
+       unpack ${A} || die "unpack error"
+       mv ${WORKDIR}/lmctl-0.3.1 ${WORKDIR}/lmctl-0.3.2 || die "mv failed"
+       cd ${S} || die
+       ht_fix_file ./configure
+       cd src/ || die
+       epatch ${FILESDIR}/C-BK16A-DUAL.patch
+       epatch ${FILESDIR}/0.3.2-beautyfix.diff
+       epatch ${FILESDIR}/0.3.2-cordless-optical-4-notebooks.diff
+}
+
+src_compile() {
+       econf || die "bad ./configure please submit a bug report to bugs.gentoo.org \
+                                       and include your config.log"
+       emake || die "problem compiling lmctl"
+}
+
+src_install() {
+       make DESTDIR=${D} install || die
+       dodoc Changelog README
+}