mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-28 10:02:43 +01:00
desktop/icewm: Updated for version 1.2.35
This commit is contained in:
parent
9bf071bf2d
commit
60f7ea5471
5 changed files with 42 additions and 29 deletions
|
@ -1,3 +1,3 @@
|
||||||
if [ -x usr/bin/update-desktop-database ]; then
|
if [ -x /usr/bin/update-desktop-database ]; then
|
||||||
usr/bin/update-desktop-database -q usr/share/applications
|
/usr/bin/update-desktop-database -q usr/share/applications
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for icewm
|
# Slackware build script for icewm
|
||||||
|
|
||||||
# Copyright 2006-2007 Robby Workman (http://rlworkman.net)
|
# Copyright 2006-2008 Robby Workman Northport, Alabama, USA
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -22,15 +22,12 @@
|
||||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
# Modified by the SlackBuilds.org project
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
PRGNAM=icewm
|
PRGNAM=icewm
|
||||||
VERSION=1.2.30
|
VERSION=${VERSION:-1.2.35}
|
||||||
ARCH=${ARCH:-i486}
|
ARCH=${ARCH:-i486}
|
||||||
BUILD=${BUILD:-2}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/SBo}
|
TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-icewm
|
PKG=$TMP/package-icewm
|
||||||
|
@ -40,16 +37,24 @@ if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $PRGNAM-$VERSION
|
||||||
tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz
|
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||||
cd $PRGNAM-$VERSION
|
cd $PRGNAM-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
chmod -R u+w,go+r-w,a-s .
|
find . \
|
||||||
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||||
|
-exec chmod 755 {} \; -o \
|
||||||
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||||
|
-exec chmod 644 {} \;
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
|
@ -64,7 +69,7 @@ make
|
||||||
make install DESTDIR=$PKG
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
( cd $PKG
|
( cd $PKG
|
||||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
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
|
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -81,14 +86,14 @@ cat $CWD/icewm.SlackBuild > $PKG/usr/doc/icewm-$VERSION/icewm.SlackBuild
|
||||||
|
|
||||||
# Add man page
|
# Add man page
|
||||||
mkdir -p $PKG/usr/man/man1
|
mkdir -p $PKG/usr/man/man1
|
||||||
cat doc/icewm.1.man | gzip -9c > $PKG/usr/man/man1/icewm.1.gz
|
gzip -9c doc/icewm.1.man > $PKG/usr/man/man1/icewm.1.gz
|
||||||
|
|
||||||
|
# Add xinitrc for xwmconfig(1)
|
||||||
|
install -D -m 0755 $CWD/xinitrc.icewm $PKG/etc/X11/xinit/xinitrc.icewm
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||||
|
|
||||||
# Add xinitrc for xwmconfig(1)
|
|
||||||
install -D -m 0755 $CWD/xinitrc.icewm $PKG/etc/X11/xinit/xinitrc.icewm
|
|
||||||
|
|
||||||
cd $PKG
|
cd $PKG
|
||||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="icewm"
|
PRGNAM="icewm"
|
||||||
VERSION="1.2.30"
|
VERSION="1.2.35"
|
||||||
HOMEPAGE="http://icewm.org"
|
HOMEPAGE="http://icewm.org"
|
||||||
DOWNLOAD="http://dl.sourceforge.net/icewm/icewm-1.2.30.tar.gz"
|
DOWNLOAD="http://downloads.sourceforge.net/icewm/icewm-1.2.35.tar.gz"
|
||||||
MD5SUM="8a302c5e629bb81d87cc02004a694ece"
|
MD5SUM="a2adc53ab4c0c7ca6daa1ca4c697ffe9"
|
||||||
MAINTAINER="Robby Workman"
|
MAINTAINER="Robby Workman"
|
||||||
EMAIL="rw@rlworkman.net"
|
EMAIL="rw@rlworkman.net"
|
||||||
APPROVED="BP{k}"
|
APPROVED="David Somero"
|
||||||
|
|
|
@ -1,7 +1,15 @@
|
||||||
icewm: IceWM Window Manager
|
# 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------------------------------------------------------|
|
||||||
|
icewm: icewm (IceWM Window Manager)
|
||||||
icewm:
|
icewm:
|
||||||
icewm: IceWM is a window manager for the X Window System. The goal of IceWM
|
icewm: IceWM is a window manager for the X Window System. The goal of
|
||||||
icewm: is speed, simplicity, and not getting in the user's way.
|
icewm: IceWM is speed, simplicity, and not getting in the user's way.
|
||||||
icewm:
|
icewm:
|
||||||
icewm: Homepage: http://www.icewm.org/
|
icewm: Homepage: http://www.icewm.org/
|
||||||
icewm:
|
icewm:
|
||||||
|
|
|
@ -2,25 +2,25 @@
|
||||||
|
|
||||||
userresources=$HOME/.Xresources
|
userresources=$HOME/.Xresources
|
||||||
usermodmap=$HOME/.Xmodmap
|
usermodmap=$HOME/.Xmodmap
|
||||||
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
|
sysresources=/usr/lib/X11/xinit/.Xresources
|
||||||
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
|
sysmodmap=/usr/lib/X11/xinit/.Xmodmap
|
||||||
|
|
||||||
# merge in defaults and keymaps
|
# merge in defaults and keymaps
|
||||||
|
|
||||||
if [ -f $sysresources ]; then
|
if [ -f $sysresources ]; then
|
||||||
/usr/X11R6/bin/xrdb -merge $sysresources
|
/usr/bin/xrdb -merge $sysresources
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f $sysmodmap ]; then
|
if [ -f $sysmodmap ]; then
|
||||||
/usr/X11R6/bin/xmodmap $sysmodmap
|
/usr/bin/xmodmap $sysmodmap
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f $userresources ]; then
|
if [ -f $userresources ]; then
|
||||||
/usr/X11R6/bin/xrdb -merge $userresources
|
/usr/bin/xrdb -merge $userresources
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f $usermodmap ]; then
|
if [ -f $usermodmap ]; then
|
||||||
/usr/X11R6/bin/xmodmap $usermodmap
|
/usr/bin/xmodmap $usermodmap
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create default user directory & populate it if not already existent
|
# Create default user directory & populate it if not already existent
|
||||||
|
|
Loading…
Reference in a new issue