diff options
Diffstat (limited to 'mail-client')
8 files changed, 533 insertions, 12 deletions
diff --git a/mail-client/evolution/ChangeLog b/mail-client/evolution/ChangeLog index 8d81ef8f67f8..092b879e44e5 100644 --- a/mail-client/evolution/ChangeLog +++ b/mail-client/evolution/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for mail-client/evolution # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/evolution/ChangeLog,v 1.289 2010/05/04 16:23:57 tester Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-client/evolution/ChangeLog,v 1.290 2010/05/19 19:30:59 lack Exp $ + +*evolution-2.28.3.1-r1 (19 May 2010) + + 19 May 2010; Jim Ramsay <lack@gentoo.org> +evolution-2.28.3.1-r1.ebuild, + +files/evolution-2.28.3.1-allow-setting-alarms_1.patch, + +files/evolution-2.28.3.1-allow-setting-alarms_2.patch, + +files/evolution-2.28.3.1-allow-setting-alarms_3.patch, + +files/evolution-2.28.3.1-attachment-bar-RTL.patch, + +files/evolution-2.28.3.1-unknown-attachment-size.patch: + Revbump to fix #317841 and #317765 03 May 2010; Olivier CrĂȘte <tester@gentoo.org> evolution-2.28.3.1.ebuild: amd64 stable, bug #314899 diff --git a/mail-client/evolution/Manifest b/mail-client/evolution/Manifest index 8c8ed3026b6f..bf408e89a228 100644 --- a/mail-client/evolution/Manifest +++ b/mail-client/evolution/Manifest @@ -1,23 +1,19 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX evolution-2.21.3-fbsd.patch 1107 RMD160 7dbbf08ed68124a398b9db64bac6a4b0cecfa9ef SHA1 05f581d030bb81aad2e0f734f432dd23add4b3c2 SHA256 942b81689f9e4b5a1896ec7c810c323bfaeb74d40c6c6683d8dfd8b670236e77 AUX evolution-2.23.3.1-delete-key.patch 2382 RMD160 41e30f2f9e52c8a1a45db11d12fa5da8eb137c04 SHA1 2df3f06c427072d2de7bf379f6d0b6fedaf2a4e1 SHA256 37809a6b12cb93a6da0cf11a50e33d040380ac31b1377eba867e3a12f92d1cbc AUX evolution-2.26.3-automagic-plugins.patch 7022 RMD160 2e7279257e90c66abbfc4703ba0fbba015b6f484 SHA1 23602b5b73caf2b06235422042ae3e32c6b520c3 SHA256 acae2843c8068b298b0e54eb263b3b7582ddf272aae5c0ceffa3d4d095f40e91 AUX evolution-2.28.0-automagic-plugins.patch 5196 RMD160 0c1c58267db1e8a1322c5bc162bae2d82bc245a1 SHA1 6d7feb27ad3fd467037c1a7d23b10ca13882ca56 SHA256 92823003300dbe32084498522a777f9b21437bea18761525342ef7e12aab42f0 AUX evolution-2.28.0-delete-key.patch 2416 RMD160 e8ce7b415f7dba764c82fa11e19ffdbe4e209bc7 SHA1 7e82210d842d5a523fbcdcc4ab31fe29d2fe62ad SHA256 8d6d6b41d594aa48dc8d1fb8e422d01d23ec191cdd2ca5eb77e4d0e98d5b7ae8 +AUX evolution-2.28.3.1-allow-setting-alarms_1.patch 6441 RMD160 802c09d81e660d6f0d23f0b968f9a4794f987c3a SHA1 d0d5c52687274e6dacd241d876213180c3aa4fa1 SHA256 5a9dca63db80ef191b395ef7d5269cd66fac856c6eb0c77f6b0e53bae79c1e73 +AUX evolution-2.28.3.1-allow-setting-alarms_2.patch 2149 RMD160 a44c12bcdd3316a489563291544f50a38d568c38 SHA1 c0fdadb8b1a73a02035114e0e4429e4af8628b68 SHA256 74afc572a3e226b39bba41f6e23e73a3353e61b0a01e97e43da4feb657c6118e +AUX evolution-2.28.3.1-allow-setting-alarms_3.patch 1890 RMD160 e42285e4817e98eb63c4cee7c02821636fc1c382 SHA1 e90cbd558c59bed177a69bc80d42357712f87564 SHA256 3a2dfb68917f9ca9d3a17a67eff3bc465d4527385c3e35d6aeefdbb4121a4ddf +AUX evolution-2.28.3.1-attachment-bar-RTL.patch 1360 RMD160 e2f512542837dd47c820f2a23b936f5a065665b7 SHA1 f2df4a491ccea878232dd55747526b4f80a40ff8 SHA256 1afb9010a997be10e168dcd050d4d8cb3bb85544f5f9f37c9bd17eb698579f49 +AUX evolution-2.28.3.1-unknown-attachment-size.patch 1182 RMD160 4df9108c74c3b1b1d6d828502d26feab93db7dca SHA1 d248e9d07f6279539b1fa03a59e4005fa6a3aebe SHA256 ae8314004b7e0cfd4f285459a9bfabd864fbb3d3954417e0f5eed8b7e1944a4b DIST evolution-2.26.3.tar.bz2 36427464 RMD160 f2b3aa2275095feb2af406022c0a6bc8a381e8d5 SHA1 d0e247ccb903a57a5e6fe23cfb04535ea141e9fb SHA256 e37f8d21a8aa201e9a3d91a110ec9d4dc3feae978be45b0c16cf93adacd5605b DIST evolution-2.28.2.tar.bz2 29735192 RMD160 6e5f5ae60563fdaa9daa4c78f780cfa556770043 SHA1 19e970417cc91c82a5279cfe5dd7262d9d4c3319 SHA256 1f4a50127e3af085b0a074dcdfa0595bdf8925aeee295901c33805c3ff0c2603 DIST evolution-2.28.3.1.tar.bz2 29765375 RMD160 442c7b472caf94ba0aa1abbe253b810d15911a4f SHA1 412c8be73e483444ad69a4ad8c15b0db9520fe0a SHA256 9fda41b0994b1bb8d119f594597f77bb4af1a883588a39f7a81ec7a2eb18f5fd EBUILD evolution-2.26.3.ebuild 4517 RMD160 ac48da6ef66ca3063f12ef4743d337e9bc00886e SHA1 d0b5243b4643bb256dbe160d4baef3946fab1510 SHA256 8d6f3ed856496b9d41fc0da6a7a2bb17487fc5008e163a81dbd2c50a78c5599c EBUILD evolution-2.28.2.ebuild 4825 RMD160 f14efbbdb05bbd53ad280c3744dcaf0bbbff698b SHA1 f02463898073a3f89ed192bf98e386156fa39971 SHA256 667db599047326713027ad7be24e6efa90183a444ed311940630b42b68f58e0b +EBUILD evolution-2.28.3.1-r1.ebuild 5312 RMD160 d4f62e45f454daef3ba987f283d7a6882a8237e6 SHA1 5581f6e0615443e6ebadabc4f0a802ee131036a9 SHA256 dd7a33f03ab03e50ab6dd646a746794d4b24ad6496e73d655b0ab8379fd56b63 EBUILD evolution-2.28.3.1.ebuild 4823 RMD160 1a71b414a6aee5f30bbc63713ce311d6e7f55090 SHA1 29cc190983a8343ec88eb18b28187c265704afc2 SHA256 96d25b209469b4fba4b9cec923b73bb44ebc2fc644db4a3c7a9fc49c60011068 -MISC ChangeLog 67749 RMD160 c35d20e73417f986e57660c7b6e5c47e02e20fac SHA1 5930111978fe7cb5afd094d235353f2e9496a388 SHA256 c144755f35218df89d7d2bf4fb07d2557eb775c83407f6148394810e99625afa +MISC ChangeLog 68185 RMD160 6d19369c7b8be5d3e896452d43a8dc94112dab54 SHA1 85c73e9566488b655e9f14ce4edb079c6a1ea688 SHA256 1ea0fef87e80337841c793eaddc1788dbcf0f4e0e2192624dab704fe9c9f01f4 MISC metadata.xml 1461 RMD160 a54b702777b629e801eb07e83c3151d020b2db2c SHA1 1db2d57540fd6732e6ad356e746f8c14f7411750 SHA256 1768837d6848092351ece0bff37f4db820dcb9cf9efcd21e596a71ad97892035 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.14 (GNU/Linux) - -iEYEARECAAYFAkvgSicACgkQmOfEJZHYOKcjmgCfVS3PlxK3sSVRui6sML4AsMxh -BiAAn0hBO07xhQDRZA0Zkm+zP666JqSg -=5b2/ ------END PGP SIGNATURE----- diff --git a/mail-client/evolution/evolution-2.28.3.1-r1.ebuild b/mail-client/evolution/evolution-2.28.3.1-r1.ebuild new file mode 100644 index 000000000000..8a49e23bbbda --- /dev/null +++ b/mail-client/evolution/evolution-2.28.3.1-r1.ebuild @@ -0,0 +1,166 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-client/evolution/evolution-2.28.3.1-r1.ebuild,v 1.1 2010/05/19 19:30:59 lack Exp $ + +EAPI="2" +GCONF_DEBUG="no" + +inherit autotools gnome2 flag-o-matic python + +DESCRIPTION="Integrated mail, addressbook and calendaring functionality" +HOMEPAGE="http://www.gnome.org/projects/evolution/" + +LICENSE="GPL-2 FDL-1.1" +SLOT="2.0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="crypt dbus hal kerberos krb4 ldap mono networkmanager nntp pda profile python ssl gstreamer exchange" +# pst + +# Pango dependency required to avoid font rendering problems +# We need a graphical pinentry frontend to be able to ask for the GPG +# password from inside evolution, bug 160302 +RDEPEND=">=dev-libs/glib-2.20 + >=x11-libs/gtk+-2.16 + >=gnome-extra/evolution-data-server-${PV} + >=x11-themes/gnome-icon-theme-2.20 + >=gnome-base/libbonobo-2.20.3 + >=gnome-base/libbonoboui-2.4.2 + >=gnome-extra/gtkhtml-3.27.90 + >=gnome-base/gconf-2 + >=gnome-base/libglade-2 + >=gnome-base/libgnomecanvas-2 + >=gnome-base/libgnomeui-2 + >=dev-libs/libxml2-2.7.3 + >=dev-libs/libgweather-2.25.3 + >=x11-misc/shared-mime-info-0.22 + >=gnome-base/gnome-desktop-2.26.0 + dbus? ( >=dev-libs/dbus-glib-0.74 ) + hal? ( >=sys-apps/hal-0.5.4 ) + x11-libs/libnotify + pda? ( + >=app-pda/gnome-pilot-2.0.15 + >=app-pda/gnome-pilot-conduits-2 ) + dev-libs/atk + ssl? ( + >=dev-libs/nspr-4.6.1 + >=dev-libs/nss-3.11 ) + networkmanager? ( + >=net-misc/networkmanager-0.7 + >=dev-libs/dbus-glib-0.74 ) + >=net-libs/libsoup-2.4 + kerberos? ( virtual/krb5 ) + krb4? ( app-crypt/mit-krb5[krb4] ) + >=gnome-base/orbit-2.9.8 + crypt? ( || ( + ( >=app-crypt/gnupg-2.0.1-r2 + app-crypt/pinentry[gtk] ) + =app-crypt/gnupg-1.4* ) ) + ldap? ( >=net-nds/openldap-2 ) + mono? ( >=dev-lang/mono-1 ) + python? ( >=dev-lang/python-2.4 ) + gstreamer? ( + >=media-libs/gstreamer-0.10 + >=media-libs/gst-plugins-base-0.10 )" +# Disabled until API stabilizes +# pst? ( >=net-mail/libpst-0.6.41 ) + +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.16 + >=dev-util/intltool-0.35.5 + sys-devel/gettext + sys-devel/bison + app-text/scrollkeeper + >=gnome-base/gnome-common-2.12.0 + >=app-text/gnome-doc-utils-0.9.1" + +PDEPEND="exchange? ( >=gnome-extra/evolution-exchange-2.26.1 )" + +DOCS="AUTHORS ChangeLog* HACKING MAINTAINERS NEWS* README" +ELTCONF="--reverse-deps" + +pkg_setup() { + G2CONF="${G2CONF} + --without-kde-applnk-path + --enable-plugins=experimental + --with-weather + $(use_enable ssl nss) + $(use_enable ssl smime) + $(use_enable mono) + $(use_enable nntp) + $(use_enable networkmanager nm) + $(use_enable dbus) + $(use_enable gstreamer audio-inline) + $(use_enable exchange) + --disable-pst-import + $(use_enable pda pilot-conduits) + $(use_enable profile profiling) + $(use_enable python) + $(use_with ldap openldap) + $(use_with kerberos krb5 /usr) + $(use_with krb4 krb4 /usr)" + + # DBUS is required for NetworkManager support (Bug #317841) + use networkmanager && G2CONF="${G2CONF} --enable-dbus" + + # dang - I've changed this to do --enable-plugins=experimental. This will + # autodetect new-mail-notify and exchange, but that cannot be helped for the + # moment. They should be changed to depend on a --enable-<foo> like mono + # is. This cleans up a ton of crap from this ebuild. +} + +src_prepare() { + gnome2_src_prepare + + # Fix timezone offsets on fbsd. bug #183708 + # FIXME: bsd needs to be more active at pushing stuff upstream + #epatch "${FILESDIR}/${PN}-2.21.3-fbsd.patch" + + # Fix delete keyboard shortcut, bug #???? + epatch "${FILESDIR}/${PN}-2.28.0-delete-key.patch" + + # Fix multiple automagic plugins, bug #204300 & bug #271451 + epatch "${FILESDIR}/${PN}-2.28.0-automagic-plugins.patch" + + # Apply all current 2.28.3.1 upstream fixes: + epatch "${FILESDIR}/${P}-attachment-bar-RTL.patch" + epatch "${FILESDIR}/${P}-unknown-attachment-size.patch" + # Bug #317765 + epatch "${FILESDIR}/${P}-allow-setting-alarms_1.patch" + epatch "${FILESDIR}/${P}-allow-setting-alarms_2.patch" + epatch "${FILESDIR}/${P}-allow-setting-alarms_3.patch" + + # FIXME: Fix compilation flags crazyness + sed 's/CFLAGS="$CFLAGS $WARNING_FLAGS"//' \ + -i configure.ac configure || die "sed 1 failed" + + intltoolize --force --copy --automake || die "intltoolize failed" + eautoreconf + + # Use NSS/NSPR only if 'ssl' is enabled. + if use ssl ; then + sed -i -e "s|mozilla-nss|nss| + s|mozilla-nspr|nspr|" "${S}"/configure || die "sed 1 failed" + G2CONF="${G2CONF} --enable-nss=yes" + else + G2CONF="${G2CONF} --without-nspr-libs --without-nspr-includes \ + --without-nss-libs --without-nss-includes" + fi + + # problems with -O3 on gcc-3.3.1 + replace-flags -O3 -O2 +} + +pkg_postinst() { + gnome2_pkg_postinst + + elog "To change the default browser if you are not using GNOME, do:" + elog "gconftool-2 --set /desktop/gnome/url-handlers/http/command -t string 'mozilla %s'" + elog "gconftool-2 --set /desktop/gnome/url-handlers/https/command -t string 'mozilla %s'" + elog "" + elog "Replace 'mozilla %s' with which ever browser you use." + elog "" + elog "Junk filters are now a run-time choice. You will get a choice of" + elog "bogofilter or spamassassin based on which you have installed" + elog "" + elog "You have to install one of these for the spam filtering to actually work" +} diff --git a/mail-client/evolution/files/evolution-2.28.3.1-allow-setting-alarms_1.patch b/mail-client/evolution/files/evolution-2.28.3.1-allow-setting-alarms_1.patch new file mode 100644 index 000000000000..d6eb4581b0a6 --- /dev/null +++ b/mail-client/evolution/files/evolution-2.28.3.1-allow-setting-alarms_1.patch @@ -0,0 +1,170 @@ +From 63fb1857b99f53fbd2506799049b645fce1c1f0c Mon Sep 17 00:00:00 2001 +From: Jim Ramsay <i.am@jimramsay.com> +Date: Tue, 18 May 2010 16:39:47 -0400 +Subject: [PATCH 12/14] Bug 594153 (1/3) - Allow setting alarms on any meeting + +This introduces a new action_group called "editable" in the comp-editor +that can be used by other components to assign actions that should be +sensitized separately from the existing "individual" group, such as the +"Alarms" and "Show Time as Busy" event actions. + +This fixes a bug introduced in 0597b877c5bf4d21ac4048742ddf6b11e24877ba +where these two actions were accidentally grouped with other actions that +should legitimately be in the "individual" group. +--- + calendar/gui/dialogs/comp-editor.c | 15 +++++++++++---- + calendar/gui/dialogs/event-editor.c | 32 +++++++++++++++++++++++--------- + calendar/gui/dialogs/event-page.c | 3 +++ + calendar/gui/dialogs/memo-page.c | 3 +++ + calendar/gui/dialogs/task-page.c | 3 +++ + 5 files changed, 43 insertions(+), 13 deletions(-) + +diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c +index 6fc01ca..46e340f 100644 +--- a/calendar/gui/dialogs/comp-editor.c ++++ b/calendar/gui/dialogs/comp-editor.c +@@ -1091,7 +1091,7 @@ static GtkActionEntry individual_entries[] = { + G_CALLBACK (action_attach_cb) } + }; + +-static GtkToggleActionEntry individual_toggle_entries[] = { ++static GtkToggleActionEntry personal_toggle_entries[] = { + + { "view-categories", + NULL, +@@ -1603,9 +1603,6 @@ comp_editor_init (CompEditor *editor) + gtk_action_group_add_actions ( + action_group, individual_entries, + G_N_ELEMENTS (individual_entries), editor); +- gtk_action_group_add_toggle_actions ( +- action_group, individual_toggle_entries, +- G_N_ELEMENTS (individual_toggle_entries), editor); + gtk_action_group_add_radio_actions ( + action_group, classification_radio_entries, + G_N_ELEMENTS (classification_radio_entries), +@@ -1615,6 +1612,16 @@ comp_editor_init (CompEditor *editor) + priv->ui_manager, action_group, 0); + g_object_unref (action_group); + ++ action_group = gtk_action_group_new ("editable"); ++ gtk_action_group_set_translation_domain ( ++ action_group, GETTEXT_PACKAGE); ++ gtk_action_group_add_toggle_actions ( ++ action_group, personal_toggle_entries, ++ G_N_ELEMENTS (personal_toggle_entries), editor); ++ gtk_ui_manager_insert_action_group ( ++ priv->ui_manager, action_group, 0); ++ g_object_unref (action_group); ++ + action_group = gtk_action_group_new ("coordinated"); + gtk_action_group_set_translation_domain ( + action_group, GETTEXT_PACKAGE); +diff --git a/calendar/gui/dialogs/event-editor.c b/calendar/gui/dialogs/event-editor.c +index 7251123..3b9a8d0 100644 +--- a/calendar/gui/dialogs/event-editor.c ++++ b/calendar/gui/dialogs/event-editor.c +@@ -195,7 +195,7 @@ action_show_time_busy_cb (GtkToggleAction *action, + event_page_set_show_time_busy (editor->priv->event_page, active); + } + +-static GtkActionEntry event_entries[] = { ++static GtkActionEntry editable_entries[] = { + + { "alarms", + "appointment-soon", +@@ -203,6 +203,20 @@ static GtkActionEntry event_entries[] = { + NULL, + N_("Click here to set or unset alarms for this event"), + G_CALLBACK (action_alarms_cb) }, ++}; ++ ++static GtkToggleActionEntry editable_toggle_entries[] = { ++ ++ { "show-time-busy", ++ GTK_STOCK_DIALOG_ERROR, ++ N_("Show Time as _Busy"), ++ NULL, ++ N_("Toggles whether to show time as busy"), ++ G_CALLBACK (action_show_time_busy_cb), ++ FALSE } ++}; ++ ++static GtkActionEntry event_entries[] = { + + { "recurrence", + "stock_task-recurring", +@@ -228,14 +242,6 @@ static GtkToggleActionEntry event_toggle_entries[] = { + N_("Toggles whether to have All Day Event"), + G_CALLBACK (action_all_day_event_cb), + FALSE }, +- +- { "show-time-busy", +- GTK_STOCK_DIALOG_ERROR, +- N_("Show Time as _Busy"), +- NULL, +- N_("Toggles whether to show time as busy"), +- G_CALLBACK (action_show_time_busy_cb), +- FALSE } + }; + + static GtkActionEntry meeting_entries[] = { +@@ -481,6 +487,14 @@ event_editor_init (EventEditor *ee) + action_group, event_toggle_entries, + G_N_ELEMENTS (event_toggle_entries), ee); + ++ action_group = comp_editor_get_action_group (editor, "editable"); ++ gtk_action_group_add_actions ( ++ action_group, editable_entries, ++ G_N_ELEMENTS (editable_entries), ee); ++ gtk_action_group_add_toggle_actions ( ++ action_group, editable_toggle_entries, ++ G_N_ELEMENTS (editable_toggle_entries), ee); ++ + action_group = comp_editor_get_action_group (editor, "coordinated"); + gtk_action_group_add_actions ( + action_group, meeting_entries, +diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c +index eb95245..fcc1ea9 100644 +--- a/calendar/gui/dialogs/event-page.c ++++ b/calendar/gui/dialogs/event-page.c +@@ -806,6 +806,9 @@ sensitize_widgets (EventPage *epage) + gtk_widget_set_sensitive (priv->invite, (!read_only && sens) || delegate); + gtk_widget_set_sensitive (GTK_WIDGET (priv->list_view), !read_only); + ++ action_group = comp_editor_get_action_group (editor, "editable"); ++ gtk_action_group_set_sensitive (action_group, !read_only); ++ + action_group = comp_editor_get_action_group (editor, "individual"); + gtk_action_group_set_sensitive (action_group, sensitize); + +diff --git a/calendar/gui/dialogs/memo-page.c b/calendar/gui/dialogs/memo-page.c +index 83cd00a..511f483 100644 +--- a/calendar/gui/dialogs/memo-page.c ++++ b/calendar/gui/dialogs/memo-page.c +@@ -373,6 +373,9 @@ sensitize_widgets (MemoPage *mpage) + } + } + ++ action_group = comp_editor_get_action_group (editor, "editable"); ++ gtk_action_group_set_sensitive (action_group, !read_only); ++ + action_group = comp_editor_get_action_group (editor, "individual"); + gtk_action_group_set_sensitive (action_group, sensitize); + } +diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c +index 8b5c028..175e218 100644 +--- a/calendar/gui/dialogs/task-page.c ++++ b/calendar/gui/dialogs/task-page.c +@@ -365,6 +365,9 @@ sensitize_widgets (TaskPage *tpage) + gtk_widget_set_sensitive (priv->invite, (!read_only && sens)); + gtk_widget_set_sensitive (GTK_WIDGET (priv->list_view), !read_only); + ++ action_group = comp_editor_get_action_group (editor, "editable"); ++ gtk_action_group_set_sensitive (action_group, !read_only); ++ + action_group = comp_editor_get_action_group (editor, "individual"); + gtk_action_group_set_sensitive (action_group, sensitize); + +-- +1.7.1 + diff --git a/mail-client/evolution/files/evolution-2.28.3.1-allow-setting-alarms_2.patch b/mail-client/evolution/files/evolution-2.28.3.1-allow-setting-alarms_2.patch new file mode 100644 index 000000000000..cdda0dd3d6b4 --- /dev/null +++ b/mail-client/evolution/files/evolution-2.28.3.1-allow-setting-alarms_2.patch @@ -0,0 +1,54 @@ +From ff323fa4ae85fb293e0f419a5364823b90562216 Mon Sep 17 00:00:00 2001 +From: Jim Ramsay <i.am@jimramsay.com> +Date: Tue, 18 May 2010 16:50:20 -0400 +Subject: [PATCH 13/14] Bug 594153 (2/3) - Allow setting alarms on any meeting + +The "view-time-zone" and "view-categories" actions should not have +been grouped with the "individual" action group but rather the "core" +action group, as they should always be available regardless of whether +or not the element being edited is read-only/owned, as they simply +affect visibility of various widgets. + +This fixes a bug introduced in 0597b877c5bf4d21ac4048742ddf6b11e24877ba +where these two actions were accidentally grouped with other actions +that should legitimately be in the "individual" group. +--- + calendar/gui/dialogs/comp-editor.c | 8 ++++---- + 1 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c +index 46e340f..7d27474 100644 +--- a/calendar/gui/dialogs/comp-editor.c ++++ b/calendar/gui/dialogs/comp-editor.c +@@ -1091,7 +1091,7 @@ static GtkActionEntry individual_entries[] = { + G_CALLBACK (action_attach_cb) } + }; + +-static GtkToggleActionEntry personal_toggle_entries[] = { ++static GtkToggleActionEntry core_toggle_entries[] = { + + { "view-categories", + NULL, +@@ -1593,6 +1593,9 @@ comp_editor_init (CompEditor *editor) + gtk_action_group_add_actions ( + action_group, core_entries, + G_N_ELEMENTS (core_entries), editor); ++ gtk_action_group_add_toggle_actions ( ++ action_group, core_toggle_entries, ++ G_N_ELEMENTS (core_toggle_entries), editor); + gtk_ui_manager_insert_action_group ( + priv->ui_manager, action_group, 0); + g_object_unref (action_group); +@@ -1615,9 +1618,6 @@ comp_editor_init (CompEditor *editor) + action_group = gtk_action_group_new ("editable"); + gtk_action_group_set_translation_domain ( + action_group, GETTEXT_PACKAGE); +- gtk_action_group_add_toggle_actions ( +- action_group, personal_toggle_entries, +- G_N_ELEMENTS (personal_toggle_entries), editor); + gtk_ui_manager_insert_action_group ( + priv->ui_manager, action_group, 0); + g_object_unref (action_group); +-- +1.7.1 + diff --git a/mail-client/evolution/files/evolution-2.28.3.1-allow-setting-alarms_3.patch b/mail-client/evolution/files/evolution-2.28.3.1-allow-setting-alarms_3.patch new file mode 100644 index 000000000000..84ab8d0676e8 --- /dev/null +++ b/mail-client/evolution/files/evolution-2.28.3.1-allow-setting-alarms_3.patch @@ -0,0 +1,54 @@ +From 22e540a225da939e9de02912d638402d2353b129 Mon Sep 17 00:00:00 2001 +From: Jim Ramsay <i.am@jimramsay.com> +Date: Wed, 28 Apr 2010 10:46:15 -0400 +Subject: [PATCH 14/14] Bug 594153 (3/3) - Allow setting alarms on any meeting + +By tying the attachment view "editable" action group to comp-editor +"individual" group, these add/remove actions are marked sensitive / +insensitive in sync with the existing "Insert" menu items which are +already in the "individual" group. + +Though not introduced with the other symptoms of this bug +(0597b877c5bf4d21ac4048742ddf6b11e24877ba), the descreptency fixed +here is integrally related. +--- + calendar/gui/dialogs/comp-editor.c | 9 +++++++++ + 1 files changed, 9 insertions(+), 0 deletions(-) + +diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c +index 7d27474..10390e6 100644 +--- a/calendar/gui/dialogs/comp-editor.c ++++ b/calendar/gui/dialogs/comp-editor.c +@@ -36,6 +36,7 @@ + #include <glib/gstdio.h> + #include <gdk/gdkkeysyms.h> + #include <e-util/e-util.h> ++#include <e-util/e-binding.h> + #include <e-util/e-dialog-utils.h> + #include <e-util/e-util-private.h> + #include <e-util/gconf-bridge.h> +@@ -1553,6 +1554,7 @@ comp_editor_init (CompEditor *editor) + GtkTargetList *target_list; + GtkTargetEntry *targets; + GtkActionGroup *action_group; ++ GtkActionGroup *action_group_2; + GtkAction *action; + GtkWidget *container; + GtkWidget *widget; +@@ -1746,6 +1748,13 @@ comp_editor_init (CompEditor *editor) + gtk_window_set_type_hint ( + GTK_WINDOW (editor), GDK_WINDOW_TYPE_HINT_NORMAL); + ++ action_group = comp_editor_get_action_group (editor, "individual"); ++ action_group_2 = e_attachment_view_get_action_group (view, "editable"); ++ ++ e_binding_new ( ++ action_group, "sensitive", ++ action_group_2, "sensitive"); ++ + /* Listen for attachment store changes. */ + + store = e_attachment_view_get_store (view); +-- +1.7.1 + diff --git a/mail-client/evolution/files/evolution-2.28.3.1-attachment-bar-RTL.patch b/mail-client/evolution/files/evolution-2.28.3.1-attachment-bar-RTL.patch new file mode 100644 index 000000000000..23477b285e6c --- /dev/null +++ b/mail-client/evolution/files/evolution-2.28.3.1-attachment-bar-RTL.patch @@ -0,0 +1,34 @@ +From ff2553440bd1f7d76667e71479d50efa1a537e96 Mon Sep 17 00:00:00 2001 +From: Matthew Barnes <mbarnes@redhat.com> +Date: Mon, 29 Mar 2010 11:22:23 -0400 +Subject: [PATCH 05/14] Bug 614049 - Attachment bar causes drawing issues in RTL locales + +--- + widgets/misc/e-attachment-paned.c | 9 +++++++-- + 1 files changed, 7 insertions(+), 2 deletions(-) + +diff --git a/widgets/misc/e-attachment-paned.c b/widgets/misc/e-attachment-paned.c +index 8e25098..aefd9fa 100644 +--- a/widgets/misc/e-attachment-paned.c ++++ b/widgets/misc/e-attachment-paned.c +@@ -614,10 +614,15 @@ attachment_paned_init (EAttachmentPaned *paned) + + /* Request the width to be as large as possible, and let the + * GtkExpander allocate what space there is. This effectively +- * packs the widget to expand. */ ++ * packs the widget to expand. ++ * ++ * XXX This hack causes nasty side-effects in RTL locales, ++ * so check the reading direction before applying it. ++ * See GNOME bug #614049 for details + screenshot. */ + widget = gtk_hbox_new (FALSE, 6); + gtk_size_group_add_widget (size_group, widget); +- gtk_widget_set_size_request (widget, G_MAXINT, -1); ++ if (gtk_widget_get_direction (widget) != GTK_TEXT_DIR_RTL) ++ gtk_widget_set_size_request (widget, G_MAXINT, -1); + gtk_expander_set_label_widget (GTK_EXPANDER (container), widget); + gtk_widget_show (widget); + +-- +1.7.1 + diff --git a/mail-client/evolution/files/evolution-2.28.3.1-unknown-attachment-size.patch b/mail-client/evolution/files/evolution-2.28.3.1-unknown-attachment-size.patch new file mode 100644 index 000000000000..4212afbd0835 --- /dev/null +++ b/mail-client/evolution/files/evolution-2.28.3.1-unknown-attachment-size.patch @@ -0,0 +1,37 @@ +From 02007387a6104aa1d7c7bdc351189cd055a02a58 Mon Sep 17 00:00:00 2001 +From: Matthew Barnes <mbarnes@redhat.com> +Date: Tue, 11 May 2010 13:13:10 -0500 +Subject: [PATCH 11/14] Bug 616640 - Don't display attachment size if it's unknown + +--- + widgets/misc/e-attachment-tree-view.c | 7 +++++-- + 1 files changed, 5 insertions(+), 2 deletions(-) + +diff --git a/widgets/misc/e-attachment-tree-view.c b/widgets/misc/e-attachment-tree-view.c +index 42876e4..5729a68 100644 +--- a/widgets/misc/e-attachment-tree-view.c ++++ b/widgets/misc/e-attachment-tree-view.c +@@ -100,15 +100,18 @@ attachment_tree_view_render_size (GtkTreeViewColumn *column, + GtkTreeModel *model, + GtkTreeIter *iter) + { +- gchar *display_size; ++ gchar *display_size = NULL; + gint column_id; + guint64 size; + + column_id = E_ATTACHMENT_STORE_COLUMN_SIZE; + gtk_tree_model_get (model, iter, column_id, &size, -1); + +- display_size = g_format_size_for_display ((goffset) size); ++ if (size > 0) ++ display_size = g_format_size_for_display ((goffset) size); ++ + g_object_set (renderer, "text", display_size, NULL); ++ + g_free (display_size); + } + +-- +1.7.1 + |