Compare commits

...
Sign in to create a new pull request.

11 commits

Author SHA1 Message Date
Milan Crha
ec06b55c01 Update to 3.12.11 2015-02-09 09:58:04 +01:00
Milan Crha
6b853581f6 Update to 3.12.10 2015-01-12 13:09:37 +01:00
Milan Crha
6b81aedb4c Update to 3.12.9 2014-12-08 09:25:11 +01:00
Milan Crha
c63b4ad1ba Update to 3.12.8 2014-11-10 08:50:44 +01:00
Milan Crha
270ec7d342 Update to 3.12.7 2014-10-13 11:14:31 +02:00
Milan Crha
5020c22f37 Update to 3.12.6 2014-09-08 09:54:45 +02:00
Peter Robinson
13dd56a76f - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 11:40:59 +00:00
Milan Crha
39140eaeb3 Add patch to drop icon theme dependency 2014-08-11 13:26:41 +02:00
Milan Crha
bc15113715 Add BuildRequires for adwaita-icon-theme 2014-08-11 12:49:30 +02:00
Milan Crha
9f8dfb1e5d Update to 3.12.5 2014-08-11 11:24:02 +02:00
Milan Crha
105582a2a9 Update to 3.12.4 2014-07-14 09:16:17 +02:00
7 changed files with 81 additions and 211 deletions

8
.gitignore vendored
View file

@ -75,3 +75,11 @@ evolution-2.31.5.tar.bz2
/evolution-3.12.1.tar.xz
/evolution-3.12.2.tar.xz
/evolution-3.12.3.tar.xz
/evolution-3.12.4.tar.xz
/evolution-3.12.5.tar.xz
/evolution-3.12.6.tar.xz
/evolution-3.12.7.tar.xz
/evolution-3.12.8.tar.xz
/evolution-3.12.9.tar.xz
/evolution-3.12.10.tar.xz
/evolution-3.12.11.tar.xz

View file

