Hello,

The Debian menu is currently unusable with Martin's packages: part of the menu 
on Debian systems is stored in /etc/X11/Windowmaker/menu.hook, but wmaker will 
only search in ~/GNUstep/Library/Windowmaker by default. 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.

Nicolas
>From 8549528fdd86cdf7d931b5ca91b2aabe75c14c47 Mon Sep 17 00:00:00 2001
From: Nicolas Bonifas <[email protected]>
Date: Thu, 10 Dec 2009 01:26:13 +0100
Subject: [PATCH] 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 files changed, 15 insertions(+), 0 deletions(-)
 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 0000000..260f6ac
--- /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 */
-- 
1.6.5

Reply via email to