r35370 - in /desktop/unstable/gnome-shell/debian: changelog patches/24-mirror-evolution-calendar-settings.patch patches/series
biebl at users.alioth.debian.org
biebl at users.alioth.debian.org
Wed Jun 20 04:31:23 UTC 2012
Author: biebl
Date: Wed Jun 20 04:31:22 2012
New Revision: 35370
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=35370
Log:
debian/patches/24-mirror-evolution-calendar-settings.patch: Mirror
Evolution calendar settings into our own schema to avoid a hard dependency
on evolution for the gsettings schema file. Patch cherry-picked from
upstream Git.
Added:
desktop/unstable/gnome-shell/debian/patches/24-mirror-evolution-calendar-settings.patch
Modified:
desktop/unstable/gnome-shell/debian/changelog
desktop/unstable/gnome-shell/debian/patches/series
Modified: desktop/unstable/gnome-shell/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-shell/debian/changelog?rev=35370&op=diff
==============================================================================
--- desktop/unstable/gnome-shell/debian/changelog [utf-8] (original)
+++ desktop/unstable/gnome-shell/debian/changelog [utf-8] Wed Jun 20 04:31:22 2012
@@ -2,6 +2,10 @@
* debian/patches/21_revert_evolution_gsettings.patch: Drop this patch now
that we have evolution 3.4.
+ * debian/patches/24-mirror-evolution-calendar-settings.patch: Mirror
+ Evolution calendar settings into our own schema to avoid a hard dependency
+ on evolution for the gsettings schema file. Patch cherry-picked from
+ upstream Git.
-- Michael Biebl <biebl at debian.org> Wed, 20 Jun 2012 06:22:58 +0200
Added: desktop/unstable/gnome-shell/debian/patches/24-mirror-evolution-calendar-settings.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-shell/debian/patches/24-mirror-evolution-calendar-settings.patch?rev=35370&op=file
==============================================================================
--- desktop/unstable/gnome-shell/debian/patches/24-mirror-evolution-calendar-settings.patch (added)
+++ desktop/unstable/gnome-shell/debian/patches/24-mirror-evolution-calendar-settings.patch [utf-8] Wed Jun 20 04:31:22 2012
@@ -1,0 +1,83 @@
+commit a64c84395f09d108524960c15fac33786eebeb99
+Author: Owen W. Taylor <otaylor at fishsoup.net>
+Date: Fri Apr 20 10:51:32 2012 -0400
+
+ Mirror Evolution calendar settings into our own schema
+
+ Right now, we are hard-depending on the presence of Evolution by
+ using its settings schemas. This is likely to be unpopular, and
+ also causes instability if someone happens not to have Evolution
+ installed, so install a schema that has the same data path as
+ the Evolution schema, but a different name and install that
+ for the keys we need.
+
+ To avoid a string-freeze break, we rely on the translations in
+ Evolution - if Evolution isn't installed, the key descriptions
+ will be untranslated in dconf-editor.
+
+ https://bugzilla.gnome.org/show_bug.cgi?id=674424
+
+diff --git a/data/Makefile.am b/data/Makefile.am
+index 4803081..05caf27 100644
+--- a/data/Makefile.am
++++ b/data/Makefile.am
+@@ -53,7 +53,7 @@ dist_theme_DATA = \
+ theme/ws-switch-arrow-up.svg \
+ theme/ws-switch-arrow-down.svg
+
+-gsettings_SCHEMAS = org.gnome.shell.gschema.xml
++gsettings_SCHEMAS = org.gnome.shell.gschema.xml org.gnome.shell.evolution.calendar.gschema.xml
+
+ @INTLTOOL_XML_NOMERGE_RULE@
+ @GSETTINGS_RULES@
+diff --git a/data/org.gnome.shell.evolution.calendar.gschema.xml.in b/data/org.gnome.shell.evolution.calendar.gschema.xml.in
+new file mode 100644
+index 0000000..f0ce82b
+--- /dev/null
++++ b/data/org.gnome.shell.evolution.calendar.gschema.xml.in
+@@ -0,0 +1,21 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<!-- NOTE: This schema is a GNOME 3.4 workaround - it uses the same path
++ as org.gnome.evolution.calendar, but avoids us requiring Evolution
++ be installed. In GNOME 3.6 the selected state will become a flag
++ on the calendar. Because the translations are in Evolution,
++ this is untranslated and in POTFILES.skip.
++ -->
++<schemalist>
++ <schema path="/org/gnome/evolution/calendar/" id="org.gnome.shell.evolution.calendar" gettext-domain="evolution">
++ <key type="as" name="selected-calendars">
++ <default>[]</default>
++ <summary>List of selected calendars</summary>
++ <description>List of calendars to load</description>
++ </key>
++ <key type="as" name="selected-tasks">
++ <default>[]</default>
++ <summary>List of selected task lists</summary>
++ <description>List of task lists to load</description>
++ </key>
++ </schema>
++</schemalist>
+diff --git a/po/POTFILES.skip b/po/POTFILES.skip
+index e032bdc..fe31eda 100644
+--- a/po/POTFILES.skip
++++ b/po/POTFILES.skip
+@@ -1,2 +1,3 @@
+ data/gnome-shell.desktop.in
+ data/gnome-shell-extension-prefs.desktop.in
++data/org.gnome.shell.evolution.calendar.gschema.xml.in
+diff --git a/src/calendar-server/calendar-sources.c b/src/calendar-server/calendar-sources.c
+index a1eb80f..59fa044 100644
+--- a/src/calendar-server/calendar-sources.c
++++ b/src/calendar-server/calendar-sources.c
+@@ -52,7 +52,10 @@
+ #define CALENDAR_SOURCES_APPOINTMENT_SOURCES_KEY CALENDAR_SOURCES_EVO_DIR "/calendar/sources"
+ #define CALENDAR_SOURCES_TASK_SOURCES_KEY CALENDAR_SOURCES_EVO_DIR "/tasks/sources"
+
+-#define CALENDAR_SELECTED_SOURCES_SCHEMA "org.gnome.evolution.calendar"
++/* org.gnome.shell.evolution.calendar has the same data behind it
++ * as org.gnome.evolution.calendar, but is a small schema we install
++ * ourselves */
++#define CALENDAR_SELECTED_SOURCES_SCHEMA "org.gnome.shell.evolution.calendar"
+ #define CALENDAR_SOURCES_SELECTED_APPOINTMENT_SOURCES_KEY "selected-calendars"
+ #define CALENDAR_SOURCES_SELECTED_TASK_SOURCES_KEY "selected-tasks"
+
Modified: desktop/unstable/gnome-shell/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-shell/debian/patches/series?rev=35370&op=diff
==============================================================================
--- desktop/unstable/gnome-shell/debian/patches/series [utf-8] (original)
+++ desktop/unstable/gnome-shell/debian/patches/series [utf-8] Wed Jun 20 04:31:22 2012
@@ -2,6 +2,7 @@
11-no-gettext.patch
14_make-GLX-optional.patch
22-remove-online-accounts-from-user-menu.patch
+24-mirror-evolution-calendar-settings.patch
25-close-the-recorder-instead-of-pausing-it.patch
26-fix-empathy-popup-regression.patch
27-don-t-show-apps-in-NoDisplay-categories.patch
More information about the pkg-gnome-commits
mailing list