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

Thorsten Töpper ttoepper at nymeria.archlinux.org
Thu Jun 26 05:07:13 UTC 2014


    Date: Thursday, June 26, 2014 @ 07:07:13
  Author: ttoepper
Revision: 113576

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

Added:
  i3-wm/repos/community-i686/PKGBUILD
    (from rev 113575, i3-wm/trunk/PKGBUILD)
  i3-wm/repos/community-i686/bugfix_dont_focus_unmapped_container_on_manage.patch
    (from rev 113575, i3-wm/trunk/bugfix_dont_focus_unmapped_container_on_manage.patch)
  i3-wm/repos/community-x86_64/PKGBUILD
    (from rev 113575, i3-wm/trunk/PKGBUILD)
  i3-wm/repos/community-x86_64/bugfix_dont_focus_unmapped_container_on_manage.patch
    (from rev 113575, i3-wm/trunk/bugfix_dont_focus_unmapped_container_on_manage.patch)
Deleted:
  i3-wm/repos/community-i686/PKGBUILD
  i3-wm/repos/community-x86_64/PKGBUILD

-----------------------------------------------------------------------+
 /PKGBUILD                                                             |  152 ++++++++++
 community-i686/PKGBUILD                                               |   72 ----
 community-i686/bugfix_dont_focus_unmapped_container_on_manage.patch   |   13 
 community-x86_64/PKGBUILD                                             |   72 ----
 community-x86_64/bugfix_dont_focus_unmapped_container_on_manage.patch |   13 
 5 files changed, 178 insertions(+), 144 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2014-06-26 05:07:08 UTC (rev 113575)
+++ community-i686/PKGBUILD	2014-06-26 05:07:13 UTC (rev 113576)
@@ -1,72 +0,0 @@
-# $Id$
-# Maintainer: Thorsten Töpper <atsutane-tu at freethoughts.de>
-
-pkgname=i3-wm
-_pkgsourcename=i3
-pkgver=4.8
-pkgrel=2
-pkgdesc='An improved dynamic tiling window manager'
-arch=('i686' 'x86_64')
-url='http://i3wm.org/'
-license=('BSD')
-replaces=('i3' 'i3bar')
-groups=('i3')
-depends=('xcb-util-cursor' 'xcb-util-keysyms' 'xcb-util-wm' 'libev' 'yajl'
-         'startup-notification' 'pango')
-makedepends=('bison' 'flex')
-optdepends=('dmenu: As menu.'
-            'i3lock: For locking your screen.'
-            'i3status: To display systeminformation with a bar.'
-            'perl-anyevent-i3: Features like saving the layout.'
-            'perl-json-xs: Features like saving the layout.')
-options=('docs' '!strip')
-source=("http://i3wm.org/downloads/${_pkgsourcename}-${pkgver}.tar.bz2"
-        "http://i3wm.org/downloads/${_pkgsourcename}-${pkgver}.tar.bz2.asc")
-md5sums=('4151e8e81fdc78b32a7cb953f67e3bef'
-         'SKIP')
-
-build() {
-  cd "$srcdir/$_pkgsourcename-$pkgver"
-  
-  # In order to avoid problems with bison use only a single process
-  MAKEFLAGS="-j1"
-  make
-}
-
-package() {
-  cd "$srcdir/$_pkgsourcename-$pkgver"
-
-  make DESTDIR="$pkgdir/" install
-  
-  install -Dm644 man/i3.1 \
-    ${pkgdir}/usr/share/man/man1/i3.1
-  install -Dm644 man/i3bar.1 \
-    ${pkgdir}/usr/share/man/man1/i3bar.1
-  install -Dm644 man/i3-config-wizard.1 \
-    ${pkgdir}/usr/share/man/man1/i3-config-wizard.1
-  install -Dm644 man/i3-input.1 \
-    ${pkgdir}/usr/share/man/man1/i3-input.1
-  install -Dm644 man/i3-msg.1 \
-    ${pkgdir}/usr/share/man/man1/i3-msg.1
-  install -Dm644 man/i3-migrate-config-to-v4.1 \
-    ${pkgdir}/usr/share/man/man1/i3-migrate-config-to-v4.1
-  install -Dm644 man/i3-nagbar.1 \
-    ${pkgdir}/usr/share/man/man1/i3-nagbar.1
-  install -Dm644 man/i3-dmenu-desktop.1 \
-    ${pkgdir}/usr/share/man/man1/i3-dmenu-desktop.1
-  install -Dm644 man/i3-dump-log.1 \
-    ${pkgdir}/usr/share/man/man1/i3-dump-log.1
-  install -Dm644 man/i3-sensible-editor.1 \
-    ${pkgdir}/usr/share/man/man1/i3-sensible-editor.1
-  install -Dm644 man/i3-sensible-pager.1 \
-    ${pkgdir}/usr/share/man/man1/i3-sensible-pager.1
-  install -Dm644 man/i3-sensible-terminal.1 \
-    ${pkgdir}/usr/share/man/man1/i3-sensible-terminal.1
-
-  install -Dm644 LICENSE \
-    ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-  
-  make clean
-}
-
-# vim:set ts=2 sw=2 et:

