summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-01-13 11:42:21 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-01-13 11:42:21 +0000
commit6bd18397f323de115e216ea3071d41e7c1fed120 (patch)
treed7bd2e997a9225312051301cdf7aba96bba9b2db /x11-plugins/wmclockmon
parentStable on x86 wrt #205517 (diff)
downloadhistorical-6bd18397f323de115e216ea3071d41e7c1fed120.tar.gz
historical-6bd18397f323de115e216ea3071d41e7c1fed120.tar.bz2
historical-6bd18397f323de115e216ea3071d41e7c1fed120.zip
Version bump to GTK+-2.0 version and mark it stable for amd64 because current stable is broken wrt #204550
Package-Manager: portage-2.1.4 RepoMan-Options: --force
Diffstat (limited to 'x11-plugins/wmclockmon')
-rw-r--r--x11-plugins/wmclockmon/ChangeLog11
-rw-r--r--x11-plugins/wmclockmon/Manifest20
-rw-r--r--x11-plugins/wmclockmon/files/digest-wmclockmon-0.8.13
-rw-r--r--x11-plugins/wmclockmon/files/wmclockmon-0.8.1-gtk.patch303
-rw-r--r--x11-plugins/wmclockmon/wmclockmon-0.8.1.ebuild36
5 files changed, 367 insertions, 6 deletions
diff --git a/x11-plugins/wmclockmon/ChangeLog b/x11-plugins/wmclockmon/ChangeLog
index 2d6c2984d197..b4c93bd4065d 100644
--- a/x11-plugins/wmclockmon/ChangeLog
+++ b/x11-plugins/wmclockmon/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-plugins/wmclockmon
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmclockmon/ChangeLog,v 1.26 2007/09/21 18:03:55 mr_bones_ Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmclockmon/ChangeLog,v 1.27 2008/01/13 11:42:20 drac Exp $
+
+*wmclockmon-0.8.1 (13 Jan 2008)
+
+ 13 Jan 2008; Samuli Suominen <drac@gentoo.org>
+ +files/wmclockmon-0.8.1-gtk.patch, +wmclockmon-0.8.1.ebuild:
+ Version bump to GTK+-2.0 version and mark it stable for amd64 because
+ current stable is broken wrt #204550
21 Sep 2007; Michael Sterrett <mr_bones_@gentoo.org>
wmclockmon-0.8.0-r1.ebuild:
diff --git a/x11-plugins/wmclockmon/Manifest b/x11-plugins/wmclockmon/Manifest
index 091781ef738a..3a2ca01fb930 100644
--- a/x11-plugins/wmclockmon/Manifest
+++ b/x11-plugins/wmclockmon/Manifest
@@ -1,12 +1,21 @@
+AUX wmclockmon-0.8.1-gtk.patch 11386 RMD160 c3206abb10d1e6192461aea0f8a84e690beec564 SHA1 23c6e24e8604a598b598823f55ca3a012f34eb4b SHA256 f0a16b3c66e778657e492b8c237fed4fb3a87e7f85ccbefd73907a9d58806d6f
+MD5 bf962293609bf1265d6539f51881815b files/wmclockmon-0.8.1-gtk.patch 11386
+RMD160 c3206abb10d1e6192461aea0f8a84e690beec564 files/wmclockmon-0.8.1-gtk.patch 11386
+SHA256 f0a16b3c66e778657e492b8c237fed4fb3a87e7f85ccbefd73907a9d58806d6f files/wmclockmon-0.8.1-gtk.patch 11386
DIST wmclockmon-0.8.0.tar.gz 141082 RMD160 54ee03502be40bf9ef98f0639411269b4abaa464 SHA1 51aeeebeb7f22a2b9c2cf911b2f36edfe24bafed SHA256 8c72294a9dfebe9398d89597e47b9f39b6e5e2636c7b5b0fea6da455ed2719d6
+DIST wmclockmon_0.8.1-1.tar.gz 139233 RMD160 151382b1f7030699ef6707c81376c19c3edfaecb SHA1 3e754367ee41afac20b366461f789486c5ac0057 SHA256 51169422cc29c4d47878bef97e5e6eb16c86289173934a212c435cbebe8912d8
EBUILD wmclockmon-0.8.0-r1.ebuild 1157 RMD160 64dec2d781f0167de690809670182ad68744d192 SHA1 c1e4316ab62b18225292dff82b1ce875ff187bba SHA256 edbb6e82b88d810db36d2c3a8a568f3a8b45325694611eb1e84814b1f19a1efb
MD5 1c9cd9e4776c13aed509333ea4cf194c wmclockmon-0.8.0-r1.ebuild 1157
RMD160 64dec2d781f0167de690809670182ad68744d192 wmclockmon-0.8.0-r1.ebuild 1157
SHA256 edbb6e82b88d810db36d2c3a8a568f3a8b45325694611eb1e84814b1f19a1efb wmclockmon-0.8.0-r1.ebuild 1157
-MISC ChangeLog 3891 RMD160 1fbcad02de867ca0686a2a3667fe8c715648e767 SHA1 98aa172569c4889d2303fc09a166b1a6a2fb033f SHA256 87bcdd78ae5658e5a86f8131d64078943e00569846eef6f7de471de8c6f3fd01
-MD5 c9e00e0db3440da9ca64dec4d4c126fa ChangeLog 3891
-RMD160 1fbcad02de867ca0686a2a3667fe8c715648e767 ChangeLog 3891
-SHA256 87bcdd78ae5658e5a86f8131d64078943e00569846eef6f7de471de8c6f3fd01 ChangeLog 3891
+EBUILD wmclockmon-0.8.1.ebuild 968 RMD160 f30722497b17a3e714f2a430dc6d5b917abfbb33 SHA1 0943714762f8707faa36145679a7620139091972 SHA256 3b73c02f0f7d4b363fc1852bc9f839ced4e1f66d1238c8262cd56427b7cb849d
+MD5 77c8f2d17b701b3ad03129553d87aa0a wmclockmon-0.8.1.ebuild 968
+RMD160 f30722497b17a3e714f2a430dc6d5b917abfbb33 wmclockmon-0.8.1.ebuild 968
+SHA256 3b73c02f0f7d4b363fc1852bc9f839ced4e1f66d1238c8262cd56427b7cb849d wmclockmon-0.8.1.ebuild 968
+MISC ChangeLog 4143 RMD160 86ac7a9ebb7975a19bf4da684d6c6e3d1f65a74d SHA1 7329be4f2437c92966c1ccd284e71d01a23433d5 SHA256 07328cd88363475e7c44687dcb62a06c300921088a7c2345af19f599749525cb
+MD5 d8f2e027807ac16c825dd628404c199f ChangeLog 4143
+RMD160 86ac7a9ebb7975a19bf4da684d6c6e3d1f65a74d ChangeLog 4143
+SHA256 07328cd88363475e7c44687dcb62a06c300921088a7c2345af19f599749525cb ChangeLog 4143
MISC metadata.xml 165 RMD160 a554e96dc33b1fb4b3518f27a21bf3f59dc21b1c SHA1 674655a4f0fc35c7b3b2e05aab1910c0ebafade1 SHA256 c2f8a0b30c83dba56f0c36a4ba1cb002621ae58dfc13fae94b9db6eb67fb9f1b
MD5 62ba71d3b2fa785a4cbd5d47fdbd0eb6 metadata.xml 165
RMD160 a554e96dc33b1fb4b3518f27a21bf3f59dc21b1c metadata.xml 165
@@ -14,3 +23,6 @@ SHA256 c2f8a0b30c83dba56f0c36a4ba1cb002621ae58dfc13fae94b9db6eb67fb9f1b metadata
MD5 7b7c826840020044232e80f5c0722c2a files/digest-wmclockmon-0.8.0-r1 250
RMD160 0ef459d100d117abd56cba2954cbaddfe104d713 files/digest-wmclockmon-0.8.0-r1 250
SHA256 ce952f5ec9b64282fb708c914d02dccc900b9c6a915b99d5c24356a28002fbf0 files/digest-wmclockmon-0.8.0-r1 250
+MD5 3b6a6668d9613f3b64624b08b973e6c2 files/digest-wmclockmon-0.8.1 256
+RMD160 cdbdee31d0a8f586ac002ab1c36acc83d8ed45cb files/digest-wmclockmon-0.8.1 256
+SHA256 11d872b169333fa79c1464d0105b3567eb5f53bffedcf21f846962febf9ec9c5 files/digest-wmclockmon-0.8.1 256
diff --git a/x11-plugins/wmclockmon/files/digest-wmclockmon-0.8.1 b/x11-plugins/wmclockmon/files/digest-wmclockmon-0.8.1
new file mode 100644
index 000000000000..290fa22eed74
--- /dev/null
+++ b/x11-plugins/wmclockmon/files/digest-wmclockmon-0.8.1
@@ -0,0 +1,3 @@
+MD5 4da067685ea678f6c9d5697e83cb503e wmclockmon_0.8.1-1.tar.gz 139233
+RMD160 151382b1f7030699ef6707c81376c19c3edfaecb wmclockmon_0.8.1-1.tar.gz 139233
+SHA256 51169422cc29c4d47878bef97e5e6eb16c86289173934a212c435cbebe8912d8 wmclockmon_0.8.1-1.tar.gz 139233
diff --git a/x11-plugins/wmclockmon/files/wmclockmon-0.8.1-gtk.patch b/x11-plugins/wmclockmon/files/wmclockmon-0.8.1-gtk.patch
new file mode 100644
index 000000000000..a3b1b1fff9df
--- /dev/null
+++ b/x11-plugins/wmclockmon/files/wmclockmon-0.8.1-gtk.patch
@@ -0,0 +1,303 @@
+diff -ur wmclockmon-0.8.1.orig/wmclockmon-cal/Makefile.in wmclockmon-0.8.1/wmclockmon-cal/Makefile.in
+--- wmclockmon-0.8.1.orig/wmclockmon-cal/Makefile.in 2005-06-15 16:55:27.000000000 +0300
++++ wmclockmon-0.8.1/wmclockmon-cal/Makefile.in 2008-01-13 13:23:11.000000000 +0200
+@@ -96,17 +96,17 @@
+
+
+ DEFS = @DEFS@ -I. -I$(srcdir) -I..
+-LDFLAGS = @LDFLAGS@ `gtk-config --libs`
++LIBS = @LIBS@ `pkg-config gtk+-2.0 --libs`
+ X_CFLAGS = @X_CFLAGS@
+ X_LIBS = @X_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+ wmclockmon_OBJECTS = main.o mainwindow.o tools.o
+ wmclockmon_DEPENDENCIES =
+ wmclockmon_LDFLAGS =
+-CFLAGS = @CFLAGS@ `gtk-config --cflags`
++CFLAGS = @CFLAGS@ `pkg-config gtk+-2.0 --cflags`
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(LDFLAGS) $(AM_CFLAGS) $(CFLAGS) $(LIBS) -o $@
+ DIST_COMMON = Makefile.am Makefile.in
+
+
+diff -ur wmclockmon-0.8.1.orig/wmclockmon-cal/mainwindow.c wmclockmon-0.8.1/wmclockmon-cal/mainwindow.c
+--- wmclockmon-0.8.1.orig/wmclockmon-cal/mainwindow.c 2005-06-15 17:03:21.000000000 +0300
++++ wmclockmon-0.8.1/wmclockmon-cal/mainwindow.c 2008-01-13 13:04:53.000000000 +0200
+@@ -51,7 +51,6 @@
+ gtk_widget_hide(calendar);
+ gtk_widget_hide(closewindow);
+ gtk_widget_grab_default(GTK_WIDGET(cancel));
+- gtk_widget_draw_default(GTK_WIDGET(cancel));
+ gtk_widget_grab_focus(GTK_WIDGET(edit));
+ gtk_widget_show(text_buttons);
+ gtk_widget_show(edit);
+@@ -69,7 +68,6 @@
+ gtk_widget_hide(cancel);
+ gtk_widget_show(calendar);
+ gtk_widget_grab_default(GTK_WIDGET(closewindow));
+- gtk_widget_draw_default(GTK_WIDGET(closewindow));
+ gtk_widget_grab_focus(GTK_WIDGET(closewindow));
+ gtk_widget_show(closewindow);
+ }
+@@ -93,13 +91,20 @@
+ FILE *file;
+ char *filename = get_file(datestr);
+
++ GtkTextIter iter;
++ GtkTextBuffer *buf;
++
++ buf = GTK_TEXT_BUFFER(gtk_text_view_get_buffer(GTK_TEXT_VIEW(edit)));
++ gtk_text_buffer_get_end_iter(GTK_TEXT_BUFFER(gtk_text_view_get_buffer(GTK_TEXT_VIEW(edit))), &iter);
++ gtk_text_buffer_place_cursor(GTK_TEXT_BUFFER(gtk_text_view_get_buffer(GTK_TEXT_VIEW(edit))), &iter);
++
+ if ((file = fopen(filename, "r")) != NULL) {
+ while (! feof(file)) {
+ char line[MAXSTRLEN + 1];
+ bzero(line, MAXSTRLEN + 1);
+ fgets(line, MAXSTRLEN, file);
+ if (line[0] != 0)
+- gtk_text_insert(GTK_TEXT(edit), NULL, NULL, NULL, line, -1);
++ gtk_text_buffer_insert(buf, &iter, line, -1);
+ }
+ fclose(file);
+ }
+@@ -154,21 +159,14 @@
+
+
+ static void editor_flush() {
+- int cont = TRUE;
+-
+- while (cont) {
+- cont = gtk_text_backward_delete(GTK_TEXT(edit), 1);
+- }
+- cont = TRUE;
+- while (cont) {
+- cont = gtk_text_forward_delete(GTK_TEXT(edit), 1);
+- }
++ gtk_text_buffer_set_text(GTK_TEXT_BUFFER(gtk_text_view_get_buffer(GTK_TEXT_VIEW(edit))), "", 0);
+ }
+
+
+ static void editor_fill(int which) {
+ char *dstr;
+ GtkWidget *label = NULL;
++ GtkTextIter iter;
+
+ switch (which) {
+ case UNIQUE: label = label_u; break;
+@@ -179,11 +177,10 @@
+ gtk_label_get(GTK_LABEL(label), &dstr);
+ strcpy(daystr, dstr);
+ to_button(which);
+- gtk_text_freeze(GTK_TEXT(edit));
+ editor_flush();
+ load_file(daystr);
+- gtk_text_set_point(GTK_TEXT(edit), gtk_text_get_length(GTK_TEXT(edit)));
+- gtk_text_thaw(GTK_TEXT(edit));
++ gtk_text_buffer_get_end_iter(GTK_TEXT_BUFFER(gtk_text_view_get_buffer(GTK_TEXT_VIEW(edit))), &iter);
++ gtk_text_buffer_place_cursor(GTK_TEXT_BUFFER(gtk_text_view_get_buffer(GTK_TEXT_VIEW(edit))), &iter);
+ }
+
+
+@@ -225,8 +222,15 @@
+ char *dirname = xmalloc(len + 2);
+ struct stat stat_buf;
+
++ GtkTextIter ts, te;
++ gchar *tbuf;
++ int tlen;
++
++ tlen = gtk_text_buffer_get_char_count(GTK_TEXT_BUFFER(gtk_text_view_get_buffer(GTK_TEXT_VIEW(edit))));
++ gtk_text_buffer_get_bounds(GTK_TEXT_BUFFER(gtk_text_view_get_buffer(GTK_TEXT_VIEW(edit))), &ts, &te);
++
+ sprintf(dirname, "%s/%s", robust_home(), DEFAULT_CONFIGDIR);
+- if (gtk_text_get_length(GTK_TEXT(edit)) > 0) {
++ if (tlen > 0) {
+ if (! ((stat(dirname, &stat_buf) == 0) && S_ISDIR(stat_buf.st_mode)))
+ mkdir(dirname, 0755);
+
+@@ -235,13 +239,11 @@
+ unsigned int year, month, day;
+
+ if (file) {
+- int i;
+- for (i = 0 ; i < gtk_text_get_length(GTK_TEXT(edit)) ; i++) {
+- char t = GTK_TEXT_INDEX(GTK_TEXT(edit), i);
+- fprintf(file, "%c", t);
+- }
+- fflush(file);
+- fclose(file);
++ tbuf = gtk_text_buffer_get_text(GTK_TEXT_BUFFER(gtk_text_view_get_buffer(GTK_TEXT_VIEW(edit))), &ts, &te, TRUE);
++ fprintf(file, "%s", tbuf);
++ g_free(tbuf);
++ fflush(file);
++ fclose(file);
+ }
+ gtk_calendar_get_date(GTK_CALENDAR(calendar), &year, &month, &day);
+ gtk_calendar_mark_day(GTK_CALENDAR(calendar), day);
+@@ -259,9 +261,7 @@
+ gtk_calendar_get_date(GTK_CALENDAR(calendar), &year, &month, &day);
+ gtk_calendar_unmark_day(GTK_CALENDAR(calendar), day);
+ FREE(filename);
+- gtk_text_freeze(GTK_TEXT(edit));
+ editor_flush();
+- gtk_text_thaw(GTK_TEXT(edit));
+ }
+
+
+@@ -357,10 +357,10 @@
+ GTK_SIGNAL_FUNC(mark_days), NULL);
+ gtk_widget_show(calendar);
+
+- edit = gtk_text_new(NULL, NULL);
+- gtk_text_set_editable(GTK_TEXT(edit), TRUE);
+- gtk_text_set_word_wrap(GTK_TEXT(edit), TRUE);
+- gtk_text_set_line_wrap(GTK_TEXT(edit), TRUE);
++ edit = gtk_text_view_new();
++ gtk_text_view_set_editable(GTK_TEXT_VIEW(edit), TRUE);
++ gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(edit), GTK_WRAP_WORD_CHAR);
++
+ gtk_box_pack_start(GTK_BOX(main_vbox), edit, TRUE, TRUE, 1);
+
+
+@@ -413,7 +413,6 @@
+ gtk_box_pack_start(GTK_BOX(buttons_hbox), closewindow, TRUE, TRUE, 0);
+ GTK_WIDGET_SET_FLAGS(GTK_WIDGET(closewindow), GTK_CAN_DEFAULT);
+ gtk_widget_grab_default(GTK_WIDGET(closewindow));
+- gtk_widget_draw_default(GTK_WIDGET(closewindow));
+ gtk_widget_show(closewindow);
+
+
+diff -ur wmclockmon-0.8.1.orig/wmclockmon-config/Makefile.in wmclockmon-0.8.1/wmclockmon-config/Makefile.in
+--- wmclockmon-0.8.1.orig/wmclockmon-config/Makefile.in 2005-06-15 16:55:27.000000000 +0300
++++ wmclockmon-0.8.1/wmclockmon-config/Makefile.in 2008-01-13 13:23:44.000000000 +0200
+@@ -96,17 +96,17 @@
+
+
+ DEFS = @DEFS@ -I. -I$(srcdir) -I..
+-LDFLAGS = @LDFLAGS@ `gtk-config --libs`
++LIBS = @LIBS@ `pkg-config gtk+-2.0 --libs`
+ X_CFLAGS = @X_CFLAGS@
+ X_LIBS = @X_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+ wmclockmon_OBJECTS = actions.o dialogs.o edit.o main.o mainwindow.o tools.o
+ wmclockmon_DEPENDENCIES =
+ wmclockmon_LDFLAGS =
+-CFLAGS = @CFLAGS@ `gtk-config --cflags`
++CFLAGS = @CFLAGS@ `pkg-config gtk+-2.0 --cflags`
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(LDFLAGS) $(AM_CFLAGS) $(CFLAGS) $(LIBS) -o $@
+ DIST_COMMON = Makefile.am Makefile.in
+
+
+diff -ur wmclockmon-0.8.1.orig/wmclockmon-config/dialogs.c wmclockmon-0.8.1/wmclockmon-config/dialogs.c
+--- wmclockmon-0.8.1.orig/wmclockmon-config/dialogs.c 2005-06-15 16:55:27.000000000 +0300
++++ wmclockmon-0.8.1/wmclockmon-config/dialogs.c 2008-01-13 13:04:53.000000000 +0200
+@@ -38,7 +38,6 @@
+ bouton, TRUE, TRUE, 0);
+ GTK_WIDGET_SET_FLAGS(GTK_WIDGET(bouton), GTK_CAN_DEFAULT);
+ gtk_widget_grab_default(GTK_WIDGET(bouton));
+- gtk_widget_draw_default(GTK_WIDGET(bouton));
+ gtk_widget_show(bouton);
+
+ bouton = gtk_button_new_with_label("No");
+@@ -96,7 +95,6 @@
+ bouton, TRUE, TRUE, 0);
+ GTK_WIDGET_SET_FLAGS(GTK_WIDGET(bouton), GTK_CAN_DEFAULT);
+ gtk_widget_grab_default(GTK_WIDGET(bouton));
+- gtk_widget_draw_default(GTK_WIDGET(bouton));
+ gtk_widget_show(bouton);
+
+ gtk_container_set_border_width(GTK_CONTAINER
+diff -ur wmclockmon-0.8.1.orig/wmclockmon-config/edit.c wmclockmon-0.8.1/wmclockmon-config/edit.c
+--- wmclockmon-0.8.1.orig/wmclockmon-config/edit.c 2005-06-15 16:55:27.000000000 +0300
++++ wmclockmon-0.8.1/wmclockmon-config/edit.c 2008-01-13 13:04:53.000000000 +0200
+@@ -76,7 +76,6 @@
+ bouton, TRUE, TRUE, 0);
+ GTK_WIDGET_SET_FLAGS(GTK_WIDGET(bouton), GTK_CAN_DEFAULT);
+ gtk_widget_grab_default(GTK_WIDGET(bouton));
+- gtk_widget_draw_default(GTK_WIDGET(bouton));
+ gtk_widget_show(bouton);
+
+ bouton = gtk_button_new_with_label("Cancel");
+diff -ur wmclockmon-0.8.1.orig/wmclockmon-config/mainwindow.c wmclockmon-0.8.1/wmclockmon-config/mainwindow.c
+--- wmclockmon-0.8.1.orig/wmclockmon-config/mainwindow.c 2005-06-15 16:55:27.000000000 +0300
++++ wmclockmon-0.8.1/wmclockmon-config/mainwindow.c 2008-01-13 13:04:53.000000000 +0200
+@@ -10,9 +10,9 @@
+ #include "actions.h"
+
+
+-static GtkWidget *edit;
+-static GtkWidget *set;
+-static GtkWidget *remove;
++static GtkWidget *b_edit;
++static GtkWidget *b_set;
++static GtkWidget *b_remove;
+
+ static gint list_sel_cb (GtkCList *clist,
+ gint row,
+@@ -20,9 +20,9 @@
+ GdkEventButton *event,
+ void *data) {
+ selected_row = row;
+- gtk_widget_set_sensitive(edit, TRUE);
+- gtk_widget_set_sensitive(set, TRUE);
+- gtk_widget_set_sensitive(remove, TRUE);
++ gtk_widget_set_sensitive(b_edit, TRUE);
++ gtk_widget_set_sensitive(b_set, TRUE);
++ gtk_widget_set_sensitive(b_remove, TRUE);
+ return TRUE;
+ }
+
+@@ -33,9 +33,9 @@
+ GdkEventButton *event,
+ void *data) {
+ selected_row = -1;
+- gtk_widget_set_sensitive(edit, FALSE);
+- gtk_widget_set_sensitive(set, FALSE);
+- gtk_widget_set_sensitive(remove, FALSE);
++ gtk_widget_set_sensitive(b_edit, FALSE);
++ gtk_widget_set_sensitive(b_set, FALSE);
++ gtk_widget_set_sensitive(b_remove, FALSE);
+ return TRUE;
+ }
+
+@@ -267,7 +267,7 @@
+ gtk_table_attach_defaults(GTK_TABLE(table), bouton, 0, 1, 1, 2);
+ gtk_widget_set_sensitive(bouton, FALSE);
+ gtk_widget_show(bouton);
+- edit = bouton;
++ b_edit = bouton;
+
+ bouton = gtk_button_new_with_label(" Switch On/Off ");
+ gtk_signal_connect(GTK_OBJECT(bouton), "clicked",
+@@ -275,7 +275,7 @@
+ gtk_table_attach_defaults(GTK_TABLE(table), bouton, 1, 2, 1, 2);
+ gtk_widget_set_sensitive(bouton, FALSE);
+ gtk_widget_show(bouton);
+- set = bouton;
++ b_set = bouton;
+
+ bouton = gtk_button_new_with_label(" Remove alarm ");
+ gtk_signal_connect(GTK_OBJECT(bouton), "clicked",
+@@ -283,7 +283,7 @@
+ gtk_table_attach_defaults(GTK_TABLE(table), bouton, 1, 2, 0, 1);
+ gtk_widget_set_sensitive(bouton, FALSE);
+ gtk_widget_show(bouton);
+- remove = bouton;
++ b_remove = bouton;
+
+
+ label = gtk_label_new(" Alarms ");
+@@ -312,7 +312,6 @@
+ gtk_box_pack_start(GTK_BOX(buttons_hbox), bouton, TRUE, TRUE, 0);
+ GTK_WIDGET_SET_FLAGS(GTK_WIDGET(bouton), GTK_CAN_DEFAULT);
+ gtk_widget_grab_default(GTK_WIDGET(bouton));
+- gtk_widget_draw_default(GTK_WIDGET(bouton));
+ gtk_widget_show(bouton);
+
+ bouton = gtk_button_new_with_label(" Cancel ");
diff --git a/x11-plugins/wmclockmon/wmclockmon-0.8.1.ebuild b/x11-plugins/wmclockmon/wmclockmon-0.8.1.ebuild
new file mode 100644
index 000000000000..4801ec57c378
--- /dev/null
+++ b/x11-plugins/wmclockmon/wmclockmon-0.8.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmclockmon/wmclockmon-0.8.1.ebuild,v 1.1 2008/01/13 11:42:20 drac Exp $
+
+inherit eutils
+
+DESCRIPTION="a nice digital clock with 7 different styles either in LCD or LED style."
+HOMEPAGE="http://tnemeth.free.fr/projets/dockapps.html"
+SRC_URI="mirror://debian/pool/main/w/${PN}/${PN}_${PV}-1.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=x11-libs/gtk+-2
+ x11-libs/libXext
+ x11-libs/libX11
+ x11-libs/libXpm
+ x11-libs/libICE"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ x11-proto/xextproto
+ x11-libs/libXt"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gtk.patch
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO doc/sample*
+ newdoc debian/changelog ChangeLog.debian
+}