diff -ur mplayer-1.0_rc2_p24929/configure mplayer-1.0_rc2_p24929-gs/configure
|
old
|
new
|
|
| 280 | 280 | --disable-ftp disable FTP support [enabled] |
| 281 | 281 | --disable-vstream disable TiVo vstream client support [autodetect] |
| 282 | 282 | --disable-pthreads disable Posix threads support [autodetect] |
| | 283 | --disable-dbus-glib disable D-BUS GLib interface (required for GNOME screensaver support) [autodetect] |
| 283 | 284 | --disable-w32threads disable Win32 threads support [autodetect] |
| 284 | 285 | --disable-ass disable internal SSA/ASS subtitle support [autodetect] |
| 285 | 286 | --enable-rpath enable runtime linker path for extra libs [disabled] |
| … |
… |
|
| 673 | 674 | _vstream=auto |
| 674 | 675 | _pthreads=auto |
| 675 | 676 | _w32threads=auto |
| | 677 | _dbus_glib=auto |
| 676 | 678 | _ass=auto |
| 677 | 679 | _rpath=no |
| 678 | 680 | _asmalign_pot=auto |
| … |
… |
|
| 1112 | 1114 | --disable-pthreads) _pthreads=no ;; |
| 1113 | 1115 | --enable-w32threads) _w32threads=yes ;; |
| 1114 | 1116 | --disable-w32threads) _w32threads=no ;; |
| | 1117 | --enable-dbus-glib) _dbus_glib=yes ;; |
| | 1118 | --disable-dbus-glib) _dbus_glib=no ;; |
| 1115 | 1119 | --enable-ass) _ass=yes ;; |
| 1116 | 1120 | --disable-ass) _ass=no ;; |
| 1117 | 1121 | --enable-rpath) _rpath=yes ;; |
| … |
… |
|
| 3761 | 3765 | fi |
| 3762 | 3766 | echores "$_tga" |
| 3763 | 3767 | |
| | 3768 | echocheck "D-BUS GLib interface" |
| | 3769 | if test "$_dbus_glib" = auto && pkg-config --exists dbus-glib-1; then |
| | 3770 | _dbus_glib=yes |
| | 3771 | _vosrc="$_vosrc gnome_screensaver.c" |
| | 3772 | _vomodules="gnome_screensaver $_vomodules" |
| | 3773 | _inc_extra="$_inc_extra `pkg-config --cflags dbus-glib-1 2>/dev/null`" |
| | 3774 | _ld_extra="$_ld_extra `pkg-config --libs dbus-glib-1 2>/dev/null`" |
| | 3775 | fi |
| | 3776 | |
| | 3777 | if test "$_dbus_glib" = yes; then |
| | 3778 | _def_dbus_glib='#define HAVE_DBUS_GLIB 1' |
| | 3779 | else |
| | 3780 | _def_dbus_glib='#undef HAVE_DBUS_GLIB' |
| | 3781 | fi |
| | 3782 | echores "$_dbus_glib" |
| 3764 | 3783 | |
| 3765 | 3784 | echocheck "md5sum support" |
| 3766 | 3785 | if test "$_md5sum" = yes; then |
| … |
… |
|
| 7171 | 7190 | fi |
| 7172 | 7191 | echores "$_gethostbyname2" |
| 7173 | 7192 | |
| 7174 | | |
| 7175 | 7193 | # --------------- GUI specific tests begin ------------------- |
| 7176 | 7194 | echocheck "GUI" |
| 7177 | 7195 | echo "$_gui" |
| … |
… |
|
| 8496 | 8514 | $_def_tga |
| 8497 | 8515 | $_def_toolame |
| 8498 | 8516 | $_def_twolame |
| | 8517 | $_def_dbus_glib |
| 8499 | 8518 | |
| 8500 | 8519 | /* used by GUI: */ |
| 8501 | 8520 | $_def_xshape |
Only in mplayer-1.0_rc2_p24929-gs: configure.orig
Only in mplayer-1.0_rc2_p24929-gs: configure.rej
diff -ur mplayer-1.0_rc2_p24929/help/help_mp-en.h mplayer-1.0_rc2_p24929-gs/help/help_mp-en.h
|
old
|
new
|
|
| 711 | 711 | #define MSGTR_NoVolume "[Mixer] No volume control available.\n" |
| 712 | 712 | #define MSGTR_NoBalance "[Mixer] No balance control available.\n" |
| 713 | 713 | |
| | 714 | // gnome_screensaver.c |
| | 715 | #define MSGTR_OpenBusConnectionError "%s: Failed to open connection to bus: %s\n" |
| | 716 | #define MSGTR_RemoteMethodException "%s: Caught remote method exception %s: %s\n" |
| | 717 | #define MSGTR_GError "%s: Error: %s\n" |
| | 718 | #define MSGTR_GNOMEScreensaverEnabled "GNOME screensaver enabled\n" |
| | 719 | #define MSGTR_GNOMEScreensaverDisabled "GNOME screensaver disabled\n" |
| | 720 | |
| 714 | 721 | // ====================== GUI messages/buttons ======================== |
| 715 | 722 | |
| 716 | 723 | #ifdef HAVE_NEW_GUI |
Only in mplayer-1.0_rc2_p24929-gs/help: help_mp-en.h.orig
Only in mplayer-1.0_rc2_p24929-gs/libvo: gnome_screensaver.c
Only in mplayer-1.0_rc2_p24929-gs/libvo: gnome_screensaver.h
diff -ur mplayer-1.0_rc2_p24929/libvo/x11_common.c mplayer-1.0_rc2_p24929-gs/libvo/x11_common.c
|
old
|
new
|
|
| 58 | 58 | #include "mplayer.h" |
| 59 | 59 | #endif |
| 60 | 60 | |
| | 61 | #ifdef HAVE_DBUS_GLIB |
| | 62 | #include "gnome_screensaver.h" |
| | 63 | #endif |
| | 64 | |
| 61 | 65 | #define WIN_LAYER_ONBOTTOM 2 |
| 62 | 66 | #define WIN_LAYER_NORMAL 4 |
| 63 | 67 | #define WIN_LAYER_ONTOP 6 |
| … |
… |
|
| 1755 | 1759 | } |
| 1756 | 1760 | |
| 1757 | 1761 | if (stop_xscreensaver) |
| | 1762 | { |
| 1758 | 1763 | xscreensaver_enable(); |
| | 1764 | #ifdef HAVE_DBUS_GLIB |
| | 1765 | gnome_screensaver_control(1); |
| | 1766 | #endif |
| | 1767 | } |
| 1759 | 1768 | if (kdescreensaver_was_running && stop_xscreensaver) |
| 1760 | 1769 | { |
| 1761 | 1770 | system |
| … |
… |
|
| 1801 | 1810 | } |
| 1802 | 1811 | // turning off screensaver |
| 1803 | 1812 | if (stop_xscreensaver) |
| | 1813 | { |
| 1804 | 1814 | xscreensaver_disable(mDisplay); |
| | 1815 | #ifdef HAVE_DBUS_GLIB |
| | 1816 | gnome_screensaver_control(0); |
| | 1817 | #endif |
| | 1818 | } |
| 1805 | 1819 | if (stop_xscreensaver && !kdescreensaver_was_running) |
| 1806 | 1820 | { |
| 1807 | 1821 | kdescreensaver_was_running = |