Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117622 - New ebuild: sys-apps/lomoco lmctl fork
Summary: New ebuild: sys-apps/lomoco lmctl fork
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Robin Johnson
URL: http://lomoco.linux-gamers.net/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-01-03 09:25 UTC by Ruud Althuizen
Modified: 2006-04-20 00:47 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Initial ebuild for the lomoco-1.0_beta1 package (lomoco-1.0_beta1.ebuild,625 bytes, text/plain)
2006-01-03 09:27 UTC, Ruud Althuizen
Details
Lomoco-1.0.ebuild (lomoco-1.0.ebuild,588 bytes, text/plain)
2006-03-17 03:03 UTC, Ruud Althuizen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ruud Althuizen 2006-01-03 09:25:31 UTC
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.
Comment 1 Ruud Althuizen 2006-01-03 09:27:15 UTC
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.
Comment 2 Ruud Althuizen 2006-01-04 02:55:49 UTC
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.
Comment 3 Thomas Cort (RETIRED) gentoo-dev 2006-02-16 14:19:58 UTC
(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.
Comment 4 Thomas Cort (RETIRED) gentoo-dev 2006-02-16 14:22:42 UTC
> 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)"
Comment 5 Ruud Althuizen 2006-03-17 03:02:25 UTC
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.
Comment 6 Ruud Althuizen 2006-03-17 03:03:03 UTC
Created attachment 82355 [details]
Lomoco-1.0.ebuild
Comment 7 Ruud Althuizen 2006-04-13 23:39:30 UTC
Is there anything still holding it back to be placed in portage?
Comment 8 Benedikt Böhm (RETIRED) gentoo-dev 2006-04-20 00:47:09 UTC
in cvs, thanks. lmctl will be masked and removed in a while probably