Bug#551972:

2009-11-03 Thread Andrew SB
tags 551972 patch
thanks

Upstream provides a patch for this issue:

http://gnome.eu.org/patches/evolution-rss-0.1.4-recv-feeds.patch

We have applied this in Ubuntu. This patch also includes two other
patches proved by upstream as well:

   - 01_folder-rename.patch: patch from upstream. Allows to rename
 folders.
   - 02_folder-properties.patch: patch from upstream. Fixes a crasher.
   - 03_recv-feeds.patch: Retrieve feeds for evolution = 2.28 (LP: #460462)


--- evolution-rss-0.1.4.orig/debian/patches/01_folder-rename.patch
+++ evolution-rss-0.1.4/debian/patches/01_folder-rename.patch
@@ -0,0 +1,18 @@
+--- src/rss.c.orig 2009-09-23 22:02:02.510080391 +0200
 src/rss.c  2009-09-23 22:04:10.425583965 +0200
+@@ -3659,8 +3659,13 @@
+   nname = g_strdup(new_name);
+   gchar *orig_name = g_hash_table_lookup(rf-feed_folders, oname);
+   if (!orig_name) {
+-  if (valid_folder)
+-  return 0;
++  if (valid_folder) {
++  gchar *ofolder = lookup_original_folder(old_name);
++  if (!ofolder)
++  return 0;
++  else if (!lookup_key(ofolder))
++  return 0;
++  }
+   g_hash_table_replace(rf-feed_folders, g_strdup(nname), 
g_strdup(oname));
+   } else {
+   g_hash_table_replace(rf-feed_folders, g_strdup(nname),
g_strdup(orig_name));
only in patch2:
unchanged:
--- evolution-rss-0.1.4.orig/debian/patches/03_recv-feeds.patch
+++ evolution-rss-0.1.4/debian/patches/03_recv-feeds.patch
@@ -0,0 +1,25 @@
+diff -Nur -x '*.orig' -x '*~' evolution-rss-0.1.4/src/rss.c
evolution-rss-0.1.4.new/src/rss.c
+--- evolution-rss-0.1.4/src/rss.c  2009-10-26 14:44:02.229652800 -0400
 evolution-rss-0.1.4.new/src/rss.c  2009-10-26 14:44:04.940649506 -0400
+@@ -2812,7 +2812,11 @@
+ GMutex *lock;
+
+ /* states/data used during shutdown */
+-enum { MC_QUIT_START, MC_QUIT_SYNC, MC_QUIT_THREADS } quit_state;
++#if EVOLUTION_VERSION = 22800
++  enum { MC_QUIT_NOT_START, MC_QUIT_START, MC_QUIT_SYNC,
MC_QUIT_THREADS } quit_state;
++#else
++  enum { MC_QUIT_START, MC_QUIT_SYNC, MC_QUIT_THREADS } quit_state;
++#endif
+ };
+
+ void
+@@ -2829,7 +2833,7 @@
+   deleted = 1;
+
+   MailComponent *mc = mail_component_peek ();
+-if (mc-priv-quit_state != -1)
++if (mc-priv-quit_state != MC_QUIT_NOT_START)
+   rf-cancel_all=1;
+
+   d(g_print(taskbar_op_finish() queue:%d\n, rf-feed_queue));
only in patch2:
unchanged:
--- evolution-rss-0.1.4.orig/debian/patches/02_folder-properties.patch
+++ evolution-rss-0.1.4/debian/patches/02_folder-properties.patch
@@ -0,0 +1,20 @@
+diff -urN evolution-rss-0.1.4.orig/src/rss-config-factory.c
evolution-rss-0.1.4/src/rss-config-factory.c
+--- evolution-rss-0.1.4.orig/src/rss-config-factory.c  2009-08-26
09:24:36.0 +0100
 evolution-rss-0.1.4/src/rss-config-factory.c   2009-09-15
23:27:13.787560110 +0100
+@@ -2192,7 +2192,15 @@
+   add_feed *feed = (add_feed *)g_object_get_data((GObject *)epl, 
add-feed);
+   gchar *url = (gchar *)g_object_get_data((GObject *)epl, url);
+   gchar *ofolder = (gchar *)g_object_get_data((GObject *)epl, ofolder);
++
++  EMConfigTargetFolder *targetfolder = (EMConfigTargetFolder
*)target-config-target;
++  gchar *main_folder = lookup_main_folder();
++  gchar *folder = targetfolder-folder-full_name;
+   
++  if (folder == NULL
++  || g_ascii_strncasecmp(folder, main_folder, strlen(main_folder))
++  || !g_ascii_strcasecmp(folder, main_folder))
++return;
+
+   GtkWidget *entry1 = (GtkWidget *)glade_xml_get_widget (feed-gui,
url_entry);
+ GtkWidget *checkbutton1 = (GtkWidget *)glade_xml_get_widget
(feed-gui, html_check);
+



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#551972: Does not update any of the rss feeds

2009-10-22 Thread Adnan Hodzic
Package: evolution-rss
Version: 0.1.4-4
Justification: renders package unusable
Severity: grave

This plugin was working just fine until recent upgrade and transition to
Gnome 2.28.

Rss feeds do not get updated, they'll only update right after they are
added. Setting that they get updated on start-up won't work either, and
in selected feed options I had/have Use Global Update Interval and it
all used to work.


Adnan


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (200, 'testing'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages evolution-rss depends on:
ii  evolution  2.28.1-1  groupware suite with mail
client a
di  gconf2 2.28.0-1  GNOME configuration
database syste
di  libatk1.0-01.28.0-1  The ATK accessibility
toolkit
di  libc6  2.10.1-1  GNU C Library: Shared
libraries
di  libcairo2  1.8.8-2   The Cairo 2D vector
graphics libra
di  libdbus-1-31.2.16-2  simple interprocess
messaging syst
di  libdbus-glib-1-2   0.82-2simple interprocess
messaging syst
di  libenchant1c2a 1.4.2-3.3 a wrapper library for
various spel
di  libfontconfig1 2.6.0-4   generic font configuration
library
di  libfreetype6   2.3.11-1  FreeType 2 font engine,
shared lib
di  libgcc11:4.4.2-1 GCC support library
di  libgconf2-42.28.0-1  GNOME configuration
database syste
di  libglib2.0-0   2.22.2-2  The GLib library of C
routines
di  libgtk2.0-02.18.3-1  The GTK+ graphical user
interface 
di  libgtkhtml-editor0 3.28.1-1  HTML rendering/editing
library - e
di  libgtkhtml3.14-19  3.28.1-1  HTML rendering/editing
library - r
di  libpango1.0-0  1.26.0-1  Layout and rendering of
internatio
ii  libsoup-gnome2.4-1 2.28.1-1  an HTTP library
implementation in 
ii  libsoup2.4-1   2.28.1-1  an HTTP library
implementation in 
di  libstdc++6 4.4.2-1   The GNU Standard C++
Library v3
di  libwebkit-1.0-21.1.15.2-1Web content engine library
for Gtk
di  zlib1g 1:1.2.3.3.dfsg-15 compression library -
runtime

evolution-rss recommends no packages.

evolution-rss suggests no packages.

-- no debconf information



signature.asc
Description: This is a digitally signed message part