New upstream release 2.1.3

Resolves: #921941
This commit is contained in:
Jakub Filak 2013-03-27 16:54:22 +01:00
parent daff2c7559
commit ea106229ae
4 changed files with 44 additions and 64 deletions

1
.gitignore vendored
View File

@ -18,3 +18,4 @@
/libreport-2.1.0.tar.gz
/libreport-2.1.1.tar.gz
/libreport-2.1.2.tar.gz
/libreport-2.1.3.tar.gz

View File

@ -1,58 +0,0 @@
From 786ae573b07911dd5553afc6912bca0292d282e2 Mon Sep 17 00:00:00 2001
From: Jakub Filak <jfilak@redhat.com>
Date: Thu, 21 Mar 2013 14:59:04 +0100
Subject: [LIBREPORT PATCH] report-gtk: update excluded elements check boxes
before emergency analysis event
- closes #141
Signed-off-by: Jakub Filak <jfilak@redhat.com>
---
src/gui-wizard-gtk/wizard.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/gui-wizard-gtk/wizard.c b/src/gui-wizard-gtk/wizard.c
index 5f4db93..7c00d3c 100644
--- a/src/gui-wizard-gtk/wizard.c
+++ b/src/gui-wizard-gtk/wizard.c
@@ -1204,9 +1204,9 @@ static void append_item_to_ls_details(gpointer name, gpointer value, gpointer da
}
/* Based on selected reporter, update item checkboxes */
-static void update_ls_details_checkboxes(void)
+static void update_ls_details_checkboxes(const char *event_name)
{
- event_config_t *cfg = get_event_config(g_event_selected);
+ event_config_t *cfg = get_event_config(event_name);
//log("%s: event:'%s', cfg:'%p'", __func__, g_event_selected, cfg);
GHashTableIter iter;
char *name;
@@ -1684,6 +1684,7 @@ static void on_btn_failed_cb(GtkButton *button)
gtk_expander_set_expanded(g_exp_report_log, TRUE);
clear_warnings();
+ update_ls_details_checkboxes(EMERGENCY_ANALYSIS_EVENT_NAME);
setup_and_start_event_run(EMERGENCY_ANALYSIS_EVENT_NAME);
/* single shot button -> hide after click */
@@ -2446,7 +2447,7 @@ static void on_page_prepare(GtkNotebook *assistant, GtkWidget *page, gpointer us
if (pages[PAGENO_REVIEW_DATA].page_widget == page)
{
gtk_widget_set_sensitive(g_btn_next, gtk_toggle_button_get_active(g_tb_approve_bt));
- update_ls_details_checkboxes();
+ update_ls_details_checkboxes(g_event_selected);
}
}
@@ -2888,7 +2889,7 @@ static void on_btn_add_file(GtkButton *button)
problem_data_reload_from_dump_dir();
update_gui_state_from_problem_data(/* don't update selected event */ 0);
/* Set flags for the new item */
- update_ls_details_checkboxes();
+ update_ls_details_checkboxes(g_event_selected);
}
}
free(new_name);
--
1.8.1.4

View File

@ -4,14 +4,12 @@
Summary: Generic library for reporting various problems
Name: libreport
Version: 2.1.2
Release: 2%{?dist}
Version: 2.1.3
Release: 1%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: https://fedorahosted.org/abrt/
Source: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
# Remove this patch with libreport-2.1.3
Patch0: libreport-2.1.2-fix_empty_archives_for_emergency_analysis.patch
BuildRequires: dbus-devel
BuildRequires: gtk3-devel
@ -244,6 +242,15 @@ Default configuration for reporting bugs via Fedora infrastructure
used to easy configure the reporting process for Fedora sytems. Just
install this package and you're done.
%package rhel
Summary: Default configuration for reporting bugs via Red Hat infrastructure
Group: Applications/File
%description rhel
Default configuration for reporting bugs via Red Hat infrastructure
used to easy configure the reporting process for Red Hat sytems. Just
install this package and you're done.
%package anaconda
Summary: Default configuration for reporting anaconda bugs
Group: Applications/File
@ -256,7 +263,6 @@ infrastructure or uploading the gathered data over ftp/scp...
%prep
%setup -q
%patch0 -p1 -b .updateex
%build
autoconf
@ -448,6 +454,15 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_sysconfdir}/libreport/workflows/workflow_Fedora.xml
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_fedora.conf
%files rhel
%defattr(-,root,root,-)
%{_sysconfdir}/libreport/workflows/workflow_RHELCCpp.xml
%{_sysconfdir}/libreport/workflows/workflow_RHELKerneloops.xml
%{_sysconfdir}/libreport/workflows/workflow_RHELPython.xml
%{_sysconfdir}/libreport/workflows/workflow_RHELvmcore.xml
%{_sysconfdir}/libreport/workflows/workflow_RHELxorg.xml
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel.conf
%files anaconda
%defattr(-,root,root,-)
%{_sysconfdir}/libreport/workflows/workflow_AnacondaFedora.xml
@ -456,6 +471,28 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
* Wed Mar 27 2013 Jakub Filak <jfilak@redhat.com> 2.1.3-1
- rhbz: get id of duplicate from correct field
- change the "exited with" message with something less technical closes #143
- Integration with satyr
- dump_dir_accessible_by_uid(): clear errno if error didn't occur
- reporter-rhtsupport: improve logging
- reporter-rhtsupport: upload file to BigFileURL if it is large
- dd: document used errno values in dump_dir_accessible_by_uid()
- add rhel package with appropriate workflow definitions
- add workflow definitions for RHEL
- improve is_text_file() to not treat valid Unicode as bad_chars
- reporter-rhtsupport: fix double-free error
- reporter-upload: move file upload function to lib/
- reporter-upload: factor out HTTP PUT upload
- reporter-rhtsupport: skip hints check if uploaded data is really large
- reporter-rhtsupport: make -t[CASE_ID] work without FILEs. Closes #140
- reporter-rhtsupport: factor out tarball creation
- RHTS support: regularize order of functions and comments
- fread_with_reporting: make progress indicator less noisy
- report-gtk: update excluded elements check boxes before emergency analysis event
- Resolves: #921941
* Fri Mar 22 2013 Jakub Filak <jfilak@redhat.com> 2.1.2-2
- add a patch which fixes a problem with empty archives in emergency analysis

View File

@ -1 +1 @@
4936bfb649f84ab47d32ea88b3754eb5 libreport-2.1.2.tar.gz
bae83bebcb2601707ac780c53d16e7fe libreport-2.1.3.tar.gz