lockdoc
Well-Known Member
Hi,
ich bin gerade auf FreeBSD10 (10.0-CURRENT FreeBSD 10.0-CURRENT #8: Wed Jun 27 11:01:10 CEST 2012 i386) und versuche den vlc zu compilen.
Leider scheint das nicht out-of-the-box zu funktionieren und man muss ein wenig selber hand anlegen. Wer das selbe Problem hat, dass er nicht compiled, fuer den schreibe ich mal hier die Aenderungen, so wie sie bei mir funktioniert haben.
Bei mir sind die folgenden Optionen fuer VLC gesetzt
(Weiss leider nicht genau, wie man ein patch file richtig schreibt, darum mal so wie ich es mir dachte)
Zumahl musste ich auch die die folgende Compiler option ranhaengen,
da es ein paar Faelle in einer for loop gab, wo direkt dort eine variable deklariert wurde
Das ganze lief gerade damit bei mir sauber durch.
Ich frage mich eigentlich, warum in den Ports noch der alte 1er VLC ist und nicht der 2er?
Hat da Jemand infos zu?
ich bin gerade auf FreeBSD10 (10.0-CURRENT FreeBSD 10.0-CURRENT #8: Wed Jun 27 11:01:10 CEST 2012 i386) und versuche den vlc zu compilen.
Leider scheint das nicht out-of-the-box zu funktionieren und man muss ein wenig selber hand anlegen. Wer das selbe Problem hat, dass er nicht compiled, fuer den schreibe ich mal hier die Aenderungen, so wie sie bei mir funktioniert haben.
Bei mir sind die folgenden Optionen fuer VLC gesetzt
Code:
│ │[ ] A52 A52 DVD audio decoder │ │
│ │[ ] AALIB Aalib Console Graphics Support │ │
│ │[ ] ASS ASS/SSA subtitle rendering │ │
│ │[*] AVAHI Support Zeroconf through Avahi │ │
│ │[*] CACA libcaca Console Graphics Support (requires A│ │
│ │[*] DBUS D-Bus control support │ │
│ │[ ] DEBUG Install debug symbols │ │
│ │[*] DIRAC Dirac support │ │
│ │[*] DOCS Build and install the documentation │ │
│ │[*] DTS DTS DVD audio decoder │ │
│ │[*] DVB Digital Video Broadcasting support (requires│ │
│ │[*] DVDNAV DVD menu navigation │ │
│ │[*] DVDREAD DVD Playback support │ │
│ │[*] FAAD Faad audio decoder (mp4/aac) support
│ │[*] FLAC Flac audio codec support │ │
│ │[ ] FLUID Fluidsynth MIDI support │ │
│ │[ ] FRIBIDI FriBidi bidirectional unicode support │ │
│ │[*] GGI General Graphic Interface support │ │
│ │[*] GLX X11 OpenGL rendering (requires XCB) │ │
│ │[*] GNOMEVFS Gnome VFS support │ │
│ │[*] GNUTLS SSL/TLS support via GnuTLS │ │
│ │[ ] GOOM the Goom visual effect library │ │
│ │[*] HTTPD Support for httpd output streaming │ │
│ │[ ] JACK Support JACK audio server │ │
│ │[*] LIVEMEDIA Support for rstp/rtp/sdp protocols │ │
│ │[*] LUA LUA support │ │
│ │[*] MAD Mad mp3 decoder support │ │
│ │[*] MATROSKA Matroska Container Format support
│ │[ ] MODPLUG Support MODPLUG decoder │ │
│ │[*] MPEG2 Mpeg-2 audio/video decoder Support │ │
│ │[*] MTP support for the Music Transport Protocol │ │
│ │[*] MUSEPACK Support MPC audio format │ │
│ │[ ] NCURSES ncurses (console) interface │ │
│ │[*] NLS Native Language Support via gettext │ │
│ │[*] NOTIFY startup notification support │ │
│ │[*] OGG Ogg audio decoder support │ │
│ │[*] OPENGL OpenGL acceleration support │ │
│ │[ ] OPTIMIZED_CFLAG compilation optimizations │ │
│ │[*] PLUGIN VLC Mozilla Plugin │ │
│ │[*] PNG PNG graphics format support │ │
│ │[ ] PORTAUDIO PortAudio support │ │
│ │[ ] PROJM ProjectM visualizations
│ │[ ] PULSEAUDIO Support PulseAudio sound server │ │
│ │[*] QT4 Qt4 Interface │ │
│ │[*] REALAUDIO Real Audio(R) support │ │
│ │[ ] REMOTEOSD Remote OSD support │ │
│ │[ ] RUNROOT Enable running as root │ │
│ │[*] SAMBA SAMBA Access module │ │
│ │[*] SCHROED Schroedinger decoder │ │
│ │[*] SDL Simple Direct Madia Layer support │ │
│ │[ ] SERVER_ONLY Only build server parts │ │
│ │[ ] SHOUTCAST Support for Ogg Icecast and Shoutcast │ │
│ │[*] SKINS winamp skins interface (requires QT4) │ │
│ │[*] SPEEX support for speex audio format │ │
│ │[ ] SQLITE SQLite database support │ │
│ │[*] STREAM stream output
│ │[*] SVG SVG image support │ │
│ │[*] SVGALIB SVGALIB video output │ │
│ │[*] TAGLIB ID3 tag and Ogg comment support │ │
│ │[*] THEORA OGG/Vorbis video codec support │ │
│ │[ ] TREMOR Tremor voice audio (redundant with Vorbis) │ │
│ │[*] TWOLAME Twolame mpeg2 audio encoder support │ │
│ │[ ] UNSAFE_PLUGINS Install unsafe, unsupported plugins │ │
│ │[*] UPNP UPnP network device control │ │
│ │[*] V4L Video4Linux video capture compatibility │ │
│ │[*] VAAPI Support hardware decoding via VAAPI │ │
│ │[*] VCD Video CD support │ │
│ │[*] VORBIS support for Ogg Vorbis │ │
│ │[*] X11 Support for X11 │ │
│ │[*] X264 H264 video codec using x264
│ │[*] XCB Use X C Bindings for X11 output │ │
│ │[*] XOSD X11 On Screen Display support │ │
│ │[*] XVIDEO X11 video rendering (requires XCB) │ │
│ │[*] ZVBI VBI decoding support
(Weiss leider nicht genau, wie man ein patch file richtig schreibt, darum mal so wie ich es mir dachte)
Code:
file: /usr/ports/multimedia/vlc/work/vlc-1.1.13/modules/gui/skins2/ src/theme_loader.cpp
---771 return gzclose( toClose );
+++771 return gzclose( (gzFile)toClose );
---780 return gzread( currentGzVp, p_buffer, i_length );
+++780 return gzread( (gzFile)currentGzVp, p_buffer, i_length );
---789 return gzwrite( currentGzVp, const_cast<void*>(p_buffer), i_length );
+++789 return gzwrite( (gzFile)currentGzVp, const_cast<void*>(p_buffer), i_length );
Zumahl musste ich auch die die folgende Compiler option ranhaengen,
da es ein paar Faelle in einer for loop gab, wo direkt dort eine variable deklariert wurde
Code:
root> make -Dstc=c99 -DDISABLE_VULNERABILITIES install
Das ganze lief gerade damit bei mir sauber durch.
Ich frage mich eigentlich, warum in den Ports noch der alte 1er VLC ist und nicht der 2er?
Hat da Jemand infos zu?