git: d096cf4d2415 - main - net/liferea: Update to 1.14.3

From: Christoph Moench-Tegeder <cmt_at_FreeBSD.org>
Date: Thu, 30 Mar 2023 20:14:58 UTC
The branch main has been updated by cmt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d096cf4d24150bc2a2510578fdfc37bc1eb63481

commit d096cf4d24150bc2a2510578fdfc37bc1eb63481
Author:     Fabian Keil <fk@fabiankeil.de>
AuthorDate: 2021-11-04 08:58:27 +0000
Commit:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
CommitDate: 2023-03-30 20:13:48 +0000

    net/liferea: Update to 1.14.3
    
    While at it, reorder Makefile variables to appease portclippy.
    Add patch from upstream fixing crash in 1.14.3.
    
    Relevant ChangeLogs include:
    https://lzone.de/liferea/blog/Liferea-1.13.6-Released
    https://lzone.de/liferea/blog/Liferea-1.13.7-Released
    https://lzone.de/liferea/blog/Liferea-1.13.8-Released
    https://github.com/lwindolf/liferea/releases/tag/v1.14.0
    https://github.com/lwindolf/liferea/releases/tag/v1.14.1
    https://github.com/lwindolf/liferea/releases/tag/v1.14.2
    https://github.com/lwindolf/liferea/releases/tag/v1.14.3
---
 net/liferea/Makefile                 | 18 ++++----
 net/liferea/distinfo                 |  6 +--
 net/liferea/files/patch-src-common.c | 32 ++++++++++++++
 net/liferea/pkg-plist                | 84 +++++++++++++++++++++++-------------
 4 files changed, 100 insertions(+), 40 deletions(-)

diff --git a/net/liferea/Makefile b/net/liferea/Makefile
index e1f7af229400..01d17ab84635 100644
--- a/net/liferea/Makefile
+++ b/net/liferea/Makefile
@@ -1,8 +1,7 @@
 PORTNAME=	liferea
-DISTVERSION=	1.12.7
-PORTREVISION=	3
+DISTVERSION=	1.14.3
 CATEGORIES=	net gnome
-MASTER_SITES=	https://github.com/lwindolf/liferea/releases/download/v${PORTVERSION:S/.r/-rc/}/
+MASTER_SITES=	https://github.com/lwindolf/liferea/releases/download/v${DISTVERSION}/
 
 MAINTAINER=	kwm@FreeBSD.org
 COMMENT=	Simple RSS/RDF feed reader
@@ -11,7 +10,9 @@ WWW=		https://lzone.de/liferea/
 LICENSE=	GPLv2
 
 BUILD_DEPENDS=	gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas
-LIB_DEPENDS=	libsoup-2.4.so:devel/libsoup \
+LIB_DEPENDS=	libfribidi.so:converters/fribidi \
+		libharfbuzz.so:print/harfbuzz \
+		libsoup-2.4.so:devel/libsoup \
 		libwebkit2gtk-4.0.so:www/webkit2-gtk3 \
 		libpeas-1.0.so:devel/libpeas \
 		libjson-glib-1.0.so:devel/json-glib
@@ -21,18 +22,19 @@ RUN_DEPENDS=	gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \
 USES=		compiler:c++11-lang cpe desktop-file-utils gettext \
 		gmake gnome libtool localbase \
 		pathfix pkgconfig python:3.4+ sqlite tar:bzip2
-USE_GNOME=	cairo dconf:run gtk30 intltool introspection \
+USE_GNOME=	cairo dconf:run gtk30 gdkpixbuf2 intltool introspection \
 		libxslt libxml2
 
+GLIB_SCHEMAS=	net.sf.liferea.gschema.xml
+
 GNU_CONFIGURE=	yes
-INSTALL_TARGET=	install-strip
 CONFIGURE_ARGS=	--enable-introspection
 
 # Introspection starts the program, but it may hang or crash-abort
 # without an X server because the Webkit compositor tries to initialize
 # a graphics backend
-MAKE_ENV+= WEBKIT_DISABLE_COMPOSITING_MODE=1
+MAKE_ENV+=	WEBKIT_DISABLE_COMPOSITING_MODE=1
 
