[arch-commits] Commit in openbox/repos (8 files)

Florian Pritz bluewind at archlinux.org
Sat Sep 13 16:03:52 UTC 2014


    Date: Saturday, September 13, 2014 @ 18:03:51
  Author: bluewind
Revision: 118911

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

Added:
  openbox/repos/community-testing-i686/
  openbox/repos/community-testing-i686/PKGBUILD
    (from rev 118910, openbox/trunk/PKGBUILD)
  openbox/repos/community-testing-i686/openbox-3.5.0-title-matching.patch
    (from rev 118910, openbox/trunk/openbox-3.5.0-title-matching.patch)
  openbox/repos/community-testing-i686/openbox-3.5.0-which-2.20.patch
    (from rev 118910, openbox/trunk/openbox-3.5.0-which-2.20.patch)
  openbox/repos/community-testing-x86_64/
  openbox/repos/community-testing-x86_64/PKGBUILD
    (from rev 118910, openbox/trunk/PKGBUILD)
  openbox/repos/community-testing-x86_64/openbox-3.5.0-title-matching.patch
    (from rev 118910, openbox/trunk/openbox-3.5.0-title-matching.patch)
  openbox/repos/community-testing-x86_64/openbox-3.5.0-which-2.20.patch
    (from rev 118910, openbox/trunk/openbox-3.5.0-which-2.20.patch)

-------------------------------------------------------------+
 community-testing-i686/PKGBUILD                             |   61 ++++++++++
 community-testing-i686/openbox-3.5.0-title-matching.patch   |   11 +
 community-testing-i686/openbox-3.5.0-which-2.20.patch       |   11 +
 community-testing-x86_64/PKGBUILD                           |   61 ++++++++++
 community-testing-x86_64/openbox-3.5.0-title-matching.patch |   11 +
 community-testing-x86_64/openbox-3.5.0-which-2.20.patch     |   11 +
 6 files changed, 166 insertions(+)

Copied: openbox/repos/community-testing-i686/PKGBUILD (from rev 118910, openbox/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2014-09-13 16:03:51 UTC (rev 118911)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Florian pritz <bluewind at xinu.at>
+# Contributor: Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+# Contributor: Brad Fanella <bradfanella at archlinux.us>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: tobias <tobias at archlinux.org>
+
+pkgname=openbox
+pkgver=3.5.2
+pkgrel=7
+pkgdesc='Highly configurable and lightweight X11 window manager'
+arch=('i686' 'x86_64')
+url='http://openbox.org'
+license=('GPL')
+depends=('startup-notification' 'libxml2' 'libxinerama' 'libxrandr'
+         'libxcursor' 'pango' 'imlib2' 'librsvg' 'libsm')
+optdepends=('kdebase-workspace: for the KDE/Openbox xsession'
+            'python2-xdg: for the openbox-xdg-autostart script')
+groups=('lxde')
+backup=('etc/xdg/openbox/menu.xml' 'etc/xdg/openbox/rc.xml'
+        'etc/xdg/openbox/autostart' 'etc/xdg/openbox/environment')
+source=(http://www.icculus.org/openbox/releases/$pkgname-$pkgver.tar.gz
+        openbox-3.5.0-title-matching.patch
+        openbox-3.5.0-which-2.20.patch)
+md5sums=('93df606606053b7e8578a5c116afb8ec'
+         '0a11d7149da210a31ef88f8a9c717711'
+         '7ca3b5244bb092d46f5bcf1e2bdf4a18')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  patch -Np1 -i "$srcdir"/openbox-3.5.0-title-matching.patch  # OB#5277
+  patch -Np1 -i "$srcdir"/openbox-3.5.0-which-2.20.patch # FS#11455
+
+  sed -i 's|/usr/bin/env python|/usr/bin/env python2|' \
+    data/autostart/openbox-xdg-autostart
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr \
+    --with-x \
+    --enable-startup-notification \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib/openbox
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  # GNOME Panel is no longer available in the official repositories
+  rm -r "$pkgdir"/usr/bin/{gdm-control,gnome-panel-control,openbox-gnome-session} \
+    "$pkgdir"/usr/share/gnome{,-session} \
+    "$pkgdir"/usr/share/man/man1/openbox-gnome-session.1 \
+    "$pkgdir"/usr/share/xsessions/openbox-gnome.desktop
+
+  sed -i 's:startkde:/usr/bin/\0:' \
+    "$pkgdir"/usr/share/xsessions/openbox-kde.desktop
+}

