[vlc-devel] Fwd: Re: QTJ and Linux
Tony Anecito
adanecito at yahoo.com
Tue Nov 6 05:34:26 CET 2007
Many Thanks,
Hopefully the jvlc or the vlc build master can include
it in subversion. I have an earlier working dll but
wanted it in the nightly builds for others since the
configure/make process not quite working yet (very
close) for cygwin windows.
The latest issue I reported to the jvlc team that I
need to create a simple example for is when a jvlc
canvas is created and there is no movie then the vlc
code throws an error about having no input during a
reparent call.
In the next couple of weeks it will be fixed and I can
have an updated dll. Meantime I will use one several
months old with dlls from that timeframe.
Regards,
-Tony
--- Vladimir Kokovic <vladimir.kokovic at a-asoft.com>
wrote:
> ----- Original Message -----
> From: Tony Anecito <adanecito at yahoo.com>
> To: Mailing list for VLC media player developers
> <vlc-devel at videolan.org>
> Sent: Mon, 5 Nov 2007 22:57:26 +0100 (CET)
> Subject: Re: [vlc-devel] Fwd: Re: QTJ and Linux
>
> > Actually I am interested in the pre-existing
> binaries
> > since I have no hope of truely understanding the
> code
> > :-)
>
> > I would love to have a jvlc.dll come from the
> group
> > but understand the windows issues and resort to
> > building my own since nobody in the group seems to
> > have an environment to build it ;-)
>
> Hi Tony,
>
> I've made single pass linux cross compile win32
> build and also linux build
> with java bindings.
>
> My build environment is Kubuntu 7.10
>
> Linux build is vk-build-java-mozilla.sh
> Windows build is vk-build-java-mingw32.sh
>
> Build directory structure is:
>
> root at vladakk-kuci:/media/hda5/tmp/vlc-svn# ls -l
> total 90649
> -rwxr-xr-x 1 root root 69 2006-09-13 14:34
> checkout.sh
> -rw-r--r-- 1 root root 19824994 2007-08-19 13:55
> contrib-20070530-win32-bin-gcc-3.4.5-only.tar.bz2
> -rw-r--r-- 1 root root 5120 2007-07-12 04:00
> jawt.dll
> -rw-r--r-- 1 root root 42 2007-10-31 17:27
> jawt.dll.def
> -rw-r--r-- 1 root root 856 2007-08-19 15:50
> jawt_md.h
> -rw-r--r-- 1 root root 72567355 2007-08-19 16:53
> jdk1.6.0_02-win32.zip
> -rw-r--r-- 1 root root 437 2007-08-19 15:50
> jni_md.h
> -rw-r--r-- 1 root root 2236 2007-10-31 17:27
> libjawt.dll.a
> -rwxr-xr-x 1 root root 19456 2002-10-30 09:50
> pexports.exe
> -rw-r--r-- 1 root root 2291 2007-11-01 17:05
> trunk-bindings-java-src-Makefile.am.diff
> -rw-r--r-- 1 root root 2407 2007-11-05 21:48
> trunk-Makefile.am.diff
> -rw-r--r-- 1 root root 90 2007-10-23 19:32
> trunk-vlc.win32.nsi.in.diff
> -rwxr-xr-x 1 root root 266 2007-10-12 17:14
> vk-build-java-mingw32-makeonly.sh
> -rwxr-xr-x 1 root root 299 2007-10-12 23:08
> vk-build-java-mingw32-package.sh
> -rwxr-xr-x 1 root root 4478 2007-10-31 17:24
> vk-build-java-mingw32.sh
> -rwxr-xr-x 1 root root 1969 2007-10-28 14:13
> vk-build-java-mozilla.sh
> -rwxr-xr-x 1 root root 2840 2006-10-25 13:02
> vk-build-java-win32.sh
> -rwxr-xr-x 1 root root 1172 2006-11-18 09:44
> vk-build.sh
> drwxr-xr-x 3 root root 136 2007-10-13 00:16
> vk-vlc-trunk
> -rw-r--r-- 1 root root 238399 2007-10-26 21:14
> vlc-dependencies.txt
> drwxr-xr-x 18 root root 1280 2007-11-05 21:47
> vlc-trunk
> drwxr-xr-x 23 root root 2056 2007-11-05 22:09
> vlc-trunk-linux
> drwxr-xr-x 23 root root 2120 2007-11-05 22:37
> vlc-trunk-mingw32
>
>
> Attached files contains all my changes and nedeed
> files
>
> Best regards
> Vladimir Kokovic, DP senior, Belgrade, Serbia
> > /*
> * @(#)jawt_md.h 1.8 05/11/17
> *
> * Copyright 2006 Sun Microsystems, Inc. All rights
> reserved.
> * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to
> license terms.
> */
>
> #ifndef _JAVASOFT_JAWT_MD_H_
> #define _JAVASOFT_JAWT_MD_H_
>
> #include <windows.h>
> #include "jawt.h"
>
> #ifdef __cplusplus
> extern "C" {
> #endif
>
> /*
> * Win32-specific declarations for AWT native
> interface.
> * See notes in jawt.h for an example of use.
> */
> typedef struct jawt_Win32DrawingSurfaceInfo {
> /* Native window, DDB, or DIB handle */
> union {
> HWND hwnd;
> HBITMAP hbitmap;
> void* pbits;
> };
> /*
> * This HDC should always be used instead of the
> HDC returned from
> * BeginPaint() or any calls to GetDC().
> */
> HDC hdc;
> HPALETTE hpalette;
> } JAWT_Win32DrawingSurfaceInfo;
>
> #ifdef __cplusplus
> }
> #endif
>
> #endif /* !_JAVASOFT_JAWT_MD_H_ */
> > /*
> * @(#)jni_md.h 1.15 05/11/17
> *
> * Copyright 2006 Sun Microsystems, Inc. All rights
> reserved.
> * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to
> license terms.
> */
>
> #ifndef _JAVASOFT_JNI_MD_H_
> #define _JAVASOFT_JNI_MD_H_
>
> #define JNIEXPORT __declspec(dllexport)
> #define JNIIMPORT __declspec(dllimport)
> #define JNICALL __stdcall
>
> typedef long jint;
> typedef __int64 jlong;
> typedef signed char jbyte;
>
> #endif /* !_JAVASOFT_JNI_MD_H_ */
> > 13a14
> > libjvlc_la_LIBADD = ../../../src/libvlc-control.la
> $(LIBJINCLUDES)
> 19a21,38
> > DATA_noinst_libjvlc = jvlc$(LIBEXT)
> libjvlc$(LIBEXT).a
> > LIBRARIES_libvlc =
> $(top_builddir)/src/.libs/libvlc.dll.a
> $(top_builddir)/src/.libs/libvlc-control.dll.a
> > LDFLAGS_jvlc = `$(VLC_CONFIG) --libs libvlc`
> > libjvlc_DATA = libjvlc.def libjvlc.dll.a
> jvlc$(LIBEXT)
> >
> > libjvlcdir=$(srcdir)
> >
> > libjvlc.dll.a libjvlc.def:
> > $(DLLTOOL) -z libjvlc.def -l libjvlc.dll.a -D
> jvlc.dll $< $(libjvlc_a_OBJECTS)
> >
> > jvlc$(LIBEXT): $(libjvlc_a_OBJECTS) \
> > $(libjvlc_a_DEPENDENCIES)
> > $(CXXLINK) $(libjvlc_a_OBJECTS) -Wl,--kill-at
> \
> > $(srcdir)/libjvlc.def \
> > $(LIBRARIES_libvlc) -shared
> $(LIBRARIES_libvlc) $(LIBJINCLUDES) \
> > $(LDFLAGS_jvlc) $(LTLIBINTL)
> > # Cygwin work-around, copied by other makefiles
> > @if test -f "$@.exe"; then mv -f "$@.exe" "$@";
> fi
> 21,44c40,41
> < libjvlc_la_LIBADD = ../../../src/libvlc.la
> ../../../src/libvlc-control.la $(LDFLAGS) -ljawt.dll
> < libjvlc_la_LDFLAGS = -no-undefined -version-info
> 1:0:0 -Wl,--add-stdcall-alias
> < DATA_noinst_libjvlc = libjvlc$(LIBEXT)
> libjvlc$(LIBEXT).a
> <
> < else
> <
> < PROCESSOR_FAMILY = `uname -m | sed -e
> 's/^i.86/i386/' | sed -e 's/^x86_64/amd64/'`
> < LIBJINCLUDES =
> -L$(JAVA_HOME)/jre/lib/$(PROCESSOR_FAMILY) -ljawt
> < libjvlc_la_LIBADD = ../../../src/libvlc.la
> ../../../src/libvlc-control.la ${LIBJINCLUDES}
> < libjvlc_DATA = jvlc.jar
> < libjvlcdir = $(prefix)/share
> < jvlc.jar:
> < cd "$(top_builddir)/bindings/java" && \
> < jar cvf jvlc.jar \
> < org/videolan/jvlc/Audio.class
> org/videolan/jvlc/AudioIntf.class \
> < org/videolan/jvlc/GenericVideoWidget.class
> org/videolan/jvlc/Input.class \
> < org/videolan/jvlc/InputIntf.class
> org/videolan/jvlc/JLibVLC.class \
> < org/videolan/jvlc/JVLCCanvas.class
> org/videolan/jvlc/JVLC.class \
> < org/videolan/jvlc/JVLCPanel.class
> org/videolan/jvlc/Playlist.class \
> < org/videolan/jvlc/PlaylistIntf.class
> org/videolan/jvlc/Video.class \
> < org/videolan/jvlc/VideoIntf.class
> org/videolan/jvlc/VLCException.class \
> < org/videolan/jvlc/VLM.class
> org/videolan/jvlc/VLMIntf.class \
> < org/videolan/jvlc/listener/VolumeListener.class
> && \
> < mv jvlc.jar src/
> ---
> >
> > all: libjvlc.dll.a
> 51c48
> < rm -f *.o *~ *.dll
> ---
> > rm -f *.o *~ *.def *.dll
> > 435a436,443
> > $(INSTALL) -d
>
$(top_builddir)/VLC-release.app/Contents/MacOS/share/luaintf
> > for i in $(srcdir)/share/luaintf/*.* ; do \
> > $(INSTALL) -m 644 $${i}
>
$(top_builddir)/VLC-release.app/Contents/MacOS/share/luaintf/`basename
> $${i}` ; \
> > done ; \
> > $(INSTALL) -d
>
$(top_builddir)/VLC-release.app/Contents/MacOS/share/luaintf/modules
> > for i in $(srcdir)/share/luaintf/modules/*.* ; do
> \
> > $(INSTALL) -m 644 $${i}
>
$(top_builddir)/VLC-release.app/Contents/MacOS/share/luaintf/modules/`basename
> $${i}` ; \
> > done ; \
> 713,728d720
> < if BUILD_JAVA
> < cd "$(top_builddir)/bindings/java" && \
> < cp "src/.libs/libjvlc-1.dll"
> "../../vlc-${VERSION}" && \
> < jar cvf ../../vlc-${VERSION}/jvlc.jar \
> < org/videolan/jvlc/Audio.class
> org/videolan/jvlc/AudioIntf.class \
> < org/videolan/jvlc/GenericVideoWidget.class
> org/videolan/jvlc/Input.class \
> < org/videolan/jvlc/InputIntf.class
> org/videolan/jvlc/JLibVLC.class \
> < org/videolan/jvlc/JVLCCanvas.class
> org/videolan/jvlc/JVLC.class \
> < org/videolan/jvlc/JVLCPanel.class
> org/videolan/jvlc/Playlist.class \
> < org/videolan/jvlc/PlaylistIntf.class
> org/videolan/jvlc/Video.class \
> < org/videolan/jvlc/VideoIntf.class
> org/videolan/jvlc/VLCException.class \
> < org/videolan/jvlc/VLM.class
> org/videolan/jvlc/VLMIntf.class \
> < org/videolan/jvlc/listener/VolumeListener.class
> < mv "$(top_builddir)/vlc-${VERSION}/libjvlc-1.dll"
> "$(top_builddir)/vlc-${VERSION}/jvlc.dll"
> < endif
> <
> 751a744,751
> > $(INSTALL) -d
> $(top_builddir)/vlc-${VERSION}/share/luaintf
> > for i in $(srcdir)/share/luaintf/*.* ; do \
> > $(INSTALL) -m 644 $${i}
>
$(top_builddir)/vlc-${VERSION}/share/luaintf/`basename
> $${i}` ; \
> > done ;
> > $(INSTALL) -d
> $(top_builddir)/vlc-${VERSION}/share/luaintf/modules
> > for i in $(srcdir)/share/luaintf/modules/*.* ; do
> \
> > $(INSTALL) -m 644 $${i}
>
$(top_builddir)/vlc-${VERSION}/share/luaintf/modules/`basename
> $${i}` ; \
> > done ;
> 879a880,883
> > # For now, export the framework for third parties,
> from here
> > (cd $(top_builddir)/extras/MacOSX/Framework &&
> xcodebuild);
> > cp -r
>
$(top_builddir)/extras/MacOSX/Framework/build/Release/VLC.framework
> $(top_builddir)/vlc-${VERSION}/VLC.framework
> >
> 969c973
> < /Developer/Tools/packagemaker -build -ds -p
> "$(top_builddir)/VLC Internet Plug-In.pkg" \
> ---
> > PATH=/Developer/usr/bin:/Developer/Tools:$$PATH
> packagemaker -build -ds -p "$(top_builddir)/VLC
> Internet Plug-In.pkg" \
> > 352,353d351
> < !insertmacro InstallFile jvlc.dll
> < !insertmacro InstallFile jvlc.jar
> > _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the vlc-devel
mailing list