@ -1,23 +0,0 @@
diff -up evolution-3.12.3/configure.ac.drop-gnome-icon-theme-dep evolution-3.12.3/configure.ac
--- evolution-3.12.3/configure.ac.drop-gnome-icon-theme-dep 2014-06-09 11:33:17.814864320 +0200
+++ evolution-3.12.3/configure.ac 2014-06-09 11:33:44.925863171 +0200
@@ -49,7 +49,6 @@ m4_define([gtkhtml_minimum_version], [4.
m4_define([gdk_pixbuf_minimum_version], [2.24.0])
m4_define([gcr_minimum_version], [3.4])
m4_define([gnome_desktop_minimum_version], [2.91.3])
-m4_define([gnome_icon_theme_minimum_version], [2.30.2.1])
m4_define([gsettings_desktop_schemas_minimum_version], [2.91.92])
m4_define([webkitgtk_minimum_version], [2.0.1])
m4_define([libgdata_minimum_version], [0.10])
@@ -486,11 +485,6 @@ fi
AC_CHECK_FUNCS(mkdtemp)
dnl **************************************************
-dnl Gnome Icon Theme
-dnl **************************************************
-PKG_CHECK_MODULES([GIT], [gnome-icon-theme >= gnome_icon_theme_minimum_version])
-
-dnl **************************************************
dnl Accessibility support
dnl **************************************************
PKG_CHECK_MODULES([A11Y], [atk])

View file

@ -1,25 +0,0 @@
From 33dd6d93ca6e4fa3f1d3b846650504d419d88f9b Mon Sep 17 00:00:00 2001
From: Sebastian Keller <sebastian-keller@gmx.de>
Date: Tue, 17 Jun 2014 10:07:48 +0200
Subject: Bug 731549 - EMFolderTree: Text column doesn't expand with recent
gtk+
gtk commit 73ff6a8e0ff307b8d14986c64918022364ff10e7 removed the code
that made the column expand previously, resulting in only ellipses being
shown.
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index 5b5a3b9..a8967d6 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -1259,6 +1259,7 @@ folder_tree_constructed (GObject *object)
priv->selection_changed_handler_id = handler_id;
column = gtk_tree_view_column_new ();
+ gtk_tree_view_column_set_expand (column, TRUE);
gtk_tree_view_column_set_sizing (
column, GTK_TREE_VIEW_COLUMN_AUTOSIZE);
gtk_tree_view_append_column (tree_view, column);
--
cgit v0.10.1

View file

@ -1,153 +0,0 @@
From 5f197603700d0e0cbfc2dab7c4750fd04c41de25 Mon Sep 17 00:00:00 2001
From: Sebastian Keller <sebastian-keller@gmx.de>
Date: Mon, 23 Jun 2014 11:39:46 +0200
Subject: Bug 731872 - EWebView: Use named colors from themes
diff --git a/e-util/e-web-view.c b/e-util/e-web-view.c
index 8703ee1..7615db4 100644
--- a/e-util/e-web-view.c
+++ b/e-util/e-web-view.c
@@ -574,20 +574,20 @@ style_updated_cb (EWebView *web_view)
gchar *style;
GtkStateFlags state_flags;
GtkStyleContext *style_context;
- GtkWidgetPath *widget_path;
+ gboolean backdrop;
state_flags = gtk_widget_get_state_flags (GTK_WIDGET (web_view));
- style_context = gtk_style_context_new ();
- widget_path = gtk_widget_path_new ();
- gtk_widget_path_append_type (widget_path, GTK_TYPE_WINDOW);
- gtk_style_context_set_path (style_context, widget_path);
- gtk_style_context_add_class (style_context, GTK_STYLE_CLASS_ENTRY);
-
- gtk_style_context_get_background_color (
- style_context,
- state_flags | GTK_STATE_FLAG_FOCUSED,
- &color);
- color_value = g_strdup_printf ("#%06x", e_rgba_to_value (&color));
+ style_context = gtk_widget_get_style_context (GTK_WIDGET (web_view));
+ backdrop = (state_flags & GTK_STATE_FLAG_BACKDROP) != 0;
+
+ if (gtk_style_context_lookup_color (
+ style_context,
+ backdrop ? "theme_unfocused_base_color" : "theme_base_color",
+ &color))
+ color_value = g_strdup_printf ("#%06x", e_rgba_to_value (&color));
+ else
+ color_value = g_strdup("#ffffff");
+
style = g_strconcat ("background-color: ", color_value, ";", NULL);
e_web_view_add_css_rule_into_style_sheet (
@@ -599,11 +599,14 @@ style_updated_cb (EWebView *web_view)
g_free (color_value);
g_free (style);
- gtk_style_context_get_color (
- style_context,
- state_flags | GTK_STATE_FLAG_FOCUSED,
- &color);
- color_value = g_strdup_printf ("#%06x", e_rgba_to_value (&color));
+ if (gtk_style_context_lookup_color (
+ style_context,
+ backdrop ? "theme_unfocused_fg_color" : "theme_fg_color",
+ &color))
+ color_value = g_strdup_printf ("#%06x", e_rgba_to_value (&color));
+ else
+ color_value = g_strdup("#000000");
+
style = g_strconcat ("color: ", color_value, ";", NULL);
e_web_view_add_css_rule_into_style_sheet (
@@ -612,9 +615,6 @@ style_updated_cb (EWebView *web_view)
".-e-web-view-text-color",
style);
- gtk_widget_path_free (widget_path);
- g_object_unref (style_context);
-
g_free (color_value);
g_free (style);
}
diff --git a/em-format/e-mail-formatter.c b/em-format/e-mail-formatter.c
index 2efe8eb..a81802b 100644
--- a/em-format/e-mail-formatter.c
+++ b/em-format/e-mail-formatter.c
@@ -489,20 +489,21 @@ mail_formatter_update_style (EMailFormatter *formatter,
GtkStyleContext *style_context;
GtkWidgetPath *widget_path;
GdkRGBA rgba;
+ gboolean backdrop;
g_object_freeze_notify (G_OBJECT (formatter));
- /* derive colors from top-level window */
style_context = gtk_style_context_new ();
widget_path = gtk_widget_path_new ();
gtk_widget_path_append_type (widget_path, GTK_TYPE_WINDOW);
gtk_style_context_set_path (style_context, widget_path);
- gtk_style_context_invalidate (style_context);
+ backdrop = (state & GTK_STATE_FLAG_BACKDROP) != 0;
- gtk_style_context_save (style_context);
- gtk_style_context_add_class (style_context, GTK_STYLE_CLASS_TOOLBAR);
-
- gtk_style_context_get_background_color (style_context, state, &rgba);
+ if (!gtk_style_context_lookup_color (
+ style_context,
+ backdrop ? "theme_unfocused_bg_color" : "theme_bg_color",
+ &rgba))
+ gdk_rgba_parse (&rgba, "#eeeeee");
e_mail_formatter_set_color (
formatter, E_MAIL_FORMATTER_COLOR_BODY, &rgba);
@@ -512,20 +513,27 @@ mail_formatter_update_style (EMailFormatter *formatter,
e_mail_formatter_set_color (
formatter, E_MAIL_FORMATTER_COLOR_FRAME, &rgba);
- gtk_style_context_restore (style_context);
- gtk_style_context_add_class (style_context, GTK_STYLE_CLASS_ENTRY);
-
- gtk_style_context_get_color (style_context, state, &rgba);
+ if (!gtk_style_context_lookup_color (
+ style_context,
+ backdrop ? "theme_unfocused_fg_color" : "theme_fg_color",
+ &rgba))
+ gdk_rgba_parse (&rgba, "#000000");
e_mail_formatter_set_color (
formatter, E_MAIL_FORMATTER_COLOR_HEADER, &rgba);
- gtk_style_context_get_background_color (
- style_context, state | GTK_STATE_FLAG_FOCUSED, &rgba);
+ if (!gtk_style_context_lookup_color (
+ style_context,
+ backdrop ? "theme_unfocused_base_color" : "theme_base_color",
+ &rgba))
+ gdk_rgba_parse (&rgba, "#ffffff");
e_mail_formatter_set_color (
formatter, E_MAIL_FORMATTER_COLOR_CONTENT, &rgba);
- gtk_style_context_get_color (
- style_context, state | GTK_STATE_FLAG_FOCUSED, &rgba);
+ if (!gtk_style_context_lookup_color (
+ style_context,
+ backdrop ? "theme_unfocused_fg_color" : "theme_fg_color",
+ &rgba))
+ gdk_rgba_parse (&rgba, "#000000");
e_mail_formatter_set_color (
formatter, E_MAIL_FORMATTER_COLOR_TEXT, &rgba);
@@ -605,7 +613,7 @@ e_mail_formatter_class_init (EMailFormatterClass *class)
gdk_rgba_parse (rgba, "#3f3f3f");
rgba = &class->colors[E_MAIL_FORMATTER_COLOR_HEADER];
- gdk_rgba_parse (rgba, "#eeeeee");
+ gdk_rgba_parse (rgba, "#000000");
rgba = &class->colors[E_MAIL_FORMATTER_COLOR_TEXT];
gdk_rgba_parse (rgba, "#000000");
--
cgit v0.10.1

View file

@ -0,0 +1,37 @@
diff -up evolution-3.12.5/configure.ac.drop-icon-theme-dep evolution-3.12.5/configure.ac
--- evolution-3.12.5/configure.ac.drop-icon-theme-dep 2014-08-11 13:24:33.451075847 +0200
+++ evolution-3.12.5/configure.ac 2014-08-11 13:25:05.785074477 +0200
@@ -49,7 +49,6 @@ m4_define([gtkhtml_minimum_version], [4.
m4_define([gdk_pixbuf_minimum_version], [2.24.0])
m4_define([gcr_minimum_version], [3.4])
m4_define([gnome_desktop_minimum_version], [2.91.3])
-m4_define([gnome_icon_theme_minimum_version], [2.30.2.1])
m4_define([gsettings_desktop_schemas_minimum_version], [2.91.92])
m4_define([webkitgtk_minimum_version], [2.0.1])
m4_define([libgdata_minimum_version], [0.10])
@@ -505,25 +504,6 @@ AC_CHECK_HEADERS(sys/wait.h, AC_DEFINE(H
AC_CHECK_FUNCS(mkdtemp)
dnl **************************************************
-dnl Gnome Icon Theme
-dnl **************************************************
-AC_MSG_CHECKING(for icon theme)
-PKG_CHECK_EXISTS([gnome-icon-theme >= gnome_icon_theme_minimum_version],
- have_icon_theme=yes, have_icon_theme=no)
-if test "x$have_icon_theme" != "xyes"; then
- PKG_CHECK_EXISTS([adwaita-icon-theme],
- have_icon_theme=yes, have_icon_theme=no)
-fi
-
-if test "x$have_icon_theme" != "xyes"; then
- AC_MSG_RESULT(no)
- AC_MSG_FAILURE([You need to have gnome-icon-theme or adwaita-icon-theme installed.])
-else
- AC_MSG_RESULT(yes)
-fi
-
-
-dnl **************************************************
dnl Accessibility support
dnl **************************************************
PKG_CHECK_MODULES([A11Y], [atk])

View file

@ -29,8 +29,8 @@
### Abstract ###
Name: evolution
Version: 3.12.3
Release: 3%{?dist}
Version: 3.12.11
Release: 1%{?dist}
Group: Applications/Productivity
Summary: Mail and calendar client for GNOME
License: GPLv2+ and GFDL
@ -50,10 +50,7 @@ Patch01: evolution-1.4.4-ldap-x86_64-hack.patch
# RH bug #589555
Patch02: evolution-2.30.1-help-contents.patch
Patch03: evolution-3.12.3-drop-gnome-icon-theme-dep.patch
Patch04: evolution-3.12.3-folder-tree-columns-expand.patch
Patch05: evolution-3.12.3-webview-named-theme-colors.patch
Patch03: evolution-3.12.5-drop-icon-theme-dep.patch
## Dependencies ###
@ -210,9 +207,7 @@ This package contains the plugin to import Microsoft Personal Storage Table
%setup -q -n evolution-%{version}
%patch01 -p1 -b .ldaphack
%patch02 -p1 -b .help-contents
%patch03 -p1 -b .drop-gnome-icon-theme-dep
%patch04 -p1 -b .folder-tree-columns-expand
%patch05 -p1 -b .webview-named-theme-colors
%patch03 -p1 -b .drop-icon-theme-dep
# Remove the welcome email from Novell
for inbox in mail/default/*/Inbox; do
@ -517,10 +512,12 @@ rm -rf $RPM_BUILD_ROOT
%files bogofilter
%defattr(-, root, root)
%{_libdir}/evolution/%{evo_base_version}/modules/module-bogofilter.so
%{_datadir}/appdata/evolution-bogofilter.metainfo.xml
%files spamassassin
%defattr(-, root, root)
%{_libdir}/evolution/%{evo_base_version}/modules/module-spamassassin.so
%{_datadir}/appdata/evolution-spamassassin.metainfo.xml
%files perl
%defattr(-, root, root)
@ -534,6 +531,35 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
* Mon Feb 09 2015 Milan Crha <mcrha@redhat.com> - 3.12.11-1
- Update to 3.12.11
* Mon Jan 12 2015 Milan Crha <mcrha@redhat.com> - 3.12.10-1
- Update to 3.12.10
* Mon Dec 08 2014 Milan Crha <mcrha@redhat.com> - 3.12.9-1
- Update to 3.12.9
* Mon Nov 10 2014 Milan Crha <mcrha@redhat.com> - 3.12.8-1
- Update to 3.12.8
* Mon Oct 13 2014 Milan Crha <mcrha@redhat.com> - 3.12.7-1
- Update to 3.12.7
* Mon Sep 08 2014 Milan Crha <mcrha@redhat.com> - 3.12.6-1
- Update to 3.12.6
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Mon Aug 11 2014 Milan Crha <mcrha@redhat.com> - 3.12.5-1
- Update to 3.12.5
* Mon Jul 14 2014 Milan Crha <mcrha@redhat.com> - 3.12.4-1
- Update to 3.12.4
- Remove patch to fix folder names in Mail view's folder tree (fixed upstream)
- Remove patch to fix colors in preview (fixed upstream)
* Thu Jun 26 2014 Milan Crha <mcrha@redhat.com> - 3.12.3-3
- Add upstream patch to fix folder names in Mail view's folder tree
- Add upstream patch to fix colors in preview

View file

@ -1 +1 @@
7e359b94af6fe5380eb071ec24c486e5 evolution-3.12.3.tar.xz
22ceaebe4add813e15253a76939af7f0 evolution-3.12.11.tar.xz