summaryrefslogtreecommitdiff
path: root/x11-fm/nautilus2/files
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fm/nautilus2/files')
-rw-r--r--x11-fm/nautilus2/files/patch-Makefile.in6
-rw-r--r--x11-fm/nautilus2/files/patch-aa27
-rw-r--r--x11-fm/nautilus2/files/patch-libbackground_Makefile.in11
-rw-r--r--x11-fm/nautilus2/files/patch-libnautilus-private_nautilus-emblem-utils.c10
-rw-r--r--x11-fm/nautilus2/files/patch-libnautilus-private_nautilus-thumbnails.c10
-rw-r--r--x11-fm/nautilus2/files/patch-temp121
6 files changed, 36 insertions, 149 deletions
diff --git a/x11-fm/nautilus2/files/patch-Makefile.in b/x11-fm/nautilus2/files/patch-Makefile.in
index e09fa7ef2f7b..7fe0bcd6e288 100644
--- a/x11-fm/nautilus2/files/patch-Makefile.in
+++ b/x11-fm/nautilus2/files/patch-Makefile.in
@@ -1,6 +1,6 @@
---- Makefile.in.orig Sat Sep 14 16:54:42 2002
-+++ Makefile.in Sat Sep 14 16:55:17 2002
-@@ -161,7 +161,6 @@
+--- Makefile.in.orig Tue Jan 7 12:28:34 2003
++++ Makefile.in Tue Jan 7 12:29:48 2003
+@@ -153,7 +153,6 @@
libnautilus-private \
libnautilus-adapter \
src \
diff --git a/x11-fm/nautilus2/files/patch-aa b/x11-fm/nautilus2/files/patch-aa
index e3791b9336ea..bff0e4a65988 100644
--- a/x11-fm/nautilus2/files/patch-aa
+++ b/x11-fm/nautilus2/files/patch-aa
@@ -1,6 +1,6 @@
---- configure.orig Tue Jul 23 21:46:17 2002
-+++ configure Tue Jul 23 21:49:20 2002
-@@ -8311,6 +8311,7 @@
+--- configure.orig Mon Jan 13 10:45:25 2003
++++ configure Tue Jan 14 13:11:53 2003
+@@ -8294,6 +8294,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
@@ -8,7 +8,7 @@
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-@@ -13383,7 +13384,7 @@
+@@ -12661,7 +12662,7 @@
LIBNAUTILUS_LIBS="`$PKG_CONFIG --libs $LIBNAUTILUS_MODULES`"
@@ -17,7 +17,7 @@
CORE_MODULES="eel-2.0 librsvg-2.0 bonobo-activation-2.0 libbonobo-2.0 libbonoboui-2.0 esound gnome-desktop-2.0 $EXTRA_CORE_MODULES"
-@@ -13391,7 +13392,7 @@
+@@ -12669,7 +12670,7 @@
CORE_LIBS="`$PKG_CONFIG --libs $CORE_MODULES` $CDDA_LIBS $LIBJPEG $x_libs"
@@ -26,19 +26,16 @@
COMPONENT_MODULES="eel-2.0 libbonoboui-2.0 gnome-vfs-module-2.0 gnome-desktop-2.0"
-@@ -14291,9 +14292,9 @@
- s,@ORBIT_CONFIG@,$ORBIT_CONFIG,;t t
- s,@ORBIT_IDL@,$ORBIT_IDL,;t t
- s,@ORBIT_CFLAGS@,$ORBIT_CFLAGS,;t t
--s,@ORBIT_LIBS@,$ORBIT_LIBS,;t t
-+s~@ORBIT_LIBS@~$ORBIT_LIBS~;t t
+@@ -13593,7 +13594,7 @@
+ s,@LIBTOOL@,$LIBTOOL,;t t
+ s,@PKG_CONFIG@,$PKG_CONFIG,;t t
s,@ALL_CFLAGS@,$ALL_CFLAGS,;t t
-s,@ALL_LIBS@,$ALL_LIBS,;t t
+s~@ALL_LIBS@~$ALL_LIBS~;t t
s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
s,@ALLOCA@,$ALLOCA,;t t
s,@USE_NLS@,$USE_NLS,;t t
-@@ -14345,24 +14346,24 @@
+@@ -13643,25 +13644,25 @@
s,@HAVE_JW_FALSE@,$HAVE_JW_FALSE,;t t
s,@HAVE_JW@,$HAVE_JW,;t t
s,@MEDUSA_CFLAGS@,$MEDUSA_CFLAGS,;t t
@@ -46,6 +43,7 @@
+s~@MEDUSA_LIBS@~$MEDUSA_LIBS~;t t
s,@LIBJPEG@,$LIBJPEG,;t t
s,@GIMPHWRAPBOX_CFLAGS@,$GIMPHWRAPBOX_CFLAGS,;t t
+ s,@LIBEGG_CFLAGS@,$LIBEGG_CFLAGS,;t t
s,@LIBNAUTILUS_CFLAGS@,$LIBNAUTILUS_CFLAGS,;t t
-s,@LIBNAUTILUS_LIBS@,$LIBNAUTILUS_LIBS,;t t
+s~@LIBNAUTILUS_LIBS@~$LIBNAUTILUS_LIBS~;t t
@@ -57,9 +55,8 @@
s,@COMPONENT_CFLAGS@,$COMPONENT_CFLAGS,;t t
-s,@COMPONENT_LIBS@,$COMPONENT_LIBS,;t t
+s~@COMPONENT_LIBS@~$COMPONENT_LIBS~;t t
- s,@MUSIC_COMPONENT_CFLAGS@,$MUSIC_COMPONENT_CFLAGS,;t t
--s,@MUSIC_COMPONENT_LIBS@,$MUSIC_COMPONENT_LIBS,;t t
-+s~@MUSIC_COMPONENT_LIBS@~$MUSIC_COMPONENT_LIBS~;t t
+ s,@EMBLEM_COMPONENT_CFLAGS@,$EMBLEM_COMPONENT_CFLAGS,;t t
+ s,@EMBLEM_COMPONENT_LIBS@,$EMBLEM_COMPONENT_LIBS,;t t
s,@DISABLE_DEPRECATED_CFLAGS@,$DISABLE_DEPRECATED_CFLAGS,;t t
s,@ENABLE_HARDWARE_VIEW_TRUE@,$ENABLE_HARDWARE_VIEW_TRUE,;t t
s,@ENABLE_HARDWARE_VIEW_FALSE@,$ENABLE_HARDWARE_VIEW_FALSE,;t t
diff --git a/x11-fm/nautilus2/files/patch-libbackground_Makefile.in b/x11-fm/nautilus2/files/patch-libbackground_Makefile.in
new file mode 100644
index 000000000000..835db34742aa
--- /dev/null
+++ b/x11-fm/nautilus2/files/patch-libbackground_Makefile.in
@@ -0,0 +1,11 @@
+--- libbackground/Makefile.in.orig Tue Jan 7 12:30:18 2003
++++ libbackground/Makefile.in Tue Jan 7 12:30:58 2003
+@@ -141,7 +141,7 @@
+
+ INCLUDES = \
+ -DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
+- -DGNOME_ICONDIR=\""${prefix}/share/pixmaps"\" \
++ -DGNOME_ICONDIR=\""${datadir}/pixmaps"\" \
+ -DG_LOG_DOMAIN=\"capplet-common\" \
+ -I$(top_srcdir)/ \
+ @CAPPLET_CFLAGS@
diff --git a/x11-fm/nautilus2/files/patch-libnautilus-private_nautilus-emblem-utils.c b/x11-fm/nautilus2/files/patch-libnautilus-private_nautilus-emblem-utils.c
new file mode 100644
index 000000000000..2d67d65e74db
--- /dev/null
+++ b/x11-fm/nautilus2/files/patch-libnautilus-private_nautilus-emblem-utils.c
@@ -0,0 +1,10 @@
+--- libnautilus-private/nautilus-emblem-utils.c.orig Mon Oct 14 22:20:28 2002
++++ libnautilus-private/nautilus-emblem-utils.c Mon Oct 14 22:20:56 2002
+@@ -24,6 +24,7 @@
+
+ #include <config.h>
+
++#include <sys/types.h>
+ #include <utime.h>
+ #include <stdio.h>
+ #include <time.h>
diff --git a/x11-fm/nautilus2/files/patch-libnautilus-private_nautilus-thumbnails.c b/x11-fm/nautilus2/files/patch-libnautilus-private_nautilus-thumbnails.c
deleted file mode 100644
index e84dc83e280f..000000000000
--- a/x11-fm/nautilus2/files/patch-libnautilus-private_nautilus-thumbnails.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- libnautilus-private/nautilus-thumbnails.c.orig Tue Jul 9 19:09:29 2002
-+++ libnautilus-private/nautilus-thumbnails.c Tue Jul 9 19:09:19 2002
-@@ -309,6 +309,7 @@
- pthread_attr_init (&thread_attributes);
- pthread_attr_setdetachstate (&thread_attributes,
- PTHREAD_CREATE_DETACHED);
-+ pthread_attr_setstacksize (&thread_attributes, 128*1024);
- #ifdef DEBUG_THUMBNAILS
- g_message ("(Main Thread) Creating thumbnails thread\n");
- #endif
diff --git a/x11-fm/nautilus2/files/patch-temp b/x11-fm/nautilus2/files/patch-temp
deleted file mode 100644
index 35155bcfd86b..000000000000
--- a/x11-fm/nautilus2/files/patch-temp
+++ /dev/null
@@ -1,121 +0,0 @@
-
-Fixes problem with Nautilus not sensing available desktop space and therefore
-placing icons under the panel. Reverses rev.179-1.180 of
-src/file-manager/fm-desktop-icon-view.c. Will go away when gnomepanel is
-teached to set _NET_WORKAREA properly.
-
---- src/file-manager/fm-desktop-icon-view.c.orig Mon Jul 22 21:03:46 2002
-+++ src/file-manager/fm-desktop-icon-view.c Wed Jul 24 22:47:32 2002
-@@ -148,39 +148,9 @@
- }
-
- static void
--icon_container_set_workarea (NautilusIconContainer *icon_container,
-- long *workareas,
-- int n_items)
--{
-- int left, right, top, bottom;
-- int screen_width, screen_height;
-- int i;
--
-- left = right = top = bottom = 0;
--
-- screen_width = gdk_screen_width ();
-- screen_height = gdk_screen_height ();
--
-- for (i = 0; i < n_items; i += 4) {
-- int x = workareas [i];
-- int y = workareas [i + 1];
-- int width = workareas [i + 2];
-- int height = workareas [i + 3];
--
-- left = MAX (left, x);
-- right = MAX (right, screen_width - width - x);
-- top = MAX (top, y);
-- bottom = MAX (bottom, screen_height - height - y);
-- }
--
-- nautilus_icon_container_set_margins (icon_container,
-- left, right, top, bottom);
--}
--
--static void
- net_workarea_changed (FMDesktopIconView *icon_view)
- {
-- long *workareas = NULL;
-+ long *borders = NULL;
- Atom type_returned;
- int format_returned;
- unsigned long items_returned;
-@@ -194,33 +164,38 @@
- gdk_error_trap_push ();
- if (XGetWindowProperty (GDK_DISPLAY (),
- GDK_ROOT_WINDOW (),
-- gdk_x11_get_xatom_by_name ("_NET_WORKAREA"),
-- 0, G_MAXLONG, False,
-+ gdk_x11_get_xatom_by_name ("GNOME_PANEL_DESKTOP_AREA"),
-+ 0 /* long_offset */,
-+ 4 /* long_length */,
-+ False /* delete */,
- XA_CARDINAL,
- &type_returned,
- &format_returned,
- &items_returned,
- &bytes_after_return,
-- (unsigned char **)&workareas) != Success) {
-- if (workareas != NULL)
-- XFree (workareas);
-- workareas = NULL;
-+ (unsigned char **)&borders) != Success) {
-+ if (borders != NULL)
-+ XFree (borders);
-+ borders = NULL;
- }
-
- if (gdk_error_trap_pop ()
-- || workareas == NULL
-+ || borders == NULL
- || type_returned != XA_CARDINAL
-- || (items_returned % 4) != 0
-+ || items_returned != 4
- || format_returned != 32) {
- nautilus_icon_container_set_margins (icon_container,
- 0, 0, 0, 0);
- } else {
-- icon_container_set_workarea (
-- icon_container, workareas, items_returned);
-+ nautilus_icon_container_set_margins (icon_container,
-+ borders[0 /* left */],
-+ borders[1 /* right */],
-+ borders[2 /* top */],
-+ borders[3 /* bottom */]);
- }
-
-- if (workareas != NULL)
-- XFree (workareas);
-+ if (borders != NULL)
-+ XFree (borders);
- }
-
- static GdkFilterReturn
-@@ -235,8 +210,9 @@
-
- switch (xevent->type) {
- case PropertyNotify:
-- if (xevent->xproperty.atom == gdk_x11_get_xatom_by_name ("_NET_WORKAREA"))
-+ if (xevent->xproperty.atom == gdk_x11_get_xatom_by_name ("GNOME_PANEL_DESKTOP_AREA")) {
- net_workarea_changed (icon_view);
-+ }
- break;
- default:
- break;
-@@ -708,7 +684,8 @@
- default_zoom_level_changed (desktop_icon_view);
- fm_desktop_icon_view_update_icon_container_fonts (desktop_icon_view);
-
-- /* Read out the workarea geometry and update the icon container accordingly */
-+ /* Read out the panel desktop area and update the icon container
-+ * accordingly */
- net_workarea_changed (desktop_icon_view);
-
- /* Setup the property filter */