Compare commits

...

13 Commits
master ... f19

Author SHA1 Message Date
Richard Hughes
dc2194a325 Update to 3.8.6.1 2014-01-20 16:01:43 +00:00
Rui Matos
edb130fd78 Update to 3.8.5 2013-09-06 15:42:47 +02:00
Marek Kasik
0c772a35eb Fix getting of notifications from remote CUPS servers
Resolves: #886845
2013-08-07 14:59:57 +02:00
Bastien Nocera
588398fb99 Update to 3.8.4 2013-07-19 18:27:31 +02:00
Kalev Lember
c1d2c085d8 Backport more upstream fixes for the localeexec helper
The last backport caused a regression by failing to filter out the
single quote.

https://bugzilla.redhat.com/show_bug.cgi?id=974778
2013-06-16 18:32:42 +02:00
Matthias Clasen
bbe0140977 Fix a sporadic crash 2013-06-10 16:05:11 -04:00
Rui Matos
30a786eb76 Update to 3.8.3 2013-06-08 01:28:55 +02:00
Rui Matos
24271ed8b0 Remove unused 0001-wacom-implement-OSD-help-window.patch 2013-05-17 17:57:39 +02:00
Rui Matos
4d43eca734 Add a patch to stop adding input sources automatically based on locale 2013-05-17 17:56:18 +02:00
Richard Hughes
90458b688a Require the colord daemon at runtime
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=962410
2013-05-14 13:31:49 +01:00
Richard Hughes
5089b34d12 Update to 3.8.2 2013-05-14 12:49:55 +01:00
Jens Petersen
9be49afa7b Merge branch 'master' into f19
Conflicts:
	gnome-settings-daemon.spec
2013-05-09 16:24:31 +09:00
Richard Hughes
dbd0b5bd3d Update to 3.8.1 2013-04-16 13:08:44 +01:00
5 changed files with 132 additions and 1724 deletions

View File

@ -0,0 +1,94 @@
From 49d2e09887fc4bd1d12f11f5b49ec5f7e091d05c Mon Sep 17 00:00:00 2001
From: Rui Matos <tiagomatos@gmail.com>
Date: Mon, 4 Mar 2013 17:32:57 +0100
Subject: [PATCH] keyboard: Stop adding locale based input sources from a
hardcoded list
This was never meant to be the definite way to do it and we now have
gnome-initial-setup which is a better place to do this.
https://bugzilla.gnome.org/show_bug.cgi?id=685567
---
plugins/keyboard/gsd-keyboard-manager.c | 58 +--------------------------------
1 file changed, 1 insertion(+), 57 deletions(-)
diff --git a/plugins/keyboard/gsd-keyboard-manager.c b/plugins/keyboard/gsd-keyboard-manager.c
index ebfa7d8..b15d355 100644
--- a/plugins/keyboard/gsd-keyboard-manager.c
+++ b/plugins/keyboard/gsd-keyboard-manager.c
@@ -468,58 +468,6 @@ out:
return (gchar **) g_ptr_array_free (opt_array, FALSE);
}
-static const gchar *
-engine_from_locale (void)
-{
- const gchar *locale;
- const gchar *locale_engine[][2] = {
- { "as_IN", "m17n:as:phonetic" },
- { "bn_IN", "m17n:bn:inscript" },
- { "gu_IN", "m17n:gu:inscript" },
- { "hi_IN", "m17n:hi:inscript" },
- { "ja_JP", "anthy" },
- { "kn_IN", "m17n:kn:kgp" },
- { "ko_KR", "hangul" },
- { "mai_IN", "m17n:mai:inscript" },
- { "ml_IN", "m17n:ml:inscript" },
- { "mr_IN", "m17n:mr:inscript" },
- { "or_IN", "m17n:or:inscript" },
- { "pa_IN", "m17n:pa:inscript" },
- { "sd_IN", "m17n:sd:inscript" },
- { "ta_IN", "m17n:ta:tamil99" },
- { "te_IN", "m17n:te:inscript" },
- { "zh_CN", "pinyin" },
- { "zh_HK", "cangjie3" },
- { "zh_TW", "chewing" },
- };
- gint i;
-
- locale = setlocale (LC_CTYPE, NULL);
- if (!locale)
- return NULL;
-
- for (i = 0; i < G_N_ELEMENTS (locale_engine); ++i)
- if (g_str_has_prefix (locale, locale_engine[i][0]))
- return locale_engine[i][1];
-
- return NULL;
-}
-
-static void
-add_ibus_sources_from_locale (GSettings *settings)
-{
- const gchar *locale_engine;
- GVariantBuilder builder;
-
- locale_engine = engine_from_locale ();
- if (!locale_engine)
- return;
-
- init_builder_with_sources (&builder, settings);
- g_variant_builder_add (&builder, "(ss)", INPUT_SOURCE_TYPE_IBUS, locale_engine);
- g_settings_set_value (settings, KEY_INPUT_SOURCES, g_variant_builder_end (&builder));
-}
-
static void
convert_ibus (GSettings *settings)
{
@@ -1465,12 +1413,8 @@ maybe_create_initial_settings (GsdKeyboardManager *manager)
/* if we still don't have anything do some educated guesses */
sources = g_settings_get_value (settings, KEY_INPUT_SOURCES);
- if (g_variant_n_children (sources) < 1) {
+ if (g_variant_n_children (sources) < 1)
get_sources_from_xkb_config (manager);
-#ifdef HAVE_IBUS
- add_ibus_sources_from_locale (settings);
-#endif
- }
g_variant_unref (sources);
options = g_settings_get_strv (settings, KEY_KEYBOARD_OPTIONS);
--
1.8.1.4

File diff suppressed because it is too large Load Diff

View File

@ -1,20 +0,0 @@
--- gnome-settings-daemon-3.8.0/plugins/keyboard/gsd-keyboard-manager.c~ 2013-03-21 17:12:16.000000000 +0900
+++ gnome-settings-daemon-3.8.0/plugins/keyboard/gsd-keyboard-manager.c 2013-04-04 15:15:46.026364282 +0900
@@ -453,7 +453,7 @@
{ "bn_IN", "m17n:bn:inscript" },
{ "gu_IN", "m17n:gu:inscript" },
{ "hi_IN", "m17n:hi:inscript" },
- { "ja_JP", "anthy" },
+ { "ja_JP", "kkc" },
{ "kn_IN", "m17n:kn:kgp" },
{ "ko_KR", "hangul" },
{ "mai_IN", "m17n:mai:inscript" },
@@ -464,7 +464,7 @@
{ "sd_IN", "m17n:sd:inscript" },
{ "ta_IN", "m17n:ta:tamil99" },
{ "te_IN", "m17n:te:inscript" },
- { "zh_CN", "pinyin" },
+ { "zh_CN", "libpinyin" },
{ "zh_HK", "cangjie3" },
{ "zh_TW", "chewing" },
};