Copied: openbox/repos/community-testing-i686/openbox-3.5.0-title-matching.patch (from rev 118910, openbox/trunk/openbox-3.5.0-title-matching.patch)
===================================================================
--- community-testing-i686/openbox-3.5.0-title-matching.patch	                        (rev 0)
+++ community-testing-i686/openbox-3.5.0-title-matching.patch	2014-09-13 16:03:51 UTC (rev 118911)
@@ -0,0 +1,11 @@
+--- openbox-3.5.0/openbox/client.c    2011-08-01 22:14:58.000000000 +0200
++++ openbox-3.5.0/openbox/client.c    2011-10-22 14:59:56.000000000 +0200
+@@ -883,7 +883,7 @@
+                  !g_pattern_match(app->role,
+                                   strlen(self->role), self->role, NULL))
+             match = FALSE;
+-        else if (app->title &&
++        else if (app->title && self->title &&
+                  !g_pattern_match(app->title,
+                                   strlen(self->title), self->title, NULL))
+             match = FALSE;

Copied: openbox/repos/community-testing-i686/openbox-3.5.0-which-2.20.patch (from rev 118910, openbox/trunk/openbox-3.5.0-which-2.20.patch)
===================================================================
--- community-testing-i686/openbox-3.5.0-which-2.20.patch	                        (rev 0)
+++ community-testing-i686/openbox-3.5.0-which-2.20.patch	2014-09-13 16:03:51 UTC (rev 118911)
@@ -0,0 +1,11 @@
+--- openbox-3.5.0/data/autostart/autostart.in~	2011-08-02 15:50:01.963531310 +0000
++++ openbox-3.5.0/data/autostart/autostart.in	2011-08-02 15:51:57.277879458 +0000
+@@ -8,7 +8,7 @@
+ #
+ #if test -x @libexecdir@/gnome-settings-daemon >/dev/null; then
+ #  @libexecdir@/gnome-settings-daemon &
+-#elif which gnome-settings-daemon >/dev/null; then
++#elif which gnome-settings-daemon >/dev/null 2>&1; then
+ #  gnome-settings-daemon &
+ #fi
+ 

Copied: openbox/repos/community-testing-x86_64/PKGBUILD (from rev 118910, openbox/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2014-09-13 16:03:51 UTC (rev 118911)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Florian pritz <bluewind at xinu.at>
+# Contributor: Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+# Contributor: Brad Fanella <bradfanella at archlinux.us>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: tobias <tobias at archlinux.org>
+
+pkgname=openbox
+pkgver=3.5.2
+pkgrel=7
+pkgdesc='Highly configurable and lightweight X11 window manager'
+arch=('i686' 'x86_64')
+url='http://openbox.org'
+license=('GPL')
+depends=('startup-notification' 'libxml2' 'libxinerama' 'libxrandr'
+         'libxcursor' 'pango' 'imlib2' 'librsvg' 'libsm')
+optdepends=('kdebase-workspace: for the KDE/Openbox xsession'
+            'python2-xdg: for the openbox-xdg-autostart script')
+groups=('lxde')
+backup=('etc/xdg/openbox/menu.xml' 'etc/xdg/openbox/rc.xml'
+        'etc/xdg/openbox/autostart' 'etc/xdg/openbox/environment')
+source=(http://www.icculus.org/openbox/releases/$pkgname-$pkgver.tar.gz
+        openbox-3.5.0-title-matching.patch
+        openbox-3.5.0-which-2.20.patch)
+md5sums=('93df606606053b7e8578a5c116afb8ec'
+         '0a11d7149da210a31ef88f8a9c717711'
+         '7ca3b5244bb092d46f5bcf1e2bdf4a18')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  patch -Np1 -i "$srcdir"/openbox-3.5.0-title-matching.patch  # OB#5277
+  patch -Np1 -i "$srcdir"/openbox-3.5.0-which-2.20.patch # FS#11455
+
+  sed -i 's|/usr/bin/env python|/usr/bin/env python2|' \
+    data/autostart/openbox-xdg-autostart
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr \
+    --with-x \
+    --enable-startup-notification \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib/openbox
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  # GNOME Panel is no longer available in the official repositories
+  rm -r "$pkgdir"/usr/bin/{gdm-control,gnome-panel-control,openbox-gnome-session} \
+    "$pkgdir"/usr/share/gnome{,-session} \
+    "$pkgdir"/usr/share/man/man1/openbox-gnome-session.1 \
+    "$pkgdir"/usr/share/xsessions/openbox-gnome.desktop
+
+  sed -i 's:startkde:/usr/bin/\0:' \
+    "$pkgdir"/usr/share/xsessions/openbox-kde.desktop
+}

Copied: openbox/repos/community-testing-x86_64/openbox-3.5.0-title-matching.patch (from rev 118910, openbox/trunk/openbox-3.5.0-title-matching.patch)
===================================================================
--- community-testing-x86_64/openbox-3.5.0-title-matching.patch	                        (rev 0)
+++ community-testing-x86_64/openbox-3.5.0-title-matching.patch	2014-09-13 16:03:51 UTC (rev 118911)
@@ -0,0 +1,11 @@
+--- openbox-3.5.0/openbox/client.c    2011-08-01 22:14:58.000000000 +0200
++++ openbox-3.5.0/openbox/client.c    2011-10-22 14:59:56.000000000 +0200
+@@ -883,7 +883,7 @@
+                  !g_pattern_match(app->role,
+                                   strlen(self->role), self->role, NULL))
+             match = FALSE;
+-        else if (app->title &&
++        else if (app->title && self->title &&
+                  !g_pattern_match(app->title,
+                                   strlen(self->title), self->title, NULL))
+             match = FALSE;

Copied: openbox/repos/community-testing-x86_64/openbox-3.5.0-which-2.20.patch (from rev 118910, openbox/trunk/openbox-3.5.0-which-2.20.patch)
===================================================================
--- community-testing-x86_64/openbox-3.5.0-which-2.20.patch	                        (rev 0)
+++ community-testing-x86_64/openbox-3.5.0-which-2.20.patch	2014-09-13 16:03:51 UTC (rev 118911)
@@ -0,0 +1,11 @@
+--- openbox-3.5.0/data/autostart/autostart.in~	2011-08-02 15:50:01.963531310 +0000
++++ openbox-3.5.0/data/autostart/autostart.in	2011-08-02 15:51:57.277879458 +0000
+@@ -8,7 +8,7 @@
+ #
+ #if test -x @libexecdir@/gnome-settings-daemon >/dev/null; then
+ #  @libexecdir@/gnome-settings-daemon &
+-#elif which gnome-settings-daemon >/dev/null; then
++#elif which gnome-settings-daemon >/dev/null 2>&1; then
+ #  gnome-settings-daemon &
+ #fi
+ 




More information about the arch-commits mailing list