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

Balló György bgyorgy at nymeria.archlinux.org
Tue Sep 3 01:00:14 UTC 2013


    Date: Tuesday, September 3, 2013 @ 03:00:14
  Author: bgyorgy
Revision: 96676

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

Added:
  lxappearance-obconf/repos/community-i686/PKGBUILD
    (from rev 96675, lxappearance-obconf/trunk/PKGBUILD)
  lxappearance-obconf/repos/community-i686/obconf-rrbutton.patch
    (from rev 96675, lxappearance-obconf/trunk/obconf-rrbutton.patch)
  lxappearance-obconf/repos/community-x86_64/PKGBUILD
    (from rev 96675, lxappearance-obconf/trunk/PKGBUILD)
  lxappearance-obconf/repos/community-x86_64/obconf-rrbutton.patch
    (from rev 96675, lxappearance-obconf/trunk/obconf-rrbutton.patch)
Deleted:
  lxappearance-obconf/repos/community-i686/PKGBUILD
  lxappearance-obconf/repos/community-x86_64/PKGBUILD

----------------------------------------+
 /PKGBUILD                              |   76 +++++++++++++++++++++++++++++++
 community-i686/PKGBUILD                |   28 -----------
 community-i686/obconf-rrbutton.patch   |   49 +++++++++++++++++++
 community-x86_64/PKGBUILD              |   28 -----------
 community-x86_64/obconf-rrbutton.patch |   49 +++++++++++++++++++
 5 files changed, 174 insertions(+), 56 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-09-03 01:00:07 UTC (rev 96675)
+++ community-i686/PKGBUILD	2013-09-03 01:00:14 UTC (rev 96676)
@@ -1,28 +0,0 @@
-# $Id$
-# Maintainer: Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
-
-pkgname=lxappearance-obconf
-pkgver=0.2.0
-pkgrel=1
-pkgdesc='A plugin for LXAppearance to configure Openbox'
-arch=('i686' 'x86_64')
-license=('GPL2')
-url="http://lxde.org/"
-groups=('lxde')
-depends=('lxappearance' 'openbox')
-makedepends=('intltool')
-source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz)
-md5sums=('8bf23c90febe6a655e0f86c80e44725d')
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-  ./configure --prefix=/usr
-  make
-}
-
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}
-

Copied: lxappearance-obconf/repos/community-i686/PKGBUILD (from rev 96675, lxappearance-obconf/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-09-03 01:00:14 UTC (rev 96676)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+
+pkgname=lxappearance-obconf
+pkgver=0.2.0
+pkgrel=2
+pkgdesc='A plugin for LXAppearance to configure Openbox'
+arch=('i686' 'x86_64')
+license=('GPL2')
+url="http://lxde.org/"
+groups=('lxde')
+depends=('lxappearance' 'openbox')
+makedepends=('intltool')
+options=('!libtool')
+source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz
+        obconf-rrbutton.patch)
+md5sums=('8bf23c90febe6a655e0f86c80e44725d'
+         '73cd418ff8dc68a76538fc829d6260c7')
+
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+
+  # Fix building with openbox-3.5.2
+  patch -Np1 -i ../obconf-rrbutton.patch
+}
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  ./configure --prefix=/usr --disable-static
+  make
+}
+
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}
+

Copied: lxappearance-obconf/repos/community-i686/obconf-rrbutton.patch (from rev 96675, lxappearance-obconf/trunk/obconf-rrbutton.patch)
===================================================================
--- community-i686/obconf-rrbutton.patch	                        (rev 0)
+++ community-i686/obconf-rrbutton.patch	2013-09-03 01:00:14 UTC (rev 96676)
@@ -0,0 +1,49 @@
+commit 9cffa6a9ddfc4074f3de8d0302404d70c2818d8f
+Author: Markos Chandras <hwoarang at gentoo.org>
+Date:   Fri Aug 5 16:24:57 2011 +0100
+
+    Use new RrButton structure
+
+diff --git a/src/preview.c b/src/preview.c
+index a82cf15..320e7ac 100644
+--- a/src/preview.c
++++ b/src/preview.c
+@@ -327,28 +327,28 @@ static GdkPixbuf* preview_window(RrTheme *theme, const gchar *titlelayout,
+             switch (*layout) {
+             case 'D':
+                 a = focus ?
+-                    theme->a_focused_unpressed_desk :
+-                    theme->a_unfocused_unpressed_desk;
++                    theme->btn_desk->a_focused_unpressed :
++                    theme->btn_desk->a_unfocused_unpressed;
+                 break;
+             case 'S':
+                 a = focus ?
+-                    theme->a_focused_unpressed_shade :
+-                    theme->a_unfocused_unpressed_shade;
++                    theme->btn_shade->a_focused_unpressed :
++                    theme->btn_shade->a_unfocused_unpressed;
+                 break;
+             case 'I':
+                 a = focus ?
+-                    theme->a_focused_unpressed_iconify :
+-                    theme->a_unfocused_unpressed_iconify;
++                    theme->btn_iconify->a_focused_unpressed :
++                    theme->btn_iconify->a_unfocused_unpressed;
+                 break;
+             case 'M':
+                 a = focus ?
+-                    theme->a_focused_unpressed_max :
+-                    theme->a_unfocused_unpressed_max;
++                    theme->btn_max->a_focused_unpressed :
++                    theme->btn_max->a_unfocused_unpressed;
+                 break;
+             case 'C':
+                 a = focus ?
+-                    theme->a_focused_unpressed_close :
+-                    theme->a_unfocused_unpressed_close;
++                    theme->btn_close->a_focused_unpressed :
++                    theme->btn_close->a_unfocused_unpressed;
+                 break;
+             default:
+                 continue;

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-09-03 01:00:07 UTC (rev 96675)
+++ community-x86_64/PKGBUILD	2013-09-03 01:00:14 UTC (rev 96676)
@@ -1,28 +0,0 @@
-# $Id$
-# Maintainer: Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
-
-pkgname=lxappearance-obconf
-pkgver=0.2.0
-pkgrel=1
-pkgdesc='A plugin for LXAppearance to configure Openbox'
-arch=('i686' 'x86_64')
-license=('GPL2')
-url="http://lxde.org/"
-groups=('lxde')
-depends=('lxappearance' 'openbox')
-makedepends=('intltool')
-source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz)
-md5sums=('8bf23c90febe6a655e0f86c80e44725d')
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-  ./configure --prefix=/usr
-  make
-}
-
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}
-

