summaryrefslogtreecommitdiff
path: root/community/awesome
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-14 00:02:14 +0000
committerroot <root@rshg054.dnsready.net>2012-05-14 00:02:14 +0000
commitd3af8dc0117dc1ce4fea3d05c7a2d7786bd78986 (patch)
tree31feb3c3623dd48f13ce1cdbdf10d870ea5b5678 /community/awesome
parente8aea505d7f36277edd02ef965bc3f8e1c81ee5d (diff)
Mon May 14 00:02:13 UTC 2012
Diffstat (limited to 'community/awesome')
-rw-r--r--community/awesome/01-fix_glib2_build.patch31
-rw-r--r--community/awesome/PKGBUILD64
-rw-r--r--community/awesome/awesome.desktop7
3 files changed, 102 insertions, 0 deletions
diff --git a/community/awesome/01-fix_glib2_build.patch b/community/awesome/01-fix_glib2_build.patch
new file mode 100644
index 000000000..aeab63fbb
--- /dev/null
+++ b/community/awesome/01-fix_glib2_build.patch
@@ -0,0 +1,31 @@
+From d3d8160e273b56d0262d2570cfa6bcb76b9ea771 Mon Sep 17 00:00:00 2001
+From: Thomas Moschny <thomas.moschny@gmx.de>
+Date: Wed, 14 Dec 2011 20:00:53 +0100
+Subject: [PATCH] Fix build with glib2 2.31.0
+
+Starting with glib2 2.31.0, It is no longer possible to
+include individual headers (like "ghash.h") -- you must
+#include <glib.h>.
+
+Signed-off-by: Thomas Moschny <thomas.moschny@gmx.de>
+Signed-off-by: Uli Schlachter <psychon@znc.in>
+---
+ spawn.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/spawn.c b/spawn.c
+index 3c8cf07..a6d6c5e 100644
+--- a/spawn.c
++++ b/spawn.c
+@@ -24,7 +24,7 @@
+ #include <sys/types.h>
+ #include <sys/wait.h>
+
+-#include <glib/gspawn.h>
++#include <glib.h>
+
+ #include "spawn.h"
+ #include "screen.h"
+--
+1.7.2.5
+
diff --git a/community/awesome/PKGBUILD b/community/awesome/PKGBUILD
new file mode 100644
index 000000000..b67f9c548
--- /dev/null
+++ b/community/awesome/PKGBUILD
@@ -0,0 +1,64 @@
+# $Id: PKGBUILD 70615 2012-05-12 21:06:01Z ibiru $
+# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
+# Contributor: xduugu
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Vesa Kaihlavirta
+
+pkgname=awesome
+pkgver=3.4.11
+pkgrel=4
+pkgdesc='Highly configurable framework window manager'
+arch=('i686' 'x86_64')
+url='http://awesome.naquadah.org/'
+license=('GPL2')
+depends=(
+ 'cairo'
+ 'dbus'
+ 'imlib2'
+ 'libev'
+ 'libxdg-basedir'
+ 'lua'
+ 'pango'
+ 'startup-notification'
+ 'xcb-util-image'
+ 'xcb-util-keysyms'
+ 'xcb-util-wm'
+ 'xorg-xmessage'
+)
+makedepends=(
+ 'asciidoc'
+ 'cmake'
+ 'docbook-xsl'
+ 'doxygen'
+ 'gperf'
+ 'imagemagick'
+ 'luadoc'
+ 'xmlto'
+)
+optdepends=(
+ 'rlwrap: readline support for awesome-client'
+ 'feh: image background setter for awsetbg'
+)
+provides=('notification-daemon')
+source=("$url/download/$pkgname-$pkgver.tar.xz"
+ "$pkgname.desktop"
+ '01-fix_glib2_build.patch')
+md5sums=('d6aa71334b5cd4ef63ce69d6c612ecf2'
+ '0fdbeec43d211c6750041d7e37611a6a'
+ 'baa179074c36e26ef156ebb2060bfd5c')
+
+build() {
+ cd $pkgname-$pkgver
+ # to remove in 3.4.12
+ patch -N -p1 -i ../01-fix_glib2_build.patch
+ make CMAKE_ARGS=' -DPREFIX=/usr -DSYSCONFDIR=/etc -DCMAKE_BUILD_TYPE=RELEASE'
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ # install desktop file so you can start awesome from your login manager
+ install -Dm644 ../awesome.desktop "$pkgdir/usr/share/xsessions/awesome.desktop"
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
diff --git a/community/awesome/awesome.desktop b/community/awesome/awesome.desktop
new file mode 100644
index 000000000..453399c6e
--- /dev/null
+++ b/community/awesome/awesome.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Awesome
+Comment=Highly configurable framework window manager
+Type=XSession
+Exec=awesome
+TryExec=awesome