Automake 1.5 and 1.6 both suck, and 1.7 is almost four years old, so there is really no excuse for not using a decent version. Besides, there seems to some problems while building the loader with old Automake versions.
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
- scrub: removes .Trashes
- imagekey zlib-level=9: uses a better compression method, which saves us something MBs, but needs a bit more CPU-time.
Thanks to cilly on IRC for suggesting this.
configure.ac: cleaned up Cocoa.h detection, removed link path dependency to 'vlc-lib' as it is no longer necessary
Makefile.am: fixed installation of dylibs as vlc_ prefix is already appended by INSTALL_NAME
NOTE: this change is highly disruptive for MacOS X build, I strongly recommend that you rebuild the contrib packages for this platform. Other platforms are unaffected
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>
- the Cancel-button is currently disabled because the core doesn't respond correctly (might be my fault though)
- note that the File's Owner of the nib-file is of type VLCInteraction because the class can't resolve its outlets otherwise
* WIDGET_TEXT and WIDGET_INPUT_TEXT are still missing, but will come in the next couple of days
As usual, comments on the implementation and the GUI-design are welcome :)
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
- the actual download is currently done by your default browser since the needed notification window isn't available on OSX yet
- download through VLC is implemented, but commented for the moment
- needs some checking once a complete Status.xml is available