Changes :
Echinus 0.4.9
Oct 24, 2011
Slackware 13.37
Slackbuild :
16d0547ea6a2aec3cbae2a03153c434b echinus.tar.gz
------------------------------------------------------------------------------------------------------------------
<Old thread information>
<Edit> Noticed OPTS isn't used, so am working on learning how to use diff, and checking a few other things out with the script.
<Edit 2>
Added a patch for including OPTS. Which now the code blocks in this message are
not the same as the download.
Cleaned up the script some by using CONF rather than sed.
</2 tidE>
<Edit 3>
Included Tom's copyright for his dwm slackbuild script.
Added a makeshift info file, primarily for the md5sum.
</3 tidE>
Curious if this looks ok. Since the Makefile installed odd directories I used a few sed's to change the Makefile and config.mk as well as modified the echinusrc file. (Using the dwm slackbuild as a template).
echinus.tar.gz (See Edit 2) [ md5sum 05f5b9eda3c13406d8681bb742b5f304 ]
http://plhk.ru/ (Echinus' home) [md5sum 7527d9aa0d19207780ca13dfff65eb6a]
<Edit 4>
From the README
Quote:
3.About panels and pagers
-------------------------
Echinus supports some parts of EWMH, so if the author of the pager knows
what this magical letters mean it *should* work fine.
Known to work:
fbpanel
ipager
ourico
Known to NOT work:
pypanel
|
I've been testing echinus with pcmanfm --desktop and lxpanel, so far I haven't seen any problems. At least on Slackware 13.1. Don't know about any other versions of pcmanfm and lxpanel not on slackbuilds.org.
<4 tidE>
Slackbuild
Code:
#!/bin/sh
PRGNAM=echinus
VERSION=${VERSION:-0.4.4}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PREFIX=/usr
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
INSTALL="/bin/ginstall -o root -g root"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
mv config.mk config.mk-old
mv echinusrc echinusrc-old
mv Makefile Makefile-old
sed 's/\/examples\//\//' config.mk-old > config.mk
sed "s_.pixmap: _.pixmap: $PREFIX\/share\/echinus\/_g" echinusrc-old > echinusrc
sed "s_\/share\/doc\/echinus_\/doc\/'$PRGNAM-$VERSION'_g" Makefile-old > Makefile
make install \
OPTS="$SLKCFLAGS" \
PREFIX=/usr \
MANPREFIX=/usr/man \
X11INC=/usr/include/X11 \
X11LIB=/usr/lib${LIBDIRSUFFIX}/X11 \
DESTDIR=$PKG
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
)
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
slack-desc
Code:
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler--------------------------------------------------------|
echinus: echinus
echinus:
echinus: echinus is a simple and lightweight tiling window manager for x similar
echinus: to dwm except it can have windows with close, minimize, and maximize
echinus: buttons and has a simple config file.
echinus:
echinus:
echinus:
echinus:
echinus:
echinus: Homepage: http://plhk.ru