Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214140 - games-util/rejoystick [new package]
Summary: games-util/rejoystick [new package]
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://rejoystick.sourceforge.net/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2008-03-21 13:36 UTC by Anton Romanov
Modified: 2018-12-03 12:57 UTC (History)
0 users

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


Attachments
ebuild draft (rejoystick-0.7.ebuild,524 bytes, text/plain)
2008-03-21 22:41 UTC, Tomáš Chvátal (RETIRED)
Details
added missing dep. (rejoystick-0.7.ebuild,543 bytes, text/plain)
2008-03-22 09:07 UTC, Tomáš Chvátal (RETIRED)
Details
rejoystick-0.8.1.ebuild (rejoystick-0.8.1.ebuild,607 bytes, text/plain)
2009-08-28 09:23 UTC, Tomáš Chvátal (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Romanov 2008-03-21 13:36:07 UTC
Rejoystick is a program that maps keypresses on your gamepad/joypad/joystick to keypresses on a keyboard when you are running X.

(like qjoypad but with gtk ui)
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2008-03-21 22:41:29 UTC
Created attachment 146795 [details]
ebuild draft

Ok it compiles fine.
1) it don't have configure at all so abuse its mantainer to fix it
2) it don't have make install so abuse its mantainer to fix it
3) when i tried to test it, it ends up on

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

error occured: Failed to init sdl with joystick. Exiting...

might be some problem on my side, but there is no other requirement mentioned on its page
Comment 2 Anton Romanov 2008-03-22 08:31:22 UTC
should also DEPEND on
x11-libs/libXtst 
Comment 3 Anton Romanov 2008-03-22 08:37:06 UTC
and... it works perfect for me
Comment 4 Anton Romanov 2008-03-22 08:43:51 UTC
> error occured: Failed to init sdl with joystick. Exiting...
do you have libsdl built with "nojoystick" ?
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2008-03-22 09:06:46 UTC
Nope, i quite understand to what i am doing :)
This was first what i tested, there is no debug mode so i can't get more info from this app.
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2008-03-22 09:07:27 UTC
Created attachment 146849 [details]
added missing dep.
Comment 7 Tomáš Chvátal (RETIRED) gentoo-dev 2008-03-22 09:15:03 UTC
[I] media-libs/libsdl
Installed versions:  1.2.13(05:02:46 PM 01/27/2008)(X aalib alsa arts fbcon libcaca opengl oss svga xinerama xv -custom-cflags -dga -directfb -esd -ggi -nas -noaudio -nojoystick -novideo -pulseaudio)

use for my libsdl
Comment 8 Anton Romanov 2008-08-11 14:38:45 UTC
there is 0.8 out since March 26, 2008
Tomas, have you tried it?
Comment 9 Svein-Erik Larsen 2009-02-25 22:25:34 UTC
> error occured: Failed to init sdl with joystick. Exiting...

For me, the _real_ error SDL reported was "Unable to init SDL: Unable to open a console terminal". I found this out by modifying the code to provide more information.

A quick fix is running "xhost +localhost" and start rejoystick as root :)
Comment 10 Tomáš Chvátal (RETIRED) gentoo-dev 2009-08-28 09:23:58 UTC
Created attachment 202453 [details]
rejoystick-0.8.1.ebuild

Ok guys. I have created the ebuild for newest version.
Upstream has switched to some jojsticken which is written in java so no help from me in that area.
I tested this ebuild as compilation+run, sadly no testing how it work with joystick sine mine died year ago and i had no need to replace it yet.