Code: Select all
./configure --disable-icons --disable-nls --disable-fribidi --disable-debug
Thank you Keef and `f00 for your help and attention.
Code: Select all
./configure --disable-icons --disable-nls --disable-fribidi --disable-debug
An excellent howto scsijon, thank you very much!scsijon wrote:For anyone wanting to build their own Jwm.
A quick question: the "strip" command as the last step - I noticed you don't use it. Is it a harmless command, will it not strip something, that is needed if/when used?
/usr/bin/new2dirstep3
a) type new2dir make install
and.....#strip the file...
if [ ! -h "$ONEFILE" ];then #make sure it isn't a symlink
[ ! "`file "$ONEFILE" | grep 'ELF' | grep 'shared object'`" = "" ] && strip --strip-debug "$ONEFILE"
[ ! "`file "$ONEFILE" | grep 'ELF' | grep 'executable'`" = "" ] && strip --strip-unneeded "$ONEFILE"
fi
sync
pemasu, thank you for for the detailed walkthrough.so....when compiling and installing jwm...the stripping of binary has been cared by the jwm source code included files.
#w481 extra stripping...
if [ "$WOOF_HOSTARCH" = "$WOOF_TARGETARCH" ];then #120502 strip will not work for cross-build.
echo
echo "Would you like to strip all binary executables and shared library files?"
echo "These are usually already stripped, although some packages may have the shared"
echo "library files stripped with the '--strip-debug' option only, and extra stripping"
echo "should be okay. It won't do any harm answering yes here."
I've never read that before... in my experience all shared libraries break if you strip them without the '--strip-debug' option.echo "Would you like to strip all binary executables and shared library files?"
echo "These are usually already stripped, although some packages may have the shared"
echo "library files stripped with the '--strip-debug' option only, and extra stripping"
http://www.debian.org/doc/debian-policy/ch-files.html[ "$ONEBASE" = "e3" ] && continue #v431 cannot be stripped.
if [ "`file "$ONEFILE" | grep 'ELF' | grep 'executable'`" != "" ];then #v431
echo -n "$ONEBASE "
strip --strip-unneeded "$ONEFILE"
fi
done
echo
find rootfs-complete/usr/lib rootfs-complete/usr/X11R7/lib -type f -name \*.so* |
while read ONEFILE
do
ONEBASE="`basename "$ONEFILE"`"
#v431 libgdk-x11-2.0.so* compiled in pup4 with '--enable-debug', fixes insert-key mozilla crash.
# it may be unwise to strip its debug symbols... no, it's ok...
#[ "`echo "$ONEBASE" | grep 'libgdk'`" != "" ] && continue #v431
if [ "`file "$ONEFILE" | grep 'ELF' | grep 'shared object'`" != "" ];then
echo -n "$ONEBASE "
strip --strip-unneeded "$ONEFILE"
fi
done
All installed shared libraries should be stripped with
strip --strip-unneeded your-lib
(The option --strip-unneeded makes strip remove only the symbols which aren't needed for relocation processing.) Shared libraries can function perfectly well when stripped, since the symbols for dynamic linking are in a separate part of the ELF object file.
It's possible (and was done in the past). I removed this feature so that JWM would draw the buttons scaled to the right size (JWM now uses Xlib drawing primitives rather than bitmaps).
I probably won't implement this (at least not in the near future) though since I would like to keep JWM as lean as possible.
Code: Select all
<Desktops width="1" height="3">
<Desktop name="1">
<Background type="command">hsetroot -fill /usr/share/backgrounds/default.jpg</Background>
</Desktop>
<Desktop name="2">
<Background type="command">hsetroot -fill /usr/share/bgsyms/smoQ</Background>
</Desktop>
<Desktop name="3">
<Background type="command">hsetroot -fill /usr/share/bgtiles/bluswirl</Background>
</Desktop>
</Desktops>
There is already a request for the ability to make them configurable in the system, so it's in the list.darkcity wrote:It would be grand if new versions have better keybinding config - change alt+mouse-drag combo for moving windows (AKA mouse bindings)?
I am forced to use OpenBox with Inkscape due to the drawing package insisting on using Alt-Drag for selecting underneath (at least I couldn't configure it under jwm. http://www.murga-linux.com/puppy/viewtopic.php?p=605607)