summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksandar Samardzic <asamardzic@matf.bg.ac.yu>2010-05-11 20:00:06 +0200
committerAlan Hicks <alan@lizella.net>2010-05-11 20:00:06 +0200
commita5ea4df026296f9f43089783a2144ef4fe8f6f36 (patch)
treec235a07ba2192b217022495357841e8d427daa1f
parentb76f831e4145e3980bbea90b02c0a3fbf72fb113 (diff)
downloadslackbuilds-a5ea4df026296f9f43089783a2144ef4fe8f6f36.tar.gz
desktop/enlightenment: Added to 12.0 repository
-rw-r--r--desktop/enlightenment/README8
-rw-r--r--desktop/enlightenment/enlightenment.SlackBuild63
-rw-r--r--desktop/enlightenment/enlightenment.info8
-rw-r--r--desktop/enlightenment/slack-desc12
-rw-r--r--desktop/enlightenment/xinitrc.enlightenment1728
5 files changed, 119 insertions, 0 deletions
diff --git a/desktop/enlightenment/README b/desktop/enlightenment/README
new file mode 100644
index 0000000000..d51155b9ac
--- /dev/null
+++ b/desktop/enlightenment/README
@@ -0,0 +1,8 @@
+Enlightenment DR17 is the next generation of UNIX graphical
+environments. It is not just a window manager, but it is also a
+desktop shell. A desktop shell means a window manager plus a file
+manager plus configuration utilities all in one.
+
+Enlightenment is dependent upon the following packages (build exactly
+in the order given): eet, evas, ecore, e_dbus, efreet, embryo and
+edje.
diff --git a/desktop/enlightenment/enlightenment.SlackBuild b/desktop/enlightenment/enlightenment.SlackBuild
new file mode 100644
index 0000000000..afe6758080
--- /dev/null
+++ b/desktop/enlightenment/enlightenment.SlackBuild
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+# Slackware build script for Enlightenment DR17
+
+# Written by Aleksandar B. Samardzic <asamardzic@matf.bg.ac.yu>
+
+PRGNAM=enlightenment
+VERSION=0.16.999.042
+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"
+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 .
+chmod -R u+w,go+r-w,a-s .
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var
+
+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 COPYING COPYING-PLAIN ChangeLog INSTALL NEWS README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# handle the xinitrc file
+mkdir -p $PKG/etc/X11/xinit
+cat $CWD/xinitrc.enlightenment17 > $PKG/etc/X11/xinit/xinitrc.enlightenment17
+
+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.tgz
diff --git a/desktop/enlightenment/enlightenment.info b/desktop/enlightenment/enlightenment.info
new file mode 100644
index 0000000000..3e5dcce274
--- /dev/null
+++ b/desktop/enlightenment/enlightenment.info
@@ -0,0 +1,8 @@
+PRGNAM="enlightenment"
+VERSION="0.16.999.042"
+HOMEPAGE="http://www.enlightenment.org/"
+DOWNLOAD="http://download.enlightenment.org/snapshots/2008-01-25/enlightenment-0.16.999.042.tar.gz"
+MD5SUM="842a57a283a9ff49993cb026f0ff0794"
+MAINTAINER="Aleksandar B. Samardzic"
+EMAIL="asamardzic@matf.bg.ac.yu"
+APPROVED="Alan Hicks,Erik Hanson"
diff --git a/desktop/enlightenment/slack-desc b/desktop/enlightenment/slack-desc
new file mode 100644
index 0000000000..6fbd606000
--- /dev/null
+++ b/desktop/enlightenment/slack-desc
@@ -0,0 +1,12 @@
+ |---- Handy ruler ----------------------------------------|
+enlightenment: Enlightenment DR17 is window manager and desktop shell.
+enlightenment:
+enlightenment: Enlightenment DR17 is the next generation of UNIX
+enlightenment: graphical environments. It is not just a window
+enlightenment: manager, but it is also a desktop shell. A desktop
+enlightenment: shell means, a window manager plus a file manager, plus
+enlightenment: configuration utilities all in one.
+enlightenment:
+enlightenment: Enlightenment home page is: http://www.enlightenment.org/
+enlightenment:
+enlightenment:
diff --git a/desktop/enlightenment/xinitrc.enlightenment17 b/desktop/enlightenment/xinitrc.enlightenment17
new file mode 100644
index 0000000000..9c0fe066cd
--- /dev/null
+++ b/desktop/enlightenment/xinitrc.enlightenment17
@@ -0,0 +1,28 @@
+#!/bin/sh
+# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
+
+userresources=$HOME/.Xresources
+usermodmap=$HOME/.Xmodmap
+sysresources=/usr/lib/X11/xinit/.Xresources
+sysmodmap=/usr/lib/X11/xinit/.Xmodmap
+
+# merge in defaults and keymaps
+
+if [ -f $sysresources ]; then
+ xrdb -merge $sysresources
+fi
+
+if [ -f $sysmodmap ]; then
+ xmodmap $sysmodmap
+fi
+
+if [ -f $userresources ]; then
+ xrdb -merge $userresources
+fi
+
+if [ -f $usermodmap ]; then
+ xmodmap $usermodmap
+fi
+
+# Start the window manager:
+exec /usr/bin/enlightenment_start