diff options
author | root <root@rshg054.dnsready.net> | 2012-09-05 00:02:31 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-09-05 00:02:31 +0000 |
commit | b915a21821423232052e2e48ea14f288b3098c32 (patch) | |
tree | 36efd4baf3e66f689f2c7d58d05d0a64fbfcc6e9 /testing/xcompmgr | |
parent | 8b7b4f2e5a808cb0c1226c23469fa57751eba190 (diff) |
Wed Sep 5 00:02:30 UTC 2012
Diffstat (limited to 'testing/xcompmgr')
-rw-r--r-- | testing/xcompmgr/PKGBUILD | 33 | ||||
-rw-r--r-- | testing/xcompmgr/fix_broken_shadows.diff | 28 |
2 files changed, 61 insertions, 0 deletions
diff --git a/testing/xcompmgr/PKGBUILD b/testing/xcompmgr/PKGBUILD new file mode 100644 index 000000000..f9439333a --- /dev/null +++ b/testing/xcompmgr/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 165902 2012-09-03 10:37:05Z andyrtr $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Leslie P. Polzer <leslie.polzer@gmx.net> + +pkgname=xcompmgr +pkgver=1.1.6 +pkgrel=2 +pkgdesc="Composite Window-effects manager for X.org" +arch=('i686' 'x86_64') +url="http://xorg.freedesktop.org/" +license=('custom') +depends=('libxcomposite' 'libxdamage' 'libxrender' 'libxext') +conflicts=('xapps') +replaces=('xapps') +source=(http://xorg.freedesktop.org/releases/individual/app/${pkgname}-${pkgver}.tar.bz2 + fix_broken_shadows.diff) +sha1sums=('a9cf78ea32bac51ff584115381f195566b164fe3' + '435f9f0ad652bdd759f822514bf1559abf119ffe') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + # fix broken shadows in openbox - patch takern from https://bugs.freedesktop.org/show_bug.cgi?id=46285 + patch -Np0 -i ${srcdir}/fix_broken_shadows.diff + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" +} diff --git a/testing/xcompmgr/fix_broken_shadows.diff b/testing/xcompmgr/fix_broken_shadows.diff new file mode 100644 index 000000000..39b8ac725 --- /dev/null +++ b/testing/xcompmgr/fix_broken_shadows.diff @@ -0,0 +1,28 @@ +--- xcompmgr.c 2011-11-19 01:49:52.000000000 -0600 ++++ xcompmgr.c 2012-08-11 21:58:58.000000000 -0500 +@@ -1028,7 +1028,6 @@ + { + w->borderClip = XFixesCreateRegion (dpy, NULL, 0); + XFixesCopyRegion (dpy, w->borderClip, region); +- XFixesIntersectRegion(dpy, w->borderClip, w->borderClip, w->borderSize); + } + w->prev_trans = t; + t = w; +@@ -1080,6 +1079,8 @@ + if (w->mode == WINDOW_TRANS) + { + int x, y, wid, hei; ++ XFixesIntersectRegion(dpy, w->borderClip, w->borderClip, w->borderSize); ++ XFixesSetPictureClipRegion(dpy, rootBuffer, 0, 0, w->borderClip); + #if HAS_NAME_WINDOW_PIXMAP + x = w->a.x; + y = w->a.y; +@@ -1099,6 +1100,8 @@ + else if (w->mode == WINDOW_ARGB) + { + int x, y, wid, hei; ++ XFixesIntersectRegion(dpy, w->borderClip, w->borderClip, w->borderSize); ++ XFixesSetPictureClipRegion(dpy, rootBuffer, 0, 0, w->borderClip); + #if HAS_NAME_WINDOW_PIXMAP + x = w->a.x; + y = w->a.y; |