Hi! I attached lirc.tar.gz. It contains lirc-0.6.5.ebuild, a daemon startup script and a patch. Lirc stands for Linux Infrared Remote Control. Under http://www.lirc.org is a short describtion: "LIRC is a package that allows you to decode and send infra-red signals of many (but not all) commonly used remote controls." Interesting features: - supports very simple home-brew hardware, too (easy to make) - with lirc you can control programs like xawtv easily - and many more With my patch lirc compiles with the gentoo 2.5.19pre ac kernels. I think sys-apps/lirc would be fine. I suggest the new USE variable "lirc", because with this, other program ebuilds which have already built-in lirc support can enable it. Like xawtv could. See also my xawtv lirc patch which I will submit to bugzilla in 2 minutes. I am not sure yet, into which categorie I should put it. Georg Sauthoff P.S.: When I submit new ebuilds I am not sure if I should specify Version in bugzilla, because the ebuilds could work for different Genntoo Version (perhaps). So what should I specify?
Created attachment 1308 [details] lirc-0.6.5.ebuild (New Package)
Ok, the xawtv lirc ebuild patch is now up http://bugs.gentoo.org/show_bug.cgi?id=3330 Georg Sauthoff
I'll take this one, but could you re-attach that file, or e-mail it to me or something, it is marked as text/plain, and as such won't download as a tar.gz for me.
Oh, I just marked it at text/plain because it is written in the "How to submit ebuilds"/"Contributing Ebuilds" document to do it ("Make sure that the content type is set to text/plain" - And in his example he attached a tar.gz and no .ebuild). I thought first, why text/plain when tar.gz is surely no text/plain. Perhaps it is a mistake by the guy who write the doc or it is necessary for some reason I can't imagine (because he mention it ). But then the download works for me. When I right click to "Created an Attachement", click "Save as.." and change the filename to something.tar.gz I can download and use it (cmp it - it is the same as the one I uploaded ). But no problem - I just mail it to you. To clear this thing up, is this a mistake in the doc?
Sorry about the missing line wrap, but this is konquerors fault, next time I use mozilla.
Hey, looks like this ebuild requires USER modification to install what a user needs, do you know of any to make the ebuild build support for ALL drivers into it?
Created attachment 1339 [details] updated ebuild I've added a few minor things and changed comments, and stuff of that sort. Let me know if you have any additional thoughts, otherwise I'd be happy to commit this. Also I think it should go in app-misc rather than sys-apps as it is not really a system application. Oh one more thing... does lircd really need net? I think probably it just needs localmount.
No lircd don't really need net, I think. I choosed the category sys-apps because I see there lm_sensors, but app-misc is ok too for me. The changes are cool but one thing. With "any" as driver argument there are no lirc kernel modules built: "Your hardware does not require a kernel module." (configure output) Does we want this? I don't know why lirc don't have an option "all" by the way. What do you think if the ebuild aborts and prints info out, if the user doesn't edit the ebuild to specify a driver? I don't know if it is possible/good to patch lirc, that it build all drivers. Will take a look. Or am I missing something?
Ebuilds should work initially with NO user input... this isn't MY policy, it is gentoo policy IIRC, I'm having someome more important than me take a look at this I hope...
Hi, after a break now i have time to look after the lirc. I make some changes: - default settings will build drivers (are only six) for all supported remote controls - no need for user modification of the ebuild - the user can set the environment Variable LIRC_OPTS for special configure options at build time (inspired by alsa-driver) Now I think it is more comfortable to use. This new version is attached (lirc.tar.gz). regards georg sauthoff
Created attachment 2067 [details] New updated version of the lirc-0.6.5.ebuild (lirc.tar.gz)
hey sorry about the delay, this version looks much nicer, I'm going to commit it masked and look for some testers :)
wait hold on... I get a sandbox error
Hm, what sandbox error do you get? I don't have any sandbox violations.
My computer must have been being an idiot, they went away, committing, now on to xawtv :)
Hi, I'm trying to get this to work with the lirc_serial driver on my system. The driver seems to load okay, and auto-detects the correct sense, but I still don't have any kind of /dev/lirc. Does this have to be made manually? Can it be made manually? Two other nitpicks: after the merge, a message is printed to "please read the documentation", but it doesn't say where the documentation has been installed. Also, would it be possible to install a skeleton /etc/lircd.conf for people to start from? cheers, John
in future, it is probably better to open a new bug ;-)
Hi, yes a new bug report for this would be better. >have any kind of /dev/lirc. Does this have to be made manually? Can it be made manually? I tried today lirc_serial and it seems, that it that not automatically creates the device. I use lirc-dev and lirc-i2c (hauppauge) which do create /dev/lirc on devfs. Don't know why there are differences. For testing you can create it manually: mknod /dev/lirc c 61 0 When it works then you can put a line in devfsd.conf which automatically creates it. >Two other nitpicks: after the merge, a message is printed to "please read the documentation", but it doesn't say where the documentation has been installed. You can read the man pages, and the html docs in the lirc source (at /usr/portage/distfiles) or on the www.lirc.org homepage. I think for the next version/release I will add the html docs to /usr/share/doc/lirc. >Also, would it be possible to install a skeleton /etc/lircd.conf for people to start from? I think this is not a good idea, because this file is very remote control specific. Just go to http://www.lirc.org/remotes/ . There a lot of ready rc configuration (download and rename one to lircd.conf). Or if there isn't your remote you have do create it (it is describes in the docs). I think I will add the bz2 archive of all supported rc to the next release to /usr/share/doc/lirc. I hope this helps. And Brandon Low, should I assign new ebuild submissions of lirc to you?
Thanks Georg. I added "alias char-major-61 lirc_serial" to my /etc/modules.d/aliases, and "LOOKUP ^lirc EXECUTE /bin/mknod /dev/lirc c 61 0" to my /etc/devfsd.conf. Then I could create the config file for my remote, and it works now. Of course now we need an ebuild for xmms-lirc :)
> Of course now we need an ebuild for xmms-lirc :) Thats really true and no big thing - I will submit it next week.