Skip to main content


Showing posts from June 7, 2017

PS3 Six-Axis Controller with Qjoypad and Mageia6

If you spend a lot of time playing console games, you quickly become dexterous using those gamepads. While inferior in many respects to nimble mouse and keyboard work for some games, there is no doubt that it would be nice to use the game pad anyway.

I have been a mouse and keyboard PC game player ever since my Doom days way back in the 90s. Around 2007, I was introduced to the Sony PS3 and found it more convenient to play games on the console. Lately, I have been resurrecting all my old games which, of course, work well with a keyboard and mouse, but I have enjoyed using the controller. To me, the controller created a more immersive experience. Being able to do that, as always, takes several steps.

First I needed to have my Mageia6 OS receive information from the PS3 controller. By default, modern Linux use the evdev driver and will auto-magically detect the game controller. That can also be done with xboxdrv, but Mageia does not provide that. RedHat does provide an RPM file which w…

Building RPMs for Mageia - x2x

Occasionally, you may need to install something that is not included with Mageia. For instance, the x2x applications used to be included with Mageia, but has been dropped in Mageia 5. There are other packages, perhaps Ubuntu packages that I might want to use on my system. Or it's possible no package exists,  just a tarball.

Why would you want to build a package from source if the binary is already available? 

Let's begin with the Mageia Packagers RPM Tutorial as a reference.

Create Your Build Environment

It's always a good practice to build packages as a normal user, not as root. Still, it's handy to have sudo enabled for certain operations.

Create you build environment.

$ mkdir -p ~/rpmbuild/{SRPMS,SOURCES,SPECS,tmp}

Using your favorite editor, create the .rpmmacros file to build Mageia packages.

# Only set %_topdir and %_tmppath if you want to ovveride the the default ~/rpmbuild # and ~/rpmbuild/tmp #%_topdir  %(echo $HOME)/rpm #%_tmppath …