diff options
author | Marco Cecchetti <mrc.ildp@gmail.com> | 2010-05-12 23:28:16 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 23:28:16 +0200 |
commit | b517768799aa2db4da3596daafaca46abe37afdd (patch) | |
tree | 465680eab891f59e53aea88884a5d2e9bc0b6a1a /desktop/avant-window-navigator | |
parent | a837870fd88cdfb683f8568bd8806fef06c6e5e1 (diff) | |
download | slackbuilds-b517768799aa2db4da3596daafaca46abe37afdd.tar.gz |
desktop/avant-window-navigator: Added to 12.2 repository
Diffstat (limited to 'desktop/avant-window-navigator')
-rw-r--r-- | desktop/avant-window-navigator/README | 23 | ||||
-rw-r--r-- | desktop/avant-window-navigator/avant-window-navigator.SlackBuild | 94 | ||||
-rw-r--r-- | desktop/avant-window-navigator/avant-window-navigator.info | 8 | ||||
-rw-r--r-- | desktop/avant-window-navigator/doinst.sh | 11 | ||||
-rw-r--r-- | desktop/avant-window-navigator/slack-desc | 23 |
5 files changed, 159 insertions, 0 deletions
diff --git a/desktop/avant-window-navigator/README b/desktop/avant-window-navigator/README new file mode 100644 index 0000000000..7904a04160 --- /dev/null +++ b/desktop/avant-window-navigator/README @@ -0,0 +1,23 @@ +Avant Window Navigator (Awn) + +Avant Window Navigator is a dock-like bar which sits at the bottom of the screen. +It has support for launchers, task lists, and thirdy party applets. + +This requires pyxdg, GConf, and ORBit2. + +Note: +This has been tested with xfce4. To use Awn rather than xfce4-panel, you can: + +- Launch xfce +- Enable display compositing from: Settings/Window Manager Tweaks +- Launch a Terminal and execute: killall xfce4-panel +- Run: avant-window-navigator & +- Log Out saving the current session + +To add launchers on the panel you have to select "Add" in the "Launchers" +section of Awn Manager (you will have to restart the dock) or you can edit +~/.config/awn/launchers directory adding more entries. + +Tips: +To run more than one instance of an application on the panel, "middle-click" +the launcher. diff --git a/desktop/avant-window-navigator/avant-window-navigator.SlackBuild b/desktop/avant-window-navigator/avant-window-navigator.SlackBuild new file mode 100644 index 0000000000..50294bca46 --- /dev/null +++ b/desktop/avant-window-navigator/avant-window-navigator.SlackBuild @@ -0,0 +1,94 @@ +#!/bin/sh +# Slackware build script for avant-window-navigator +# Written by Marco Cecchetti (mrc.ildp@gmail.com) + +PRGNAM=avant-window-navigator +VERSION=${VERSION:-0.3.2} +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +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 \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-static=no \ + --with-desktop=xfce4 \ + --enable-gtk-doc \ + --build=$ARCH-slackware-linux + +make +make install 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 +) + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS ChangeLog COPYING* INSTALL NEWS README TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +( cd $PKG/usr/doc/$PRGNAM-$VERSION + ln -s ../../share/gtk-doc/html/libawn html +) + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +# Handle the schemas and such (hopefully) properly +GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" +for RAWNAME in $(find $PKG/etc/gconf/schemas -name "*.schemas") ; do + SCHEMA=$(basename $RAWNAME) + cat << EOF >> $PKG/install/doinst.sh +GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \ +chroot . gconftool-2 --makefile-install-rule /etc/gconf/schemas/$SCHEMA 1>/dev/null +EOF +done +for RAWNAME in $(find $PKG/etc/gconf/schemas -name "*.entries") ; do + ENTRY=$(basename $RAWNAME) + cat << EOF >> $PKG/install/doinst.sh +GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \ +chroot . gconftool-2 --direct \ + --config-source=$GCONF_CONFIG_SOURCE \ + --load /etc/gconf/schemas/$ENTRY 1>/dev/null +EOF +done +unset GCONF_CONFIG_SOURCE + +cd $PKG +/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/desktop/avant-window-navigator/avant-window-navigator.info b/desktop/avant-window-navigator/avant-window-navigator.info new file mode 100644 index 0000000000..c3ac368d44 --- /dev/null +++ b/desktop/avant-window-navigator/avant-window-navigator.info @@ -0,0 +1,8 @@ +PRGNAM="avant-window-navigator" +VERSION="0.3.2" +HOMEPAGE="https://launchpad.net/awn" +DOWNLOAD="http://launchpad.net/awn/0.2/0.3.2/+download/avant-window-navigator-0.3.2.tar.gz" +MD5SUM="e884bfaf9e3f4a7a99373227d7a24b5f" +MAINTAINER="Marco Cecchetti" +EMAIL="mrc.ildp@gmail.com" +APPROVED="rworkman" diff --git a/desktop/avant-window-navigator/doinst.sh b/desktop/avant-window-navigator/doinst.sh new file mode 100644 index 0000000000..bd8f3bab51 --- /dev/null +++ b/desktop/avant-window-navigator/doinst.sh @@ -0,0 +1,11 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + diff --git a/desktop/avant-window-navigator/slack-desc b/desktop/avant-window-navigator/slack-desc new file mode 100644 index 0000000000..2ed2e81d48 --- /dev/null +++ b/desktop/avant-window-navigator/slack-desc @@ -0,0 +1,23 @@ +# 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------------------------------------------------------| +avant-window-navigator: Avant Window Navigator (Awn) +avant-window-navigator: +avant-window-navigator: Avant Window Navigator is a dock-like bar which sits at the bottom of +avant-window-navigator: the screen. It has support for launchers, task lists, and thirdy party +avant-window-navigator: applets. +avant-window-navigator: +avant-window-navigator: HomePage: https://launchpad.net/awn +avant-window-navigator: +avant-window-navigator: +avant-window-navigator: +avant-window-navigator: + + + + |