diff options
Diffstat (limited to 'meta/recipes-sato/leafpad/files')
3 files changed, 0 insertions, 154 deletions
diff --git a/meta/recipes-sato/leafpad/files/leafpad.desktop b/meta/recipes-sato/leafpad/files/leafpad.desktop deleted file mode 100644 index c7e2d5bb58..0000000000 --- a/meta/recipes-sato/leafpad/files/leafpad.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Name=Notes -Exec=/usr/bin/leafpad -Comment=Text Editor -Icon=accessories-text-editor -Terminal=false -Type=Application -Categories=GTK;Utility;TextEditor; -X-MB-SingleInstance=true -StartupNotify=true diff --git a/meta/recipes-sato/leafpad/files/owl-menu.patch b/meta/recipes-sato/leafpad/files/owl-menu.patch deleted file mode 100644 index 2ebf74a6f7..0000000000 --- a/meta/recipes-sato/leafpad/files/owl-menu.patch +++ /dev/null @@ -1,63 +0,0 @@ -Upstream-Status: Inappropriate [enable feature] - ---- tmp/src/menu.c.orig 2007-04-23 12:08:41.000000000 +0100 -+++ tmp/src/menu.c 2007-04-23 12:08:41.000000000 +0100 -@@ -152,7 +152,7 @@ - } - - accel_group = gtk_accel_group_new(); -- ifactory = gtk_item_factory_new(GTK_TYPE_MENU_BAR, "<main>", accel_group); -+ ifactory = gtk_item_factory_new(GTK_TYPE_MENU, "<main>", accel_group); - gtk_item_factory_set_translate_func(ifactory, menu_translate, NULL, NULL); - gtk_item_factory_create_items(ifactory, nmenu_items, menu_items, NULL); - gtk_window_add_accel_group(GTK_WINDOW(window), accel_group); - ---- tmp/src/window.c.orig 2007-04-23 12:14:07.000000000 +0100 -+++ tmp/src/window.c 2007-04-23 12:14:07.000000000 +0100 -@@ -18,6 +18,8 @@ - */ - - #include "leafpad.h" -+#include <libowl/owlwindowmenu.h> -+ - /* - static void cb_scroll_event(GtkAdjustment *adj, GtkWidget *view) - { -@@ -52,7 +54,6 @@ - gtk_container_add(GTK_CONTAINER(window), vbox); - - menubar = create_menu_bar(window); -- gtk_box_pack_start(GTK_BOX(vbox), menubar, FALSE, FALSE, 0); - - sw = gtk_scrolled_window_new(NULL, NULL); - gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), - ---- tmp/src/main.c.orig 2007-04-23 12:15:03.000000000 +0100 -+++ tmp/src/main.c 2007-04-23 12:15:03.000000000 +0100 -@@ -244,6 +244,7 @@ - Conf *conf; - GtkItemFactory *ifactory; - gchar *stdin_data = NULL; -+ GtkWidget *menu; - - bindtextdomain(PACKAGE, LOCALEDIR); - bind_textdomain_codeset(PACKAGE, "UTF-8"); -@@ -293,7 +294,10 @@ - conf->autoindent); - - gtk_widget_show_all(pub->mw->window); -+ owl_set_window_menu (GTK_WINDOW(pub->mw->window), -+ GTK_MENU(pub->mw->menubar)); -+ - g_free(conf->fontname); - g_free(conf); - - ---- tmp/src/Makefile.am.orig 2007-04-23 12:17:54.000000000 +0100 -+++ tmp/src/Makefile.am 2007-04-23 12:17:54.000000000 +0100 -@@ -27,4 +27,4 @@ - i18n.h - - leafpad_CFLAGS = $(GTK_CFLAGS) $(GNOMEPRINT_CFLAGS) --leafpad_LDADD = $(GTK_LIBS) $(INTLLIBS) $(GNOMEPRINT_LIBS) -+leafpad_LDADD = $(GTK_LIBS) $(INTLLIBS) $(GNOMEPRINT_LIBS) -lowl diff --git a/meta/recipes-sato/leafpad/files/src-dialog-gtkprint-.c-Fix-security-formatting-issue.patch b/meta/recipes-sato/leafpad/files/src-dialog-gtkprint-.c-Fix-security-formatting-issue.patch deleted file mode 100644 index cf2687f015..0000000000 --- a/meta/recipes-sato/leafpad/files/src-dialog-gtkprint-.c-Fix-security-formatting-issue.patch +++ /dev/null @@ -1,81 +0,0 @@ -From 316ccb1733a6da726c0e7f0748e3e88ec459ca54 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= <anibal.limon@linux.intel.com> -Date: Fri, 13 May 2016 14:36:51 -0500 -Subject: [PATCH] src/{dialog,gtkprint}.c: Fix security formatting issues -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -../../../../../../../workspace/sources/leafpad/src/dialog.c: In -unction -'run_dialog_message': -../../../../../../../workspace/sources/leafpad/src/dialog.c:39:3: -rror: -format not a string literal and no format arguments -[-Werror=format-security] - str); - ^ -../../../../../../../workspace/sources/leafpad/src/dialog.c: In -unction -'create_dialog_message_question': -../../../../../../../workspace/sources/leafpad/src/dialog.c:64:3: -rror: -format not a string literal and no format arguments -[-Werror=format-security] - str); - -../../../../../../../workspace/sources/leafpad/src/gtkprint.c: In -function 'create_error_dialog': -../../../../../../../workspace/sources/leafpad/src/gtkprint.c:168:3: -error: format not a string literal and no format arguments -[-Werror=format-security] - message); - -[YOCTO #9546] - -Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> - -Upstream-status: Pending ---- - src/dialog.c | 4 ++-- - src/gtkprint.c | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/src/dialog.c b/src/dialog.c -index 14b69d7..8c8f2da 100644 ---- a/src/dialog.c -+++ b/src/dialog.c -@@ -36,7 +36,7 @@ void run_dialog_message(GtkWidget *window, - GTK_DIALOG_DESTROY_WITH_PARENT, - type, - GTK_BUTTONS_NONE, -- str); -+ str, NULL); - gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); - gtk_dialog_add_buttons(GTK_DIALOG(dialog), - GTK_STOCK_OK, GTK_RESPONSE_CANCEL, NULL); -@@ -61,7 +61,7 @@ GtkWidget *create_dialog_message_question(GtkWidget *window, gchar *message, ... - GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_QUESTION, - GTK_BUTTONS_NONE, -- str); -+ str, NULL); - gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); - gtk_dialog_add_buttons(GTK_DIALOG(dialog), - GTK_STOCK_NO, GTK_RESPONSE_NO, -diff --git a/src/gtkprint.c b/src/gtkprint.c -index 3f39384..e2bb83a 100644 ---- a/src/gtkprint.c -+++ b/src/gtkprint.c -@@ -165,7 +165,7 @@ static void create_error_dialog(GtkTextView *text_view, gchar *message) - GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_ERROR, - GTK_BUTTONS_NONE, -- message); -+ message, NULL); - gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); - gtk_dialog_add_buttons(GTK_DIALOG(dialog), - GTK_STOCK_OK, GTK_RESPONSE_CANCEL, NULL); --- -2.1.4 - |