Bug 30448

Summary: Claws Mail LiteHTML plugin requires lib64litehtml0 to display HTML emails, which is not included with Mageia 8
Product: Mageia Reporter: Edward <epp>
Component: RPM PackagesAssignee: Julien Moragny <julien.moragny>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: geiger.david68210, jani.valimaa, marja11
Version: 8   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: claws-mail-3.19.0-1.mga8 CVE:
Status comment:
Attachments: HTML email as displayed by claws-mail with litehtml plugin loaded
HTML email as displayed by thunderbird

Description Edward 2022-05-18 15:45:11 CEST
Description of problem:

For Claws Mail to view HTML e-mails, it requires the use of a plugin installed with the claws-mail-litehtml_viewer-plugin package. This uses the LiteHTML library, which I believe is in the lib64litehtml0 package, but lib64litehtml0 is available for Cauldron, but not Mageia 8. 

As is with only the plugin installed, Claws Mail cannot display HTML emails.


Version-Release number of selected component (if applicable):

3.19.0-1
Comment 1 Marja Van Waes 2022-05-18 21:21:40 CEST
Assigning to our registered claws-mail maintainer, CC'ing our litehtml maintainer (who might still be unavailable).

Maybe litehtml (with lib64litehtml0) can be backported to Mageia 8

Assignee: bugsquad => julien.moragny
CC: (none) => geiger.david68210, marja11
Source RPM: claws-mail-litehtml_viewer-plugin-3.19.0-1.mga8.x86_64 => claws-mail-3.19.0-1.mga8

Comment 2 Jani Välimaa 2022-05-18 21:42:19 CEST
Looks like claws-mail builds its own static copy of bundled litehtml and doesn't use the system one.

I'll patch at least cauldron's claws-mail to use the system lib.

CC: (none) => jani.valimaa

Comment 3 Edward 2022-05-18 23:35:10 CEST
Thank you for the replies. 

I've used claws-mail in the past with other distributions and I recall a litehtml package of some kind in those other distributions, was installed at the same time as the plugin. I'm guessing lib64litehtml0 is Mageia's version of the same package.

But I don't otherwise know if claws-mail uses its own bundled litehtml, because I don't know what other files are in the main claws-mail package.
Comment 4 Edward 2022-05-18 23:47:52 CEST
I just looked at the same package plugin for Ubuntu and the only dependency they show that has HTML in the description is libgumbo1, in which Mageia's package is lib64gumbo1. Gentoo also lists gumbo relating to litehtml.

I will check to see if this package is installed, if not, I will install and test it with an HTML e-mail.
Comment 5 Edward 2022-05-18 23:56:47 CEST
lib64gumbo1 was already installed, so *if* this is what it should be using, instead of litehtml, it's not working correctly.

I'm attaching screenshots of the same HTML as displayed by both claws-mail and thunderbird.
Comment 6 Edward 2022-05-18 23:58:36 CEST
Created attachment 13253 [details]
HTML email as displayed by claws-mail with litehtml plugin loaded

Sample of HTML email as displayed by Claws Mail with the Lite HTML plugin loaded.
Comment 7 Edward 2022-05-18 23:59:44 CEST
Created attachment 13254 [details]
HTML email as displayed by thunderbird

The same portion of the same HTML email as displayed by thunderbird.
Comment 8 Edward 2022-05-19 01:05:34 CEST
I am looking at other HTML emails that I received, with the Lite HTML plugin loaded and those emails look fine. So perhaps the issue might be with that one particular email I looked at, maybe not formatted correctly.

So perhaps it doesn't need the litehtml library now, just lib64gumbo? Thoughts?
Comment 9 Edward 2022-05-19 01:07:52 CEST
Apparently, it was that one email, many others I looked at, displayed perfectly. 

I am going to close this bug as invalid. My apologies.

Resolution: (none) => INVALID
Status: NEW => RESOLVED

Comment 10 Edward 2022-05-19 23:46:58 CEST
To update, I installed Claws Mail on my other Mageia install today and once the Claws Mail Lite HTML plugin package was selected, it added lib64gumbo1 as a dependency and it's working fine. 

Apparently, since I last used Claws, it no longer uses lib64litehtml0.