-GLIB_SCHEMAS=	net.sf.liferea.gschema.xml
+INSTALL_TARGET=	install-strip
 
 .include <bsd.port.mk>
diff --git a/net/liferea/distinfo b/net/liferea/distinfo
index a359c1d62bad..8f84e1c78279 100644
--- a/net/liferea/distinfo
+++ b/net/liferea/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1565953158
-SHA256 (liferea-1.12.7.tar.bz2) = ff13875a8ef030e6697fb8550ba5f8aaa5f7968408f3cb94a03e86850586fe7d
-SIZE (liferea-1.12.7.tar.bz2) = 1495627
+TIMESTAMP = 1680207196
+SHA256 (liferea-1.14.3.tar.bz2) = 566132197ade3dd9d1cd195d48e39f881e79281bbbc3dc7863dbc0f20b9fa2de
+SIZE (liferea-1.14.3.tar.bz2) = 1748356
diff --git a/net/liferea/files/patch-src-common.c b/net/liferea/files/patch-src-common.c
new file mode 100644
index 000000000000..f811e2ef415f
--- /dev/null
+++ b/net/liferea/files/patch-src-common.c
@@ -0,0 +1,32 @@
+From 91241bb0f0abb00ac82c31ebe07e98808a7f86c3 Mon Sep 17 00:00:00 2001
+From: Lars Windolf <lars.windolf@gmx.de>
+Date: Wed, 29 Mar 2023 23:21:57 +0200
+Subject: [PATCH] Fixes #1217: Endless recursion in 1.14.3 (reported by
+ uduecoder)
+
+---
+ src/common.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/common.c b/src/common.c
+index dddc8b09f..b0fa55369 100644
+--- a/src/common.c
++++ b/src/common.c
+@@ -85,6 +85,8 @@ common_init_paths (void)
+ 	common_check_dir (g_build_filename (g_get_user_config_dir(), "liferea", NULL));
+ 	common_check_dir (g_build_filename (g_get_user_data_dir(), "liferea", NULL));
+ 
++	pathsChecked = TRUE;
++
+ 	/* Install default stylesheet if it does not yet exist */
+ 	filename = common_create_config_filename ("liferea.css");
+ 	if (!g_file_test (filename, G_FILE_TEST_EXISTS))
+@@ -95,8 +97,6 @@ common_init_paths (void)
+ 	umask (077);
+ 
+ 	g_free (lifereaCachePath);
+-
+-	pathsChecked = TRUE;
+ }
+ 
+ gchar *
diff --git a/net/liferea/pkg-plist b/net/liferea/pkg-plist
index 45b5e190b175..fac4df3664e6 100644
--- a/net/liferea/pkg-plist
+++ b/net/liferea/pkg-plist
@@ -1,8 +1,13 @@
 bin/liferea
 bin/liferea-add-feed
 lib/liferea/girepository-1.0/Liferea-3.0.typelib
+lib/liferea/plugins/add-bookmark-site.plugin
+lib/liferea/plugins/add-bookmark-site.py
+lib/liferea/plugins/add-bookmark-site.ui
 lib/liferea/plugins/bold-unread.plugin
 lib/liferea/plugins/bold-unread.py
+lib/liferea/plugins/getfocus.plugin
+lib/liferea/plugins/getfocus.py
 lib/liferea/plugins/gnome-keyring.plugin
 lib/liferea/plugins/gnome-keyring.py
 lib/liferea/plugins/headerbar.plugin
@@ -11,6 +16,8 @@ lib/liferea/plugins/libnotify.plugin
 lib/liferea/plugins/libnotify.py
 lib/liferea/plugins/media-player.plugin
 lib/liferea/plugins/media-player.py
+lib/liferea/plugins/pane.plugin
+lib/liferea/plugins/pane.py
 lib/liferea/plugins/plugin-installer.plugin
 lib/liferea/plugins/plugin-installer.py
 lib/liferea/plugins/trayicon.plugin
