Thursday, February 16, 2006

Nethack and some minor issues

I uploaded a new version, with some changes on maximized view that some people asked me.

During next weekend I will work on player dialog issues.

Here you can download new binary and source packages.

Monday, February 13, 2006

Porting VideoLanClient

That's my first atempt of porting VideoLanClient to Nokia 770. I will work on it the following months. Porting VLC to maemo platform will be my graduate project on computer science at Universitat Oberta de Catalunya.

By now I followed guidelines of "Cross compile VLC for ARM-based platforms".

That's my build script:

mkdir src
cd src
rm -rf *

echo Uncompress
tar -jxvf ../paquets/ffmpeg-20040520.tar.bz2
tar -zxvf ../paquets/libmad-0.15.0b.tar.gz
tar -zxvf ../paquets/libogg-1.1.tar.gz
tar -zxvf ../paquets/flac-1.1.0.tar.gz
tar -zxvf ../paquets/libdvbpsi3-0.1.4.tar.gz
tar -zxvf ../paquets/a52dec-0.7.4.tar.gz
tar -jxvf ../paquets/vlc-0.7.2.tar.bz2

echo Building ffmpeg
cd ffmpeg-20040520
./configure --prefix=/usr --cpu=armv4l \
--disable-mmx \
--enable-shared \
--enable-pp \

gcc -O3 -g -Wall -I. -I/home/jep/vlc/src/ffmpeg-20040520 \
-I/home/jep/vlc/src/ffmpeg-20040520/libavcodec \
-I/home/jep/vlc/src/ffmpeg-20040520/libavformat \
-I/usr/include/SDL \
-I/usr/X11R6/include \
-D_REENTRANT -c -o ffplay.o ffplay.c
make install
cd ..

echo Building libmad
cd libmad-0.15.0b
./configure --enable-release --prefix=/usr --host=arm-linux --target=arm-linux \
--x-includes=/usr/X11R6/include \
--x-libraries=/usr/X11R6/lib \
export PATH=/usr/bin:$PATH
cd ..

echo Building libogg
cd libogg-1.1
./configure --prefix=/usr --host=arm-linux --target=arm-linux
make install
cd ..

echo Building libflac
cd flac-1.1.0
./configure --prefix=/usr --host=arm-linux --target=arm-linux
make install
cd ..

echo Building libdvbpsi3-0.1.4
cd libdvbpsi3-0.1.4
./configure --prefix=/usr --host=arm-linux --target=arm-linux
make install
cd ..

cd a52dec-0.7.4
./configure --enable-release --prefix=/usr --host=arm-linux --target=arm-linux
make && make install
cd ..

echo Building vlc
cd vlc-0.7.2
./configure --target=arm-linux --host=arm-linux \
--disable-wxwidgets \
--disable-skins2 \
--enable-release \
--prefix=/usr \
--disable-plugins \
--enable-gtk \
--enable-gtk2 \
--enable-pda \
--enable-ncurses \
--enable-x11 \
--disable-gnome \
--disable-qt \
--disable-kde \
--disable-qte \
--disable-xosd \
--enable-dummy \
--disable-fb \
--disable-sdl \
--disable-oss \
--disable-alsa \
--disable-httpd \
--disable-libcdio \
--disable-xvideo \
--disable-dvd \
--disable-dvdread \
--disable-vcd \
--disable-cdda \
--disable-mkv \
--disable-maxosx \
--disable-xosd \
--disable-freetype \
--disable-flac \
--disable-libmpeg2 \
--enable-mad \
--enable-ffmpeg \
--enable-familiar \
--disable-dvbpsi \
--x-includes=/usr/X11R6/include \

# --with-gtk-config-path=/usr/bin \
# --with-gtk-prefix=/usr \
# --with-ffmpeg-tree=../ffmpeg-20040520 \
# --with-a52-tree=../a52dec-0.7.4 \
# --with-dvbpsi-tree=../libdvbpsi3-0.1.4

# --with-mad-tree=../libmad-0.15.0b \


Screenshoot of my nethack port

This is my nethack port running on maemo. I've done some customization on GUI acording to my preferences.

Devices powered by Linux

This is my colection of devices running Linux:
- Dreambox 7000S Sattelite TV receiver
- Laptop DELL Latitude D600
- gp2x portable console
- Nokia 770 Internet tablet

Sunday, February 12, 2006

In the beginning was nethack...

A month ago I received a new linux gadget for my collection, the Nokia 770 Internet Tablet. I bought that device because I was looking an affordable ebook reader device and I found on N770 the best choice.

It finally arrived to my hands I had been greatly impressed with its screen, was exactly what I wanted.

I’ve started to install my required software. First I installed xterm that let me investigate internals of that gadget. After I installed fbreader, this was my primary target after all. Now I finished read two books since then. The third piece of software that I’ve installed was nethack and that was my first deception, because I couldn’t execute the game on my device, two days after I discovered on the author’s port page that something was wrong on latest firmware.

That was a perfect introductory challenge to learn about maemo development. I’ve started downloading latest ubuntu and installing it. After I followed maemo’s tutorial steps for install development tools and “hello world sample”. Next step was download nethack port sources from Ralf Engels and started to solve compile and execution problems that I found. When main problems solved and obtained first functionally version I started improve it according my interface preferences.

Here you can download binary and source packages.