summaryrefslogtreecommitdiffstats
path: root/x11-themes/gnome-themes/files
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-10-24 04:57:37 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-10-24 04:57:37 +0800
commit179ba1bdf449ed938184332d6fc7c9f1fc5d8c89 (patch)
tree28a1e158457e84d316937d3ef062dcb41b677508 /x11-themes/gnome-themes/files
parentea6763be741e99bcb9fe8938a5d06f05bc4e32c6 (diff)
downloadmarcuscom-ports-179ba1bdf449ed938184332d6fc7c9f1fc5d8c89.tar
marcuscom-ports-179ba1bdf449ed938184332d6fc7c9f1fc5d8c89.tar.gz
marcuscom-ports-179ba1bdf449ed938184332d6fc7c9f1fc5d8c89.tar.bz2
marcuscom-ports-179ba1bdf449ed938184332d6fc7c9f1fc5d8c89.tar.lz
marcuscom-ports-179ba1bdf449ed938184332d6fc7c9f1fc5d8c89.tar.xz
marcuscom-ports-179ba1bdf449ed938184332d6fc7c9f1fc5d8c89.tar.zst
marcuscom-ports-179ba1bdf449ed938184332d6fc7c9f1fc5d8c89.zip
Update to 2.5.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1291 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-themes/gnome-themes/files')
-rw-r--r--x11-themes/gnome-themes/files/patch-configure10
-rw-r--r--x11-themes/gnome-themes/files/patch-gtk-themes_Crux_src_crux-gradient.c31
-rw-r--r--x11-themes/gnome-themes/files/patch-gtk-themes_Crux_src_crux-pixmaps.c14
-rw-r--r--x11-themes/gnome-themes/files/patch-metacity-themes_Makefile.in11
4 files changed, 66 insertions, 0 deletions
diff --git a/x11-themes/gnome-themes/files/patch-configure b/x11-themes/gnome-themes/files/patch-configure
new file mode 100644
index 000000000..3a3c06804
--- /dev/null
+++ b/x11-themes/gnome-themes/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig Fri May 16 15:56:25 2003
++++ configure Fri May 16 23:10:03 2003
+@@ -18073,6 +18073,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/x11-themes/gnome-themes/files/patch-gtk-themes_Crux_src_crux-gradient.c b/x11-themes/gnome-themes/files/patch-gtk-themes_Crux_src_crux-gradient.c
new file mode 100644
index 000000000..9111a7ac5
--- /dev/null
+++ b/x11-themes/gnome-themes/files/patch-gtk-themes_Crux_src_crux-gradient.c
@@ -0,0 +1,31 @@
+--- gtk-themes/Crux/src/crux-gradient.c.orig Thu Oct 16 20:57:05 2003
++++ gtk-themes/Crux/src/crux-gradient.c Thu Oct 16 21:01:18 2003
+@@ -207,7 +207,7 @@
+ const eazel_engine_gradient *gradient)
+ {
+ int rgb_size = clip_rect->height;
+- guchar *rgb = alloca (rgb_size * 3), *ptr;
++ guchar *rgb = g_malloc (rgb_size * 3), *ptr;
+
+ eazel_engine_fill_gradient_rgb_buffer (gradient, full_rect->height, rgb,
+ clip_rect->y - full_rect->y,
+@@ -239,7 +239,7 @@
+ }
+ else
+ {
+- guchar *xrgb = alloca (clip_rect->width * clip_rect->height * 3);
++ guchar *xrgb = g_malloc (clip_rect->width * clip_rect->height * 3);
+ int x, y;
+ guchar *ptr_in = rgb, *ptr_out = xrgb;
+ for (y = 0; y < clip_rect->height; y++)
+@@ -257,7 +257,10 @@
+ gdk_draw_rgb_image (drawable, gc, clip_rect->x, clip_rect->y,
+ clip_rect->width, clip_rect->height,
+ dither_mode, xrgb, clip_rect->width * 3);
++ g_free (xrgb);
+ }
++
++ g_free (rgb);
+ }
+
+ static void
diff --git a/x11-themes/gnome-themes/files/patch-gtk-themes_Crux_src_crux-pixmaps.c b/x11-themes/gnome-themes/files/patch-gtk-themes_Crux_src_crux-pixmaps.c
new file mode 100644
index 000000000..7813ce91f
--- /dev/null
+++ b/x11-themes/gnome-themes/files/patch-gtk-themes_Crux_src_crux-pixmaps.c
@@ -0,0 +1,14 @@
+--- gtk-themes/Crux/src/crux-pixmaps.c.orig Thu Oct 16 21:01:59 2003
++++ gtk-themes/Crux/src/crux-pixmaps.c Thu Oct 16 21:02:17 2003
+@@ -340,9 +340,10 @@
+ {
+ GdkPixbuf *pixbuf;
+ size_t len = strlen (*path) + strlen (file) + 2;
+- char *buf = alloca (len);
++ char *buf = g_malloc (len);
+ sprintf (buf, "%s/%s", *path, file);
+ pixbuf = gdk_pixbuf_new_from_file (buf, NULL);
++ g_free (buf);
+ if (pixbuf != 0)
+ return pixbuf;
+ path++;
diff --git a/x11-themes/gnome-themes/files/patch-metacity-themes_Makefile.in b/x11-themes/gnome-themes/files/patch-metacity-themes_Makefile.in
new file mode 100644
index 000000000..02365472f
--- /dev/null
+++ b/x11-themes/gnome-themes/files/patch-metacity-themes_Makefile.in
@@ -0,0 +1,11 @@
+--- metacity-themes/Makefile.in.orig Mon Feb 3 20:16:59 2003
++++ metacity-themes/Makefile.in Mon Feb 3 20:17:33 2003
+@@ -120,7 +120,7 @@
+ THEMES = Mist Sandwish Smokey
+
+
+-THEME_DIR = $(datadir)/themes
++THEME_DIR = $(datadir)/gnome/themes
+ THEME_SUBDIR = metacity-1
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../config.h