summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorTracy Williams <t_s_williams[at]yahoo[dot]com>2011-01-16 01:27:48 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-01-16 01:27:48 -0600
commitb878aabf9252914b6480095fe1067ccb1bd84e7a (patch)
tree0b3d4a61f9942a5050c922ef759fc3f00ff62413 /desktop
parentff54faabf2c04e79b6cca7f98405c366bb9e16ff (diff)
downloadslackbuilds-b878aabf9252914b6480095fe1067ccb1bd84e7a.tar.gz
desktop/uwm: Added (ultimate window manager)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/uwm/README12
-rw-r--r--desktop/uwm/appmenu164
-rw-r--r--desktop/uwm/slack-desc19
-rw-r--r--desktop/uwm/uwm.SlackBuild93
-rw-r--r--desktop/uwm/uwm.desktop6
-rw-r--r--desktop/uwm/uwm.info10
-rw-r--r--desktop/uwm/xinitrc.uwm25
7 files changed, 329 insertions, 0 deletions
diff --git a/desktop/uwm/README b/desktop/uwm/README
new file mode 100644
index 0000000000..09b32466b6
--- /dev/null
+++ b/desktop/uwm/README
@@ -0,0 +1,12 @@
+The UDE-Project is creating a new WM which will be a complete GUI in future.
+The project does not use any special GUI-Libraries such as QT or GTK+. It just
+uses the standard Xlibs (both to keep UDE fast and slim and to avoid
+dependencies).
+
+UDE has a completely original Look'n'Feel, it's not just another copy of the
+so well known "classical" window management user interface.
+
+System wide configuration files are in /usr/share/uwm/config/.
+User specific configuration files are in $HOME/.ude/config/.
+
+HTML documentation is provided in /usr/doc/uwm-0.2.10a/html/.
diff --git a/desktop/uwm/appmenu b/desktop/uwm/appmenu
new file mode 100644
index 0000000000..3329042a5d
--- /dev/null
+++ b/desktop/uwm/appmenu
@@ -0,0 +1,164 @@
+% -*-Mode: Shell-Script;-*-
+% Anybody volunteering to write a dedicated Emacs mode?
+%
+% /usr/share/uwm-$VER/config/appmenu
+%
+% Additional entries in the main menu. The entries are added at the
+% end of the menu.
+%
+% Please read /usr/doc/uwm-$VER/uwm_manual.lyx and/or
+% /usr/doc/uwm-$VER/manual.dvi for more information.
+
+% A menu definition file is a hierarchical file made up of the
+% following commands:
+%
+% SUBMENU "<name>" {'commands to build submenu'}
+% Will create a submenu named <name> with the items created by
+% the commands inside the braces.
+%
+% ITEM "<name>":"<command>";
+% Will create an item on the corresponding position named <name>
+% which will lead to the execution of <command> if selected. The
+% item is not created in case there already exists an item with
+% the same <name> in the same submenu.
+%
+% LINE;
+% Will add a seperation line to the corresponding
+% position. Several "LINE"s with nothing else in between will be
+% truncatd to a single seperator.
+%
+% FILE "<filename>";
+% Will process the named file as if its contents were in the
+% position of the "FILE" command. The file is searched for in
+% the way described above and passed through the preprocessor.
+%
+% PIPE "<command>";
+% Will call <command> and process its standard output as if it
+% was in the position of the "PIPE" command. The commands output
+% is not passed through the preprocessor.
+
+SUBMENU "Applications" folder {
+ ITEM "Dolphin": "dolphin ";
+ ITEM "Midnight Commander": "xterm -e mc ";
+}
+SUBMENU "Development" folder {
+ ITEM "Qt Assistant": "assistant ";
+ ITEM "Qt Designer": "designer ";
+ ITEM "Qt Linguist": "linguist ";
+}
+SUBMENU "Editors" folder {
+ ITEM "Emacs": "emacs ";
+ ITEM "Gvim": "gvim ";
+ ITEM "Jed": "xterm -e jed ";
+ ITEM "Joe": "xterm -e joe ";
+ ITEM "Kate": "kate ";
+ ITEM "Kwrite": "kwrite ";
+ ITEM "Nano": "xterm -e nano ";
+ ITEM "Pico": "xterm -e pico ";
+ ITEM "Vim": "xterm -e vim ";
+}
+SUBMENU "Graphics" folder {
+ SUBMENU "Image Viewers" folder {
+ ITEM "Display": "display ";
+ ITEM "Geeqie": "geeqie ";
+ ITEM "Gwenview": "gwenview ";
+ ITEM "Xv": "xv ";
+ }
+ ITEM "Bitmap": "bitmap ";
+ ITEM "Gimp": "gimp ";
+ ITEM "Kcolorchooser": "kcolorchooser ";
+ ITEM "Kolourpaint": "kolourpaint ";
+ ITEM "Xfig": "xfig ";
+ ITEM "Xfractint": "xterm -e xfractint ";
+ ITEM "Xpaint": "xpaint ";
+ ITEM "Xsane": "xsane ";
+}
+SUBMENU "Multimedia" folder {
+ ITEM "Audacious": "audacious ";
+ ITEM "Aumix": "aumix ";
+ ITEM "Dragon Player": "dragon";
+ ITEM "Kaudiocreator": "kaudiocreator ";
+ ITEM "Kmix": "kmix ";
+% Warning - Starting gmplayer from the menu may freeze the window manager
+% ITEM "Mplayer": "gmplayer ";
+ ITEM "Xine": "xine ";
+ ITEM "Xmms": "xmms ";
+}
+SUBMENU "Network" folder {
+ ITEM "Akregator": "akregator ";
+ ITEM "Alpine": "xterm -e alpine ";
+ ITEM "Gnome Ftp": "gftp ";
+ ITEM "Kget": "kget ";
+ ITEM "Kmail": "kmail ";
+ ITEM "Knode": "knode ";
+ ITEM "Konqueror": "konqueror ";
+ ITEM "Links": "xterm -e links ";
+ ITEM "Lynx": "xterm -e lynx ";
+ ITEM "Mozilla": "mozilla ";
+ ITEM "Mozilla Firefox": "firefox ";
+ ITEM "Mozilla Thunderbird": "thunderbird ";
+ ITEM "Mutt": "xterm -e mutt ";
+ ITEM "Pidgin": "pidgin ";
+ ITEM "Pine": "xterm -e pine ";
+ ITEM "X3270": "x3270 ";
+ ITEM "Xchat": "xchat ";
+}
+SUBMENU "Office" folder {
+ SUBMENU "Document Viewers" folder {
+ ITEM "Gv": "gv ";
+ ITEM "Okular": "okular ";
+ ITEM "Xdvi": "xdvi ";
+ ITEM "Xpdf": "xpdf ";
+ }
+ ITEM "Karbon": "karbon ";
+ ITEM "Kontact": "kontact ";
+ ITEM "Kpresenter": "kpresenter ";
+ ITEM "Kspread": "kspread ";
+ ITEM "Kword": "kword ";
+}
+SUBMENU "Other Wm" folder {
+}
+SUBMENU "Shells" folder {
+ ITEM "Bash": "xterm -e bash ";
+ ITEM "Konsole": "konsole ";
+ ITEM "Ksh": "xterm -e ksh ";
+ ITEM "Rxvt": "rxvt ";
+ ITEM "Tcsh": "xterm -e tcsh ";
+ ITEM "Xterm": "xterm ";
+ ITEM "Zsh": "xterm -e zsh ";
+}
+SUBMENU "System" folder {
+ ITEM "Gkrellm": "gkrellm ";
+ ITEM "Kdiskfree": "kdf ";
+ ITEM "Kleopatra": "kleopatra ";
+ ITEM "Ksystemlog": "ksystemlog ";
+}
+SUBMENU "Utilities" folder {
+ SUBMENU "Desktop" folder {
+ ITEM "Xroach": "xroach ";
+ ITEM "Xsnow": "xsnow ";
+ }
+ ITEM "Ark": "ark ";
+ ITEM "Font Selection": "xfontsel ";
+ ITEM "Gucharmap": "gucharmap ";
+ ITEM "Kaddressbook": "kaddressbook ";
+ ITEM "Kalarm": "kalarm ";
+ ITEM "Kcalc": "kcalc ";
+ ITEM "KDE Character Selector": "kcharselect ";
+ ITEM "KDE Find Tool": "kfind ";
+ ITEM "KDE Help Center": "khelpcenter ";
+ ITEM "Kfontview": "kfontview ";
+ ITEM "Kjots": "kjots ";
+ ITEM "Knotes": "knotes ";
+ ITEM "Korganizer": "korganizer ";
+ ITEM "Kruler": "kruler ";
+ ITEM "Ksnapshot": "ksnapshot ";
+ ITEM "Ktimetracker": "ktimetracker ";
+ ITEM "Oclock": "oclock ";
+ ITEM "Rclock": "rclock ";
+ ITEM "X Calculator": "xcalc ";
+ ITEM "X Logo": "xlogo ";
+ ITEM "Xclock": "xclock ";
+ ITEM "Xeyes": "xeyes ";
+ ITEM "Xmag": "xmag ";
+}
diff --git a/desktop/uwm/slack-desc b/desktop/uwm/slack-desc
new file mode 100644
index 0000000000..b6b62270bb
--- /dev/null
+++ b/desktop/uwm/slack-desc
@@ -0,0 +1,19 @@
+# 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-----------------------------------------------------|
+uwm: uwm (ultimate window manager)
+uwm:
+uwm: The UDE-Project is creating a new WM which will be a complete GUI in
+uwm: the future. The project does not use any special GUI-Libraries such
+uwm: as QT or GTK+. It just uses the standard Xlibs (both to keep UDE fast
+uwm: and slim and to avoid dependencies).
+uwm:
+uwm: UDE has a completely original Look'n'Feel, it's not just another copy
+uwm: of the so well known "classical" window management user interface.
+uwm:
+uwm: Homepage: http://udeproject.sourceforge.net
diff --git a/desktop/uwm/uwm.SlackBuild b/desktop/uwm/uwm.SlackBuild
new file mode 100644
index 0000000000..9ae8e1ea3e
--- /dev/null
+++ b/desktop/uwm/uwm.SlackBuild
@@ -0,0 +1,93 @@
+#!/bin/sh
+
+# Slackware build script for uwm
+# Written by Tracy Williams
+# contact: t_s_williams[at]yahoo[dot]com
+
+PRGNAM=uwm
+VERSION=0.2.10a
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+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"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+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
+chown -R root:root .
+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" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+# Add xinitrc.uwm so that uwm will show up as an option in xwmconfig
+install -D -m 0755 $CWD/xinitrc.uwm $PKG/etc/X11/xinit/xinitrc.uwm
+
+# Include a session file for e.g. gdm
+mkdir -p $PKG/usr/share/xsessions
+cat $CWD/uwm.desktop > $PKG/usr/share/xsessions/uwm.desktop
+
+# Provide a more Slackware specific menu
+mv -f $PKG/usr/share/$PRGNAM/config/appmenu $PKG/usr/share/$PRGNAM/config/appmenu.orig
+cat $CWD/appmenu > $PKG/usr/share/$PRGNAM/config/appmenu
+
+# Disable StopScript, it attempts to unmount removable drives after uwm exits
+chmod 0644 $PKG/usr/share/$PRGNAM/config/StopScript
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS ChangeLog COPYING INSTALL INSTALL.UDE NEWS REQUIREMENTS \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+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}
diff --git a/desktop/uwm/uwm.desktop b/desktop/uwm/uwm.desktop
new file mode 100644
index 0000000000..8536b7ae0c
--- /dev/null
+++ b/desktop/uwm/uwm.desktop
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Type=XSession
+Exec=uwm
+TryExec=uwm
+Name=UWM
+Comment=The Ultimate Window Manager
diff --git a/desktop/uwm/uwm.info b/desktop/uwm/uwm.info
new file mode 100644
index 0000000000..bf76757dbb
--- /dev/null
+++ b/desktop/uwm/uwm.info
@@ -0,0 +1,10 @@
+PRGNAM="uwm"
+VERSION="0.2.10a"
+HOMEPAGE="http://udeproject.sourceforge.net"
+DOWNLOAD="http://downloads.sourceforge.net/udeproject/uwm-0.2.10a.tar.gz"
+MD5SUM="1370418179f56612ffe63d6ed0c89d13"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="Tracy Williams"
+EMAIL="t_s_williams[at]yahoo[dot]com"
+APPROVED="rworkman"
diff --git a/desktop/uwm/xinitrc.uwm b/desktop/uwm/xinitrc.uwm
new file mode 100644
index 0000000000..71b59ce9fc
--- /dev/null
+++ b/desktop/uwm/xinitrc.uwm
@@ -0,0 +1,25 @@
+#!/bin/sh
+# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $
+
+userresources=$HOME/.Xresources
+usermodmap=$HOME/.Xmodmap
+sysresources=/etc/X11/xinit/.Xresources
+sysmodmap=/etc/X11/xinit/.Xmodmap
+
+# merge in defaults and keymaps
+[ -f $sysresources ] && /usr/bin/xrdb -merge $sysresources
+[ -f $sysmodmap ] && /usr/bin/xmodmap $sysmodmap
+[ -f $userresources ] && /usr/bin/xrdb -merge $userresources
+[ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap
+
+# Create default user directory & populate it if not already existent
+if [ ! -d $HOME/.ude/config ]; then
+ mkdir -p $HOME/.ude/config
+ cp -a /usr/share/uwm/config/* $HOME/.ude/config/
+fi
+
+if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
+ exec ck-launch-session uwm
+else
+ exec uwm
+fi