diff --git a/policycoreutils-rhat.patch b/policycoreutils-rhat.patch index 0680392..f47b02d 100644 --- a/policycoreutils-rhat.patch +++ b/policycoreutils-rhat.patch @@ -7634,6 +7634,31 @@ index 0000000..2f0c1cc @@ -0,0 +1,2 @@ +#!/bin/sh +sepolicy generate $* +diff --git a/policycoreutils/gui/system-config-selinux.py b/policycoreutils/gui/system-config-selinux.py +index 85e8b7f..bc3027e 100644 +--- a/policycoreutils/gui/system-config-selinux.py ++++ b/policycoreutils/gui/system-config-selinux.py +@@ -22,12 +22,18 @@ + # + import signal + import string +-import gtk ++import sys ++try: ++ import gtk ++except RuntimeError, e: ++ print "system-config-selinux:", e ++ print "This is a graphical application and requires DISPLAY to be set." ++ sys.exit (1) ++ + import gtk.glade + import os + import gobject + import gnome +-import sys + import statusPage + import booleansPage + import loginsPage diff --git a/policycoreutils/gui/templates/__init__.py b/policycoreutils/gui/templates/__init__.py deleted file mode 100644 index 156a0bd..0000000 @@ -120733,12 +120758,15 @@ index af58e6a..fc5f104 100644 +"services." msgstr "" diff --git a/policycoreutils/po/gu.po b/policycoreutils/po/gu.po -index daa6e1f..a75c229 100644 +index daa6e1f..8a9c23e 100644 --- a/policycoreutils/po/gu.po +++ b/policycoreutils/po/gu.po -@@ -3,21 +3,21 @@ +@@ -1,35 +1,32 @@ + # SOME DESCRIPTIVE TITLE. + # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. - # +-# ++# # Translators: -# Ankit Patel , 2006, 2007, 2008. -# Sweta Kothari , 2008, 2009, 2010. @@ -120750,29 +120778,36 @@ index daa6e1f..a75c229 100644 "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-05-25 07:28-0400\n" -"PO-Revision-Date: 2012-04-02 20:30+0000\n" -+"POT-Creation-Date: 2012-10-16 12:24-0400\n" -+"PO-Revision-Date: 2012-10-08 13:10+0000\n" - "Last-Translator: dwalsh \n" +-"Last-Translator: dwalsh \n" ++"POT-Creation-Date: 2012-10-08 10:31-0400\n" ++"PO-Revision-Date: 2012-10-30 09:03+0000\n" ++"Last-Translator: sweta \n" "Language-Team: Gujarati \n" - "Language: gu\n" +-"Language: gu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1)\n" ++"Language: gu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../run_init/run_init.c:67 msgid "" -@@ -29,7 +29,7 @@ msgstr "" - " જ્યાં: