From 211709a2f09bd677aa1deac0dc82fde6ce1c8626 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 2 Jun 2012 00:01:53 +0000 Subject: Sat Jun 2 00:01:53 UTC 2012 --- community-staging/awesome/01-fix_glib2_build.patch | 31 +++++++++++ community-staging/awesome/PKGBUILD | 64 ++++++++++++++++++++++ community-staging/awesome/awesome.desktop | 7 +++ 3 files changed, 102 insertions(+) create mode 100644 community-staging/awesome/01-fix_glib2_build.patch create mode 100644 community-staging/awesome/PKGBUILD create mode 100644 community-staging/awesome/awesome.desktop (limited to 'community-staging/awesome') diff --git a/community-staging/awesome/01-fix_glib2_build.patch b/community-staging/awesome/01-fix_glib2_build.patch new file mode 100644 index 000000000..aeab63fbb --- /dev/null +++ b/community-staging/awesome/01-fix_glib2_build.patch @@ -0,0 +1,31 @@ +From d3d8160e273b56d0262d2570cfa6bcb76b9ea771 Mon Sep 17 00:00:00 2001 +From: Thomas Moschny +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 . + +Signed-off-by: Thomas Moschny +Signed-off-by: Uli Schlachter +--- + 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 + #include + +-#include ++#include + + #include "spawn.h" + #include "screen.h" +-- +1.7.2.5 + diff --git a/community-staging/awesome/PKGBUILD b/community-staging/awesome/PKGBUILD new file mode 100644 index 000000000..b62dd9a38 --- /dev/null +++ b/community-staging/awesome/PKGBUILD @@ -0,0 +1,64 @@ +# $Id: PKGBUILD 71670 2012-05-31 20:27:13Z seblu $ +# Maintainer: Sébastien Luttringer +# Contributor: xduugu +# Contributor: Ronald van Haren +# Contributor: Vesa Kaihlavirta + +pkgname=awesome +pkgver=3.4.11 +pkgrel=5 +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-staging/awesome/awesome.desktop b/community-staging/awesome/awesome.desktop new file mode 100644 index 000000000..453399c6e --- /dev/null +++ b/community-staging/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 -- cgit v1.2.3-54-g00ecf