diff options
author | Saleem Abdulrasool <compnerd@gentoo.org> | 2007-10-03 03:45:41 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@gentoo.org> | 2007-10-03 03:45:41 +0000 |
commit | 8e6b653cc434b74c228087add910880a8fd1188a (patch) | |
tree | 0b14d062bd904035de1b8dd5893184893cbc3945 /gnome-base/nautilus/files | |
parent | keyworded ~ppc64 (diff) | |
download | gentoo-2-8e6b653cc434b74c228087add910880a8fd1188a.tar.gz gentoo-2-8e6b653cc434b74c228087add910880a8fd1188a.tar.bz2 gentoo-2-8e6b653cc434b74c228087add910880a8fd1188a.zip |
version bump for GNOME 2.20
(Portage version: 2.1.3.11)
Diffstat (limited to 'gnome-base/nautilus/files')
-rw-r--r-- | gnome-base/nautilus/files/digest-nautilus-2.20.0 | 3 | ||||
-rw-r--r-- | gnome-base/nautilus/files/nautilus-2.19.90-noesd.patch | 155 |
2 files changed, 158 insertions, 0 deletions
diff --git a/gnome-base/nautilus/files/digest-nautilus-2.20.0 b/gnome-base/nautilus/files/digest-nautilus-2.20.0 new file mode 100644 index 000000000000..3c16cce1c1cb --- /dev/null +++ b/gnome-base/nautilus/files/digest-nautilus-2.20.0 @@ -0,0 +1,3 @@ +MD5 3856ec2ffeba786d12f8f6622e398c33 nautilus-2.20.0.tar.bz2 4916284 +RMD160 9eeb18c886795ebbdd6dfc61ccddaee8eab81808 nautilus-2.20.0.tar.bz2 4916284 +SHA256 98f9d9f7bc89db67cbcc4c7d08ec72175b8c9b3eb9489f7869c5cec9f16feb08 nautilus-2.20.0.tar.bz2 4916284 diff --git a/gnome-base/nautilus/files/nautilus-2.19.90-noesd.patch b/gnome-base/nautilus/files/nautilus-2.19.90-noesd.patch new file mode 100644 index 000000000000..dae6eaf19a41 --- /dev/null +++ b/gnome-base/nautilus/files/nautilus-2.19.90-noesd.patch @@ -0,0 +1,155 @@ +diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN nautilus-2.19.90.orig/configure.in nautilus-2.19.90/configure.in +--- nautilus-2.19.90.orig/configure.in 2007-07-30 21:25:08.000000000 -0400 ++++ nautilus-2.19.90/configure.in 2007-08-21 21:23:35.000000000 -0400 +@@ -90,7 +90,6 @@ fi + AC_SUBST(STARTUP_NOTIFICATION_PACKAGE) + + PKG_CHECK_MODULES(ALL, [ +- esound >= esound_minver + bonobo-activation-2.0 >= bonobo_activation_minver + eel-2.0 >= eel_minver + glib-2.0 >= glib_minver +@@ -312,6 +311,25 @@ fi + + dnl ========================================================================== + ++AM_CONDITIONAL(HAVE_ESOUND, false) ++ ++dnl esound checking ++ ++AC_ARG_ENABLE(esound, [ --disable-esound build without esound support]) ++msg_esound=no ++if test "x$enable_esound" != "xno"; then ++ PKG_CHECK_MODULES(ESOUND, esound >= esound_minver, [ ++ AM_CONDITIONAL(HAVE_ESOUND, true) ++ AC_DEFINE(HAVE_ESOUND, 1, [Define to enable esound support]) ++ ] ++ msg_esound=yes, ++ [AM_CONDITIONAL(HAVE_ESOUND, false)]) ++ AC_SUBST(ESOUND_CFLAGS) ++ AC_SUBST(ESOUND_LIBS) ++fi ++ ++dnl ========================================================================== ++ + dnl **************************** + dnl *** Check for libselinux *** + dnl **************************** +@@ -404,7 +422,7 @@ LIBNAUTILUS_EXTENSION_LIBS="`$PKG_CONFIG + AC_SUBST(LIBNAUTILUS_EXTENSION_LIBS) + + dnl core nautilus (must list bonobo-activation and libbonobo because idldir does not respect "requires") +-CORE_MODULES="eel-2.0 librsvg-2.0 bonobo-activation-2.0 libbonobo-2.0 esound gnome-desktop-2.0 gnome-vfs-module-2.0 $EXTRA_CORE_MODULES" ++CORE_MODULES="eel-2.0 librsvg-2.0 bonobo-activation-2.0 libbonobo-2.0 gnome-desktop-2.0 gnome-vfs-module-2.0 $EXTRA_CORE_MODULES" + CORE_CFLAGS="`$PKG_CONFIG --cflags $CORE_MODULES` $x_cflags $WARNING_CFLAGS" + AC_SUBST(CORE_CFLAGS) + CORE_LIBS="`$PKG_CONFIG --libs $CORE_MODULES` $x_libs" +diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN nautilus-2.19.90.orig/libnautilus-private/Makefile.am nautilus-2.19.90/libnautilus-private/Makefile.am +--- nautilus-2.19.90.orig/libnautilus-private/Makefile.am 2007-07-31 22:12:09.000000000 -0400 ++++ nautilus-2.19.90/libnautilus-private/Makefile.am 2007-08-21 18:07:29.000000000 -0400 +@@ -10,6 +10,7 @@ INCLUDES = \ + $(DISABLE_DEPRECATED_CFLAGS) \ + $(TRACKER_CFLAGS) \ + $(BEAGLE_CFLAGS) \ ++ $(ESOUND_CFLAGS) \ + -DDATADIR=\""$(datadir)"\" \ + -DSYSCONFDIR=\""$(sysconfdir)"\" \ + -DNAUTILUS_DATADIR=\""$(datadir)/nautilus"\" \ +@@ -31,6 +32,7 @@ libnautilus_private_la_LIBADD = \ + $(SELINUX_LIBS) \ + $(BEAGLE_LIBS) \ + $(TRACKER_LIBS) \ ++ $(ESOUND_LIBS) \ + $(top_builddir)/libnautilus-extension/libnautilus-extension.la \ + $(CORE_LIBS) \ + $(NULL) +@@ -49,8 +51,6 @@ marshal_sources = \ + + libnautilus_private_la_SOURCES = \ + $(nautilus_metafile_server_idl_sources) \ +- nautilus-audio-player.c \ +- nautilus-audio-player.h \ + nautilus-bookmark.c \ + nautilus-bookmark.h \ + nautilus-cell-renderer-pixbuf-emblem.c \ +@@ -228,6 +228,14 @@ if HAVE_TRACKER + libnautilus_private_la_SOURCES += $(TRACKER_SOURCES) + endif + ++ESOUND_SOURCES = \ ++ nautilus-audio-player.c \ ++ nautilus-audio-player.h ++ ++if HAVE_ESOUND ++libnautilus_private_la_SOURCES += $(ESOUND_SOURCES) ++endif ++ + $(lib_LTLIBRARIES): $(dependency_static_libs) + + $(nautilus_metafile_server_idl_sources): nautilus_metafile_server_idl_stamp +@@ -264,6 +272,7 @@ EXTRA_DIST = \ + nautilus-marshal.list \ + $(schema_in_files) \ + $(BEAGLE_SOURCES) \ ++ $(ESOUND_SOURCES) \ + $(TRACKER_SOURCES) \ + $(NULL) + +diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN nautilus-2.19.90.orig/src/file-manager/fm-icon-view.c nautilus-2.19.90/src/file-manager/fm-icon-view.c +--- nautilus-2.19.90.orig/src/file-manager/fm-icon-view.c 2007-08-13 19:02:33.000000000 -0400 ++++ nautilus-2.19.90/src/file-manager/fm-icon-view.c 2007-08-21 21:45:30.000000000 -0400 +@@ -78,7 +78,9 @@ + #include <sys/types.h> + #include <sys/wait.h> + #include <unistd.h> ++#ifdef HAVE_ESOUND + #include <esd.h> ++#endif + + #define USE_OLD_AUDIO_PREVIEW 1 + #define READ_CHUNK_SIZE 16384 +@@ -1854,7 +1856,7 @@ play_file (gpointer callback_data) + g_free (mime_type); + + icon_view->details->audio_preview_timeout = 0; +-#else ++#elif HAVE_ESOUND + char *file_path, *file_uri, *mime_type; + gboolean is_mp3; + FMIconView *icon_view; +@@ -1899,7 +1901,7 @@ preview_audio (FMIconView *icon_view, Na + waitpid (audio_preview_pid, NULL, 0); + audio_preview_pid = 0; + } +-#else ++#elif HAVE_ESOUND + if (icon_view->details->audio_player_data != NULL) { + nautilus_audio_player_stop (icon_view->details->audio_player_data); + g_free (icon_view->details->audio_player_data); +@@ -1915,7 +1917,7 @@ preview_audio (FMIconView *icon_view, Na + icon_view->details->audio_preview_file = file; + #if USE_OLD_AUDIO_PREVIEW + icon_view->details->audio_preview_timeout = g_timeout_add (1000, play_file, icon_view); +-#else ++#elif HAVE_ESOUND + /* FIXME: Need to kill the existing timeout if there is one? */ + icon_view->details->audio_preview_timeout = g_timeout_add (1000, play_file, icon_view); + #endif +@@ -1961,7 +1963,7 @@ can_play_sound (void) + if (audio_preview_pid > 0) { + return TRUE; + } +-#endif ++#elif HAVE_ESOUND + + /* Now check and see if system has audio out capabilites */ + open_result = esd_open_sound (NULL); +@@ -1972,6 +1974,8 @@ can_play_sound (void) + esd_close (open_result); + + return TRUE; ++#endif ++ return FALSE; + } + + static int |