@@ -18,35 +25,39 @@ lib/liferea/plugins/trayicon.py
 lib/liferea/web-extension/liblifereawebextension.a
 lib/liferea/web-extension/liblifereawebextension.so
 man/man1/liferea.1.gz
-man/pl/man1/liferea.1.gz
-share/GConf/gsettings/liferea.convert
-share/appdata/liferea.appdata.xml
+man/it/man1/liferea.1.gz
 share/applications/net.sourceforge.liferea.desktop
 share/dbus-1/services/net.sourceforge.liferea.service
-share/icons/hicolor/16x16/apps/liferea.png
-share/icons/hicolor/22x22/apps/liferea.png
-share/icons/hicolor/24x24/apps/liferea.png
-share/icons/hicolor/32x32/apps/liferea.png
-share/icons/hicolor/48x48/apps/liferea.png
-share/icons/hicolor/scalable/apps/liferea-symbolic.svg
-share/icons/hicolor/scalable/apps/liferea.svg
+share/GConf/gsettings/liferea.convert
+share/icons/hicolor/16x16/apps/net.sourceforge.liferea.png
+share/icons/hicolor/22x22/apps/net.sourceforge.liferea.png
+share/icons/hicolor/24x24/apps/net.sourceforge.liferea.png
+share/icons/hicolor/32x32/apps/net.sourceforge.liferea.png
+share/icons/hicolor/48x48/apps/net.sourceforge.liferea.png
+share/icons/hicolor/scalable/apps/net.sourceforge.liferea-symbolic.svg
+share/icons/hicolor/scalable/apps/net.sourceforge.liferea.svg
 %%DATADIR%%/about.ui
 %%DATADIR%%/auth.ui
-%%DATADIR%%/css/adblock.css
 %%DATADIR%%/css/liferea.css
 %%DATADIR%%/css/user.css
 %%DATADIR%%/doc/html/about_de.html
 %%DATADIR%%/doc/html/about_en.html
+%%DATADIR%%/doc/html/about_it.html
 %%DATADIR%%/doc/html/concepts_de.html
 %%DATADIR%%/doc/html/concepts_en.html
+%%DATADIR%%/doc/html/concepts_it.html
 %%DATADIR%%/doc/html/enclosures_de.html
 %%DATADIR%%/doc/html/enclosures_en.html
+%%DATADIR%%/doc/html/enclosures_it.html
 %%DATADIR%%/doc/html/faq_de.html
 %%DATADIR%%/doc/html/faq_en.html
+%%DATADIR%%/doc/html/faq_it.html
 %%DATADIR%%/doc/html/folders_de.html
 %%DATADIR%%/doc/html/folders_en.html
+%%DATADIR%%/doc/html/folders_it.html
 %%DATADIR%%/doc/html/headlines_de.html
 %%DATADIR%%/doc/html/headlines_en.html
+%%DATADIR%%/doc/html/headlines_it.html
 %%DATADIR%%/doc/html/help_feed_default.png
 %%DATADIR%%/doc/html/help_feed_error.png
 %%DATADIR%%/doc/html/help_feed_prop_adv_1.6.0.png
@@ -58,53 +69,67 @@ share/icons/hicolor/scalable/apps/liferea.svg
 %%DATADIR%%/doc/html/help_item_flag.png
 %%DATADIR%%/doc/html/help_item_unread.png
 %%DATADIR%%/doc/html/help_opml.png
