Bug 275236 - mail/claws-mail: upgrade to 3.20.0 and 4.2.0
Summary: mail/claws-mail: upgrade to 3.20.0 and 4.2.0
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-21 15:36 UTC by bsd
Modified: 2024-03-11 00:35 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (portmaster)


Attachments
update mail/claws-mail and associate plugins to new versions (3.20.0 and 4.2.0) (5.10 KB, patch)
2023-11-21 15:36 UTC, bsd
no flags Details | Diff
patch against mail/claws-mail and plugins (3.95 KB, patch)
2024-03-11 00:34 UTC, Chris Hutchinson
portmaster: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description bsd 2023-11-21 15:36:53 UTC
Created attachment 246467 [details]
update mail/claws-mail and associate plugins to new versions (3.20.0 and 4.2.0)

20th November 2023                          Claws Mail 4.2.0 / 3.20.0

		    CLAWS MAIL  RELEASE NOTES
                    http://www.claws-mail.org

Claws Mail is a GTK+ based, user-friendly, lightweight, and fast 
email client.

New in this release:
~~~~~~~~~~~~~~~~~~~~

* An easy way to open any folder on start-up has been added:
  Right-click a folder and choose 'Open on start-up'.
  This can also be configured on the 'Folder list' tab of the
  /Configuration/Preferences/Display/Summaries page.

* Spam statistics have been added to the session statistics.

* It is now possible to save message attachments only, without the
  other message parts.

* QuickSearch: support for a "v H V" search expression has been added
  and the 'y S' expression has been removed ('v X-Label S' can be
  used instead).

* font/* and chemical/* MIME types are now recognised.

* The image viewer now works correctly when not auto-loading images.

* Icon Themes: it is no longer possible to install or remove system
  themes.

* IMAP: Support for SCRAM-SHA-{224,256,384,512} authentication
  mechanisms has been added.

* IMAP: The statusbar now shows that expunge is happening.

* The GData plugin has been removed.

* The Fancy plugin no longer requires libsoup or libsoup-gnome.

* The LiteHTML Viewer plugin has been synchronised with litehtml 0.7.

* The LiteHTML viewer plugin will now only be built automatically if
  libgumbo 0.12 or newer is available. Building with libgumbo 0.10
  must be explicitly requested using --enable-litehtml_viewer-plugin.

* For extra debug output use --enable-more-addressbook-debug and
  --enable-more-ldap-debug.

* Added translation: Portuguese  

* Updated translations: Brazilian Portuguese, Catalan, Czech, French,
  Polish, Russian, Slovak, Spanish, Swedish, Traditional Chinese,
  Turkish.

* bug fixes:
	* bug 4491, 'address autocompletion list does not expand in
		     height with the number of matches'
	* bug 4618, 'Rate limit by remote breaks queued/marked
		     actions (Delete/Move)'
	* bug 4631, 'Embedding external editor crashes Claws-Mail on
		     Wayland'
	* bug 4637, 'Segmentation fault when using SUMMARY is empty'
	* bug 4645, 'fails to check for perl-ExtUtils::Embed'
	* bug 4648, 'fails to build with gcc 13'
	* bug 4658, 'Headers unfolded incorrectly in message view'
	* bug 4664, 'OAUTH2 overwrites passwords even for plaintext
		     logins'
	* bug 4666, 'fancy plugin doesn't build with
		     libwebkit2gtk-4.1'
	* bug 4670, 'To/CC incorrectly escaped with a trailing
		     backslash'
	* bug 4679, 'The correct date header is interpreted
		     incorrectly to display strange date.'
	* bug 4693, 'Hang and crash when enable disable SVG Rendering
		     prefs'
	* when starting with msgview hidden, toggling msgview to show
	  it would use incorrect height
	* update quicksearch history list when changing type 
	* wrong message which is shown when mail can't be sent
	* when redirecting, disable queueing
	* arbitrary paste restriction
	* when queueing or drafting a msg with an attachment which no
	  longer exists, use the correct label on the button of the
	  warning dialogue
	* using a custom header in found_in_addressbook match
	  expressions
	* URIs may contain the '$' dollar sign
	* OAuth2, Update on-disk tokens as well when in-memory tokens
	  are updated
	* Microsoft POP3 OAuth2 protocol
Comment 1 bsd 2023-11-21 15:45:17 UTC
This patch does version update with some fixes:

- integrates patch from PR 274190, as it does no harm here and potencially addresses the issue with LDAP option

- re-adds Fancy plugin for GTK3 build, it was removed when this plugin could no longer been used with GTK2 build

- marks GData and LiteHTML Viewer plugins as broken (expecting issues bloking the build to be resolved sometime soon)

- makes plugins meta port handle broken plugins graciously, removing them from list of plugins to build

Both GTK2 and GTK3 builds was tested locally, main port and all plugins, with some run time testing as well - neither build nor run time problems detected.
Comment 2 bsd 2023-11-24 20:36:29 UTC
Full builds and run tests were done on both FreeBSD 13 and 14.
Comment 3 bsd 2023-11-25 20:41:16 UTC
With updated devel/gumbo as offered in Bug 275327, mail/claws-mail-litehtml_viewer build and runs again, so when processed, it would be no longer broken and patches to plugin's Makefile could be omitted.
Comment 4 bsd 2024-01-10 12:06:30 UTC
As PR 275327 is submitted, I am going to send new patch reflecting this.
Comment 5 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2024-01-10 12:10:49 UTC
Please switch to GTK3 as the default.
Comment 6 Chris Hutchinson 2024-03-02 19:46:37 UTC
Now that bug #275327 has been addressed. I'll give your patch
some serious testing and see if I can manage gtk(2|3) options
as well.

Thanks!

--Chris
Comment 7 bsd 2024-03-08 22:46:26 UTC
(In reply to Chris Hutchinson from comment #6)
Anything special you like to test? I just did full build for both GTK2 and GTK3 versions, everything built in clear fresh FreeBSD 14-STABLE jails. I just need to create new patch matching current git repository...
Comment 8 Chris Hutchinson 2024-03-10 08:45:09 UTC
(In reply to bsd from comment #7)
I can concur. I had the same results. If you feel like
updating the patch. I'll approve it.

Thanks!

--Chris
Comment 9 Chris Hutchinson 2024-03-11 00:34:18 UTC
Created attachment 249082 [details]
patch against mail/claws-mail and plugins

OK. I made time to do this today.
Tested against releng/13,14 and CURRENT.
This is a slightly revised patch from the original submitted
and it's against a ports tree pulled down this afternoon.

This is ready for commit.

Thanks!

--Chris
Comment 10 Chris Hutchinson 2024-03-11 00:35:49 UTC
Comment on attachment 246467 [details]
update mail/claws-mail and associate plugins to new versions (3.20.0 and 4.2.0)

Please use the one I submitted.

Thanks for all your time and effort!