1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 05:18:06 +01:00

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.
This commit is contained in:
Nicolas Bonifas
2009-12-10 01:26:13 +01:00
committed by Carlos R. Mafra
parent 2ba803ad98
commit d8ef209c9a

15
debian/patches/50_def_config_paths.diff vendored Normal file
View File

@@ -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 */