[MPlayer-dev-eng] [PATCH] remove many -I in compiles...

Oded Shimon ods15 at ods15.dyndns.org
Sat Sep 3 17:18:24 CEST 2005


On Fri, Sep 02, 2005 at 11:36:01AM +0300, Oded Shimon wrote:
> This patch does 2 things. Change this:
> 
> cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -g -O4 
> -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer 
> -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXTHREADS 
> -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include 
> -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I. -I/usr/include/   
> -DXTHREADS -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
> -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 
> -I/usr/include/freetype2 -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include    -I/usr/include/freetype2 -I/usr/include 
> -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include   -I./libavutil 
> -I./libavcodec  -o m_option.o m_option.c
> 
> into this:
> 
> cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -g -O4 
> -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer 
> -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. 
> -I/usr/include/     -I/usr/include/freetype2 -I/usr/include 
> -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include   -I./libavutil 
> -I./libavcodec  -o m_option.o m_option.c
> 
> 
> And also, removes GTK dependencies from mp_msg by using helper functions in 
> Gui/ files..
> 
> Please test on odd distrobutions, it should work just fine, gonna commit 
> soon...

Committed.

- ods15




More information about the MPlayer-dev-eng mailing list