diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2024-11-26 08:50:04 +0100 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2024-11-26 08:50:04 +0100 |
commit | 4b27d7959f2661a5100e5f8fbc735d8a6e14450e (patch) | |
tree | 06fbde53c32e1e2fbc11a41347f7f00f47e49ec8 /x11-plugins | |
parent | mail-mta/exim: cleanup vulnerable (diff) | |
download | gentoo-4b27d7959f2661a5100e5f8fbc735d8a6e14450e.tar.gz gentoo-4b27d7959f2661a5100e5f8fbc735d8a6e14450e.tar.bz2 gentoo-4b27d7959f2661a5100e5f8fbc735d8a6e14450e.zip |
x11-plugins/wmclockmon: drop 0.8.1-r1
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'x11-plugins')
-rw-r--r-- | x11-plugins/wmclockmon/Manifest | 1 | ||||
-rw-r--r-- | x11-plugins/wmclockmon/files/wmclockmon-0.8.1-gcc-10.patch | 247 | ||||
-rw-r--r-- | x11-plugins/wmclockmon/files/wmclockmon-0.8.1-gtk.patch | 297 | ||||
-rw-r--r-- | x11-plugins/wmclockmon/wmclockmon-0.8.1-r1.ebuild | 42 |
4 files changed, 0 insertions, 587 deletions
diff --git a/x11-plugins/wmclockmon/Manifest b/x11-plugins/wmclockmon/Manifest index d12953b4e7c2..418fbc324eb9 100644 --- a/x11-plugins/wmclockmon/Manifest +++ b/x11-plugins/wmclockmon/Manifest @@ -1,2 +1 @@ DIST wmclockmon-1.0.0.tar.xz 136768 BLAKE2B 2d63a111366e45be3c52cc147fc84833ea7032f984dceb97e071bcff8507d721a4c60ddd3a1254c53b81f7f15d300939f540b79c3d8d9d8351e310b256501a3c SHA512 f414166a124ef94051e91b428fa988fc3eb865f0848078ff66f2c8b69020bbfd14742f97cde8f2919e2d129a505c5e505599efccb9d30ee7dd9a589f2b12bbff -DIST wmclockmon_0.8.1-1.tar.gz 139233 BLAKE2B fef6cc69afe54fc966008097c15ebf08db5dc585e3789f610b5f0d5d550312a6e0a00e5ee07d6e86d5efd78358e00a4d0fa44cd3b7ac69ecd9c7374037be61f4 SHA512 6216737b9df3ba2ec453570c477764b89b386bbaf954abcb5a5dc2e8841b08d4a8b0b9a4b7eaea73af59544a004cd685f15ce5a0cf098e4db29208151e5309a4 diff --git a/x11-plugins/wmclockmon/files/wmclockmon-0.8.1-gcc-10.patch b/x11-plugins/wmclockmon/files/wmclockmon-0.8.1-gcc-10.patch deleted file mode 100644 index f891c27e1a0f..000000000000 --- a/x11-plugins/wmclockmon/files/wmclockmon-0.8.1-gcc-10.patch +++ /dev/null @@ -1,247 +0,0 @@ -diff -Naur wmclockmon-0.8.1.orig/src/main.c wmclockmon-0.8.1/src/main.c ---- wmclockmon-0.8.1.orig/src/main.c 2005-06-15 16:04:57.000000000 +0200 -+++ wmclockmon-0.8.1/src/main.c 2020-02-24 22:27:45.957224984 +0100 -@@ -221,6 +221,7 @@ - static char* label = NULL; - - -+ - /* prototypes */ - static void rotate_style(); - static Bool stringdiff(const char *s1, const char *s2); -diff -Naur wmclockmon-0.8.1.orig/wmclockmon-cal/main.c wmclockmon-0.8.1/wmclockmon-cal/main.c ---- wmclockmon-0.8.1.orig/wmclockmon-cal/main.c 2005-06-15 15:55:27.000000000 +0200 -+++ wmclockmon-0.8.1/wmclockmon-cal/main.c 2020-02-24 22:35:38.832391977 +0100 -@@ -15,6 +15,22 @@ - #include "mainwindow.h" - #include "main.h" - -+GtkWidget *application; -+GtkWidget *alarmlist; -+GtkWidget *wid_backlight; -+GtkWidget *wid_blink; -+GtkWidget *wid_styledir; -+GtkWidget *wid_stylename; -+GtkWidget *wid_color; -+GtkWidget *wid_command; -+GtkWidget *wid_msgcmd; -+GtkWidget *wid_h12; -+GtkWidget *wid_itm; -+GtkWidget *wid_locale; -+ -+int selected_row; -+ -+struct tm *timeinfos; - - void Usage () { - printf("Usage: "PACKAGE"-cal [-h] [-v]\n" -diff -Naur wmclockmon-0.8.1.orig/wmclockmon-cal/main.h wmclockmon-0.8.1/wmclockmon-cal/main.h ---- wmclockmon-0.8.1.orig/wmclockmon-cal/main.h 2005-06-15 15:55:27.000000000 +0200 -+++ wmclockmon-0.8.1/wmclockmon-cal/main.h 2020-02-24 22:35:32.799388390 +0100 -@@ -9,7 +9,7 @@ - #include <sys/time.h> - - --struct tm *timeinfos; -+extern struct tm *timeinfos; - - void quit_app(); - -diff -Naur wmclockmon-0.8.1.orig/wmclockmon-cal/mainwindow.h wmclockmon-0.8.1/wmclockmon-cal/mainwindow.h ---- wmclockmon-0.8.1.orig/wmclockmon-cal/mainwindow.h 2005-06-15 15:55:27.000000000 +0200 -+++ wmclockmon-0.8.1/wmclockmon-cal/mainwindow.h 2020-02-24 22:34:22.609356664 +0100 -@@ -7,20 +7,20 @@ - - #include <gtk/gtk.h> - --GtkWidget *application; --GtkWidget *alarmlist; --GtkWidget *wid_backlight; --GtkWidget *wid_blink; --GtkWidget *wid_styledir; --GtkWidget *wid_stylename; --GtkWidget *wid_color; --GtkWidget *wid_command; --GtkWidget *wid_msgcmd; --GtkWidget *wid_h12; --GtkWidget *wid_itm; --GtkWidget *wid_locale; -+extern GtkWidget *application; -+extern GtkWidget *alarmlist; -+extern GtkWidget *wid_backlight; -+extern GtkWidget *wid_blink; -+extern GtkWidget *wid_styledir; -+extern GtkWidget *wid_stylename; -+extern GtkWidget *wid_color; -+extern GtkWidget *wid_command; -+extern GtkWidget *wid_msgcmd; -+extern GtkWidget *wid_h12; -+extern GtkWidget *wid_itm; -+extern GtkWidget *wid_locale; - --int selected_row; -+extern int selected_row; - - gint list_unsel_cb (GtkCList *clist, - gint row, -diff -Naur wmclockmon-0.8.1.orig/wmclockmon-config/actions.c wmclockmon-0.8.1/wmclockmon-config/actions.c ---- wmclockmon-0.8.1.orig/wmclockmon-config/actions.c 2005-06-15 15:55:27.000000000 +0200 -+++ wmclockmon-0.8.1/wmclockmon-config/actions.c 2020-02-24 22:32:59.929329239 +0100 -@@ -19,6 +19,24 @@ - #include "edit.h" - #include "actions.h" - -+GtkWidget *application; -+GtkWidget *alarmlist; -+GtkWidget *wid_backlight; -+GtkWidget *wid_blink; -+GtkWidget *wid_styledir; -+GtkWidget *wid_stylename; -+GtkWidget *wid_color; -+GtkWidget *wid_command; -+GtkWidget *wid_msgcmd; -+GtkWidget *wid_h12; -+GtkWidget *wid_clk; -+GtkWidget *wid_itm; -+GtkWidget *wid_bin; -+GtkWidget *wid_locale; -+GtkWidget *wid_showcal; -+GtkWidget *wid_calalrms; -+ -+int selected_row; - - void quit_app() { - FREE(command); -diff -Naur 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 15:55:27.000000000 +0200 -+++ wmclockmon-0.8.1/wmclockmon-config/edit.c 2020-02-24 22:30:01.651270068 +0100 -@@ -16,6 +16,8 @@ - static GtkWidget *wid_date; - static GtkWidget *wid_mesg; - -+char *newalarm; -+ - void set_data(GtkWidget *widget, GtkWidget *data) { - char *wstat = gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(wid_status)->entry)); - char *wtime = gtk_entry_get_text(GTK_ENTRY(wid_time)); -diff -Naur wmclockmon-0.8.1.orig/wmclockmon-config/edit.h wmclockmon-0.8.1/wmclockmon-config/edit.h ---- wmclockmon-0.8.1.orig/wmclockmon-config/edit.h 2005-06-15 15:55:27.000000000 +0200 -+++ wmclockmon-0.8.1/wmclockmon-config/edit.h 2020-02-24 22:29:53.652267413 +0100 -@@ -5,7 +5,7 @@ - #ifndef EDIT_H - #define EDIT_H - --char *newalarm; -+extern char *newalarm; - - void edit_dialog(const char *title, - int on, -diff -Naur wmclockmon-0.8.1.orig/wmclockmon-config/mainwindow.h wmclockmon-0.8.1/wmclockmon-config/mainwindow.h ---- wmclockmon-0.8.1.orig/wmclockmon-config/mainwindow.h 2005-06-15 15:55:27.000000000 +0200 -+++ wmclockmon-0.8.1/wmclockmon-config/mainwindow.h 2020-02-24 22:33:31.864339834 +0100 -@@ -7,24 +7,24 @@ - - #include <gtk/gtk.h> - --GtkWidget *application; --GtkWidget *alarmlist; --GtkWidget *wid_backlight; --GtkWidget *wid_blink; --GtkWidget *wid_styledir; --GtkWidget *wid_stylename; --GtkWidget *wid_color; --GtkWidget *wid_command; --GtkWidget *wid_msgcmd; --GtkWidget *wid_h12; --GtkWidget *wid_clk; --GtkWidget *wid_itm; --GtkWidget *wid_bin; --GtkWidget *wid_locale; --GtkWidget *wid_showcal; --GtkWidget *wid_calalrms; -+extern GtkWidget *application; -+extern GtkWidget *alarmlist; -+extern GtkWidget *wid_backlight; -+extern GtkWidget *wid_blink; -+extern GtkWidget *wid_styledir; -+extern GtkWidget *wid_stylename; -+extern GtkWidget *wid_color; -+extern GtkWidget *wid_command; -+extern GtkWidget *wid_msgcmd; -+extern GtkWidget *wid_h12; -+extern GtkWidget *wid_clk; -+extern GtkWidget *wid_itm; -+extern GtkWidget *wid_bin; -+extern GtkWidget *wid_locale; -+extern GtkWidget *wid_showcal; -+extern GtkWidget *wid_calalrms; - --int selected_row; -+extern int selected_row; - - gint list_unsel_cb (GtkCList *clist, - gint row, -diff -Naur wmclockmon-0.8.1.orig/wmclockmon-config/tools.c wmclockmon-0.8.1/wmclockmon-config/tools.c ---- wmclockmon-0.8.1.orig/wmclockmon-config/tools.c 2005-06-15 15:55:27.000000000 +0200 -+++ wmclockmon-0.8.1/wmclockmon-config/tools.c 2020-02-24 22:28:02.883230608 +0100 -@@ -17,6 +17,21 @@ - #include <sys/types.h> - #include "configfile.h" - -+int backlight; -+int switch_authorized; -+int h12; -+int time_mode; -+int use_leds; -+int use_locale; -+int showcal; -+int calalrms; -+char *style_name; -+char *style_dir; -+char *config_file; -+char *light_color; -+char *command; -+char *msgcmd; -+Alarm *alarms; - - int fexist(const char *filename) { - FILE *file; -diff -Naur wmclockmon-0.8.1.orig/wmclockmon-config/variables.h wmclockmon-0.8.1/wmclockmon-config/variables.h ---- wmclockmon-0.8.1.orig/wmclockmon-config/variables.h 2005-06-15 15:55:27.000000000 +0200 -+++ wmclockmon-0.8.1/wmclockmon-config/variables.h 2020-02-24 22:18:40.479043297 +0100 -@@ -7,20 +7,20 @@ - - #include "defines.h" - --int backlight; --int switch_authorized; --int h12; --int time_mode; --int use_leds; --int use_locale; --int showcal; --int calalrms; --char *style_name; --char *style_dir; --char *config_file; --char *light_color; --char *command; --char *msgcmd; --Alarm *alarms; -+extern int backlight; -+extern int switch_authorized; -+extern int h12; -+extern int time_mode; -+extern int use_leds; -+extern int use_locale; -+extern int showcal; -+extern int calalrms; -+extern char *style_name; -+extern char *style_dir; -+extern char *config_file; -+extern char *light_color; -+extern char *command; -+extern char *msgcmd; -+extern Alarm *alarms; - - #endif diff --git a/x11-plugins/wmclockmon/files/wmclockmon-0.8.1-gtk.patch b/x11-plugins/wmclockmon/files/wmclockmon-0.8.1-gtk.patch deleted file mode 100644 index 6d501934762d..000000000000 --- a/x11-plugins/wmclockmon/files/wmclockmon-0.8.1-gtk.patch +++ /dev/null @@ -1,297 +0,0 @@ ---- a/wmclockmon-cal/Makefile.in -+++ b/wmclockmon-cal/Makefile.in -@@ -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 - - ---- a/wmclockmon-cal/mainwindow.c -+++ b/wmclockmon-cal/mainwindow.c -@@ -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); - - ---- a/wmclockmon-config/Makefile.in -+++ b/wmclockmon-config/Makefile.in -@@ -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 - - ---- a/wmclockmon-config/dialogs.c -+++ b/wmclockmon-config/dialogs.c -@@ -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 ---- a/wmclockmon-config/edit.c -+++ b/wmclockmon-config/edit.c -@@ -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"); ---- a/wmclockmon-config/mainwindow.c -+++ b/wmclockmon-config/mainwindow.c -@@ -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-r1.ebuild b/x11-plugins/wmclockmon/wmclockmon-0.8.1-r1.ebuild deleted file mode 100644 index 6f42f7bf0fab..000000000000 --- a/x11-plugins/wmclockmon/wmclockmon-0.8.1-r1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -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" - -RDEPEND="x11-libs/gtk+:2 - x11-libs/libXext - x11-libs/libX11 - x11-libs/libXpm - x11-libs/libICE" -DEPEND="${RDEPEND} - x11-base/xorg-proto - x11-libs/libXt" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${P}-gtk.patch - "${FILESDIR}"/${P}-gcc-10.patch -) - -DOCS=( AUTHORS BUGS ChangeLog NEWS README THANKS TODO \ - doc/sample2.wmclockmonrc doc/sample1.wmclockmonrc ) - -src_configure() { - tc-export PKG_CONFIG - default -} - -src_install() { - default - newdoc debian/changelog ChangeLog.debian -} |