Index: x11-wm/emerald/Makefile =================================================================== RCS file: /home/pcvs/ports/x11-wm/emerald/Makefile,v retrieving revision 1.22 diff -u -r1.22 Makefile --- x11-wm/emerald/Makefile 20 Nov 2010 15:37:08 -0000 1.22 +++ x11-wm/emerald/Makefile 24 Nov 2010 21:37:30 -0000 @@ -7,7 +7,7 @@ PORTNAME= emerald PORTVERSION= 0.8.4 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= x11-wm MASTER_SITES= http://releases.compiz.org/${PORTVERSION}/ @@ -37,6 +37,7 @@ # XXX - might want to change that post-patch: @${REINPLACE_CMD} 's|icons/gnome|icons/hicolor|' ${WRKSRC}/misc/Makefile.in - @${REINPLACE_CMD} 's|#define GTK_DISABLE_DEPRECATED||g' ${WRKSRC}/include/emerald.h + @${REINPLACE_CMD} -e 's|#define GDK_DISABLE_DEPRECATED||g' \ + -e 's|#define GTK_DISABLE_DEPRECATED||g' ${WRKSRC}/include/emerald.h .include Index: x11-wm/emerald/files/patch-libengine_themer.c =================================================================== RCS file: x11-wm/emerald/files/patch-libengine_themer.c diff -N x11-wm/emerald/files/patch-libengine_themer.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ x11-wm/emerald/files/patch-libengine_themer.c 24 Nov 2010 21:37:30 -0000 @@ -0,0 +1,47 @@ +--- libengine/themer.c.orig 2009-10-13 20:56:23.000000000 -0400 ++++ libengine/themer.c 2010-11-24 15:34:34.000000000 -0500 +@@ -461,7 +461,7 @@ gboolean get_bool(SettingItem * item) + } + gdouble get_float(SettingItem * item) + { +- if(!strcmp(GTK_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) { ++ if(!strcmp(G_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) { + return gtk_spin_button_get_value((GtkSpinButton *)item->widget); + } + else { +@@ -647,7 +647,7 @@ void set_bool(SettingItem * item, gboole + } + void set_float(SettingItem * item, gdouble f) + { +- if(!strcmp(GTK_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) { ++ if(!strcmp(G_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) { + gtk_spin_button_set_value((GtkSpinButton *)item->widget, f); + } + else { +@@ -874,7 +874,7 @@ static void append_engine(gchar * dlname + err = dlerror(); + if (!hand || err) + { +- g_warning(err); ++ g_warning("%s", err); + if (hand) + dlclose(hand); + return; +@@ -885,7 +885,7 @@ static void append_engine(gchar * dlname + layout_settings_proc lay; + lay = dlsym(hand,"layout_engine_settings"); + if ((err=dlerror())) +- g_warning(err); ++ g_warning("%s", err); + if (lay) + { + get_meta_info_proc meta; +@@ -896,7 +896,7 @@ static void append_engine(gchar * dlname + "%s"; + meta = dlsym(hand,"get_meta_info"); + if ((err=dlerror())) +- g_warning(err); ++ g_warning("%s", err); + d->meta.description=g_strdup("No Description"); + d->meta.version=g_strdup("0.0"); + d->meta.last_compat=g_strdup("0.0"); Index: x11-wm/emerald/files/patch-src_engine_loader.c =================================================================== RCS file: x11-wm/emerald/files/patch-src_engine_loader.c diff -N x11-wm/emerald/files/patch-src_engine_loader.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ x11-wm/emerald/files/patch-src_engine_loader.c 24 Nov 2010 21:37:30 -0000 @@ -0,0 +1,11 @@ +--- src/engine_loader.c.orig 2009-10-13 20:56:23.000000000 -0400 ++++ src/engine_loader.c 2010-11-24 15:34:33.000000000 -0500 +@@ -54,7 +54,7 @@ gboolean load_engine(gchar * engine_name + newengine = dlopen(path,RTLD_NOW); + if (!newengine) + { +- g_warning(dlerror()); ++ g_warning("%s", dlerror()); + //here's where we should bail out somehow + } + } Index: x11-wm/emerald/files/patch-src_main.c =================================================================== RCS file: /home/pcvs/ports/x11-wm/emerald/files/patch-src_main.c,v retrieving revision 1.3 diff -u -r1.3 patch-src_main.c --- x11-wm/emerald/files/patch-src_main.c 20 Nov 2010 15:37:08 -0000 1.3 +++ x11-wm/emerald/files/patch-src_main.c 24 Nov 2010 21:37:30 -0000 @@ -1,6 +1,17 @@ ---- src/main.c.orig 2010-11-02 16:54:19.000000000 +0100 -+++ src/main.c 2010-11-02 16:56:04.000000000 +0100 -@@ -2457,7 +2457,7 @@ +--- src/main.c.orig 2009-10-13 20:56:23.000000000 -0400 ++++ src/main.c 2010-11-24 15:34:35.000000000 -0500 +@@ -27,8 +27,8 @@ + #include + #include + +-#define BASE_PROP_SIZE 12 +-#define QUAD_PROP_SIZE 9 ++//#define BASE_PROP_SIZE 12 ++//#define QUAD_PROP_SIZE 9 + + #ifndef DECOR_INTERFACE_VERSION + #define DECOR_INTERFACE_VERSION 0 +@@ -2457,7 +2457,7 @@ static gboolean get_window_prop(Window x gdk_error_trap_push(); type = None; @@ -9,7 +20,16 @@ xwindow, atom, 0, G_MAXLONG, -@@ -4246,10 +4246,10 @@ +@@ -3757,7 +3757,7 @@ static void show_tooltip(const char *tex + + static void hide_tooltip(void) + { +- if (GTK_WIDGET_VISIBLE(tip_window)) ++ if (gtk_widget_get_visible(tip_window)) + g_get_current_time(&tooltip_last_popdown); + + gtk_widget_hide(tip_window); +@@ -4246,10 +4246,10 @@ static void force_quit_dialog_realize(Gt WnckWindow *win = data; gdk_error_trap_push(); @@ -22,7 +42,7 @@ gdk_error_trap_pop(); } -@@ -4262,11 +4262,11 @@ +@@ -4262,11 +4262,11 @@ static char *get_client_machine(Window x int format, result; char *retval; @@ -36,7 +56,7 @@ xwindow, atom, 0, G_MAXLONG, FALSE, XA_STRING, &type, &format, &nitems, -@@ -4318,8 +4318,8 @@ +@@ -4318,8 +4318,8 @@ static void kill_window(WnckWindow * win } gdk_error_trap_push(); @@ -47,7 +67,7 @@ gdk_error_trap_pop(); } -@@ -4739,7 +4739,7 @@ +@@ -4739,7 +4739,7 @@ static XFixed *create_gaussian_kernel(do static int update_shadow(frame_settings * fs) { Index: x11-wm/emerald/files/patch-themer_main.c =================================================================== RCS file: /home/pcvs/ports/x11-wm/emerald/files/patch-themer_main.c,v retrieving revision 1.1 diff -u -r1.1 patch-themer_main.c --- x11-wm/emerald/files/patch-themer_main.c 19 May 2007 20:32:34 -0000 1.1 +++ x11-wm/emerald/files/patch-themer_main.c 24 Nov 2010 21:37:30 -0000 @@ -1,5 +1,5 @@ ---- themer/main.c.orig Sun Oct 29 18:57:14 2006 -+++ themer/main.c Sun Oct 29 23:09:37 2006 +--- themer/main.c.orig 2009-10-13 20:56:23.000000000 -0400 ++++ themer/main.c 2010-11-24 15:45:57.000000000 -0500 @@ -7,6 +7,103 @@ #include #include @@ -104,3 +104,19 @@ #define LAST_COMPAT_VER "0.1.0" typedef struct _FetcherInfo +@@ -264,6 +361,7 @@ static void info_dialog(gchar * val) + GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_MESSAGE_INFO, + GTK_BUTTONS_CLOSE, ++ "%s", + val); + gtk_dialog_run(GTK_DIALOG(w)); + gtk_widget_destroy(w); +@@ -275,6 +373,7 @@ static void error_dialog(gchar * val) + GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_MESSAGE_ERROR, + GTK_BUTTONS_CLOSE, ++ "%s", + val); + gtk_dialog_run(GTK_DIALOG(w)); + gtk_widget_destroy(w);