diff --git a/gnome-session.spec b/gnome-session.spec index c87c431..d824ebc 100644 --- a/gnome-session.spec +++ b/gnome-session.spec @@ -12,7 +12,7 @@ Summary: GNOME session manager Name: gnome-session Version: 2.24.0 -Release: 5%{?dist} +Release: 6%{?dist} URL: http://www.gnome.org Source0: http://download.gnome.org/sources/gnome-session/2.24/%{name}-%{version}.tar.bz2 Source1: redhat-default-session @@ -68,6 +68,8 @@ Requires(preun): GConf2 >= %{gconf2_version} Patch5: xml-leak.patch # http://bugzilla.gnome.org/show_bug.cgi?id=552815 Patch6: startup_id-leak.patch +# http://bugzilla.gnome.org/show_bug.cgi?id=554775 +Patch7: missing-translations.patch %description gnome-session manages a GNOME desktop or GDM login session. It starts up the other core @@ -85,6 +87,7 @@ Desktop file to add GNOME to display manager session menu. %setup -q %patch5 -p1 -b .xml-leak %patch6 -p1 -b .startup_id-leak.patch +%patch7 -p1 -b .missing-translations %build @@ -186,6 +189,9 @@ fi %changelog +* Fri Oct 3 2008 Matthias Clasen - 2.24.0-6 +- Fix missing translations in the capplet + * Sun Sep 28 2008 Matthias Clasen - 2.24.0-5 - BR xorg-x11-xtrans-devel (#464316) diff --git a/missing-translations.patch b/missing-translations.patch new file mode 100644 index 0000000..baaa8ff --- /dev/null +++ b/missing-translations.patch @@ -0,0 +1,24 @@ +diff -up gnome-session-2.24.0/capplet/gsm-app-dialog.c.missing-translations gnome-session-2.24.0/capplet/gsm-app-dialog.c +--- gnome-session-2.24.0/capplet/gsm-app-dialog.c.missing-translations 2008-10-03 00:03:05.000000000 -0400 ++++ gnome-session-2.24.0/capplet/gsm-app-dialog.c 2008-10-03 00:03:10.000000000 -0400 +@@ -162,7 +162,7 @@ setup_dialog (GsmAppDialog *dialog) + + xml = glade_xml_new (GLADEDIR "/" GLADE_XML_FILE, + "main-table", +- PACKAGE); ++ GETTEXT_PACKAGE); + g_assert (xml != NULL); + + widget = glade_xml_get_widget (xml, "main-table"); +diff -up gnome-session-2.24.0/capplet/gsm-properties-dialog.c.missing-translations gnome-session-2.24.0/capplet/gsm-properties-dialog.c +--- gnome-session-2.24.0/capplet/gsm-properties-dialog.c.missing-translations 2008-10-03 00:02:36.000000000 -0400 ++++ gnome-session-2.24.0/capplet/gsm-properties-dialog.c 2008-10-03 00:02:50.000000000 -0400 +@@ -1451,7 +1451,7 @@ gsm_properties_dialog_init (GsmPropertie + + dialog->priv->xml = glade_xml_new (GLADEDIR "/" GLADE_XML_FILE, + "main-notebook", +- PACKAGE); ++ GETTEXT_PACKAGE); + g_assert (dialog->priv->xml != NULL); + + widget = glade_xml_get_widget (dialog->priv->xml, "main-notebook");