mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-28 17:32:29 +01:00
Replace GNUSTEP_USER_ROOT environment variable with WMAKER_USER_ROOT
As reported in Debian bug #922284 [1]: As evident from the prefix, GNUSTEP_USER_ROOT is a GNUstep variable and Window Maker should not set it. Furthemore, it has been deprecated for 12 years already. As of gnustep-make/2.7.0-4 the GNUstep build system is configured in strict v2 mode which makes it impossible to compile GNUstep software. In a terminal started from a Window Maker session: yavor@aneto:/tmp/gorm.app-1.2.24$ make This is gnustep-make 2.7.0. Type 'make print-gnustep-make-help' for help. Running in gnustep-make version 2 strict mode. rm -f InterfaceBuilder; \ ln -s GormLib InterfaceBuilder /usr/share/GNUstep/Makefiles/config-noarch.make:121: *** GNUSTEP_USER_ROOT is obsolete. Stop. It is also impossible to build gnustep-make from pristine upstream source: yavor@aneto:/tmp$ wget -q ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-2.7.0.tar.gz yavor@aneto:/tmp$ tar xzf gnustep-make-2.7.0.tar.gz yavor@aneto:/tmp$ cd gnustep-make-2.7.0/ yavor@aneto:/tmp/gnustep-make-2.7.0$ ./configure ... yavor@aneto:/tmp/gnustep-make-2.7.0$ make config-noarch.make:121: *** GNUSTEP_USER_ROOT is obsolete. Stop. Note that the majority of GNUstep users use Window Maker as their window manager and many of them build GNUstep software from source, mostly because of the GNUstep Objective-C runtime which depends on Clang (Debian packages use GCC and the GCC/GNU runtime). Our solution is to replace the GNUSTEP_USER_ROOT environment variable with our own environment variable, WMAKER_USER_ROOT. This is documented in NEWS. [1] https://bugs.debian.org/922284
This commit is contained in:
committed by
Carlos R. Mafra
parent
1dace5699f
commit
738a78b3e2
4
debian/debianfiles/wmaker
vendored
4
debian/debianfiles/wmaker
vendored
@@ -2,8 +2,8 @@
|
||||
|
||||
set -e
|
||||
|
||||
[ -n "$GNUSTEP_USER_ROOT" ] || export GNUSTEP_USER_ROOT="$HOME/GNUstep"
|
||||
gs_base="$GNUSTEP_USER_ROOT"
|
||||
[ -n "$WMAKER_USER_ROOT" ] || export WMAKER_USER_ROOT="$HOME/GNUstep"
|
||||
gs_base="$WMAKER_USER_ROOT"
|
||||
gs_defaults="$gs_base/Defaults"
|
||||
gs_system_defaults=/etc/GNUstep/Defaults
|
||||
wm_base="$gs_base/Library/WindowMaker"
|
||||
|
||||
Reference in New Issue
Block a user