-%%DATADIR%%/doc/html/help_prefs_browser_1.6.0.png
-%%DATADIR%%/doc/html/help_prefs_enclosures_1.6.0.png
-%%DATADIR%%/doc/html/help_prefs_feeds_1.6.0.png
-%%DATADIR%%/doc/html/help_prefs_folders_1.6.0.png
-%%DATADIR%%/doc/html/help_prefs_gui_1.6.0.png
-%%DATADIR%%/doc/html/help_prefs_headlines_1.6.0.png
-%%DATADIR%%/doc/html/help_prefs_proxy_1.6.0.png
+%%DATADIR%%/doc/html/help_prefs_browser_1.14.0.png
+%%DATADIR%%/doc/html/help_prefs_desktop_1.14.0.png
+%%DATADIR%%/doc/html/help_prefs_enclosures_1.14.0.png
+%%DATADIR%%/doc/html/help_prefs_feeds_1.14.0.png
+%%DATADIR%%/doc/html/help_prefs_folders_1.14.0.png
+%%DATADIR%%/doc/html/help_prefs_headlines_1.14.0.png
+%%DATADIR%%/doc/html/help_prefs_proxy_1.14.0.png
 %%DATADIR%%/doc/html/help_search_1.6.0.png
 %%DATADIR%%/doc/html/help_subscribe_1.6.0.png
 %%DATADIR%%/doc/html/help_subscribe_adv_1.6.0.png
 %%DATADIR%%/doc/html/help_vfolder_1.6.0.png
 %%DATADIR%%/doc/html/newsbin_de.html
 %%DATADIR%%/doc/html/newsbin_en.html
+%%DATADIR%%/doc/html/newsbin_it.html
 %%DATADIR%%/doc/html/onlineservices_de.html
 %%DATADIR%%/doc/html/onlineservices_en.html
+%%DATADIR%%/doc/html/onlineservices_it.html
 %%DATADIR%%/doc/html/preferences_de.html
 %%DATADIR%%/doc/html/preferences_en.html
-%%DATADIR%%/doc/html/reference.css
+%%DATADIR%%/doc/html/preferences_it.html
 %%DATADIR%%/doc/html/reference_de.html
 %%DATADIR%%/doc/html/reference_en.html
+%%DATADIR%%/doc/html/reference_it.html
+%%DATADIR%%/doc/html/reference.css
 %%DATADIR%%/doc/html/searching_de.html
 %%DATADIR%%/doc/html/searching_en.html
+%%DATADIR%%/doc/html/searching_it.html
 %%DATADIR%%/doc/html/subscriptions_de.html
 %%DATADIR%%/doc/html/subscriptions_en.html
+%%DATADIR%%/doc/html/subscriptions_it.html
 %%DATADIR%%/doc/html/topics_de.html
 %%DATADIR%%/doc/html/topics_en.html
+%%DATADIR%%/doc/html/topics_it.html
 %%DATADIR%%/doc/html/updating_de.html
 %%DATADIR%%/doc/html/updating_en.html
+%%DATADIR%%/doc/html/updating_it.html
 %%DATADIR%%/dtd/html.ent
 %%DATADIR%%/enclosure_handler.ui
 %%DATADIR%%/gir-1.0/Liferea-3.0.gir
 %%DATADIR%%/google_source.ui
-%%DATADIR%%/liferea.css
+%%DATADIR%%/js/gresource.xml
+%%DATADIR%%/js/htmlview.js
+%%DATADIR%%/js/Readability.js
+%%DATADIR%%/js/Readability-readerable.js
 %%DATADIR%%/liferea_menu.ui
 %%DATADIR%%/liferea_toolbar.ui
+%%DATADIR%%/liferea.css
 %%DATADIR%%/mainwindow.ui
 %%DATADIR%%/mark_read_dialog.ui
 %%DATADIR%%/new_folder.ui
 %%DATADIR%%/new_newsbin.ui
 %%DATADIR%%/new_subscription.ui
 %%DATADIR%%/node_source.ui
+%%DATADIR%%/opml_source.ui
 %%DATADIR%%/opml/feedlist_bg.opml
 %%DATADIR%%/opml/feedlist_ca.opml
 %%DATADIR%%/opml/feedlist_de.opml
 %%DATADIR%%/opml/feedlist_en.opml
 %%DATADIR%%/opml/feedlist_es.opml
 %%DATADIR%%/opml/feedlist_eu.opml
+%%DATADIR%%/opml/feedlist_fa.opml
 %%DATADIR%%/opml/feedlist_fr.opml
 %%DATADIR%%/opml/feedlist_gl.opml
 %%DATADIR%%/opml/feedlist_he.opml
@@ -114,17 +139,13 @@ share/icons/hicolor/scalable/apps/liferea.svg
 %%DATADIR%%/opml/feedlist_nl.opml
 %%DATADIR%%/opml/feedlist_no.opml
 %%DATADIR%%/opml/feedlist_pl.opml
