README.PicoGUI
author Ryan C. Gordon <icculus@icculus.org>
Mon, 12 Dec 2005 09:22:36 +0000
changeset 1200 8f418dce02b2
parent 433 706de3956894
permissions -rw-r--r--
Date: Sun, 11 Dec 2005 20:37:04 +0100
From: Olivier Boudeville <olivier.boudeville@online.fr>
To: "A list for developers using the SDL library. \(includes SDL-announce\)" <sdl@libsdl.org>
Subject: [SDL] NetBSD build patch


Hi everybody,

apparently the SDL-1.2.9 source archive could not compile "as is" on
NetBSD 2.0_STABLE due to a pthread detection issue in the configure script.

I attached a small patch that can be applied to configure.in so that SDL
can be directly (i.e. without the NetBSD package manager) configured and
built successfully on NetBSD (at least on the one I tried !).

Hope this helps,

Olivier.
     1  ========================
     2   Using SDL with PicoGUI
     3  ========================
     4 
     5 - Originally contributed by Micah Dowty <micahjd@users.sourceforge.net>
     6 
     7 PicoGUI is a scalable GUI system with a unique architecture, primarily focused
     8 on scalability to various embedded systems. You can find more information
     9 including a FAQ at http://picogui.org
    10 
    11 To use the patch:
    12 
    13   1. When compiling, add the "--enable-video-picogui" switch to ./configure
    14 
    15   2. When running your program, ensure that the picogui driver for SDL
    16      is in use by setting the SDL_VIDEODRIVER environment variable 
    17      to "picogui".
    18 
    19   3. The program must also be linked to the C client library for PicoGUI
    20      (libpgui.so). If the program is being compiled with a patched SDL 
    21      installed this should be done automatically. If you want to use an
    22      existing binary with PicoGUI, you can set the LD_PRELOAD environment
    23      variable to the path of your libpgui.so file.
    24 
    25 Capabilities:
    26 
    27   So far only basic functionality is provided on true color (linear16/24/32)
    28   devices. Accessing a memory mapped bitmap, updating the display, and handling
    29   mouse/keyboard input. This functionality has been tested with several
    30   applications, including mplayer, Xine, sldroids, and Abuse.
    31 
    32 TODO list:
    33 
    34   - YUV overlays will be helpful for watching video on set top boxes or other
    35     embedded devices that have some graphics acceleration hardware
    36 
    37   - Account for rotated bitmap storage in pgserver
    38 
    39   - Support for hiding or changing the cursor
    40 
    41   - The display should be centered when the SDL application is smaller
    42     than the PicoGUI panel
    43 
    44   - Fullscreen or any other special modes
    45 
    46   - Support for indexed and grayscale modes
    47 
    48   - Probably much more...
    49 
    50 --- The End ---