Commit 8acfd9b4 authored by Sam Hocevar's avatar Sam Hocevar

  * Ultimate fixes to the win32 package generation.
parent 00201762
...@@ -392,12 +392,12 @@ package-win32: ...@@ -392,12 +392,12 @@ package-win32:
# Create installation script # Create installation script
sed -e 's#@VERSION@#'${VLC_QUICKVERSION}'#' < install-win32 > tmp/nsi sed -e 's#@VERSION@#'${VLC_QUICKVERSION}'#' < install-win32 > tmp/nsi
# Copy relevant files # Copy relevant files
cp vlc.exe plugins/directx.so plugins/gtk.so plugins/sdl.so tmp/ cp vlc.exe $(PLUGINS:%=plugins/%.so) tmp/
cp INSTALL-win32.txt AUTHORS COPYING ChangeLog ChangeLog.libdvdcss \ cp INSTALL-win32.txt AUTHORS COPYING ChangeLog ChangeLog.libdvdcss \
README README.libdvdcss FAQ TODO tmp/ README README.libdvdcss FAQ TODO tmp/
for file in gtk-1.3.dll gdk-1.3.dll glib-1.3.dll gmodule-1.3.dll \ for file in gtk-1.3.dll gdk-1.3.dll glib-1.3.dll gmodule-1.3.dll \
gnu-intl.dll SDL.dll README-SDL.txt ; \ gnu-intl.dll SDL.dll README-SDL.txt ; \
do cp ../win32-libs/$$file tmp/ ; done do cp ${DLL_PATH}/$$file tmp/ ; done
mkdir tmp/share mkdir tmp/share
for file in default8x16.psf default8x9.psf ; \ for file in default8x16.psf default8x9.psf ; \
do cp share/$$file tmp/share/ ; done do cp share/$$file tmp/share/ ; done
......
...@@ -51,6 +51,7 @@ SHELL = @SHELL@ ...@@ -51,6 +51,7 @@ SHELL = @SHELL@
RANLIB = @RANLIB@ RANLIB = @RANLIB@
WINDRES = @WINDRES@ WINDRES = @WINDRES@
MOC = @MOC@ MOC = @MOC@
DLL_PATH = @DLL_PATH@
# #
# Installation environment # Installation environment
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -1218,6 +1218,16 @@ AC_ARG_ENABLE(plugins, ...@@ -1218,6 +1218,16 @@ AC_ARG_ENABLE(plugins,
PLUGINS= PLUGINS=
fi]) fi])
dnl
dnl DLLs - used for Win32 package build
dnl
DLL_PATH=.
AC_ARG_WITH(dll-path,
[ --with-dll-path=path Path to Win32 DLLs (default search in \$PWD)],
[ if test "x$withval" != "xno"
then
DLL_PATH=$withval
fi ])
dnl dnl
dnl Configuration is finished dnl Configuration is finished
...@@ -1237,9 +1247,9 @@ AC_SUBST(GPROF) ...@@ -1237,9 +1247,9 @@ AC_SUBST(GPROF)
AC_SUBST(OPTIMS) AC_SUBST(OPTIMS)
AC_SUBST(TUNING) AC_SUBST(TUNING)
AC_SUBST(RELEASE) AC_SUBST(RELEASE)
AC_SUBST(NEED_GETOPT)
AC_SUBST(MOC) AC_SUBST(MOC)
AC_SUBST(WINDRES) AC_SUBST(WINDRES)
AC_SUBST(DLL_PATH)
AC_SUBST(PACKAGE) AC_SUBST(PACKAGE)
AC_SUBST(VERSION) AC_SUBST(VERSION)
...@@ -1295,6 +1305,7 @@ AC_SUBST(CFLAGS_XVIDEO) ...@@ -1295,6 +1305,7 @@ AC_SUBST(CFLAGS_XVIDEO)
AC_SUBST(OBJ_DVD) AC_SUBST(OBJ_DVD)
AC_SUBST(OBJ_LIBDVDCSS) AC_SUBST(OBJ_LIBDVDCSS)
AC_SUBST(NEED_GETOPT)
AC_SUBST(NEED_LIBDVDCSS) AC_SUBST(NEED_LIBDVDCSS)
AC_OUTPUT([Makefile.opts include/config.h po/Makefile.in]) AC_OUTPUT([Makefile.opts include/config.h po/Makefile.in])
......
...@@ -50,11 +50,10 @@ Section "Install" ...@@ -50,11 +50,10 @@ Section "Install"
SetOutPath $INSTDIR SetOutPath $INSTDIR
File vlc.exe File vlc.exe
File directx.so File *.so
File gtk.so File *.dll
File sdl.so File *.txt
File INSTALL-win32.txt
File AUTHORS File AUTHORS
File COPYING File COPYING
File ChangeLog File ChangeLog
...@@ -64,16 +63,6 @@ Section "Install" ...@@ -64,16 +63,6 @@ Section "Install"
File FAQ File FAQ
File TODO File TODO
File SDL.dll
File gtk-1.3.dll
File gdk-1.3.dll
File glib-1.3.dll
File gmodule-1.3.dll
File gnu-intl.dll
;File README-GTK.txt
File README-SDL.txt
File /r share File /r share
CreateDirectory "$SMPROGRAMS\VideoLAN" CreateDirectory "$SMPROGRAMS\VideoLAN"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment