setroubleshoot-3.3.15

- Rewrite seapplet to Python3 to use Notify and Gtk 3.0
- Add setroubleshoot-seappletlegacy with legacy seappletlegacy based on Gtk 2
- sealert: Finish dbus communication after error
This commit is contained in:
Petr Lautrbach 2018-01-19 16:47:21 +01:00
parent 66eddf963e
commit b748a74d0a
5 changed files with 28 additions and 14361 deletions

1
.gitignore vendored
View File

@ -199,3 +199,4 @@ setroubleshoot-2.2.93.tar.gz
/setroubleshoot-3.3.12.tar.gz
/setroubleshoot-3.3.13.tar.gz
/setroubleshoot-3.3.14.tar.gz
/setroubleshoot-3.3.15.tar.gz

View File

@ -1,391 +0,0 @@
From af1192a503bac60d02328243d8b57caec14b0e0a Mon Sep 17 00:00:00 2001
From: Petr Lautrbach <plautrba@redhat.com>
Date: Sat, 18 Nov 2017 23:16:33 +0100
Subject: [PATCH] framework: Update translations
---
framework/po/ca.po | 18 +++++++++---------
framework/po/cs.po | 8 ++++----
framework/po/da.po | 19 ++++++++++++-------
framework/po/de.po | 22 +++++++++++++++-------
framework/po/fr.po | 22 ++++++++++++++--------
5 files changed, 54 insertions(+), 35 deletions(-)
diff --git a/framework/po/ca.po b/framework/po/ca.po
index 9019908..1cb74b6 100644
--- a/framework/po/ca.po
+++ b/framework/po/ca.po
@@ -15,7 +15,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"PO-Revision-Date: 2017-08-22 07:26-0400\n"
+"PO-Revision-Date: 2017-09-19 06:40-0400\n"
"Last-Translator: Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>\n"
"Language-Team: Catalan (http://www.transifex.com/projects/p/fedora/language/"
"ca/)\n"
@@ -205,7 +205,7 @@ msgstr "<b>aleshores aquesta és la solució.</b>"
msgid "Plugin\n"
"Details"
msgstr "Detalls del\n"
-"complement"
+"connector"
#: ../src/setroubleshoot/browser.py:533
msgid "Report\n"
@@ -216,7 +216,7 @@ msgstr "Informa de l'error\n"
#: ../src/setroubleshoot/browser.py:562
#, python-format
msgid "Plugin: %s "
-msgstr "Complement: %s "
+msgstr "Connector: %s "
#: ../src/setroubleshoot/browser.py:629
msgid "Unable to grant access."
@@ -489,7 +489,7 @@ msgstr "capacitat"
#: ../src/setroubleshoot/signature.py:218
msgid "capability2"
-msgstr ""
+msgstr "capacitat2"
#: ../src/setroubleshoot/signature.py:395
#, python-format
@@ -634,7 +634,7 @@ msgid "\n"
"***** Plugin %s (%.4s confidence) suggests "
msgstr "\n"
"\n"
-"***** El complement %s (amb confiança del %.4s) suggereix "
+"***** El connector %s (amb confiança del %.4s) suggereix "
#: ../src/setroubleshoot/signature.py:594
msgid "*"
@@ -717,7 +717,7 @@ msgstr "Es van executar amb èxit %s"
#: ../src/sealert:173
#, c-format
msgid "Plugin %s not valid for %s id"
-msgstr "El complement %s no és vàlid per a l'id %s"
+msgstr "El connector %s no és vàlid per a l'id %s"
#: ../src/setroubleshootd:78
msgid "SELinux not enabled, setroubleshootd exiting..."
@@ -752,7 +752,7 @@ msgstr "Suprimeix"
#: ../gui/browser.glade.h:11
msgid "Delete Selected Alerts"
-msgstr "Elimina les alertes seleccionades"
+msgstr "Suprimeix les alertes seleccionades"
#: ../gui/browser.glade.h:13
msgid "Close"
@@ -784,7 +784,7 @@ msgid ""
"to remedy."
msgstr ""
"Llegiu la informació per solucionar el problema de l'alerta. Pot requerir "
-"privilegis d'administració per a remeiar-ho."
+"privilegis d'administració per a solucionar-ho."
#: ../gui/browser.glade.h:27
msgid "Email alert to system administrator."
@@ -792,7 +792,7 @@ msgstr "Missatge de correu electrònic d'alerta a l'administrador del sistema."
#: ../gui/browser.glade.h:31
msgid "Delete current alert from the database."
-msgstr "Elimina l'alerta actual de la base de dades."
+msgstr "Suprimeix l'alerta actual de la base de dades."
#: ../gui/browser.glade.h:32
msgid "Previous"
diff --git a/framework/po/cs.po b/framework/po/cs.po
index fe44ca5..ff26761 100644
--- a/framework/po/cs.po
+++ b/framework/po/cs.po
@@ -19,8 +19,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"PO-Revision-Date: 2017-08-29 03:47-0400\n"
-"Last-Translator: Zdenek <chmelarz@gmail.com>\n"
+"PO-Revision-Date: 2017-09-15 05:44-0400\n"
+"Last-Translator: Daniel Rusek <mail@asciiwolf.com>\n"
"Language-Team: Czech (http://www.transifex.com/projects/p/fedora/language/cs/"
")\n"
"Language: cs\n"
@@ -167,7 +167,7 @@ msgstr "Pokus o přístup"
#: ../src/setroubleshoot/browser.py:296
msgid "On this"
-msgstr "Na tomto"
+msgstr "Na"
#: ../src/setroubleshoot/browser.py:296
msgid "Occurred"
@@ -232,7 +232,7 @@ msgstr "Výstraha %d z %d"
#: ../src/setroubleshoot/browser.py:785
#, python-format
msgid "On this %s:"
-msgstr "Na tomto %s:"
+msgstr "Na %s:"
#: ../src/setroubleshoot/browser.py:833 ../src/setroubleshoot/browser.py:839
#: ../src/setroubleshoot/signature.py:411
diff --git a/framework/po/da.po b/framework/po/da.po
index 2d17e09..344ae62 100644
--- a/framework/po/da.po
+++ b/framework/po/da.po
@@ -16,7 +16,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"PO-Revision-Date: 2017-04-24 11:07-0400\n"
+"PO-Revision-Date: 2017-09-15 08:22-0400\n"
"Last-Translator: scootergrisen <scootergrisen@gmail.com>\n"
"Language-Team: Danish (http://www.transifex.com/projects/p/fedora/language/"
"da/)\n"
@@ -410,7 +410,7 @@ msgstr "Færdig: "
#: ../src/setroubleshoot/server.py:212
#, python-format
msgid " For complete SELinux messages run: sealert -l %s"
-msgstr ""
+msgstr " For komplette SELinux-meddelelser kør: sealert -l %s"
#: ../src/setroubleshoot/server.py:399
#, python-format
@@ -487,7 +487,7 @@ msgstr "mulighed"
#: ../src/setroubleshoot/signature.py:218
msgid "capability2"
-msgstr ""
+msgstr "capability2"
#: ../src/setroubleshoot/signature.py:395
#, python-format
@@ -732,6 +732,11 @@ msgid ""
"Daniel Walsh <dwalsh@redhat.com>\n"
"John Dennis <jdennis@redhat.com>\n"
msgstr ""
+"Ophavsret (c) 2010\n"
+"Thomas Liu <tliu@redhat.com>\n"
+"Máirín Duffy <duffy@redhat.com>\n"
+"Daniel Walsh <dwalsh@redhat.com>\n"
+"John Dennis <jdennis@redhat.com>\n"
#: ../gui/browser.glade.h:9
msgid "Troubleshoot selected alert"
@@ -739,7 +744,7 @@ msgstr "Fejlsøg valgte advarsler"
#: ../gui/browser.glade.h:10
msgid "Delete"
-msgstr ""
+msgstr "Slet"
#: ../gui/browser.glade.h:11
msgid "Delete Selected Alerts"
@@ -747,7 +752,7 @@ msgstr "Slet valgte advarsler"
#: ../gui/browser.glade.h:13
msgid "Close"
-msgstr ""
+msgstr "Luk"
#: ../gui/browser.glade.h:15
msgid "<b>SELinux has detected a problem.</b>"
@@ -787,7 +792,7 @@ msgstr "Slet nuværende advarsel fra databasen."
#: ../gui/browser.glade.h:32
msgid "Previous"
-msgstr ""
+msgstr "Forrige"
#: ../gui/browser.glade.h:33
msgid "Show previous alert."
@@ -795,7 +800,7 @@ msgstr "Vis forrige advarsel."
#: ../gui/browser.glade.h:35
msgid "Next"
-msgstr ""
+msgstr "Næste"
#: ../gui/browser.glade.h:36
msgid "Show next alert."
diff --git a/framework/po/de.po b/framework/po/de.po
index bc84922..b787a14 100644
--- a/framework/po/de.po
+++ b/framework/po/de.po
@@ -19,6 +19,7 @@
# Thomas Spura <tomspur@fedoraproject.org>, 2008, 2009
# Timo Trinks <ttrinks@redhat.com>, 2006, 2007
# Roman Spirgi <rspirgi@gmail.com>, 2015. #zanata
+# Thomas Eichhorn <tomislav@posteo.de>, 2017. #zanata
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
@@ -27,8 +28,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"PO-Revision-Date: 2015-05-15 04:18-0400\n"
-"Last-Translator: Roman Spirgi <rspirgi@gmail.com>\n"
+"PO-Revision-Date: 2017-11-12 07:53-0500\n"
+"Last-Translator: Thomas Eichhorn <tomislav@posteo.de>\n"
"Language-Team: German (http://www.transifex.com/projects/p/fedora/language/"
"de/)\n"
"Language: de\n"
@@ -422,6 +423,8 @@ msgstr "Fertig: "
#, python-format
msgid " For complete SELinux messages run: sealert -l %s"
msgstr ""
+"Zum Anzeigen der kompletten SELinux-Benachrichtigung führen Sie folgenden "
+"Befehl aus: sealert -l %s"
#: ../src/setroubleshoot/server.py:399
#, python-format
@@ -498,7 +501,7 @@ msgstr "Fähigkeit"
#: ../src/setroubleshoot/signature.py:218
msgid "capability2"
-msgstr ""
+msgstr "capability2"
#: ../src/setroubleshoot/signature.py:395
#, python-format
@@ -751,6 +754,11 @@ msgid ""
"Daniel Walsh <dwalsh@redhat.com>\n"
"John Dennis <jdennis@redhat.com>\n"
msgstr ""
+"Copyright (c) 2010\n"
+"Thomas Liu <tliu@redhat.com>\n"
+"Máirín Duffy <duffy@redhat.com>\n"
+"Daniel Walsh <dwalsh@redhat.com>\n"
+"John Dennis <jdennis@redhat.com>\n"
#: ../gui/browser.glade.h:9
msgid "Troubleshoot selected alert"
@@ -758,7 +766,7 @@ msgstr "Fehlersuche für die ausgewählte Warnung"
#: ../gui/browser.glade.h:10
msgid "Delete"
-msgstr ""
+msgstr "Löschen"
#: ../gui/browser.glade.h:11
msgid "Delete Selected Alerts"
@@ -766,7 +774,7 @@ msgstr "Lösche die ausgewählten Meldungen"
#: ../gui/browser.glade.h:13
msgid "Close"
-msgstr ""
+msgstr "Schließen"
#: ../gui/browser.glade.h:15
msgid "<b>SELinux has detected a problem.</b>"
@@ -806,7 +814,7 @@ msgstr "Lösche die aktuelle Meldung aus der Datenbank."
#: ../gui/browser.glade.h:32
msgid "Previous"
-msgstr ""
+msgstr "Zurück"
#: ../gui/browser.glade.h:33
msgid "Show previous alert."
@@ -814,7 +822,7 @@ msgstr "zeige die vorherige Meldung."
#: ../gui/browser.glade.h:35
msgid "Next"
-msgstr ""
+msgstr "Weiter"
#: ../gui/browser.glade.h:36
msgid "Show next alert."
diff --git a/framework/po/fr.po b/framework/po/fr.po
index c7071cc..0991881 100644
--- a/framework/po/fr.po
+++ b/framework/po/fr.po
@@ -18,6 +18,7 @@
# Sam Friedmann <sam.friedmann@redhat.com>, 2009
# Thomas Canniot <mrtom@fedoraproject.org>, 2007,2010
# Thomas Canniot <thomas.canniot@laposte.net>, 2007
+# Jean-Baptiste Holcroft <jean-baptiste@holcroft.fr>, 2017. #zanata
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
@@ -26,8 +27,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"PO-Revision-Date: 2015-02-20 02:14-0500\n"
-"Last-Translator: Copied by Zanata <copied-by-zanata@zanata.org>\n"
+"PO-Revision-Date: 2017-10-05 09:01-0400\n"
+"Last-Translator: Jean-Baptiste Holcroft <jean-baptiste@holcroft.fr>\n"
"Language-Team: French (http://www.transifex.com/projects/p/fedora/language/"
"fr/)\n"
"Language: fr\n"
@@ -420,7 +421,7 @@ msgstr "Terminé :"
#: ../src/setroubleshoot/server.py:212
#, python-format
msgid " For complete SELinux messages run: sealert -l %s"
-msgstr ""
+msgstr "Pour des messages SELinux exhaustifs, lancez sealert -l %s"
#: ../src/setroubleshoot/server.py:399
#, python-format
@@ -497,7 +498,7 @@ msgstr "capacité"
#: ../src/setroubleshoot/signature.py:218
msgid "capability2"
-msgstr ""
+msgstr "capability2"
#: ../src/setroubleshoot/signature.py:395
#, python-format
@@ -745,6 +746,11 @@ msgid ""
"Daniel Walsh <dwalsh@redhat.com>\n"
"John Dennis <jdennis@redhat.com>\n"
msgstr ""
+"Copyright (c) 2010\n"
+"Thomas Liu <tliu@redhat.com>\n"
+"Máirín Duffy <duffy@redhat.com>\n"
+"Daniel Walsh <dwalsh@redhat.com>\n"
+"John Dennis <jdennis@redhat.com>\n"
#: ../gui/browser.glade.h:9
msgid "Troubleshoot selected alert"
@@ -752,7 +758,7 @@ msgstr "Alerte Troubleshoot sélectionnée"
#: ../gui/browser.glade.h:10
msgid "Delete"
-msgstr ""
+msgstr "Supprimer"
#: ../gui/browser.glade.h:11
msgid "Delete Selected Alerts"
@@ -760,7 +766,7 @@ msgstr "Supprimer les alertes sélectionnées"
#: ../gui/browser.glade.h:13
msgid "Close"
-msgstr ""
+msgstr "Fermer"
#: ../gui/browser.glade.h:15
msgid "<b>SELinux has detected a problem.</b>"
@@ -800,7 +806,7 @@ msgstr "Supprime l'alerte courante de la base de donner."
#: ../gui/browser.glade.h:32
msgid "Previous"
-msgstr ""
+msgstr "Précédent"
#: ../gui/browser.glade.h:33
msgid "Show previous alert."
@@ -808,7 +814,7 @@ msgstr "Afficher les alertes précédentes."
#: ../gui/browser.glade.h:35
msgid "Next"
-msgstr ""
+msgstr "Suivant"
#: ../gui/browser.glade.h:36
msgid "Show next alert."
--
2.15.0

File diff suppressed because it is too large Load Diff

View File

@ -1,21 +1,20 @@
Summary: Helps troubleshoot SELinux problems
Name: setroubleshoot
Version: 3.3.14
Release: 4%{?dist}
Version: 3.3.15
Release: 1%{?dist}
License: GPLv2+
Group: Applications/System
URL: https://pagure.io/setroubleshoot
Source0: https://releases.pagure.org/setroubleshoot/%{name}-%{version}.tar.gz
Source1: %{name}.tmpfiles
Patch1: 0001-framework-Update-translations.patch
Patch2: 0002-framework-Update-translations.patch
BuildRequires: perl-XML-Parser
BuildRequires: libcap-ng-devel
BuildRequires: intltool gettext python3 python3-devel
BuildRequires: desktop-file-utils dbus-glib-devel gtk2-devel gtk3-devel libnotify-devel audit-libs-devel libselinux-devel polkit-devel
BuildRequires: desktop-file-utils dbus-glib-devel gtk2-devel libnotify-devel audit-libs-devel libselinux-devel polkit-devel
BuildRequires: python3-libselinux python3-pydbus python3-gobject gtk3-devel
Requires: %{name}-server = %{version}-%{release}
Requires: gtk2
Requires: libreport-gtk >= 2.2.1-2, libreport-python3
Requires: gtk3, libnotify
Requires: libreport-gtk >= 2.2.1-2, lipreport-python3
Requires: python3-gobject, python3-pydbus
Requires(post): desktop-file-utils
Requires(post): dbus
Requires(postun): desktop-file-utils
@ -69,7 +68,7 @@ dbus-send --system /com/redhat/setroubleshootd com.redhat.SEtroubleshootdIface.r
%autosetup -p 2
%build
%configure PYTHON=%{__python3}
%configure PYTHON=%{__python3} --enable-seappletlegacy=yes
make
%install
@ -194,8 +193,26 @@ rm -rf %{buildroot}
%attr(0711,setroubleshoot,setroubleshoot) %dir %{_rundir}/setroubleshoot
%doc AUTHORS COPYING ChangeLog DBUS.md NEWS README TODO
%package legacy
Summary: SELinux troubleshoot legacy applet
Group: Applications/System
Requires: gtk2
Requires: %{name} = %{version}-%{release}
%description legacy
SELinux troubleshoot legacy applet
%files legacy
%defattr(-,root,root,-)
%{_bindir}/seappletlegacy
%changelog
* Fri Jan 19 2018 Petr Lautrbach <plautrba@redhat.com> - 3.3.15-1
- Rewrite seapplet to Python3 to use Notify and Gtk 3.0
- Add setroubleshoot-seappletlegacy with legacy seappletlegacy based on Gtk 2
- sealert: Finish dbus communication after error
* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.3.14-4
- Remove obsolete scriptlets

View File

@ -1 +1 @@
SHA512 (setroubleshoot-3.3.14.tar.gz) = 388c62e468e4ccecf67ea83eeafc6b0a5f09972f1b6b3158dc2a1c5c0186c2139dab46e8c4bf57d7af660ae9b200c4574b5763573a067dff8c6e88f83b654689
SHA512 (setroubleshoot-3.3.15.tar.gz) = cdb72ab615ac5050f359adfa088bc12d6d052fa6205e8edab6d06376e4efeb2ffdec17c265a07290da299f0c01f5b9872cccf7a5b6ea144148a73d19de293811