Mercurial > mplayer.hg
comparison configure @ 37176:2208a16cc562
Remove GTK+ and GLib versions 1 relatedness from the GUI.
This isn't really a cut-back, because although it seemed
that compiling with GTK+ and GLib versions 1 were possible,
compiling actually hadn't been possible for quite some time.
author | ib |
---|---|
date | Mon, 08 Sep 2014 20:17:01 +0000 |
parents | ba344b4947c5 |
children | d50c97393dc1 |
comparison
equal
deleted
inserted
replaced
37175:ba344b4947c5 | 37176:2208a16cc562 |
---|---|
326 | 326 |
327 Optional features: | 327 Optional features: |
328 --disable-mencoder disable MEncoder (A/V encoder) compilation [enable] | 328 --disable-mencoder disable MEncoder (A/V encoder) compilation [enable] |
329 --disable-mplayer disable MPlayer compilation [enable] | 329 --disable-mplayer disable MPlayer compilation [enable] |
330 --enable-gui enable GMPlayer compilation (GTK+ GUI) [disable] | 330 --enable-gui enable GMPlayer compilation (GTK+ GUI) [disable] |
331 --enable-gtk1 force using GTK+ 1.2 for the GUI [disable] | |
332 --enable-termcap use termcap database for key codes [autodetect] | 331 --enable-termcap use termcap database for key codes [autodetect] |
333 --enable-termios use termios database for key codes [autodetect] | 332 --enable-termios use termios database for key codes [autodetect] |
334 --disable-iconv disable iconv for encoding conversion [autodetect] | 333 --disable-iconv disable iconv for encoding conversion [autodetect] |
335 --disable-langinfo do not use langinfo [autodetect] | 334 --disable-langinfo do not use langinfo [autodetect] |
336 --enable-lirc enable LIRC (remote control) support [autodetect] | 335 --enable-lirc enable LIRC (remote control) support [autodetect] |
602 --extra-libs-mplayer=FLAGS extra linker flags for MPlayer | 601 --extra-libs-mplayer=FLAGS extra linker flags for MPlayer |
603 --extra-libs-mencoder=FLAGS extra linker flags for MEncoder | 602 --extra-libs-mencoder=FLAGS extra linker flags for MEncoder |
604 --with-xvmclib=NAME adapter-specific library name (e.g. XvMCNVIDIA) | 603 --with-xvmclib=NAME adapter-specific library name (e.g. XvMCNVIDIA) |
605 | 604 |
606 --with-freetype-config=PATH path to freetype-config | 605 --with-freetype-config=PATH path to freetype-config |
607 --with-glib-config=PATH path to glib*-config | |
608 --with-gtk-config=PATH path to gtk*-config | |
609 --with-sdl-config=PATH path to sdl*-config | 606 --with-sdl-config=PATH path to sdl*-config |
610 --with-dvdnav-config=PATH path to dvdnav-config, also disables internal dvdread and dvdnav | 607 --with-dvdnav-config=PATH path to dvdnav-config, also disables internal dvdread and dvdnav |
611 --with-dvdread-config=PATH path to dvdread-config, also disables internal dvdread and dvdnav | 608 --with-dvdread-config=PATH path to dvdread-config, also disables internal dvdread and dvdnav |
612 | 609 |
613 This configure script is NOT autoconf-based, even though its output is similar. | 610 This configure script is NOT autoconf-based, even though its output is similar. |
807 _lirc=auto | 804 _lirc=auto |
808 _lircc=auto | 805 _lircc=auto |
809 _apple_remote=auto | 806 _apple_remote=auto |
810 _apple_ir=auto | 807 _apple_ir=auto |
811 _gui=no | 808 _gui=no |
812 _gtk1=no | |
813 _termcap=auto | 809 _termcap=auto |
814 _termios=auto | 810 _termios=auto |
815 _3dfx=no | 811 _3dfx=no |
816 _s3fb=no | 812 _s3fb=no |
817 _wii=no | 813 _wii=no |
916 --with-sdl-config=*) | 912 --with-sdl-config=*) |
917 _sdlconfig=$(option_value $ac_option) | 913 _sdlconfig=$(option_value $ac_option) |
918 ;; | 914 ;; |
919 --with-freetype-config=*) | 915 --with-freetype-config=*) |
920 _freetypeconfig=$(option_value $ac_option) | 916 _freetypeconfig=$(option_value $ac_option) |
921 ;; | |
922 --with-gtk-config=*) | |
923 _gtkconfig=$(option_value $ac_option) | |
924 ;; | |
925 --with-glib-config=*) | |
926 _glibconfig=$(option_value $ac_option) | |
927 ;; | 917 ;; |
928 --with-dvdnav-config=*) | 918 --with-dvdnav-config=*) |
929 _dvdnavconfig=$(option_value $ac_option) | 919 _dvdnavconfig=$(option_value $ac_option) |
930 _dvdread_internal=no | 920 _dvdread_internal=no |
931 ;; | 921 ;; |
1297 --disable-apple-remote) _apple_remote=no ;; | 1287 --disable-apple-remote) _apple_remote=no ;; |
1298 --enable-apple-ir) _apple_ir=yes ;; | 1288 --enable-apple-ir) _apple_ir=yes ;; |
1299 --disable-apple-ir) _apple_ir=no ;; | 1289 --disable-apple-ir) _apple_ir=no ;; |
1300 --enable-gui) _gui=yes ;; | 1290 --enable-gui) _gui=yes ;; |
1301 --disable-gui) _gui=no ;; | 1291 --disable-gui) _gui=no ;; |
1302 --enable-gtk1) _gtk1=yes ;; | |
1303 --disable-gtk1) _gtk1=no ;; | |
1304 --enable-termcap) _termcap=yes ;; | 1292 --enable-termcap) _termcap=yes ;; |
1305 --disable-termcap) _termcap=no ;; | 1293 --disable-termcap) _termcap=no ;; |
1306 --enable-termios) _termios=yes ;; | 1294 --enable-termios) _termios=yes ;; |
1307 --disable-termios) _termios=no ;; | 1295 --disable-termios) _termios=no ;; |
1308 --enable-3dfx) _3dfx=yes ;; | 1296 --enable-3dfx) _3dfx=yes ;; |
7883 res_comment="some skins will look ugly without it" | 7871 res_comment="some skins will look ugly without it" |
7884 fi | 7872 fi |
7885 echores "$_xshape" | 7873 echores "$_xshape" |
7886 | 7874 |
7887 # Check for GTK2 | 7875 # Check for GTK2 |
7888 if test "$_gtk1" = no ; then | |
7889 echocheck "GTK+ version" | 7876 echocheck "GTK+ version" |
7890 | 7877 |
7891 if $_pkg_config gtk+-2.0 --exists ; then | 7878 if $_pkg_config gtk+-2.0 --exists ; then |
7892 _gtk=$($_pkg_config gtk+-2.0 --modversion 2>/dev/null) | 7879 _gtk=$($_pkg_config gtk+-2.0 --modversion 2>/dev/null) |
7893 extra_cflags="$extra_cflags $($_pkg_config gtk+-2.0 --cflags 2>/dev/null)" | 7880 extra_cflags="$extra_cflags $($_pkg_config gtk+-2.0 --cflags 2>/dev/null)" |
7900 _glib=$($_pkg_config glib-2.0 --modversion 2>/dev/null) | 7887 _glib=$($_pkg_config glib-2.0 --modversion 2>/dev/null) |
7901 libs_mplayer="$libs_mplayer $($_pkg_config glib-2.0 --libs 2>/dev/null)" | 7888 libs_mplayer="$libs_mplayer $($_pkg_config glib-2.0 --libs 2>/dev/null)" |
7902 echores "$_glib" | 7889 echores "$_glib" |
7903 | 7890 |
7904 def_gui='#define CONFIG_GUI 1' | 7891 def_gui='#define CONFIG_GUI 1' |
7905 def_gtk2='#define CONFIG_GTK2 1' | |
7906 else | 7892 else |
7907 _gtk1=yes | 7893 die "GLib 2 devel packages were not found." |
7908 echores "GLib 2 devel packages were not found, trying GTK+ 1.2" | |
7909 fi | 7894 fi |
7910 else | 7895 else |
7911 _gtk1=yes | 7896 die "GTK+ 2 devel packages were not found." |
7912 echores "GTK+ 2 devel packages were not found, trying GTK+ 1.2" | |
7913 fi | 7897 fi |
7914 fi | |
7915 | |
7916 # Check for (old) GTK1 | |
7917 if test "$_gtk1" = yes ; then | |
7918 echocheck "GTK+ version" | |
7919 | |
7920 if test -z "$_gtkconfig" ; then | |
7921 if ( gtk-config --version ) >/dev/null 2>&1 ; then | |
7922 _gtkconfig="gtk-config" | |
7923 elif ( gtk12-config --version ) >/dev/null 2>&1 ; then | |
7924 _gtkconfig="gtk12-config" | |
7925 else | |
7926 die "The GUI requires GTK+ devel packages (which were not found)." | |
7927 fi | |
7928 fi | |
7929 _gtk=$($_gtkconfig --version 2>&1) | |
7930 extra_cflags="$extra_cflags $($_gtkconfig --cflags 2>&1)" | |
7931 libs_mplayer="$libs_mplayer $($_gtkconfig --libs 2>&1)" | |
7932 echores "$_gtk (using $_gtkconfig)" | |
7933 | |
7934 # Check for (old) GLIB1 | |
7935 echocheck "GLib version" | |
7936 if test -z "$_glibconfig" ; then | |
7937 if ( glib-config --version ) >/dev/null 2>&1 ; then | |
7938 _glibconfig="glib-config" | |
7939 elif ( glib12-config --version ) >/dev/null 2>&1 ; then | |
7940 _glibconfig="glib12-config" | |
7941 else | |
7942 die "The GUI requires GLib devel packages (which were not found)" | |
7943 fi | |
7944 fi | |
7945 _glib=$($_glibconfig --version 2>&1) | |
7946 libs_mplayer="$libs_mplayer $($_glibconfig --libs 2>&1)" | |
7947 echores "$_glib (using $_glibconfig)" | |
7948 | |
7949 def_gui='#define CONFIG_GUI 1' | |
7950 def_gtk2='#undef CONFIG_GTK2' | |
7951 fi | |
7952 | 7898 |
7953 else #if ! win32 | 7899 else #if ! win32 |
7954 _gui_win32=yes | 7900 _gui_win32=yes |
7955 libs_mplayer="$libs_mplayer -lcomdlg32 -lcomctl32 -lshell32 -lkernel32" | 7901 libs_mplayer="$libs_mplayer -lcomdlg32 -lcomctl32 -lshell32 -lkernel32" |
7956 def_gui='#define CONFIG_GUI 1' | 7902 def_gui='#define CONFIG_GUI 1' |
7957 def_gtk2='#undef CONFIG_GTK2' | |
7958 fi #if ! win32 | 7903 fi #if ! win32 |
7959 | 7904 |
7960 else #if test "$_gui" | 7905 else #if test "$_gui" |
7961 def_gui='#undef CONFIG_GUI' | 7906 def_gui='#undef CONFIG_GUI' |
7962 def_gtk2='#undef CONFIG_GTK2' | |
7963 fi #if test "$_gui" | 7907 fi #if test "$_gui" |
7964 # --------------- GUI specific tests end ------------------- | 7908 # --------------- GUI specific tests end ------------------- |
7965 | 7909 |
7966 | 7910 |
7967 if test "$_charset" != "noconv" ; then | 7911 if test "$_charset" != "noconv" ; then |
8994 #define XMMS_INPUT_PLUGIN_DIR "$_xmmsplugindir" | 8938 #define XMMS_INPUT_PLUGIN_DIR "$_xmmsplugindir" |
8995 | 8939 |
8996 | 8940 |
8997 /* GUI */ | 8941 /* GUI */ |
8998 $def_gui | 8942 $def_gui |
8999 $def_gtk2 | |
9000 $def_xshape | 8943 $def_xshape |
9001 | 8944 |
9002 | 8945 |
9003 /* Audio output drivers */ | 8946 /* Audio output drivers */ |
9004 $def_alsa | 8947 $def_alsa |