-%%DATADIR%%/opml/feedlist_pt.opml
 %%DATADIR%%/opml/feedlist_pt_BR.opml
+%%DATADIR%%/opml/feedlist_pt.opml
 %%DATADIR%%/opml/feedlist_sk.opml
 %%DATADIR%%/opml/feedlist_sv.opml
-%%DATADIR%%/opml_source.ui
-%%DATADIR%%/pixmaps/available.png
-%%DATADIR%%/pixmaps/available_offline.png
-%%DATADIR%%/pixmaps/default.png
+%%DATADIR%%/pixmaps/default.svg
 %%DATADIR%%/pixmaps/emblem-important.png
-%%DATADIR%%/pixmaps/empty.png
-%%DATADIR%%/pixmaps/empty_offline.png
+%%DATADIR%%/pixmaps/emblem-web.svg
 %%DATADIR%%/pixmaps/fl_opml.png
 %%DATADIR%%/pixmaps/folder-saved-search.png
 %%DATADIR%%/pixmaps/folder.png
@@ -135,8 +156,8 @@ share/icons/hicolor/scalable/apps/liferea.svg
 %%DATADIR%%/properties.ui
 %%DATADIR%%/reedah_source.ui
 %%DATADIR%%/rename_node.ui
-%%DATADIR%%/search.ui
 %%DATADIR%%/search_folder.ui
+%%DATADIR%%/search.ui
 %%DATADIR%%/simple_search.ui
 %%DATADIR%%/simple_subscription.ui
 %%DATADIR%%/theoldreader_source.ui
@@ -144,9 +165,12 @@ share/icons/hicolor/scalable/apps/liferea.svg
 %%DATADIR%%/update_monitor.ui
 %%DATADIR%%/xslt/feed.xml
 %%DATADIR%%/xslt/folder.xml
+%%DATADIR%%/xslt/html5-extract.xml
+%%DATADIR%%/xslt/html-extract.xml
 %%DATADIR%%/xslt/i18n-filter.xslt
 %%DATADIR%%/xslt/item.xml
 %%DATADIR%%/xslt/newsbin.xml
+%%DATADIR%%/xslt/reader.xml
 %%DATADIR%%/xslt/source.xml
 %%DATADIR%%/xslt/vfolder.xml
 share/locale/ar/LC_MESSAGES/liferea.mo
@@ -158,6 +182,7 @@ share/locale/cs/LC_MESSAGES/liferea.mo
 share/locale/da/LC_MESSAGES/liferea.mo
 share/locale/de/LC_MESSAGES/liferea.mo
 share/locale/el/LC_MESSAGES/liferea.mo
+share/locale/en_GB/LC_MESSAGES/liferea.mo
 share/locale/es/LC_MESSAGES/liferea.mo
 share/locale/eu/LC_MESSAGES/liferea.mo
 share/locale/fi/LC_MESSAGES/liferea.mo
@@ -174,8 +199,8 @@ share/locale/lv/LC_MESSAGES/liferea.mo
 share/locale/mk/LC_MESSAGES/liferea.mo
 share/locale/nl/LC_MESSAGES/liferea.mo
 share/locale/pl/LC_MESSAGES/liferea.mo
-share/locale/pt/LC_MESSAGES/liferea.mo
 share/locale/pt_BR/LC_MESSAGES/liferea.mo
+share/locale/pt/LC_MESSAGES/liferea.mo
 share/locale/ro/LC_MESSAGES/liferea.mo
 share/locale/ru/LC_MESSAGES/liferea.mo
 share/locale/sk/LC_MESSAGES/liferea.mo
@@ -186,3 +211,4 @@ share/locale/uk/LC_MESSAGES/liferea.mo
 share/locale/vi/LC_MESSAGES/liferea.mo
 share/locale/zh_CN/LC_MESSAGES/liferea.mo
 share/locale/zh_TW/LC_MESSAGES/liferea.mo
+share/metainfo/net.sourceforge.liferea.appdata.xml