Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Artifact ID: | fc089c224c6644fdc6905b9e7a93831c6c8f9cb9 |
---|---|
Page Name: | Beyond AndroWish |
Date: | 2019-01-06 05:00:25 |
Original User: | chw |
Parent: | 584a5a344bccc4b05c4091752b66d94a16485261 |
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. Important: these options must be specified on the command line after the optional script to be executed:
-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.
-sdlswcursor
Force use of a software cursor texture. Useful, when no proper hardware cursor support is available, e.g. in Haiku using the OpenGL render driver.