Team DuckTales has good news again!
They have just sent a patch to the enigma2-devel mailing list that includes the complete change-diff of the enigma2 port for the sh4-based boxes.
Some of the most relevant parts are:
- Implementation of servicemp3.cpp using their eplayer2 instead of gstreamer
- tuxtext port for the stmfb framebuffer
- CAM handling
- Two python plugins (vfd display support and a videomode plugin port)
As always, their code is quite clean with #if defined(__sh__).
Here’s the link to the email:
sh4-linux-g++ -DPACKAGE_NAME=”enigma2″ -DPACKAGE_TARNAME=”enigma2″ -DPACKAGE_VERSION=”2.4″ -DPACKAGE_STRING=”enigma2 2.4″ -DPACKAGE_BUGREPORT=”” -DPACKAGE=”enigma2″ -DVERSION=”2.4″ -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DDEBUG=1 -DCONFIGDIR=”/opt/STM/STLinux-2.2/devkit/sh4/target/local/etc” -DDATADIR=”/opt/STM/STLinux-2.2/devkit/sh4/target/usr/local/share” -DLOCALEDIR=”/opt/STM/STLinux-2.2/devkit/sh4/target/usr/local/share/locale” -DFONTDIR=”/opt/STM/STLinux-2.2/devkit/sh4/target/usr/local/share/fonts” -DGAMESDIR=”/opt/STM/STLinux-2.2/devkit/sh4/target/var/tuxbox/games” -DLIBDIR=”/opt/STM/STLinux-2.2/devkit/sh4/target/usr/local/lib” -DPLUGINDIR=”/opt/STM/STLinux-2.2/devkit/sh4/target/usr/local/lib/tuxbox/plugins” -DTUXBOXDATADIR=”/opt/STM/STLinux-2.2/devkit/sh4/target/usr/local/share” -DZONEINFODIR=”/opt/STM/STLinux-2.2/devkit/sh4/target/usr/local/share/zoneinfo” -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LINUX_DVB_VERSION_H=1 -DHAVE_DVB=1 -DHAVE_DVB_API_VERSION=3 -DHAVE_FREETYPE2=1 -DHAVE_LIBXINE=1 -DHAVE_GIF_LIB_H=1 -DHAVE_LIBUNGIF=1 -DENABLE_NLS=1 -DNO_LCD -I. -I../../include -I../../lib/gdi/ati -I../.. -D_REENTRANT -I/opt/STM/STLinux-2.2/devkit/sh4/target/usr/include/python2.5 -I/opt/STM/STLinux-2.2/devkit/sh4/target/usr/local/include/freetype2 -I/opt/STM/STLinux-2.2/devkit/sh4/target/usr/local/include -I/opt/STM/STLinux-2.2/devkit/sh4/target/usr/local/include/fribidi -I/usr/include/libpng12 -I/opt/STM/STLinux-2.2/devkit/sh4/target/usr/local/lib/sigc++-1.2/include -I/opt/STM/STLinux-2.2/devkit/sh4/target/usr/local/include/sigc++-1.2 -I/opt/STM/STLinux-2.2/devkit/sh4/target/usr/local/include -g -O2 -fno-rtti -fno-exceptions -Wall -MT lcd.o -MD -MP -MF .deps/lcd.Tpo -c -o lcd.o lcd.cpp
lcd.cpp:7:21: error: dbox/fp.h: No such file or directory
lcd.cpp:8:29: error: dbox/lcd-ks0713.h: No such file or directory
lcd.cpp: In constructor ‘eDBoxLCD::eDBoxLCD()’:
lcd.cpp:72: error: ‘LCD_MODE_BIN’ was not declared in this scope
lcd.cpp:73: error: ‘LCD_IOCTL_ASC_MODE’ was not declared in this scope
lcd.cpp: In member function ‘int eDBoxLCD::setLCDContrast(int)’:
lcd.cpp:93: error: ‘LCD_IOCTL_SRV’ was not declared in this scope
lcd.cpp: In member function ‘int eDBoxLCD::setLCDBrightness(int)’:
lcd.cpp:120: error: ‘FP_IOCTL_LCD_DIMM’ was not declared in this scope
make: *** [lcd.o] Error 1
make: Leaving directory `/home/hara/Projects/enigma2/lib/gdi’
make: *** [all-recursive] Error 1
make: Leaving directory `/home/hara/Projects/enigma2/lib’
make: *** [all-recursive] Error 1
HELP!! Enigma2 source is from 30th May 2009, where are the dbox/fp.h to be found?
Those files are specific to the dreambox decoder (front panel and LCD, respectively), so you won’t find them in an SH4-based decoder.
You need to substitute them for the ones of your decoder. If you don’t have them, may be you’ll need to comment/remove them, but the obvious side-effect is that you won’t see anything in the LCD and you won’t be able to use the front-panel.
How can we get this sources? Via cvs or another location. Please provide detailed info about getting sources for TDT new release.