From d8ef209c9aeb8bfafc5ab6ee2ca9be58dc99a637 Mon Sep 17 00:00:00 2001 From: Nicolas Bonifas Date: Thu, 10 Dec 2009 01:26:13 +0100 Subject: [PATCH] Add menu path to Debian build system Part of the menu on Debian systems is stored in /etc/X11/Windowmaker/menu.hook. This patch will add this path to src/wconfig.h.in when building the Debian wmaker package. This is what is done in the Debian version of wmaker 0.92.0. --- debian/patches/50_def_config_paths.diff | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 debian/patches/50_def_config_paths.diff diff --git a/debian/patches/50_def_config_paths.diff b/debian/patches/50_def_config_paths.diff new file mode 100644 index 00000000..f22603a9 --- /dev/null +++ b/debian/patches/50_def_config_paths.diff @@ -0,0 +1,15 @@ +Index: src/wconfig.h.in +=================================================================== +diff --git a/src/wconfig.h.in b/src/wconfig.h.in +index cab2bd0..e0dc434 100644 +--- src/wconfig.h.in ++++ src/wconfig.h.in +@@ -146,7 +146,7 @@ + */ + + /* list of paths to look for the config files, searched in order of appearance */ +-#define DEF_CONFIG_PATHS "~/GNUstep/Library/WindowMaker:"PKGDATADIR ++#define DEF_CONFIG_PATHS "~/GNUstep/Library/WindowMaker:/etc/X11/WindowMaker:"PKGDATADIR + #define DEF_MENU_FILE "menu" + + /* name of the script to execute at startup */