How do I install svgalib?

I was hoping someone could help me install the svgalib files that I have here.


 60K -rwxrwxrwx 1 metroid users  54K Dec  5  1973 libvgagl.so
 60K -rwxrwxrwx 1 metroid users  54K Dec  5  1973 libvgagl.so.1
 60K -rwxr-xr-x 1 metroid users  54K Dec  5  1973 libvgagl.so.1.4.3
332K -rwxrwxrwx 1 metroid users 327K Dec  5  1973 libvga.so
332K -rwxrwxrwx 1 metroid users 327K Dec  5  1973 libvga.so.1
332K -rwxr-xr-x 1 metroid users 327K Dec  5  1973 libvga.so.1.4.3

Hi
That’s a pretty old library (circa 2004). Why not just rebuild from
source or a src rpm?

What are you trying to run with them, I would have thought the later
kernel drivers would suffice?


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.34-0.7-default
up 5:34, 3 users, load average: 0.48, 0.40, 0.36
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

On Sun, 01 Jul 2012 23:16:02 +0000, errigour wrote:

> I was hoping someone could help me install the svgalib files that I have
> here.
>
>
> Code:
> --------------------
>
> 60K -rwxrwxrwx 1 metroid users 54K Dec 5 1973 libvgagl.so 60K
> -rwxrwxrwx 1 metroid users 54K Dec 5 1973 libvgagl.so.1 60K
> -rwxr-xr-x 1 metroid users 54K Dec 5 1973 libvgagl.so.1.4.3 332K
> -rwxrwxrwx 1 metroid users 327K Dec 5 1973 libvga.so 332K -rwxrwxrwx
> 1 metroid users 327K Dec 5 1973 libvga.so.1 332K -rwxr-xr-x 1
> metroid users 327K Dec 5 1973 libvga.so.1.4.3
>
> --------------------

Might be useful to know what version of openSUSE you’re using. Chances
are there’s a package already built.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

I’m using suse 12.1 and i’m not even sure if I need that package now. I was looking for a library that will draw pixels to a tty terminal in C. I’m currently making a program with SDL but it must be run in an X environment, it won’t run from tty2. I was using ncurses and it’s fun but there is no mouse in a tty environment hence the mouse event features are defunct. Someone suggested writing straight to the graphics hardware but theres no manual for that and I can’t find a library that will carry out my orders simular to, drawpixel(0, 0, r, g, b. a) or drawrectangle(0, 0, 25, 25, r, g, b, a) or even drawimage(0, 0, “image.png”).

On 2012-07-02 14:36, errigour wrote:
>
> I’m using suse 12.1 and i’m not even sure if I need that package now. I
> was looking for a library that will draw pixels to a tty terminal in C.
> I’m currently making a program with SDL but it must be run in an X
> environment, it won’t run from tty2. I was using ncurses and it’s fun
> but there is no mouse in a tty environment hence the mouse event
> features are defunct. Someone suggested writing straight to the graphics
> hardware but theres no manual for that and I can’t find a library that
> will carry out my orders simular to, drawpixel(0, 0, r, g, b. a) or
> drawrectangle(0, 0, 25, 25, r, g, b, a) or even drawimage(0, 0,
> “image.png”).

I have never used it, but I was told that xine could output to the
consoles, using frambuffer (-V fb).


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

I have never done any programming myself with the framebuffer, but found
this http://tldp.org/HOWTO/Framebuffer-HOWTO/


PC: oS 12.1 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.4 | GeForce GT 420
ThinkPad E320: oS 12.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.8.4 | HD 3000
eCAFE 800: oS 12.1 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10

errigour wrote:

> I was using ncurses and it’s fun
> but there is no mouse in a tty environment hence the mouse event
> features are defunct.
>

There is a mouse in console mode in my setup.

It used to be that sysconfig needed to be configured to have the mouse
but In 12.1 the option in yast is greyed out, but the mouse works anyway.

On 2012-07-03 09:37, graham wrote:
> errigour wrote:
>
>> I was using ncurses and it’s fun
>> but there is no mouse in a tty environment hence the mouse event
>> features are defunct.
>>
>
> There is a mouse in console mode in my setup.

Yes, that will be gpm; that mouse is used to do copy/paste, but the buttons
are not functional to select menus and such.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)