Last updated on 01/29/10 17:07:41 (6 months ago)

media-video/vlc-1.0.4 rev 1

Maintainer(s): miqlas Haiku status: unstable
BONE status: untested
R5 status: untested

Description

It compiled, linked, running, but crashing very frequently and won't play anything (or only one frame), this might be an kernel signal management bug.

media-video/vlc/1.0.4/1

Build process:

* Required: GCC2Hybrid or GCC4 Haiku
* Download & extract : [http://download.videolan.org/pub/videolan/vlc/1.0.4/vlc-1.0.4.tar.bz2]
* bootstrap
* replace every instance of -lm and -lpthread with -lroot, and every -lsocket with -lnetwork
* ./configure --prefix=/boot/apps/vlc --disable-glx --with-mad=/boot/common/lib --with-mad-tree=/boot/home/Desktop/VLC/libmad-0.15.1b LIBS=-lnetwork --enable-sdl-image LDFLAGS=-L/boot/common/lib CPPFLAGS=-I/boot/common/include --enable-run-as-root --disable-swscale --disable-postproc --disable-skins2
(It is required, because the configure script didn't found these libs, or something wrong with the ffmpeg's swscale and postproc. FIXME!)
* make
(It takes long time, and You will get some warnings and errors)
* make install


Small patches:
* /src/network/io.c:249: error: 'SOCK_RDM' undeclared

#define SOCK_RDM 4

* /src/text/unicode.c:56:3: error: #error No UTF8 charset conversion implemented on this platform!

47 : #if defined __APPLE__ || defined (__HAIKU__)

* /src/text/unicode.c:119: error: 'CP_ACP' undeclared

#define CP_ACP 0

* /src/text/unicode.c:119: error: 'CP_UTF8' undeclared

#define CP_UTF8 65001


* /modules/control/signals.c:93: error: 'SA_SIGINFO' undeclared

Comment out line 93 and 94. This is not the best solution. FIXME!



* vlc-config

Remove all instances of -lX11


Finish... And WORKS!
 http://noob.hu/2010/01/29/screenshot2.png
 http://noob.hu/2010/01/29/screenshot3.png
 http://noob.hu/2010/01/29/screenshot4.png
 http://noob.hu/2010/01/29/screenshot5.png
 http://noob.hu/2010/01/29/screenshot7.png