Updated liblitehtml port for possible Mail app integration

I was wondering if the LiteHTMLView can be used also by Claws mail ?

I’ve recently succeed in receiving / sending email from this application that’s why I’m investigating this approach :slight_smile:

I can see the below preferences in the app (which is not working today if I’m not wrong) :

2 Likes

It’s been a while since I stopped using Claws but IIRC it used to work well enough. You need to locate the plugin shipped with the package and load it from the plugin section down below the preferences list.

Which plugin are you referring to ?

On the official website, I can see a LiteHtml plugin but it’s not available on the Haiku version of claws-mail (Claws Mail - Plugins)

Correct, it seems it’s not built by default. Perhaps, I managed to compile it by tweaking the build process a bit from HaikuPorts.
I dug into my old Haiku installation and here you go:
https://0x0.st/8MEL.so.zip

Working fine in the display of HTML emails:)

But litehtml is today not available via HaikuPorts.

I’m interested to propose a Haiku Ports version of LiteHtml :slight_smile:

2 Likes

Once the library is available on the Depot we could enable this plugin and ship it with the application then.

2 Likes

Ok at that time when you tweak the claws build, did you use the standard litehtml sources or did you make some changes ?

I would like to understand if proposing the standard litehtml in haiku ports without any changes would make sense first :slight_smile:

I noticed your changes in the Haiku containers is using version of litehtml greater than 0.9 (0.9 is the latest version available after that there’s no release versionning).

Is it intended ?

I’m currently working on a haikuports package for litehtml 0.9. Package build is in progress and my next step would be to patch the 2 files for the haiku containers , but it would mean to be compatible with version 0.9.

Any advice is welcome on that, I think it should be close to have a package available, and why not after that a package for the litebrowser :slight_smile:
(PR link : Litehtml : tentative to port by DigitalBox98 · Pull Request #11874 · haikuports/haikuports · GitHub)

First litebrowser using the litehtml 0.9 lib :slight_smile:

The container implementation of litehtml must be outside of the library.

@grexe
I’ve adjusted your container to use litehtml 0.9 and it makes the display of Haiku Insider’s articles possible :

8 Likes

yes the library uses a little strange layout and I want to fix that for the includes, but cannot change the project structure as it is used for various systems and all containers use that layout.
It’s simply a matter of adjusting one line though;-)

The litebrowser is not a real browser but just meant as a testbed and this is exactly what I used while working on the updated Haiku port…
Great to know it works for you though, now let’s get that lib more stable and then I’ll work on more Haiku Mail integration. Works OK for some test cases but still has many issues.

1 Like

No the current litehtml lib at haikuport doesn’t contain any of your code with the container (there’s no container in the standard litehtml lib)

That will be the remaining part.

I’m currently investigating others non-haiku approachs to have the plugins for claws-mail working (ie linux container) :slight_smile:

2 Likes

Ok with the linux container version, I’ve been able to compile the plugin for claws mail.

Next step : adjust the current recipe on HaikuPorts :slight_smile:

Update will come soon :

8 Likes