Update of "Beyond AndroWish"
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: ef9353655a57ae53f830497f16de18949c576e74
Page Name:Beyond AndroWish
Date: 2017-10-12 04:30:24
Original User: chw
Parent: ca4889ebdaf9a44adb2c4769faf50f278dbd35b9 (diff)
Next 10846109afe8857f89dc9c8d00a5a19bf42a34f7
Content

Some subdirectories of AndroWish have a ready-to-build-then-use Debian infrastructure built in. That allows to build Debian packages easily e.g. on a Raspbian distribution running on your Raspberry Pi:

    cd .../jni/SDL2 ; dpkg-buildpackage -tc -uc ; dpkg -i ../libsdl2*.deb
    cd .../jni/tcl ; dpkg-buildpackage -tc -uc ; dpkg -i ../sdltcl*.deb
    cd .../jni/sdl2tk ; dpkg-buildpackage -tc -uc ; dpkg -i ../sdl2tk*.deb
    /opt/sdltk86/bin/sdl2wish8.6

Building some components of AndroWish for the Windows OS family is possible, too, by using cross compilation on a Linux system. More information can be found in undroidwish.

The resulting sdl2wish8.6, sdl2wish86.exe, or undroidwish binaries support additional command line options to control certain SDL features:

-sdlfullscreen

Make the SDL window (the root window for Tk) into a fullscreen window.

-sdlresizable

Allow resizing of the SDL window.

-sdlnoborder

Make the SDL window borderless, i.e. without window manager decorations.

-sdlheight pixels

Set the height of the SDL window to pixels.

-sdlwidth pixels

Set the width of the SDL window to pixels.

-sdlrootheight pixels

Set the height of the root window (as seen by Tk) to pixels. If not set, the root window's size is equal to the SDL window size.

-sdlrootwidth pixels

Set the width of the root window (as seen by Tk) to pixels. If not set, the root window's size is equal to the SDL window size.

-sdlxdpi dpi

Set the dots per inch ratio for the X dimension to dpi. If both, -sdlxdpi and -sdlydpi are not set, the default is approx. 75 dpi. If only one dimension is set (-sdlxdpi or -sdlydpi), that value is taken as overall dots per inch ratio.

-sdlydpi dpi

Set the dots per inch ratio for the Y dimension to dpi. If both, -sdlxdpi and -sdlydpi are not set, the default is approx. 75 dpi. If only one dimension is set (-sdlxdpi or -sdlydpi), that value is taken as overall dots per inch ratio.

-sdlnogl

Force using the software renderer. This turns OpenGL usage off.

-sdllog level

Set the minimum log level to be shown in SDL log message. level must be a positive integer.

-sdlicon filename

Set the SDL root window icon to the BMP image from filename.

-sdlnosysfonts

Don't search for and register system fonts. This can reduce startup time significantly.

-sdlopacity value

Set the initial opacity of the SDL root window. value must be given as positive integer percentage.