summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/fluxbox
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/fluxbox
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core-testing/fluxbox')
-rw-r--r--abs/core-testing/fluxbox/PKGBUILD38
-rw-r--r--abs/core-testing/fluxbox/fluxbox-1.0.0-gcc43.patch10
-rw-r--r--abs/core-testing/fluxbox/fluxbox.desktop6
3 files changed, 54 insertions, 0 deletions
diff --git a/abs/core-testing/fluxbox/PKGBUILD b/abs/core-testing/fluxbox/PKGBUILD
new file mode 100644
index 0000000..9d09c63
--- /dev/null
+++ b/abs/core-testing/fluxbox/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 1350 2008-05-05 22:19:58Z eric $
+# Maintainer: Eric Belanger <eric@archlinux.org>
+# Contributor: John Proctor <jproctor@prium.net>
+
+pkgname=fluxbox
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="A lightweight and highly-configurable window manager"
+arch=('i686' 'x86_64')
+url="http://www.fluxbox.org"
+license=('MIT')
+depends=('libxft' 'libxpm' 'libxinerama' 'libxrandr' 'gcc-libs' 'bash' 'imlib2')
+makedepends=('pkgconfig')
+options=('!makeflags')
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2 \
+ $pkgname.desktop fluxbox-1.0.0-gcc43.patch)
+md5sums=('990e276ead0d04421dce4080f485caca' 'eeae9c88a2526ac0bd8afcd9ce97f9ed'\
+ '9ddb3fcd5f080574a44f394282132b3c')
+sha1sums=('7985e35fbb170fda24b9e04610690cd04c7a8748'
+ 'f3f83b8ce84d79c2f8670ef687e0dd89ab0552b8'
+ '51de3957bacfc4848529ba7df80bddca59b1a20b')
+
+build() {
+ cd $startdir/src/$pkgname-${pkgver}
+ patch -p1 < ../fluxbox-1.0.0-gcc43.patch || return 1
+ ./configure --prefix=/usr \
+ --enable-kde --enable-gnome \
+ --enable-xft --enable-xinerama \
+ --enable-imlib2 --enable-nls
+ make || return 1
+ make DESTDIR=$startdir/pkg install
+ # this is a fix to allow fluxbox to shutdown, but this can be changed by the user :-(
+ sed -i 's|^.*slit\.autoHide.*$|session.screen0.slit.autoHide: True|' \
+ $startdir/pkg/usr/share/fluxbox/init
+ install -D -m644 ../$pkgname.desktop \
+ $startdir/pkg/etc/X11/sessions/$pkgname.desktop
+ install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
+}
diff --git a/abs/core-testing/fluxbox/fluxbox-1.0.0-gcc43.patch b/abs/core-testing/fluxbox/fluxbox-1.0.0-gcc43.patch
new file mode 100644
index 0000000..2e7db28
--- /dev/null
+++ b/abs/core-testing/fluxbox/fluxbox-1.0.0-gcc43.patch
@@ -0,0 +1,10 @@
+--- fluxbox-1.0.0-orig/src/main.cc 2007-08-11 14:22:20.000000000 -0400
++++ fluxbox-1.0.0/src/main.cc 2008-05-05 15:14:59.000000000 -0400
+@@ -49,6 +49,7 @@
+ #include <fstream>
+ #include <stdexcept>
+ #include <typeinfo>
++#include <cstring>
+
+ using std::cout;
+ using std::cerr;
diff --git a/abs/core-testing/fluxbox/fluxbox.desktop b/abs/core-testing/fluxbox/fluxbox.desktop
new file mode 100644
index 0000000..418d29a
--- /dev/null
+++ b/abs/core-testing/fluxbox/fluxbox.desktop
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=XSession
+Exec=/usr/bin/startfluxbox
+TryExec=/usr/bin/startfluxbox
+Name=fluxbox