File: nolibexec.patch

package info (click to toggle)
fbpanel 7.0-4.2
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 5,084 kB
  • sloc: ansic: 11,684; sh: 404; python: 382; makefile: 315
file content (27 lines) | stat: -rw-r--r-- 1,146 bytes parent folder | download | duplicates (2)
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
Description: patch libexec path since we use /usr/lib instead /usr/libexec
Author: Juri Grabowski <debian@jugra.de>
Bug-Debian: https://bugs.debian.org/878186
Last-Update: 2017-10-09

--- fbpanel-7.0.orig/.config/options.py
+++ fbpanel-7.0/.config/options.py
@@ -17,7 +17,7 @@ def init():
         default = lambda : opt('eprefix') + '/sbin')
     opt_new("libexecdir", group = 'autoconf',
         help = "program executables", metavar='DIR',
-        default = lambda : opt('eprefix') + '/libexec/' + opt('project_name'))
+        default = lambda : opt('eprefix') + '/lib/' + opt('project_name'))
     opt_new("libdir", group = 'autoconf',
         help = "object code libraries", metavar='DIR',
         default = lambda : opt('eprefix') + '/lib/' + opt('project_name'))
--- fbpanel-7.0.orig/panel/panel.c
+++ fbpanel-7.0/panel/panel.c
@@ -923,7 +923,7 @@ ensure_profile()
     {
         return;
     }
-    cmd = g_strdup_printf("%s %s", LIBEXECDIR "/fbpanel/make_profile",
+    cmd = g_strdup_printf("%s %s", LIBDIR "/fbpanel/make_profile",
         profile);
     g_spawn_command_line_sync(cmd, NULL, NULL, NULL, NULL);
     g_free(cmd);