From 0c906a04d8b69d07ab15360f2be5735cc3ee25b7 Mon Sep 17 00:00:00 2001 From: Andreas Müller Date: Fri, 2 Mar 2018 00:01:43 +0100 Subject: xfce4-timer-plugin: update 1.6.0 -> 1.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 0001-Specify-string-format-explicitly.patch: Code was restructured and fix was done upstream. Signed-off-by: Andreas Müller Signed-off-by: Armin Kuster --- .../0001-Specify-string-format-explicitly.patch | 32 ---------------------- .../timer/xfce4-timer-plugin_1.6.0.bb | 12 -------- .../timer/xfce4-timer-plugin_1.7.0.bb | 10 +++++++ 3 files changed, 10 insertions(+), 44 deletions(-) delete mode 100644 meta-xfce/recipes-panel-plugins/timer/xfce4-timer-plugin/0001-Specify-string-format-explicitly.patch delete mode 100644 meta-xfce/recipes-panel-plugins/timer/xfce4-timer-plugin_1.6.0.bb create mode 100644 meta-xfce/recipes-panel-plugins/timer/xfce4-timer-plugin_1.7.0.bb diff --git a/meta-xfce/recipes-panel-plugins/timer/xfce4-timer-plugin/0001-Specify-string-format-explicitly.patch b/meta-xfce/recipes-panel-plugins/timer/xfce4-timer-plugin/0001-Specify-string-format-explicitly.patch deleted file mode 100644 index 3f0bb05af..000000000 --- a/meta-xfce/recipes-panel-plugins/timer/xfce4-timer-plugin/0001-Specify-string-format-explicitly.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 6b786e1c161026ab5486ac218891a85db65bf3ba Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Wed, 22 Mar 2017 15:28:24 -0700 -Subject: [PATCH] Specify string format explicitly - -Avoids below errors when compiling with -Wformat-security - -error: format string is not a string literal (potentially insecure) - -Signed-off-by: Khem Raj ---- -Upstream-Status: Pending - - src/xfcetimer.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/xfcetimer.c b/src/xfcetimer.c -index 601772f..4b89682 100644 ---- a/src/xfcetimer.c -+++ b/src/xfcetimer.c -@@ -190,7 +190,7 @@ static gboolean update_function (gpointer data){ - - dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, - GTK_MESSAGE_WARNING, -- GTK_BUTTONS_NONE, dialog_message); -+ GTK_BUTTONS_NONE, "%s", dialog_message); - - gtk_window_set_title ((GtkWindow *) dialog, dialog_title); - --- -2.12.0 - diff --git a/meta-xfce/recipes-panel-plugins/timer/xfce4-timer-plugin_1.6.0.bb b/meta-xfce/recipes-panel-plugins/timer/xfce4-timer-plugin_1.6.0.bb deleted file mode 100644 index 961519285..000000000 --- a/meta-xfce/recipes-panel-plugins/timer/xfce4-timer-plugin_1.6.0.bb +++ /dev/null @@ -1,12 +0,0 @@ -SUMMARY = "XFCE panel plugin to generate alarm messages" -DESCRIPTION = "This is a simple plugin that lets the user run an alarm at a specified time or at the end of a specified countdown period" -HOMEPAGE = "http://goodies.xfce.org/projects/panel-plugins/xfce4-timer-plugin" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=ae39271267fd63eb7619432ff24e7ff1" - -inherit xfce-panel-plugin - -SRC_URI += "file://0001-Specify-string-format-explicitly.patch" - -SRC_URI[md5sum] = "3be2a4ccfb2af20441b1d25c2cea5f28" -SRC_URI[sha256sum] = "39d7d21f099bc4219f6a6156142f0bbb8374986ee1970a9c0c8dc138b87f867c" diff --git a/meta-xfce/recipes-panel-plugins/timer/xfce4-timer-plugin_1.7.0.bb b/meta-xfce/recipes-panel-plugins/timer/xfce4-timer-plugin_1.7.0.bb new file mode 100644 index 000000000..2ddc6f67c --- /dev/null +++ b/meta-xfce/recipes-panel-plugins/timer/xfce4-timer-plugin_1.7.0.bb @@ -0,0 +1,10 @@ +SUMMARY = "XFCE panel plugin to generate alarm messages" +DESCRIPTION = "This is a simple plugin that lets the user run an alarm at a specified time or at the end of a specified countdown period" +HOMEPAGE = "http://goodies.xfce.org/projects/panel-plugins/xfce4-timer-plugin" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=ae39271267fd63eb7619432ff24e7ff1" + +inherit xfce-panel-plugin + +SRC_URI[md5sum] = "32e6a14e80bf9a93db2f2b3bfd7de920" +SRC_URI[sha256sum] = "2e4e5343e39926230cc981d5fe56cd58a2f3817d2e9b6089b5673a2e39bf7e9b" -- cgit v1.2.3-54-g00ecf