HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Port Log
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search
  • Blog
PortLog:media-video/vlc/1.0.4/1

Context Navigation

  • Up
  • Start Page
  • Index
  • History

Last modified 2 years ago

vlc 1.0.4 rev 1

Maintainer(s): miqlas Patch:

none

Status: unstable Recipe: vlc_1.0.4-1.bep

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.

Build script

No build script found

Test script

No test script found

Install script

No install script found

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

Download in other formats:

  • Plain Text

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/