Wrote an ebuild for rsjog, an sjog-like handler for Sony Vaio jog dials written in Ruby. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 15473 [details] ebuild
Created attachment 15474 [details, diff] This should be put in rsjog/files/
Now, I realize that I'm a developer and that I have CVS access, but I haven't taken the developer quiz and am a beginner when it comes to coding, so...
where to put ? sys-apps ? app-misc ?
Oh, should have mentioned that. sjog is in app-misc, so I followed that precedent with my local tree; I think that would make sense.
sorry, i have to reassign this because i have no experience with ruby :/
Hi, carlos ;-) I don't own VAIO so I cannot test your ebuild, but I'll give some comments on it. * LICENSE must match exact filename to one of /usr/portage/licenses/* In this case, you should choose write GPL-1 or GPL-2, which seems appropriate (Most GPL'd software uses GPL-2, though) * You shouldn't write [pkgname] but [category]/[pkgname] in DEPEND. For example, >=ruby-gtk-0.34 should be >=dev-ruby/ruby-gtk-0.34. (Also, I think it would be nice to add app-misc/spicctrl to DEPEND) * It is preferred to use "epatch ${FILESDIR}/${P}-gentoo.patch" rather than patch itself. epatch will die and return the output of failed patch when your patch doesn't apply (You should add '|| die' if you use patch -p0) * You can use "insinto /usr/share/rsjog; doins xpm/* sample.*" instead of "dodir /usr/share/rsjog; cp ... ${D}/usr/share/rsjog". You don't need to write ugly "${D}" if you use doins ;-) * If you hardcode "dodir /usr/lib/ruby/1.6/i686-linux-gnu/" it will only support ruby1.6 (and even so, you miss =dev-lang/ruby-1.6* in DEPEND). I suggest using "pushd XTest; make DESTDIR=${D} install || die; popd" and then your ebuild will support either ruby 1.6 and ruby 1.8. Can you rewrite your ebuild and test it? If everything goes ok, I'll add it with KEYWORDS="~x86" (and I'll add your name as a maintainer for rsjog if you don't mind).
Created attachment 27933 [details] rsjog-1.1.ebuild carlos: I attached my ebuild but I didn't test it. If someone can test the attached ebuild, I'll put it into app-misc/rsjog. Thanks in advance.
I have a Vaio but it doesn't have a jogdial so I can't test it :-( It should go in app-laptop. Tom
The ebuild works fine; however, rsjog requres xpms from /usr/local/share/rsjog/. the patch and path inside the ebuild would work. I simply made a symlink. In addition, please change app-misc/spicctrl to app-laptop/spicctrl.
Comment on attachment 27933 [details] rsjog-1.1.ebuild Needs update for modular X
This hasn't seen an upstream release since 2002. WONTFIX.