Copied: i3-wm/repos/community-i686/PKGBUILD (from rev 113575, i3-wm/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-06-26 05:07:13 UTC (rev 113576)
@@ -0,0 +1,76 @@
+# $Id$
+# Maintainer: Thorsten Töpper <atsutane-tu at freethoughts.de>
+
+pkgname=i3-wm
+_pkgsourcename=i3
+pkgver=4.8
+pkgrel=3
+pkgdesc='An improved dynamic tiling window manager'
+arch=('i686' 'x86_64')
+url='http://i3wm.org/'
+license=('BSD')
+replaces=('i3' 'i3bar')
+groups=('i3')
+depends=('xcb-util-cursor' 'xcb-util-keysyms' 'xcb-util-wm' 'libev' 'yajl'
+         'startup-notification' 'pango')
+makedepends=('bison' 'flex')
+optdepends=('dmenu: As menu.'
+            'i3lock: For locking your screen.'
+            'i3status: To display systeminformation with a bar.'
+            'perl-anyevent-i3: Features like saving the layout.'
+            'perl-json-xs: Features like saving the layout.')
+options=('docs' '!strip')
+source=("http://i3wm.org/downloads/${_pkgsourcename}-${pkgver}.tar.bz2"
+        "http://i3wm.org/downloads/${_pkgsourcename}-${pkgver}.tar.bz2.asc"
+        'bugfix_dont_focus_unmapped_container_on_manage.patch')
+md5sums=('4151e8e81fdc78b32a7cb953f67e3bef'
+         'SKIP'
+         '2601c1d3fa5e45bc637a82486fdc5be6')
+
+build() {
+  cd "$srcdir/$_pkgsourcename-$pkgver"
+  
+  patch -p1 < "$srcdir/bugfix_dont_focus_unmapped_container_on_manage.patch"
+
+  # In order to avoid problems with bison use only a single process
+  MAKEFLAGS="-j1"
+  make
+}
+
+package() {
+  cd "$srcdir/$_pkgsourcename-$pkgver"
+
+  make DESTDIR="$pkgdir/" install
+  
+  install -Dm644 man/i3.1 \
+    ${pkgdir}/usr/share/man/man1/i3.1
+  install -Dm644 man/i3bar.1 \
+    ${pkgdir}/usr/share/man/man1/i3bar.1
+  install -Dm644 man/i3-config-wizard.1 \
+    ${pkgdir}/usr/share/man/man1/i3-config-wizard.1
+  install -Dm644 man/i3-input.1 \
+    ${pkgdir}/usr/share/man/man1/i3-input.1
+  install -Dm644 man/i3-msg.1 \
+    ${pkgdir}/usr/share/man/man1/i3-msg.1
+  install -Dm644 man/i3-migrate-config-to-v4.1 \
+    ${pkgdir}/usr/share/man/man1/i3-migrate-config-to-v4.1
+  install -Dm644 man/i3-nagbar.1 \
+    ${pkgdir}/usr/share/man/man1/i3-nagbar.1
+  install -Dm644 man/i3-dmenu-desktop.1 \
+    ${pkgdir}/usr/share/man/man1/i3-dmenu-desktop.1
+  install -Dm644 man/i3-dump-log.1 \
+    ${pkgdir}/usr/share/man/man1/i3-dump-log.1
+  install -Dm644 man/i3-sensible-editor.1 \
+    ${pkgdir}/usr/share/man/man1/i3-sensible-editor.1
+  install -Dm644 man/i3-sensible-pager.1 \
+    ${pkgdir}/usr/share/man/man1/i3-sensible-pager.1
+  install -Dm644 man/i3-sensible-terminal.1 \
+    ${pkgdir}/usr/share/man/man1/i3-sensible-terminal.1
+
+  install -Dm644 LICENSE \
+    ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  
+  make clean
+}
+
+# vim:set ts=2 sw=2 et:

Copied: i3-wm/repos/community-i686/bugfix_dont_focus_unmapped_container_on_manage.patch (from rev 113575, i3-wm/trunk/bugfix_dont_focus_unmapped_container_on_manage.patch)
===================================================================
--- community-i686/bugfix_dont_focus_unmapped_container_on_manage.patch	                        (rev 0)
+++ community-i686/bugfix_dont_focus_unmapped_container_on_manage.patch	2014-06-26 05:07:13 UTC (rev 113576)
@@ -0,0 +1,13 @@
+diff --git a/8f442e0..9eee357 b/9eee357
+index 8f442e0..9eee357 100644
+--- a/src/manage.c
++++ b/src/manage.c
+@@ -505,7 +505,7 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki
+ 
+     /* Defer setting focus after the 'new' event has been sent to ensure the
+      * proper window event sequence. */
+-    if (set_focus) {
++    if (set_focus && nc->mapped) {
+         DLOG("Now setting focus.\n");
+         con_focus(nc);
+     }

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2014-06-26 05:07:08 UTC (rev 113575)
+++ community-x86_64/PKGBUILD	2014-06-26 05:07:13 UTC (rev 113576)
@@ -1,72 +0,0 @@
-# $Id$
-# Maintainer: Thorsten Töpper <atsutane-tu at freethoughts.de>
-
-pkgname=i3-wm
-_pkgsourcename=i3
-pkgver=4.8
-pkgrel=2
-pkgdesc='An improved dynamic tiling window manager'
-arch=('i686' 'x86_64')
-url='http://i3wm.org/'
-license=('BSD')
-replaces=('i3' 'i3bar')
-groups=('i3')
-depends=('xcb-util-cursor' 'xcb-util-keysyms' 'xcb-util-wm' 'libev' 'yajl'
-         'startup-notification' 'pango')
-makedepends=('bison' 'flex')
-optdepends=('dmenu: As menu.'
-            'i3lock: For locking your screen.'
-            'i3status: To display systeminformation with a bar.'
-            'perl-anyevent-i3: Features like saving the layout.'
-            'perl-json-xs: Features like saving the layout.')
-options=('docs' '!strip')
-source=("http://i3wm.org/downloads/${_pkgsourcename}-${pkgver}.tar.bz2"
-        "http://i3wm.org/downloads/${_pkgsourcename}-${pkgver}.tar.bz2.asc")
-md5sums=('4151e8e81fdc78b32a7cb953f67e3bef'
-         'SKIP')
-
-build() {
-  cd "$srcdir/$_pkgsourcename-$pkgver"
-  
-  # In order to avoid problems with bison use only a single process
-  MAKEFLAGS="-j1"
-  make
-}
-
-package() {
-  cd "$srcdir/$_pkgsourcename-$pkgver"
-
-  make DESTDIR="$pkgdir/" install
-  
-  install -Dm644 man/i3.1 \
-    ${pkgdir}/usr/share/man/man1/i3.1
-  install -Dm644 man/i3bar.1 \
-    ${pkgdir}/usr/share/man/man1/i3bar.1
-  install -Dm644 man/i3-config-wizard.1 \
-    ${pkgdir}/usr/share/man/man1/i3-config-wizard.1
-  install -Dm644 man/i3-input.1 \
-    ${pkgdir}/usr/share/man/man1/i3-input.1
-  install -Dm644 man/i3-msg.1 \
-    ${pkgdir}/usr/share/man/man1/i3-msg.1
-  install -Dm644 man/i3-migrate-config-to-v4.1 \
-    ${pkgdir}/usr/share/man/man1/i3-migrate-config-to-v4.1
-  install -Dm644 man/i3-nagbar.1 \
-    ${pkgdir}/usr/share/man/man1/i3-nagbar.1
-  install -Dm644 man/i3-dmenu-desktop.1 \
-    ${pkgdir}/usr/share/man/man1/i3-dmenu-desktop.1
-  install -Dm644 man/i3-dump-log.1 \
-    ${pkgdir}/usr/share/man/man1/i3-dump-log.1
-  install -Dm644 man/i3-sensible-editor.1 \
-    ${pkgdir}/usr/share/man/man1/i3-sensible-editor.1
-  install -Dm644 man/i3-sensible-pager.1 \
-    ${pkgdir}/usr/share/man/man1/i3-sensible-pager.1
-  install -Dm644 man/i3-sensible-terminal.1 \
-    ${pkgdir}/usr/share/man/man1/i3-sensible-terminal.1
-
-  install -Dm644 LICENSE \
-    ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-  
-  make clean
-}
-
-# vim:set ts=2 sw=2 et:

Copied: i3-wm/repos/community-x86_64/PKGBUILD (from rev 113575, i3-wm/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-06-26 05:07:13 UTC (rev 113576)
@@ -0,0 +1,76 @@
+# $Id$
+# Maintainer: Thorsten Töpper <atsutane-tu at freethoughts.de>
+
+pkgname=i3-wm
+_pkgsourcename=i3
+pkgver=4.8
+pkgrel=3
+pkgdesc='An improved dynamic tiling window manager'
+arch=('i686' 'x86_64')
+url='http://i3wm.org/'
+license=('BSD')
+replaces=('i3' 'i3bar')
+groups=('i3')
+depends=('xcb-util-cursor' 'xcb-util-keysyms' 'xcb-util-wm' 'libev' 'yajl'
+         'startup-notification' 'pango')
+makedepends=('bison' 'flex')
+optdepends=('dmenu: As menu.'
+            'i3lock: For locking your screen.'
+            'i3status: To display systeminformation with a bar.'
+            'perl-anyevent-i3: Features like saving the layout.'
+            'perl-json-xs: Features like saving the layout.')
+options=('docs' '!strip')
+source=("http://i3wm.org/downloads/${_pkgsourcename}-${pkgver}.tar.bz2"
+        "http://i3wm.org/downloads/${_pkgsourcename}-${pkgver}.tar.bz2.asc"
+        'bugfix_dont_focus_unmapped_container_on_manage.patch')
+md5sums=('4151e8e81fdc78b32a7cb953f67e3bef'
+         'SKIP'
+         '2601c1d3fa5e45bc637a82486fdc5be6')
+
+build() {
+  cd "$srcdir/$_pkgsourcename-$pkgver"
+  
+  patch -p1 < "$srcdir/bugfix_dont_focus_unmapped_container_on_manage.patch"
+
+  # In order to avoid problems with bison use only a single process
+  MAKEFLAGS="-j1"
+  make
+}
+
+package() {
+  cd "$srcdir/$_pkgsourcename-$pkgver"
+
+  make DESTDIR="$pkgdir/" install
+  
+  install -Dm644 man/i3.1 \
+    ${pkgdir}/usr/share/man/man1/i3.1
+  install -Dm644 man/i3bar.1 \
+    ${pkgdir}/usr/share/man/man1/i3bar.1
+  install -Dm644 man/i3-config-wizard.1 \
+    ${pkgdir}/usr/share/man/man1/i3-config-wizard.1
+  install -Dm644 man/i3-input.1 \
+    ${pkgdir}/usr/share/man/man1/i3-input.1
+  install -Dm644 man/i3-msg.1 \
+    ${pkgdir}/usr/share/man/man1/i3-msg.1
+  install -Dm644 man/i3-migrate-config-to-v4.1 \
+    ${pkgdir}/usr/share/man/man1/i3-migrate-config-to-v4.1
+  install -Dm644 man/i3-nagbar.1 \
+    ${pkgdir}/usr/share/man/man1/i3-nagbar.1
+  install -Dm644 man/i3-dmenu-desktop.1 \
+    ${pkgdir}/usr/share/man/man1/i3-dmenu-desktop.1
+  install -Dm644 man/i3-dump-log.1 \
+    ${pkgdir}/usr/share/man/man1/i3-dump-log.1
+  install -Dm644 man/i3-sensible-editor.1 \
+    ${pkgdir}/usr/share/man/man1/i3-sensible-editor.1
+  install -Dm644 man/i3-sensible-pager.1 \
+    ${pkgdir}/usr/share/man/man1/i3-sensible-pager.1
+  install -Dm644 man/i3-sensible-terminal.1 \
+    ${pkgdir}/usr/share/man/man1/i3-sensible-terminal.1
+
+  install -Dm644 LICENSE \
+    ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  
+  make clean
+}
+
+# vim:set ts=2 sw=2 et:

Copied: i3-wm/repos/community-x86_64/bugfix_dont_focus_unmapped_container_on_manage.patch (from rev 113575, i3-wm/trunk/bugfix_dont_focus_unmapped_container_on_manage.patch)
===================================================================
--- community-x86_64/bugfix_dont_focus_unmapped_container_on_manage.patch	                        (rev 0)
+++ community-x86_64/bugfix_dont_focus_unmapped_container_on_manage.patch	2014-06-26 05:07:13 UTC (rev 113576)
@@ -0,0 +1,13 @@
+diff --git a/8f442e0..9eee357 b/9eee357
+index 8f442e0..9eee357 100644
+--- a/src/manage.c
++++ b/src/manage.c
+@@ -505,7 +505,7 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki
+ 
+     /* Defer setting focus after the 'new' event has been sent to ensure the
+      * proper window event sequence. */
+-    if (set_focus) {
++    if (set_focus && nc->mapped) {
+         DLOG("Now setting focus.\n");
+         con_focus(nc);
+     }




More information about the arch-commits mailing list