Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20839 - mime-types for sending attachments don't work in Sylpheed-claws.
Summary: mime-types for sending attachments don't work in Sylpheed-claws.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal major
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-12 08:01 UTC by aardvark
Modified: 2003-05-21 11:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aardvark 2003-05-12 08:01:36 UTC
With Sylpheed-claws 0.8.11, attaching something to a mail you compose always gives 
it the mime-type "application/octet-stream" . It should use a file "mime.types" in /etc to 
assign mime types, but that does not work out of the box. The ebuild uses a patch to  
get sylpheed to use the "shared mime info" database , but this does apparently also 
not work properly. 
 
A fix would be  to disable the patch and use mime-types as a dependency.  
"emerge mime-type"  will put the "mime.types"  file in /etc. Sylpheed-claws will use it 
when the patch is not applied, hence giving proper mime type functionality.  
 
This report is based on my own tests and experiences on 2 different fresh installations.
Comment 1 Luca Barbato gentoo-dev 2003-05-13 12:56:30 UTC
Strange if I remove the patch I got the same behaviour.

The patch itself just add the /usr/share/mime/globs to the file sylph looks into.

seems that the issue exists but is completely unrelated to the patch
Comment 2 aardvark 2003-05-13 14:10:05 UTC
I removed the line in the ebuild where the patch is applied 
emerged mime-types 
emerged sylpheed-claws 
 
and it works fine now. 
 
(BTW the normal sylpheed works properly with a patch applied.) 
Comment 3 Luca Barbato gentoo-dev 2003-05-15 12:02:08 UTC
Does it happen on every -claws version
Comment 4 Luca Barbato gentoo-dev 2003-05-15 18:28:45 UTC
reemerge please, now it works as should
Comment 5 aardvark 2003-05-20 18:08:54 UTC
Sorry... 
 
just did: 
 
emerge sync 
emerge sylpheed-claws 
 
Mimetypes are still broken. 
I'll rip out the patch line again to get it working 
Comment 6 Luca Barbato gentoo-dev 2003-05-20 18:26:40 UTC
maybe you rsync from slow syncing mirror, please rsync again


and please check that the patch has the following line::

+               while (*p && (isspace(*p)||(*p=='*')||(*p=='.'))) p++;
Comment 7 aardvark 2003-05-21 11:18:44 UTC
I am glad to inform you that it now DOES work!! 
 
Hurray to bugfixing! 
 
 
Comment 8 Luca Barbato gentoo-dev 2003-05-21 11:30:51 UTC
ok, closing it then