The lomoco developers released their first beta, so I made an ebuild. It is working, I just don't know if I made exactly how it is supposed to; so commenting on it is welcome. From site: lomoco is a fork of lmctl, since we were not able to get in contact with the lmctl developer. lomoco can configure vendor-specific options on Logitech USB mice (or dual-personality mice plugged into the USB port). A number of recent devices are supported. The program is mostly useful in setting the resolution to 800 cpi or higher on mice that boot at 400 cpi (such as the MX500, MX510, MX1000 etc.), and disabling SmartScroll or Cruise Control for those who would rather use the two extra buttons as ordinary mouse buttons.
Created attachment 76090 [details] Initial ebuild for the lomoco-1.0_beta1 package This is my very first ebuild written from scratch, so comments are welcome.
I don't mind submitting new versions, or becoming the maintainer, when they have a new release since I check their main site regularly. For now I just need someone to verify the correctness of the submitted ebuild.
(In reply to comment #2) > I just need someone to verify the correctness of the submitted ebuild. You should use the header from /usr/portage/header.txt The ebuild you submitted contains a header from 2005, but you submitted the ebuild in 2006. See http://dev.gentoo.org/~ciaranm/docs/mw-faq/header.txt -- DESCRIPTION="Lomoco can configure vendor-specific options on Logitech USB mice (or dual-personality mice plugged into the USB port)" should be DESCRIPTION="Lomoco can configure vendor-specific options on Logitech USB mice \ (or dual-personality mice plugged into the USB port)" -- You shouldn't hard code the package name and/or version number into SRC_URI or other variables. You also shouldn't hardcode "work" into S, you should use ${WORKDIR} instead. See http://dev.gentoo.org/~ciaranm/docs/mw-faq/hardcoded.txt -- Your src_unpack(), src_compile(), and DEPEND are redundant. See http://dev.gentoo.org/~ciaranm/docs/mw-faq/redundant.txt -- > This is my very first ebuild written from scratch > I don't mind ... becoming the maintainer Gentoo regularly recruits users, but they don't do it for people who will just be maintaining one or two packages, and they don't do it based upon what they know of you from one or two ebuilds. See http://dev.gentoo.org/~ciaranm/docs/mw-faq/maintainer.txt -- > For now I just need someone to verify the correctness of > the submitted ebuild. There are a lot of user submitted ebuilds and very few devs to review them, just be patient. See http://dev.gentoo.org/~ciaranm/docs/mw-faq/ignored.txt -- Thank you for taking the time to submit the ebuild and consider these suggestions! If you need any help #gentoo-dev-help on irc.freenode.net, http://dev.gentoo.org/~ciaranm/docs/mw-faq/ , http://dev.gentoo.org/~plasmaroo/devmanual/ , and http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml are all /very/ useful resources.
> DESCRIPTION="Lomoco can configure vendor-specific options on Logitech USB mice > \ > (or dual-personality mice plugged into the USB port)" bugzilla did a line wrap, but what I was trying to say is that you need the '\' at the end of the line if the description wraps to the next line. So something like this: DESCRIPTION="Lomoco can configure ... USB mice \ (or dual-personality mice plugged into the USB port)"
Oke, it took a while. But I finally remembered to fix this ebuild. In the mean time the final version has been released, so I'm working from there. As far as I can see I handled all the comments that Thomas made. Just note that src_compile() is required now since you need to run a command before econf and emake can be run.
Created attachment 82355 [details] Lomoco-1.0.ebuild
Is there anything still holding it back to be placed in portage?
in cvs, thanks. lmctl will be masked and removed in a while probably