Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25867 - EBUILD: rsjog-1.1
Summary: EBUILD: rsjog-1.1
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-08-04 06:19 UTC by Yuji Carlos Kosugi (RETIRED)
Modified: 2006-12-03 03:31 UTC (History)
2 users (show)

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


Attachments
ebuild (rsjog-1.1.ebuild,757 bytes, text/plain)
2003-08-04 06:19 UTC, Yuji Carlos Kosugi (RETIRED)
Details
This should be put in rsjog/files/ (rsjog-1.1-gentoo.patch,528 bytes, patch)
2003-08-04 06:20 UTC, Yuji Carlos Kosugi (RETIRED)
Details | Diff
rsjog-1.1.ebuild (rsjog-1.1.ebuild,747 bytes, text/plain)
2004-03-24 09:42 UTC, Mamoru KOMACHI (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuji Carlos Kosugi (RETIRED) gentoo-dev 2003-08-04 06:19:00 UTC
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.
Comment 1 Yuji Carlos Kosugi (RETIRED) gentoo-dev 2003-08-04 06:19:46 UTC
Created attachment 15473 [details]
ebuild
Comment 2 Yuji Carlos Kosugi (RETIRED) gentoo-dev 2003-08-04 06:20:35 UTC
Created attachment 15474 [details, diff]
This should be put in rsjog/files/
Comment 3 Yuji Carlos Kosugi (RETIRED) gentoo-dev 2003-08-04 06:21:33 UTC
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...
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-08-04 11:30:01 UTC
where to put ? sys-apps ? app-misc ?
Comment 5 Yuji Carlos Kosugi (RETIRED) gentoo-dev 2003-08-04 16:04:30 UTC
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.
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2003-11-14 00:46:26 UTC
sorry, i have to reassign this because i have no experience with ruby :/
Comment 7 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-12-07 21:46:21 UTC
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).
Comment 8 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-03-24 09:42:16 UTC
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.
Comment 9 Tom Payne (RETIRED) gentoo-dev 2004-03-25 13:02:59 UTC
I have a Vaio but it doesn't have a jogdial so I can't test it :-(

It should go in app-laptop.

Tom
Comment 10 Benny Chuang (RETIRED) gentoo-dev 2004-11-17 03:40:54 UTC
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 11 Jakub Moc (RETIRED) gentoo-dev 2006-12-03 03:29:56 UTC
Comment on attachment 27933 [details]
rsjog-1.1.ebuild

Needs update for modular X
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-12-03 03:31:14 UTC
This hasn't seen an upstream release since 2002.

WONTFIX.