Copied: lxappearance-obconf/repos/community-x86_64/PKGBUILD (from rev 96675, lxappearance-obconf/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-09-03 01:00:14 UTC (rev 96676)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+
+pkgname=lxappearance-obconf
+pkgver=0.2.0
+pkgrel=2
+pkgdesc='A plugin for LXAppearance to configure Openbox'
+arch=('i686' 'x86_64')
+license=('GPL2')
+url="http://lxde.org/"
+groups=('lxde')
+depends=('lxappearance' 'openbox')
+makedepends=('intltool')
+options=('!libtool')
+source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz
+        obconf-rrbutton.patch)
+md5sums=('8bf23c90febe6a655e0f86c80e44725d'
+         '73cd418ff8dc68a76538fc829d6260c7')
+
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+
+  # Fix building with openbox-3.5.2
+  patch -Np1 -i ../obconf-rrbutton.patch
+}
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  ./configure --prefix=/usr --disable-static
+  make
+}
+
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}
+

Copied: lxappearance-obconf/repos/community-x86_64/obconf-rrbutton.patch (from rev 96675, lxappearance-obconf/trunk/obconf-rrbutton.patch)
===================================================================
--- community-x86_64/obconf-rrbutton.patch	                        (rev 0)
+++ community-x86_64/obconf-rrbutton.patch	2013-09-03 01:00:14 UTC (rev 96676)
@@ -0,0 +1,49 @@
+commit 9cffa6a9ddfc4074f3de8d0302404d70c2818d8f
+Author: Markos Chandras <hwoarang at gentoo.org>
+Date:   Fri Aug 5 16:24:57 2011 +0100
+
+    Use new RrButton structure
+
+diff --git a/src/preview.c b/src/preview.c
+index a82cf15..320e7ac 100644
+--- a/src/preview.c
++++ b/src/preview.c
+@@ -327,28 +327,28 @@ static GdkPixbuf* preview_window(RrTheme *theme, const gchar *titlelayout,
+             switch (*layout) {
+             case 'D':
+                 a = focus ?
+-                    theme->a_focused_unpressed_desk :
+-                    theme->a_unfocused_unpressed_desk;
++                    theme->btn_desk->a_focused_unpressed :
++                    theme->btn_desk->a_unfocused_unpressed;
+                 break;
+             case 'S':
+                 a = focus ?
+-                    theme->a_focused_unpressed_shade :
+-                    theme->a_unfocused_unpressed_shade;
++                    theme->btn_shade->a_focused_unpressed :
++                    theme->btn_shade->a_unfocused_unpressed;
+                 break;
+             case 'I':
+                 a = focus ?
+-                    theme->a_focused_unpressed_iconify :
+-                    theme->a_unfocused_unpressed_iconify;
++                    theme->btn_iconify->a_focused_unpressed :
++                    theme->btn_iconify->a_unfocused_unpressed;
+                 break;
+             case 'M':
+                 a = focus ?
+-                    theme->a_focused_unpressed_max :
+-                    theme->a_unfocused_unpressed_max;
++                    theme->btn_max->a_focused_unpressed :
++                    theme->btn_max->a_unfocused_unpressed;
+                 break;
+             case 'C':
+                 a = focus ?
+-                    theme->a_focused_unpressed_close :
+-                    theme->a_unfocused_unpressed_close;
++                    theme->btn_close->a_focused_unpressed :
++                    theme->btn_close->a_unfocused_unpressed;
+                 break;
+             default:
+                 continue;




More information about the arch-commits mailing list