Hello,

I'd like to submit a patch that restores Plugin functionality in the version of 
Liferea shipped in Debian 13

The patch updates `plugins/plugin-installer.py` to find `plugin-list.json` at 
file:///usr/share/liferea/plugin-list.json, and updates d/rules to include the 
`plugin-list.json` in the built package (liferea-data).

I apologize in advance if this is not the way to submit patches or if I'm not 
permitted to submit patches as an outsider to Debian.

-- 
Regards,
Andrew S. Rightenburg
Index: liferea-1.15.8/debian/rules
===================================================================
--- liferea-1.15.8.orig/debian/rules
+++ liferea-1.15.8/debian/rules
@@ -44,6 +44,7 @@ override_dh_link:
 override_dh_auto_install:
 	GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
 	dh_auto_install --destdir=$(CURDIR)/debian/tmp
+	install -D -m 644 plugins/plugin-list.json $(CURDIR)/debian/tmp/usr/share/liferea/plugin-list.json
 	# https://wiki.debian.org/ReleaseGoals/LAFileRemoval
 	# Lintian: non-empty-dependency_libs-in-la-file
 	rm $(CURDIR)/debian/tmp/usr/lib/*/liferea/web-extension/liblifereawebextension.*a
Index: liferea-1.15.8/plugins/plugin-installer.py
===================================================================
--- liferea-1.15.8.orig/plugins/plugin-installer.py
+++ liferea-1.15.8/plugins/plugin-installer.py
@@ -162,7 +162,7 @@ class PluginBrowser(Gtk.Window):
         """Fetch list from github project repo and parse JSON"""
 
         if True == Liferea.NetworkMonitor.is_online():
-            list_url = "https://raw.githubusercontent.com/lwindolf/liferea/master/plugins/plugin-list.json";
+            list_url = "file:///usr/share/liferea/plugin-list.json"
             data = None
             req = urllib.request.Request(list_url)
             resp = urllib.request.urlopen(req).read()

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to