This simplifies the build system quite a lot, and reduce compilation
times when PIC is actually needed.
If you really mind the extra overhead of PIC, use:
./configure --enable-libtool --enable-static --disable-shared
What is currently broken:
* Some playlist demuxers (shout, dvb and pls)
* DAAP
* BeOS playlist
* GPE playlist, I suppose
What has some trouble:
* Meta handling in several demuxers (most notably TS)
* Skins2 playlist (doesn't refresh correctly)
* OS X playlist (see bigben's latest commits)
modules/misc/playlist/*, modules/access/http.c: XSPF playlist support
(read and write) by Daniel Stranger. Many thanks
src/misc/modules.c, src/misc/strings.c, include/vlc_strings.h: string
handling functions.
modules/control/http/*, modules/services_discovery/upnp_intel.cpp: use
these string handling functions.
Should work fine (ie. better than --enable-shared-libvlc) on Linux,
should work on Mac OS X (except for packaging), while shared libvlc doesn't.
Won't work on Win32 with the current Win32 contrib. Stick to static libvlc or
use --enable-shared-libvlc for now.
- Link against -lvlc instead of src/libvlc.so otherwise installed vlc
cannot be loaded (closes#555)
- Remove src/libvlc.a when src/libvlc.so is built so that previous item
does not break Win32 linking
<subliminal message>how about using libtool</subliminal message>
so that it is cleanly built before all modules
(step toward buildable shared libvlc on Win32)
- Don't build position dependant code when building shared libvlc
(that was a big waste of time)
- Link builtin modules with vlc rather than libvlc
To stream use a commandline similar to this:
./vlc dvdsimple:///dev/dvd --sub-filter=osdmenu --osdmenu-file=share/osdmenu/default.cfg --extraintf rc --sout '#transcode{sfilter=osdmenu}:std{mux=ts,access=udp,url=127.0.0.1:1234}' -vvvv
For local playback a commandline like this is needed:
./vlc dvdsimple:///dev/dvd --sub-filter=osdmenu --osdmenu-file=share/osdmenu/default.cfg -vvvv
Have fun with the basic functionality - jpsaman.
New VLC_EXPORTs are now added at the end of module_symbols_t so that
offsets of other function pointers are preserved.
Deleted VLC_EXPORTs are replaced with dummy pointers for padding.
Of course, it doesn't solve the problem with changing shared structures
format :/ and it may cause SVN conflicts when multiple people changes
VLC_EXPORT. I doubt it can be avoided though.