# HG changeset patch # User reimar # Date 1278227598 0 # Node ID 480cdba9e4802703fa8548c7ed09b19209c89c93 # Parent 1474401afe4509308bf6c74c20dbe6f0c7081b7b Add a manifest file to disable file and registry "virtualization" on Windows. diff -r 1474401afe45 -r 480cdba9e480 Makefile --- a/Makefile Sat Jul 03 20:54:54 2010 +0000 +++ b/Makefile Sun Jul 04 07:13:18 2010 +0000 @@ -885,6 +885,8 @@ $(DEPS) $(MENCODER_DEPS) $(MPLAYER_DEPS): help_mp.h $(call ADDSUFFIXES,.d .o,mpcommon osdep/mplayer.rc): version.h +osdep/mplayer-rc.o: osdep/mplayer.exe.manifest + gui/%: CFLAGS += -Wno-strict-prototypes libdvdcss/%: CFLAGS := -Ilibdvdcss -D__USE_UNIX98 -D_GNU_SOURCE -DVERSION=\"1.2.10\" $(CFLAGS_LIBDVDCSS) $(CFLAGS) diff -r 1474401afe45 -r 480cdba9e480 osdep/mplayer.exe.manifest --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/osdep/mplayer.exe.manifest Sun Jul 04 07:13:18 2010 +0000 @@ -0,0 +1,19 @@ + + + + MPlayer - The Movie Player + + + + + + + + diff -r 1474401afe45 -r 480cdba9e480 osdep/mplayer.rc --- a/osdep/mplayer.rc Sat Jul 03 20:54:54 2010 +0000 +++ b/osdep/mplayer.rc Sun Jul 04 07:13:18 2010 +0000 @@ -51,3 +51,6 @@ } IDI_ICON1 ICON DISCARDABLE "etc/mplayer.ico" + +// for some reason RT_MANIFEST does not work +1 24 "mplayer.exe.manifest"