summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2010-01-24 14:11:48 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2010-01-24 14:11:48 +0800
commit00d662288c8d4e08372faf4053d6e12e1d758038 (patch)
tree8ce36fea272d315d62b5e14d01cea66bfac22482
parente9429fd45484dfe5eded6eaa0a3887b243098598 (diff)
downloadmarcuscom-ports-00d662288c8d4e08372faf4053d6e12e1d758038.tar
marcuscom-ports-00d662288c8d4e08372faf4053d6e12e1d758038.tar.gz
marcuscom-ports-00d662288c8d4e08372faf4053d6e12e1d758038.tar.bz2
marcuscom-ports-00d662288c8d4e08372faf4053d6e12e1d758038.tar.lz
marcuscom-ports-00d662288c8d4e08372faf4053d6e12e1d758038.tar.xz
marcuscom-ports-00d662288c8d4e08372faf4053d6e12e1d758038.tar.zst
marcuscom-ports-00d662288c8d4e08372faf4053d6e12e1d758038.zip
Fix the build with the new gnome-desktop.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13496 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--x11-toolkits/eel/Makefile4
-rw-r--r--x11-toolkits/eel/files/patch-eel_eel-background.c29
2 files changed, 31 insertions, 2 deletions
diff --git a/x11-toolkits/eel/Makefile b/x11-toolkits/eel/Makefile
index 62e27d627..afb2b0c69 100644
--- a/x11-toolkits/eel/Makefile
+++ b/x11-toolkits/eel/Makefile
@@ -3,12 +3,12 @@
# Whom: Ade Lovett <ade@FreeBSD.org>
#
# $FreeBSD$
-# $MCom$
+# $MCom: ports/x11-toolkits/eel/Makefile,v 1.86 2010/01/17 00:23:15 kwm Exp $
#
PORTNAME= eel
PORTVERSION= 2.26.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11-toolkits gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
diff --git a/x11-toolkits/eel/files/patch-eel_eel-background.c b/x11-toolkits/eel/files/patch-eel_eel-background.c
new file mode 100644
index 000000000..c7a21e7b8
--- /dev/null
+++ b/x11-toolkits/eel/files/patch-eel_eel-background.c
@@ -0,0 +1,29 @@
+--- eel/eel-background.c.orig 2009-03-02 11:21:55.000000000 -0500
++++ eel/eel-background.c 2010-01-24 01:08:43.000000000 -0500
+@@ -368,7 +368,7 @@ eel_background_ensure_realized (EelBackg
+
+ set_image_properties (background);
+
+- background->details->background_changes_with_size = gnome_bg_changes_with_size (background->details->bg);
++ background->details->background_changes_with_size = gnome_bg_has_multiple_sizes (background->details->bg);
+ background->details->background_pixmap = gnome_bg_create_pixmap (background->details->bg,
+ window,
+ entire_width, entire_height,
+@@ -747,7 +747,7 @@ eel_background_set_up_widget (EelBackgro
+ }
+
+ background->details->background_changes_with_size =
+- gnome_bg_changes_with_size (background->details->bg);
++ gnome_bg_has_multiple_sizes (background->details->bg);
+
+ if (background->details->is_desktop && !in_fade) {
+ set_root_pixmap (background, window);
+@@ -1000,7 +1000,7 @@ eel_get_widget_background (GtkWidget *wi
+ gboolean
+ eel_background_is_dark (EelBackground *background)
+ {
+- return gnome_bg_is_dark (background->details->bg);
++ return gnome_bg_is_dark (background->details->bg, background->details->background_entire_width, background->details->background_entire_height);
+ }
+
+ /* handle dropped colors */