[MPlayer-dev-eng] [PATCH] fix resources in mingw build

Diego Biurrun diego at biurrun.de
Sat Mar 24 14:05:31 CET 2007


On Sat, Mar 24, 2007 at 02:05:09AM +0100, Gianluigi Tiesi wrote:
> 
> OBJS_MPLAYER-$(TARGET_WIN32) += osdep/mplayer-rc.o
> 
> doesn't work anymore for me,
> Also resource file is a bit outdated.
> 
> The patch adds resources to mplayer/mencoder by using ifeq
> and also updates a bit the resource file (rc).
> 
> --- Makefile	(revision 22787)
> +++ Makefile	(working copy)
> @@ -129,7 +129,10 @@
>  
>  # Having this in libosdep.a is not enough.
> -OBJS_MPLAYER-$(TARGET_WIN32) += osdep/mplayer-rc.o
> +ifeq ($(TARGET_WIN32),yes)
> +	OBJS_MPLAYER += osdep/mplayer-rc.o
> +	OBJS_MENCODER += osdep/mplayer-rc.o
> +endif

That's the wrong fix.  Also, why do you wish to use it for MEncoder as
well?  Note that I'm not fully sure what this file is used for in the
Windows build.

> --- osdep/mplayer.rc	(revision 22787)
> +++ osdep/mplayer.rc	(working copy)
> @@ -18,15 +18,14 @@
> -            VALUE "LegalCopyright", " (C) 2000-2004 MPlayer Team\000"
> -            //VALUE "LegalTrademarks"," \000";
> +            VALUE "LegalCopyright", " (C) 2000-2007 MPlayer Team\000"

Why remove LegalTrademarks?

> -            //VALUE "SpecialBuild","\000"
> +            VALUE "SpecialBuild","\000"

Why add this back?

Diego




More information about the MPlayer-dev-eng mailing list