fpv-wtf / disko

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disko

An application framework for digital media devices.

For information about disko take a look at the diskohq.com mirror.

Dependencies

On a Debian based system, those are the dependencies I had to install (this might not be a full list since I am sure I had some of the dependencies already installed):

sudo apt-get install \
	libsigc++ \
	libsigc++-2.0-dev \
	libxml++2.6-dev \
	libxxf86vm-dev \
	libxv-dev \
	libcurl4-openssl-dev \
	libsigc++-2.0-dev \
	libxml2-dev \
	libfreetype6-dev \
	libdirectfb-dev \
	libxine2-dev \
	libsqlite3-dev \
	libtiff-dev \
	libxrender-dev \
	libxcomposite-dev \
	freeglut3-dev \
	libglew-dev

Running check will basically tell you what's missing in regards to libraries. That being said not all newly installed libraries were picked up immediately and .sconsign.dblite needed to be deleted in order for the dependencies to be picked up.

Python 2.7

The scons scripts for disko require python 2.7. One way to achieve this:

virtualenv -p $(which python2.7) venv
source venv/bin/activate
pip install scons

Config

For X11 with OpenGl2:

scons graphics_backend=x11 graphics_outputtype=gl2 pixelformats=all enable_tools=yes messages=yes debug=yes profile=yes enable_crypt=no check

Requires xorg, not compatible with Wayland.

For Goggle (directfb and stdfb):

scons graphics_backend=dfb graphics_outputtype=stdfb pixelformats=argb enable_tools=yes messages=yes debug=yes profile=yes enable_crypt=no check

All in one go

scons graphics_backend=dfb,x11 graphics_outputtype=stdfb,gl2 pixelformats=all enable_tools=yes messages=yes debug=yes profile=yes enable_crypt=no check

Compile and install

scons
sudo su
source venv/bin/activate
scons install

Compile Demo

disko needs to be compiled and installed beforehand. The demo uses X11 backend and gl2 as outputtype.

cd demo
scons
./bin/demo

About


Languages

Language:C++ 95.4%Language:C 3.7%Language:Python 0.9%Language:Shell 0.1%