[need-packaging] Evolution Remove Attachments Plugin

Bug #268677 reported by Rex Tsai
56
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Evolution
Fix Released
Wishlist
Debian
Fix Released
Unknown
Nominated for Experimental by Alain Forcioli
Ubuntu
Fix Released
Wishlist
Rex Tsai
Nominated for Hardy by Benedikt Wegmann
Nominated for Jaunty by Benedikt Wegmann
Nominated for Karmic by Benedikt Wegmann
Nominated for Lucid by Benedikt Wegmann
Nominated for Maverick by Benedikt Wegmann

Bug Description

Hi,

  This plugin is a small but useful function for evolution, and always leaking in the evolution. Please put this software into Ubuntu.

  The url of this software is at http://people.debian.org.tw/~chihchun/tag/evolution/ and the package is already in my PPA. https://launchpad.net/~chihchun/+archive

(BTW, I wrote the software and it's licensed under GPL)
-Rex

Revision history for this message
Ian Weisser (ian-weisser) wrote :

Debian bug #498483
Package in progress: evolution-remove-attachments
Status: Looking for maintainer.

Package for this software appears to be in process in Debian already. Ubuntu has semi-automatic tools to sync new packages from Debian so it will most likely appear in a future Ubuntu release.

Changing to Confirmed/Wishlist.
If Debian completes packaging, this bug should be marked invalid.

Revision history for this message
Benedikt Wegmann (benny-wegmann) wrote :

Hello,

I tried to build your plugin under Jaunty but failed. Would you mind packaging it for your PPA?
Thanks!

Revision history for this message
Kip Warner (kip) wrote :

He just needs to patch this to use the 2.26 evolution path instead of 2.22
debian/evolution-remove-attachments.install

He also needs to patch debian/control to update it's dependencies and conflicts for 2.26.

After doing this, the package builds, installs, runs, and works fine with 2.26.1 under Jaunty.

Kip

Revision history for this message
nomnex (nomnex) wrote :

any chance someone build a .deb of this package for Ubuntu Linux (evolution 2.28 Ubuntu Karmic, at the time of this message)

the author says he does not have time to finish it (comment #21 [1])

[1] http://people.debian.org.tw/~chihchun/2008/05/23/remove-attachments-evolution-plugin-002/

Revision history for this message
nomnex (nomnex) wrote :

I wake up this old topic after an emails exchange on the Evolution mailing list about this topic.

For the new comers reaching this thread looking for a remove attachment plug-in on Evo, feel free to post here: https://bugzilla.gnome.org/show_bug.cgi?id=534453

Revision history for this message
Kip Warner (kip) wrote :

I agree.

Revision history for this message
Michele (mikelito) wrote :

Another bump for this wishlist bug. The package in the PPA does not install on karmic, and most likely won't in Lucid either.
This is such a small and useful feat that I can't really understand the resistance in having it included in evolution by default.

Changed in evolution:
importance: Unknown → Wishlist
status: Unknown → New
Revision history for this message
Rex Tsai (chihchun) wrote :

Hi, The plugin has been rewrote for Evolution 2.30, which will be used in maverick. I have ported and uploaded the package for maverick to my PPA https://launchpad.net/~chihchun/+archive/ppa/+packages

The Evolution APIs are changed after 2.30, so don't try to backport 0.0.4 to lucid or karmic. If you are still using lucid or karmic, please try 0.0.3.

Changed in evolution:
status: New → Fix Released
Revision history for this message
Kip Warner (kip) wrote :

Hey Rex. I've added your ppa and installed the package. I'm running Evolution 2.30.3 under Maverick.

In the Plugin Manager dialog, your plugin is listed as "org.gnome.plugin.attachments.remove". I'm assuming that that is not suppose to be displayed as the plugin's friendly name.

The plugin worked with one email, but not with another. The output on the console was the following:
(evolution:13238): camel-WARNING **: camel_exception_get_id called with NULL parameter.

So I'm guessing the package is broken for current Maverick Evolution.

Revision history for this message
Rex Tsai (chihchun) wrote :

Hi, Kip

I have tested the plugin under Maverick. Yes, but plugin name is not listed correctly. But the function works fine with local mbox and imap mail boxes. What type of mail account you are using?

Revision history for this message
Kip Warner (kip) wrote :

Hmm, strange. I am using it over an imapx account. As far as I know, my server doesn't provide any IMAP extensions though.

Revision history for this message
Michele (mikelito) wrote :

Unfortunately this breaks under Natty. Not only the maverick package installs the plugin in the 2.30 directory - which is rapidly fixed - but it raises a fatal exception

evolution-plugin-lib-WARNING **: can't load plugin '/usr/lib/evolution/2.32/plugins/liborg-gnome-evolution-remove-attachments.so': /usr/lib/evolution/2.32/plugins/liborg-gnome-evolution-remove-attachments.so: undefined symbol: camel_medium_get_content_object

Rex - will you release a version for Natty? It seems from upstream that this is the last version for which the plugin will be needed, as they finally decided to include it in main....

Thanks!

Revision history for this message
Rex Tsai (chihchun) wrote :

Hi, my patch has been integrated[1] into 2.91.2+ evolution, the function should be available for you without my plugin.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=534453

Revision history for this message
Andre (ajx) wrote :

Good to hear. So it will ship with Oneiric be default?

Revision history for this message
Rex Tsai (chihchun) wrote :

I am using evolution 3.0.0 with the function which is same as oneiric. It should be shipped with maverick/natty[1] already.

[1] http://packages.ubuntu.com/search?keywords=evolution

Revision history for this message
Michele (mikelito) wrote :

Unfortunately, it seems that the natty version (2.32.2) does not contain the remove attachments function
https://bugzilla.gnome.org/show_bug.cgi?id=534453#c19

I guess I will wait for oneiric, then.
Thanks anyway for having provided the plugin for all this time, it has been incredibly useful.

Rex Tsai (chihchun)
Changed in ubuntu:
status: Confirmed → Fix Released
assignee: nobody → Rex Tsai (chihchun)
Changed in debian:
status: New → Fix Released
Revision history for this message
Kip Warner (kip) wrote :

I'm just curious, but should this bug be actually marked as Fix Released? Does Rex's plugin still work with Evolution 3.x series API?

Revision history for this message
Rex Tsai (chihchun) wrote :

Hi,

1. My plugin does not work with 3.x series API.
2. Evolution has the feature builtin. (confirmed in 12.04 Preicse)

Revision history for this message
Kip Warner (kip) wrote :

I see a Remove Attachments menu item under the Messages menu. I am using Evolution 3.2.3. The problem is that it is greyed out.

Revision history for this message
Rex Tsai (chihchun) wrote :

What's the mailbox type you are trying to use remove attachment function?

Revision history for this message
Kip Warner (kip) wrote :

IMAP+.

Revision history for this message
Rex Tsai (chihchun) wrote :

I use IMAP+ and 3.2.3 as well, the funciton works fine. The menu item only shows up when messages with attachment is selected.

Please use `apport-bug evolution' to report a new bug, and please submit the screenshot of 'greyed out' menu list.

Revision history for this message
Kip Warner (kip) wrote :

Hey Rex. You're right, it does work. It starts off gray, but if you shift the selection in the mail view to another email and then back again, it is ungreyed.

Revision history for this message
Kip Warner (kip) wrote :

Rex, something I've noticed is that the Remove Attachments menu item is disabled on some emails, even if they have attachments. It seems to only work with emails that had their attachments encoded / attached a certain way. Emails that I sent through Evolution do not permit the feature, whereas ones I've received from people using web based Yahoo accounts work fine.

Revision history for this message
Rex Tsai (chihchun) wrote :

I suggest you to submit a new bug to Evolution, and exported the mail you think it should work.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.