From 3846ceec4e5016394f8f9ae122e7c092ab0c0bf3 Mon Sep 17 00:00:00 2001 From: Sughosha Date: Fri, 30 Dec 2022 20:28:27 +0000 Subject: gnu: Add petri-foo. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/music.scm (petri-foo): New public variable. * gnu/packages/patches/petri-foo-0.1.87-fix-recent-file-not-exist.patch * gnu/local.mk (GNU_SYSTEM_MODULES): Add the new patch file. Signed-off-by: Ludovic Courtès --- ...etri-foo-0.1.87-fix-recent-file-not-exist.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 gnu/packages/patches/petri-foo-0.1.87-fix-recent-file-not-exist.patch (limited to 'gnu/packages/patches') diff --git a/gnu/packages/patches/petri-foo-0.1.87-fix-recent-file-not-exist.patch b/gnu/packages/patches/petri-foo-0.1.87-fix-recent-file-not-exist.patch new file mode 100644 index 0000000000..3e88487b07 --- /dev/null +++ b/gnu/packages/patches/petri-foo-0.1.87-fix-recent-file-not-exist.patch @@ -0,0 +1,24 @@ +diff -Naur a/gui/bank-ops.c b/gui/bank-ops.c +--- a/gui/bank-ops.c 2012-08-06 05:33:34.000000000 +0200 ++++ b/gui/bank-ops.c 2012-08-07 17:57:28.580145691 +0200 +@@ -393,6 +393,8 @@ + g_signal_connect_swapped(G_OBJECT(msg), "response", + G_CALLBACK(gtk_widget_destroy), msg); + gtk_widget_show (msg); ++ ++ gtk_recent_manager_remove_item(recent_manager, filename, NULL); + } + else + { +diff -Naur a/libpetrifui/dish_file.c b/libpetrifui/dish_file.c +--- a/libpetrifui/dish_file.c 2012-08-06 05:33:34.000000000 +0200 ++++ b/libpetrifui/dish_file.c 2012-08-07 17:56:09.063909801 +0200 +@@ -1440,7 +1440,7 @@ + + if (stat(path, &st) != 0) + { +- msg_log(MSG_ERROR, "file '%s' does not exist\n"); ++ msg_log(MSG_ERROR, "file '%s' does not exist\n", path); + return -1; + } + -- cgit v1.2.3