[arch-commits] Commit in xcompmgr/repos (6 files)

andyrtr at archlinux.org andyrtr at archlinux.org
Mon Sep 3 10:37:05 UTC 2012


    Date: Monday, September 3, 2012 @ 06:37:05
  Author: andyrtr
Revision: 165902

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  xcompmgr/repos/testing-i686/
  xcompmgr/repos/testing-i686/PKGBUILD
    (from rev 165901, xcompmgr/trunk/PKGBUILD)
  xcompmgr/repos/testing-i686/fix_broken_shadows.diff
    (from rev 165901, xcompmgr/trunk/fix_broken_shadows.diff)
  xcompmgr/repos/testing-x86_64/
  xcompmgr/repos/testing-x86_64/PKGBUILD
    (from rev 165901, xcompmgr/trunk/PKGBUILD)
  xcompmgr/repos/testing-x86_64/fix_broken_shadows.diff
    (from rev 165901, xcompmgr/trunk/fix_broken_shadows.diff)

----------------------------------------+
 testing-i686/PKGBUILD                  |   33 +++++++++++++++++++++++++++++++
 testing-i686/fix_broken_shadows.diff   |   28 ++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD                |   33 +++++++++++++++++++++++++++++++
 testing-x86_64/fix_broken_shadows.diff |   28 ++++++++++++++++++++++++++
 4 files changed, 122 insertions(+)

Copied: xcompmgr/repos/testing-i686/PKGBUILD (from rev 165901, xcompmgr/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-09-03 10:37:05 UTC (rev 165902)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Leslie P. Polzer <leslie.polzer at 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}/"
+}

Copied: xcompmgr/repos/testing-i686/fix_broken_shadows.diff (from rev 165901, xcompmgr/trunk/fix_broken_shadows.diff)
===================================================================
--- testing-i686/fix_broken_shadows.diff	                        (rev 0)
+++ testing-i686/fix_broken_shadows.diff	2012-09-03 10:37:05 UTC (rev 165902)
@@ -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;

Copied: xcompmgr/repos/testing-x86_64/PKGBUILD (from rev 165901, xcompmgr/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-09-03 10:37:05 UTC (rev 165902)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Leslie P. Polzer <leslie.polzer at 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}/"
+}

Copied: xcompmgr/repos/testing-x86_64/fix_broken_shadows.diff (from rev 165901, xcompmgr/trunk/fix_broken_shadows.diff)
===================================================================
--- testing-x86_64/fix_broken_shadows.diff	                        (rev 0)
+++ testing-x86_64/fix_broken_shadows.diff	2012-09-03 10:37:05 UTC (rev 165902)
@@ -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;




More information about the arch-commits mailing list