File: 20_load_plugins_from_all_paths.patch

package info (click to toggle)
geany 2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 39,300 kB
  • sloc: ansic: 168,600; cpp: 77,562; sh: 5,344; makefile: 1,694; cs: 1,233; javascript: 1,024; python: 580; f90: 537; vhdl: 504; sql: 503; lisp: 436; fortran: 389; php: 278; ada: 201; ruby: 163; java: 131; asm: 131; perl: 119; cobol: 88; tcl: 77; erlang: 73; xml: 66; ml: 27; sed: 16; pascal: 15; haskell: 6
file content (27 lines) | stat: -rw-r--r-- 943 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From: Evgeni Golov <evgeni@debian.org>
Date: Wed, 25 Oct 2023 11:04:58 +0800
Subject: Search for plugins in /usr/lib/geany

Forwarded: not-needed
Last-Update: 2011-11-05

Since debhelper compat level 9, plugins are installed and searched in
/usr/lib/<arch-triplet>/geany.
Current geany-plugins packaging, and more important, 3rd party stuff
is still using /usr/lib/geany, thus search there too.
---
 src/plugins.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/plugins.c b/src/plugins.c
index 6625ce4..1e799d9 100644
--- a/src/plugins.c
+++ b/src/plugins.c
@@ -1166,6 +1166,7 @@ static void load_all_plugins(void)
 
 	/* finally load plugins from $prefix/lib/geany */
 	load_plugins_from_path(plugin_path_system);
+	load_plugins_from_path("/usr/lib/geany");
 
 	/* It is important to sort any plugins that are proxied after their proxy because
 	 * pm_populate() needs the proxy to be loaded and active (if selected by user) in order