View File

@ -1,6 +1,6 @@
Name: gnome-settings-daemon
Version: 3.8.1
Release: 2%{?dist}
Version: 3.8.6.1
Release: 1%{?dist}
Summary: The daemon sharing settings from GNOME to GTK+/KDE applications
Group: System Environment/Daemons
@ -10,10 +10,11 @@ URL: http://download.gnome.org/sources/%{name}
Source: http://download.gnome.org/sources/%{name}/3.8/%{name}-%{version}.tar.xz
# disable wacom for ppc/ppc64 (used on RHEL)
Patch0: %{name}-3.5.4-ppc-no-wacom.patch
# fedora has newer different default ibus engines for Chinese and Japanese
Patch1: %{name}-ibus-kkc-libpinyin.patch
# g-i-s takes this role now
Patch1: 0001-keyboard-Stop-adding-locale-based-input-sources-from.patch
Requires: control-center-filesystem
Requires: colord
BuildRequires: dbus-glib-devel
BuildRequires: gtk3-devel >= 3.7.8
@ -78,7 +79,7 @@ The %{name}-updates package contains the updates plugin for %{name}
%if 0%{?rhel}
%patch0 -p1 -b .ppc-no-wacom
%endif
%patch1 -p1 -b .ibus-anthy-pinyin
%patch1 -p1
autoreconf -i -f
@ -205,9 +206,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_libdir}/gnome-settings-daemon-3.0/libgsd.so
%{_libexecdir}/gnome-settings-daemon
%{_libexecdir}/gnome-settings-daemon-localeexec
%{_libexecdir}/gsd-locate-pointer
%{_libexecdir}/gsd-printer
%{_libexecdir}/gsd-input-sources-switcher
%{_datadir}/gnome-settings-daemon/
%{_sysconfdir}/xdg/autostart/gnome-settings-daemon.desktop
@ -255,6 +256,36 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.updates.gschema.xml
%changelog
* Mon Jan 20 2014 Richard Hughes <rhughes@redhat.com> - 3.8.6.1-1
- Update to 3.8.6.1
* Fri Sep 6 2013 Rui Matos <rmatos@redhat.com> - 3.8.5-1
- Update to 3.8.5
- Drop upstreamed patches
* Wed Aug 7 2013 Marek Kasik <mkasik@redhat.com> - 3.8.4-2
- Backport fixes for getting of notifications from remote CUPS servers
- Resolves: #886845
* Fri Jul 19 2013 Bastien Nocera <bnocera@redhat.com> 3.8.4-1
- Update to 3.8.4
* Sun Jun 16 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.3-3
- Backport more upstream fixes for the localeexec helper (#974778)
* Mon Jun 10 2013 Matthias Clasen <mclasen@redhat.com> - 3.8.3-2
- Avoid calling setenv after threads are initialized (#919855)
* Fri Jun 7 2013 Rui Matos <rmatos@redhat.com> - 3.8.3-1
- Update to 3.8.3
* Fri May 17 2013 Rui Matos <rmatos@redhat.com>
- Add a patch to stop adding input sources automatically based on
locale since that's now gnome-initial-setup's job
* Tue May 14 2013 Richard Hughes <rhughes@redhat.com> - 3.8.2-1
- Update to 3.8.2
* Thu May 9 2013 Jens Petersen <petersen@redhat.com> - 3.8.1-2
- default ibus engine in Fedora is now kkc for Japanese
and libpinyin for Chinese (#948117)

View File

@ -1 +1 @@
4f198d8b6ec0c17846112dc90f46da52 gnome-settings-daemon-3.8.1.tar.xz
3acc9a09b49a03a0b21d369c8837ec14 gnome-settings-daemon-3.8.6.1.tar.xz