From a62cd03cc686e8b8494fb402d833afc42bc0b958 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: May 18 2006 20:14:15 +0000 Subject: Add patch to fix crash in information selection (fixes #192195) --- diff --git a/xfce4-appfinder-4.2.3-infocrash.patch b/xfce4-appfinder-4.2.3-infocrash.patch new file mode 100644 index 0000000..097947d --- /dev/null +++ b/xfce4-appfinder-4.2.3-infocrash.patch @@ -0,0 +1,30 @@ +diff -ruN xfce4-appfinder-4.2.3.orig/src/callbacks.c xfce4-appfinder-4.2.3/src/callbacks.c +--- xfce4-appfinder-4.2.3.orig/src/callbacks.c 2005-11-05 18:04:23.000000000 +0100 ++++ xfce4-appfinder-4.2.3/src/callbacks.c 2006-05-18 12:05:05.000000000 +0200 +@@ -266,7 +266,7 @@ + xfce_desktop_entry_get_string (dentry, _("Comment"), TRUE, &comment); + if (!comment) + { +- comment = _("N/A"); ++ comment = g_strdup( _("N/A") ); + } + + dlg->comment = gtk_label_new(NULL); +@@ -280,7 +280,7 @@ + xfce_desktop_entry_get_string (dentry, "Categories", TRUE, &cats); + if (!cats) + { +- cats = _("N/A"); ++ cats = g_strdup( _("N/A") ); + } + else + { +@@ -300,7 +300,7 @@ + xfce_desktop_entry_get_string (dentry, "Exec", TRUE, &exec); + if (!exec) + { +- exec = _("N/A"); ++ exec = g_strdup( _("N/A") ); + } + dlg->exec = gtk_label_new(NULL); + gtk_label_set_markup (GTK_LABEL(dlg->exec), g_strconcat(_("Command: "), exec, NULL)); diff --git a/xfce4-appfinder.spec b/xfce4-appfinder.spec index f2d388b..5efc03a 100644 --- a/xfce4-appfinder.spec +++ b/xfce4-appfinder.spec @@ -1,10 +1,11 @@ Summary: Appfinder for the Xfce4 Desktop Environment Name: xfce4-appfinder Version: 4.2.3 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL URL: http://www.xfce.org/ Source0: http://www.us.xfce.org/archive/xfce-4.2.3.1/src/xfce4-appfinder-4.2.3.tar.gz +Patch0: xfce4-appfinder-4.2.3-infocrash.patch Group: User Interface/Desktops BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: libxfcegui4 >= 4.2.3 @@ -17,6 +18,7 @@ xfce-appfinder shows system wide installed applications %prep %setup -q +%patch0 -p1 -b .infocrash %build %configure @@ -42,6 +44,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/xfce4/doc/he %changelog +* Thu May 18 2006 Kevin Fenzi - 4.2.3-3 +- Add patch to fix crash in information selection (fixes #192195) + * Thu Feb 16 2006 Kevin Fenzi - 4.2.3-2.fc5 - Rebuild for fc5