Package: fbpanel
Version: 7.0-3
Followup-For: Bug #878186

Dear Maintainer,

here is my patch for this issue.

Best Regards,
Juri Grabowski
Description: no libexecdir in debian
 On gentoo it is placed in /usr/libexec, on Debian in /usr/lib
 .
 fbpanel (7.0-3) unstable; urgency=high
 .
   * execve from make_profile is now possible
Author: Juri Grabowski <deb...@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);

Reply via email to