From 8f56e49ae97a6fffd32c93a6d0d72dc6705c3f4d Mon Sep 17 00:00:00 2001 From: Jakub Filak Date: Feb 19 2016 06:05:00 +0000 Subject: New upstream release 1.2.2 --- diff --git a/.gitignore b/.gitignore index 227a4fd..9aa025e 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,5 @@ /gnome-abrt-1.1.1.tar.gz /gnome-abrt-1.1.2.tar.gz /gnome-abrt-1.2.0.tar.gz +/gnome-abrt-1.2.1.tar.gz +/gnome-abrt-1.2.2.tar.gz diff --git a/0001-Fix-broken-build-caused-by-pylint-warning.patch b/0001-Fix-broken-build-caused-by-pylint-warning.patch deleted file mode 100644 index da66d85..0000000 --- a/0001-Fix-broken-build-caused-by-pylint-warning.patch +++ /dev/null @@ -1,25 +0,0 @@ -From ef8c8bdea91ee338579c98a3d6afe4aabc0e0d85 Mon Sep 17 00:00:00 2001 -From: Jakub Filak -Date: Thu, 19 Nov 2015 08:14:07 +0100 -Subject: [PATCH] Fix broken build caused by pylint warning - -Ref: commit 1f0d983ebf0df9eea501077ef5cbcfb89ed3696e ---- - src/gnome_abrt/url/urltitle.py | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/gnome_abrt/url/urltitle.py b/src/gnome_abrt/url/urltitle.py -index 675d178..25bc118 100644 ---- a/src/gnome_abrt/url/urltitle.py -+++ b/src/gnome_abrt/url/urltitle.py -@@ -85,6 +85,7 @@ class HTMLTitleGetter(HTMLParser): - tgt = HTMLTitleGetter() - try: - tgt.feed(data) -+ #pylint: disable=W0703 - except Exception as ex: - logging.debug("{1} ('{0}')".format(data, str(ex))) - # Hopefully title is parsed correctly --- -2.4.3 - diff --git a/0002-Scroll-whole-details-panel-instead-of-its-single-wid.patch b/0002-Scroll-whole-details-panel-instead-of-its-single-wid.patch deleted file mode 100644 index 2ca05b5..0000000 --- a/0002-Scroll-whole-details-panel-instead-of-its-single-wid.patch +++ /dev/null @@ -1,638 +0,0 @@ -From 7c38457880d93d995c3a4381b605e11c12703465 Mon Sep 17 00:00:00 2001 -From: Rafal Luzynski -Date: Fri, 6 Nov 2015 01:03:18 +0100 -Subject: [PATCH] Scroll whole details panel instead of its single widgets - -Closes #116 ---- - src/gnome_abrt/oops.glade | 546 ++++++++++++++++++++++------------------------ - 1 file changed, 266 insertions(+), 280 deletions(-) - -diff --git a/src/gnome_abrt/oops.glade b/src/gnome_abrt/oops.glade -index e443c8a..1f77fb6 100644 ---- a/src/gnome_abrt/oops.glade -+++ b/src/gnome_abrt/oops.glade -@@ -340,323 +340,326 @@ - - True - False -- 24 -- 32 - True - True - False - False - -- -+ - True - False -- True -- -- -- 156 -- 156 -- True -- False -- center -- start -- image-missing-symbolic -- 3 -- -- -- 0 -- 0 -- -- -- -- -- True -- False -- True -- vertical -- -- -- True -- False -- True -- 0 -- 0 -- 19 -- Application killed by signal -- True -- True -- end -- -- -- -- False -- True -- 1 -- -- -- -- -- True -- False -- True -- 0 -- 0 -- Application can't continue becuase of received signal -- True -- True -- -- -- False -- True -- 3 -- -- -- -- -- 1 -- 0 -- -- -+ vertical - -- -+ - True -- False -- -- -- True -- False -- end -- 12 -- 8 -- 8 -- Name -- True -- -- -- -- -- -- 0 -- 0 -- -- -- -- -- True -- False -- end -- 12 -- 8 -- 8 -- Version -- -- -- -- -- -- 0 -- 1 -- -- -- -- -- True -- False -- end -- 12 -- 8 -- 8 -- Detected -- -- -- -- -- -- 0 -- 2 -- -- -- -- -- True -- False -- start -- app -- True -- end -- -- -- 1 -- 0 -- -- -- -- -- True -- False -- start -- 2.0.13-2 -- True -- end -- -- -- 1 -- 1 -- -- -+ True -+ never -+ automatic - -- -+ - True - False -- start -- 2013-04-09 18:55 -- True -- -- -- 1 -- 2 -- -- -- -- -- True -- True -- 3 -- True -- True - -- -+ - True - False -+ 24 -+ 32 - True -- True -- none - -- -+ -+ 156 -+ 156 -+ True -+ False -+ center -+ start -+ image-missing-symbolic -+ 3 -+ -+ -+ 0 -+ 0 -+ -+ -+ -+ - True - False - True - vertical - -- -+ -+ True - False -- True -- start -- 5 -- no -+ True -+ 0 -+ 0 -+ 19 -+ Application killed by signal -+ True - True -+ end -+ - - - False - True -- 0 -+ 1 - - - -- -+ - True - False -- start -- 8 -- 8 -- <a href="https://glade.gnome.org/">Very long placeholder URL tile</a> -- True -- middle -+ True -+ 0 -+ 0 -+ Application can't continue becuase of received signal -+ True -+ True - - - False - True -- 1 -+ 3 - - -+ -+ -+ 1 -+ 0 -+ -+ -+ -+ -+ True -+ False - -- -+ -+ True -+ False -+ end -+ 12 -+ 8 -+ 8 -+ Name -+ True -+ -+ -+ -+ -+ -+ 0 -+ 0 -+ -+ -+ -+ -+ True -+ False -+ end -+ 12 -+ 8 -+ 8 -+ Version -+ -+ -+ -+ -+ -+ 0 -+ 1 -+ -+ -+ -+ -+ True -+ False -+ end -+ 12 -+ 8 -+ 8 -+ Detected -+ -+ -+ -+ -+ -+ 0 -+ 2 -+ -+ -+ -+ - True - False - start -+ app -+ True -+ end -+ -+ -+ 1 -+ 0 -+ -+ -+ -+ -+ True -+ False -+ start -+ 2.0.13-2 -+ True -+ end -+ -+ -+ 1 -+ 1 -+ -+ -+ -+ -+ True -+ False -+ start -+ 2013-04-09 18:55 -+ True -+ -+ -+ 1 -+ 2 -+ -+ -+ -+ -+ True -+ False -+ 3 -+ True -+ True -+ vertical -+ -+ -+ False -+ True -+ start -+ 5 -+ no -+ True -+ -+ -+ False -+ True -+ 0 -+ -+ -+ -+ -+ True -+ False -+ start -+ 8 -+ 8 -+ <a href="https://glade.gnome.org/">Very long placeholder URL tile</a> -+ True -+ middle -+ -+ -+ False -+ True -+ 1 -+ -+ -+ -+ -+ True -+ False -+ start -+ 8 -+ 8 -+ <a href="https://github.com/abrt/gnome-abrt">Placeholder URL</a> -+ True -+ 1 -+ -+ -+ False -+ True -+ 2 -+ -+ -+ -+ -+ -+ -+ -+ 1 -+ 3 -+ 2 -+ 2 -+ -+ -+ -+ -+ True -+ False -+ end -+ start -+ 12 - 8 - 8 -- <a href="https://github.com/abrt/gnome-abrt">Placeholder URL</a> -- True -- 1 -+ Reported -+ True -+ -+ -+ - - -- False -- True -- 2 -+ 0 -+ 3 - - - - - -+ -+ -+ -+ -+ -+ -+ -+ -+ - -+ -+ 1 -+ 1 -+ -+ -+ -+ -+ True -+ False -+ True -+ vertical -+ -+ -+ -+ -+ -+ 1 -+ 2 -+ -+ -+ -+ -+ -+ -+ - -- -- -- -- -- 1 -- 3 -- 2 -- 2 -- -- -- -- -- True -- False -- end -- start -- 12 -- 8 -- 8 -- Reported -- True -- -- -- -- -- -- 0 -- 3 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 1 -- 1 -- -- -- -- -- True -- True -- True -- -- -- True -- False -- True -- none -- -- -- True -- False -- True -- vertical - - - -@@ -665,10 +668,6 @@ - - - -- -- 1 -- 2 -- - - - -@@ -684,19 +683,6 @@ - 12 - 12 - -- -- 1 -- 3 -- -- -- -- -- -- -- -- -- -- - - - --- -2.4.3 - diff --git a/0003-Problem-type-included-in-the-problem-list.patch b/0003-Problem-type-included-in-the-problem-list.patch deleted file mode 100644 index 54e65e9..0000000 --- a/0003-Problem-type-included-in-the-problem-list.patch +++ /dev/null @@ -1,93 +0,0 @@ -From 034d13a60773001d13a0c5be0e80f7628f721a22 Mon Sep 17 00:00:00 2001 -From: Rafal Luzynski -Date: Thu, 26 Nov 2015 01:30:06 +0100 -Subject: [PATCH] Problem type included in the problem list - -May require some rewording but that will be easy. - -Closes #99 ---- - src/gnome_abrt/views.py | 41 ++++++++++++++++++++++++++++++++--------- - 1 file changed, 32 insertions(+), 9 deletions(-) - -diff --git a/src/gnome_abrt/views.py b/src/gnome_abrt/views.py -index 8b1f450..5fddce3 100644 ---- a/src/gnome_abrt/views.py -+++ b/src/gnome_abrt/views.py -@@ -139,8 +139,21 @@ def problem_to_storage_values(problem): - if name == "kernel": - name = _("System") - -+ problem_type = problem['type'] -+ if problem_type == "CCpp": -+ # Translators: These are the problem types displayed in the problem -+ # list under the application name -+ problem_type = _("Application Crash") -+ elif problem_type == "vmcore": -+ problem_type = _("System Crash") -+ elif problem_type == "Kerneloops": -+ problem_type = _("System Failure") -+ else: -+ problem_type = _("Misbehavior") -+ - return (smart_truncate(name, length=40), - fancydate(problem['date_last']), -+ problem_type, - problem['count'], - problem) - -@@ -221,9 +234,10 @@ class ProblemListBoxCell(Gtk.Box): - - self.get_style_context().add_class('problem-cell') - -- self._problem = problem_values[3] -+ self._problem = problem_values[4] - -- self._hbox = Gtk.Box.new(Gtk.Orientation.HORIZONTAL, 12) -+ self._hbox1 = Gtk.Box.new(Gtk.Orientation.HORIZONTAL, 12) -+ self._hbox2 = Gtk.Box.new(Gtk.Orientation.HORIZONTAL, 12) - - self._lbl_app = Gtk.Label.new(problem_values[0]) - self._lbl_app.set_halign(Gtk.Align.START) -@@ -236,22 +250,31 @@ class ProblemListBoxCell(Gtk.Box): - self._lbl_date.set_halign(Gtk.Align.END) - self._lbl_date.get_style_context().add_class('dim-label') - -- self._lbl_count = Gtk.Label.new(problem_values[2]) -+ self._lbl_type = Gtk.Label.new(problem_values[2]) -+ self._lbl_type.set_halign(Gtk.Align.START) -+ self._lbl_type.set_alignment(0.0, 0.5) -+ self._lbl_type.get_style_context().add_class('dim-label') -+ -+ self._lbl_count = Gtk.Label.new(problem_values[3]) - self._lbl_count.set_halign(Gtk.Align.END) - self._lbl_count.get_style_context().add_class('dim-label') - -- self._hbox.pack_start(self._lbl_app, False, True, 0) -- self._hbox.pack_end(self._lbl_date, False, True, 0) -+ self._hbox1.pack_start(self._lbl_app, False, True, 0) -+ self._hbox1.pack_end(self._lbl_date, False, True, 0) -+ -+ self._hbox2.pack_start(self._lbl_type, False, True, 0) -+ self._hbox2.pack_end(self._lbl_count, False, True, 0) - -- self.pack_start(self._hbox, True, True, 0) -- self.pack_start(self._lbl_count, True, True, 0) -+ self.pack_start(self._hbox1, True, True, 0) -+ self.pack_start(self._hbox2, True, True, 0) - self.show_all() - - def set_values(self, problem_values): - self._lbl_app.set_text(problem_values[0]) - self._lbl_date.set_text(problem_values[1]) -- self._lbl_count.set_text(problem_values[2]) -- self._problem = problem_values[3] -+ self._lbl_type.set_text(problem_values[2]) -+ self._lbl_count.set_text(problem_values[3]) -+ self._problem = problem_values[4] - - def get_problem(self): - return self._problem --- -2.4.3 - diff --git a/0007-Add-kudos-to-the-AppData-file.patch b/0007-Add-kudos-to-the-AppData-file.patch deleted file mode 100644 index e279f17..0000000 --- a/0007-Add-kudos-to-the-AppData-file.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 6efe442e10adf4084e8ea3e05d5b8aa69262a8f7 Mon Sep 17 00:00:00 2001 -From: Jakub Filak -Date: Fri, 4 Dec 2015 09:06:08 +0100 -Subject: [PATCH] Add kudos to the AppData file - -https://lists.fedorahosted.org/archives/list/crash-catcher%40lists.fedorahosted.org/message/ZEARJO3YJ7UIMWK6G54D3I2MP64AXAL2/ ---- - src/gnome-abrt.appdata.xml.in | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/src/gnome-abrt.appdata.xml.in b/src/gnome-abrt.appdata.xml.in -index 7e6c6c9..10c7c85 100644 ---- a/src/gnome-abrt.appdata.xml.in -+++ b/src/gnome-abrt.appdata.xml.in -@@ -16,4 +16,9 @@ - http://jfilak.fedorapeople.org/media/gnome-abrt.png - - crash-catcher@lists.fedorahosted.org -+ -+ HiDpiIcon -+ HighContrast -+ ModernToolkit -+ - --- -2.4.3 - diff --git a/0008-Do-not-pass-None-to-function-expecting-str-object.patch b/0008-Do-not-pass-None-to-function-expecting-str-object.patch deleted file mode 100644 index c6e2c71..0000000 --- a/0008-Do-not-pass-None-to-function-expecting-str-object.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 969eda7fdf54319bf3db748a597542b713b4e59c Mon Sep 17 00:00:00 2001 -From: Jakub Filak -Date: Mon, 14 Dec 2015 13:59:21 +0100 -Subject: [PATCH] Do not pass None to function expecting str object - -The C wrapper requires a str object. We can fix this by checking -validity of the argument in the function or we can just say that you -must pass a valid str object. I have chosen the former variant -because adding the check to the C wrapper wouldn't be so trivial -(for me). - -"cmdline" is True if it is not None and is not empty. There is no need -to call the function with an empty string and the condition is easier -to comprehend. - -Fixes #152 - -Signed-off-by: Jakub Filak ---- - src/gnome_abrt/application.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/gnome_abrt/application.py b/src/gnome_abrt/application.py -index eb18411..b5ea506 100644 ---- a/src/gnome_abrt/application.py -+++ b/src/gnome_abrt/application.py -@@ -37,7 +37,7 @@ def find_application(cmdline, envp, pid, component): - app = None - if envp: - app = wrappers.get_app_for_env(envp.split('\n'), int(pid)) -- if not app: -+ if not app and cmdline: - app = wrappers.get_app_for_cmdline(cmdline) - if not app: - return Application(cmdline.split(" ")[0] if cmdline else None, --- -2.4.3 - diff --git a/gnome-abrt.spec b/gnome-abrt.spec index e16ac93..c2cbb73 100644 --- a/gnome-abrt.spec +++ b/gnome-abrt.spec @@ -5,8 +5,9 @@ # ! no binaries in $PATH ... caused by gnome-abrt python script in /usr/bin Name: gnome-abrt -Version: 1.2.1 +Version: 1.2.2 Release: 1%{?dist} + Summary: A utility for viewing problems that have occurred with the system Group: User Interface/Desktops @@ -16,14 +17,6 @@ Source0: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz # git format-patch %%{Version} --topo-order -N -M; # i=1; for p in `ls 0*.patch`; do printf "Patch%04d: %s\n" $i $p; ((i++)); done -Patch0001: 0001-Fix-broken-build-caused-by-pylint-warning.patch -Patch0002: 0002-Scroll-whole-details-panel-instead-of-its-single-wid.patch -Patch0003: 0003-Problem-type-included-in-the-problem-list.patch -#Patch0004: 0004-Update-README-and-CONTRIBUTING.patch -#Patch0005: 0005-Tell-Automake-to-not-require-README.patch -#Patch0006: 0006-Hook-README.md-in-the-spec-file.patch -Patch0007: 0007-Add-kudos-to-the-AppData-file.patch -Patch0008: 0008-Do-not-pass-None-to-function-expecting-str-object.patch # git is need for '%%autosetup -S git' which automatically applies all the # patches above. Please, be aware that the patches must be generated @@ -115,10 +108,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang -%doc COPYING +%doc COPYING README.md %{python3_sitearch}/gnome_abrt %{_datadir}/%{name} -%{_datadir}/%{name}/ui %{_bindir}/%{name} %{_datadir}/applications/* %{_datadir}/appdata/* @@ -128,6 +120,11 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Fri Feb 19 2016 Jakub Filak - 1.2.2-1 +- Translation updates +- Fix the plural/singular translations for fancydate -Rafal Luzynski +- Details pane: new design - Rafal Luzynski + * Mon Jan 18 2016 Matej Habrnal - 1.2.1-1 - Do not pass None to function expecting str object - Add kudos to the AppData file diff --git a/sources b/sources index e32a1ad..5596e5b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -eab7296fc924620bed278ed22ea81766 gnome-abrt-1.2.1.tar.gz +9318363bcfbc85156e456dd09757c7fb gnome-abrt-1.2.2.tar.gz