[arch-commits] Commit in fluxbox/repos/extra-x86_64 (8 files)

Christian Hesse eworm at archlinux.org
Sat Apr 18 19:50:41 UTC 2020


    Date: Saturday, April 18, 2020 @ 19:50:40
  Author: eworm
Revision: 380502

archrelease: copy trunk to extra-x86_64

Added:
  fluxbox/repos/extra-x86_64/0001-do-not-leave-stale-oplock-behind.patch
    (from rev 380501, fluxbox/trunk/0001-do-not-leave-stale-oplock-behind.patch)
  fluxbox/repos/extra-x86_64/0002-send-ConfigureNotify-using-root-coordinates.patch
    (from rev 380501, fluxbox/trunk/0002-send-ConfigureNotify-using-root-coordinates.patch)
  fluxbox/repos/extra-x86_64/PKGBUILD
    (from rev 380501, fluxbox/trunk/PKGBUILD)
  fluxbox/repos/extra-x86_64/fluxbox.desktop
    (from rev 380501, fluxbox/trunk/fluxbox.desktop)
Deleted:
  fluxbox/repos/extra-x86_64/0001-do-not-leave-stale-oplock-behind.patch
  fluxbox/repos/extra-x86_64/0002-send-ConfigureNotify-using-root-coordinates.patch
  fluxbox/repos/extra-x86_64/PKGBUILD
  fluxbox/repos/extra-x86_64/fluxbox.desktop

--------------------------------------------------------+
 0001-do-not-leave-stale-oplock-behind.patch            |   58 +++----
 0002-send-ConfigureNotify-using-root-coordinates.patch |  114 +++++++--------
 PKGBUILD                                               |   94 ++++++------
 fluxbox.desktop                                        |   12 -
 4 files changed, 139 insertions(+), 139 deletions(-)

Deleted: 0001-do-not-leave-stale-oplock-behind.patch
===================================================================
--- 0001-do-not-leave-stale-oplock-behind.patch	2020-04-18 19:50:34 UTC (rev 380501)
+++ 0001-do-not-leave-stale-oplock-behind.patch	2020-04-18 19:50:40 UTC (rev 380502)
@@ -1,29 +0,0 @@
-From a5f3eb0d9987d4c0120da3431b73fb523ac0ecba Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Thomas=20L=C3=BCbking?= <thomas.luebking at gmail.com>
-Date: Thu, 30 Jun 2016 15:20:51 +0200
-Subject: [PATCH] do not leave stale oplock behind
-
-deiconify'ing a client on a different workspace left an oplock by a
-shortcut return, turning the client semi- to inaccessible
-
-BUG: 1010
----
- src/Window.cc | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/src/Window.cc b/src/Window.cc
-index 51f5d441..0aa4ec62 100644
---- a/src/Window.cc
-+++ b/src/Window.cc
-@@ -1430,8 +1430,10 @@ void FluxboxWindow::deiconify(bool do_raise) {
-         }
-     }
- 
--    if (m_workspace_number != screen().currentWorkspaceID())
-+    if (m_workspace_number != screen().currentWorkspaceID()) {
-+        oplock = false;
-         return;
-+    }
- 
-     show();
- 

Copied: fluxbox/repos/extra-x86_64/0001-do-not-leave-stale-oplock-behind.patch (from rev 380501, fluxbox/trunk/0001-do-not-leave-stale-oplock-behind.patch)
===================================================================
--- 0001-do-not-leave-stale-oplock-behind.patch	                        (rev 0)
+++ 0001-do-not-leave-stale-oplock-behind.patch	2020-04-18 19:50:40 UTC (rev 380502)
@@ -0,0 +1,29 @@
+From a5f3eb0d9987d4c0120da3431b73fb523ac0ecba Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Thomas=20L=C3=BCbking?= <thomas.luebking at gmail.com>
+Date: Thu, 30 Jun 2016 15:20:51 +0200
+Subject: [PATCH] do not leave stale oplock behind
+
+deiconify'ing a client on a different workspace left an oplock by a
+shortcut return, turning the client semi- to inaccessible
+
+BUG: 1010
+---
+ src/Window.cc | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/src/Window.cc b/src/Window.cc
+index 51f5d441..0aa4ec62 100644
+--- a/src/Window.cc
++++ b/src/Window.cc
+@@ -1430,8 +1430,10 @@ void FluxboxWindow::deiconify(bool do_raise) {
+         }
+     }
+ 
+-    if (m_workspace_number != screen().currentWorkspaceID())
++    if (m_workspace_number != screen().currentWorkspaceID()) {
++        oplock = false;
+         return;
++    }
+ 
+     show();
+ 

Deleted: 0002-send-ConfigureNotify-using-root-coordinates.patch
===================================================================
--- 0002-send-ConfigureNotify-using-root-coordinates.patch	2020-04-18 19:50:34 UTC (rev 380501)
+++ 0002-send-ConfigureNotify-using-root-coordinates.patch	2020-04-18 19:50:40 UTC (rev 380502)
@@ -1,57 +0,0 @@
-From 6346368b58e054174075f615a836ff3bd9c9f823 Mon Sep 17 00:00:00 2001
-From: foobar0815 <atalanta.bergamo at gmail.com>
-Date: Sun, 1 Mar 2015 20:04:10 +0100
-Subject: [PATCH] send ConfigureNotify using root coordinates
-
----
- src/SystemTray.cc | 28 +++++++++++++++++++++++++++-
- 1 file changed, 27 insertions(+), 1 deletion(-)
-
-diff --git a/src/SystemTray.cc b/src/SystemTray.cc
-index 98115087..c908f3e7 100644
---- a/src/SystemTray.cc
-+++ b/src/SystemTray.cc
-@@ -45,6 +45,30 @@ using std::endl;
- using std::hex;
- using std::dec;
- 
-+void getScreenCoordinates(Window win, int x, int y, int &screen_x, int &screen_y) {
-+    XWindowAttributes attr;
-+    if (XGetWindowAttributes(FbTk::App::instance()->display(), win, &attr) == 0) {
-+        return;
-+    }
-+
-+    Window child_win; // not used
-+    Window parent_win; // not used
-+    Window root_win = 0; 
-+    Window* child_windows; // not used
-+    unsigned int num_child_windows; // not used
-+    XQueryTree(FbTk::App::instance()->display(), win,
-+               &root_win,
-+               &parent_win,
-+               &child_windows, &num_child_windows);
-+    if (child_windows != 0) {
-+        XFree(child_windows);
-+    }
-+    XTranslateCoordinates(FbTk::App::instance()->display(),
-+                          parent_win, root_win,
-+                          x, y,
-+                          &screen_x, &screen_y, &child_win);
-+}
-+
- /// helper class for tray windows, so we dont call XDestroyWindow
- class TrayWindow: public FbTk::FbWindow {
- public:
-@@ -470,9 +494,11 @@ void SystemTray::rearrangeClients() {
-         next_x += h_rot0+bw;
-         translateCoords(orientation(), x, y, w_rot0, h_rot0);
-         translatePosition(orientation(), x, y, h_rot0, h_rot0, 0);
-+        int screen_x = 0, screen_y = 0;
-+        getScreenCoordinates((*client_it)->window(), (*client_it)->x(), (*client_it)->y(), screen_x, screen_y);
- 
-         (*client_it)->moveResize(x, y, h_rot0, h_rot0);
--        (*client_it)->sendConfigureNotify(x, y, h_rot0, h_rot0);
-+        (*client_it)->sendConfigureNotify(screen_x, screen_y, h_rot0, h_rot0);
-     }
- }
- 

Copied: fluxbox/repos/extra-x86_64/0002-send-ConfigureNotify-using-root-coordinates.patch (from rev 380501, fluxbox/trunk/0002-send-ConfigureNotify-using-root-coordinates.patch)
===================================================================
--- 0002-send-ConfigureNotify-using-root-coordinates.patch	                        (rev 0)
+++ 0002-send-ConfigureNotify-using-root-coordinates.patch	2020-04-18 19:50:40 UTC (rev 380502)
@@ -0,0 +1,57 @@
+From 6346368b58e054174075f615a836ff3bd9c9f823 Mon Sep 17 00:00:00 2001
+From: foobar0815 <atalanta.bergamo at gmail.com>
+Date: Sun, 1 Mar 2015 20:04:10 +0100
+Subject: [PATCH] send ConfigureNotify using root coordinates
+
+---
+ src/SystemTray.cc | 28 +++++++++++++++++++++++++++-
+ 1 file changed, 27 insertions(+), 1 deletion(-)
+
+diff --git a/src/SystemTray.cc b/src/SystemTray.cc
+index 98115087..c908f3e7 100644
+--- a/src/SystemTray.cc
++++ b/src/SystemTray.cc
+@@ -45,6 +45,30 @@ using std::endl;
+ using std::hex;
+ using std::dec;
+ 
++void getScreenCoordinates(Window win, int x, int y, int &screen_x, int &screen_y) {
++    XWindowAttributes attr;
++    if (XGetWindowAttributes(FbTk::App::instance()->display(), win, &attr) == 0) {
++        return;
++    }
++
++    Window child_win; // not used
++    Window parent_win; // not used
++    Window root_win = 0; 
++    Window* child_windows; // not used
++    unsigned int num_child_windows; // not used
++    XQueryTree(FbTk::App::instance()->display(), win,
++               &root_win,
++               &parent_win,
++               &child_windows, &num_child_windows);
++    if (child_windows != 0) {
++        XFree(child_windows);
++    }
++    XTranslateCoordinates(FbTk::App::instance()->display(),
++                          parent_win, root_win,
++                          x, y,
++                          &screen_x, &screen_y, &child_win);
++}
++
+ /// helper class for tray windows, so we dont call XDestroyWindow
+ class TrayWindow: public FbTk::FbWindow {
+ public:
+@@ -470,9 +494,11 @@ void SystemTray::rearrangeClients() {
+         next_x += h_rot0+bw;
+         translateCoords(orientation(), x, y, w_rot0, h_rot0);
+         translatePosition(orientation(), x, y, h_rot0, h_rot0, 0);
++        int screen_x = 0, screen_y = 0;
++        getScreenCoordinates((*client_it)->window(), (*client_it)->x(), (*client_it)->y(), screen_x, screen_y);
+ 
+         (*client_it)->moveResize(x, y, h_rot0, h_rot0);
+-        (*client_it)->sendConfigureNotify(x, y, h_rot0, h_rot0);
++        (*client_it)->sendConfigureNotify(screen_x, screen_y, h_rot0, h_rot0);
+     }
+ }
+ 

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-18 19:50:34 UTC (rev 380501)
+++ PKGBUILD	2020-04-18 19:50:40 UTC (rev 380502)
@@ -1,47 +0,0 @@
-# Maintainer: Eric Bélanger <eric at archlinux.org>
-
-pkgname=fluxbox
-pkgver=1.3.7
-pkgrel=5
-pkgdesc="A lightweight and highly-configurable window manager"
-arch=('x86_64')
-url="http://www.fluxbox.org"
-license=('MIT')
-depends=('libxft' 'libxpm' 'libxinerama' 'libxrandr' 'imlib2' 'fribidi')
-optdepends=('xorg-xmessage: for using the fbsetbg and fluxbox-generate_menu utilities')
-options=('!makeflags')
-source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.xz"
-        '0001-do-not-leave-stale-oplock-behind.patch'
-        '0002-send-ConfigureNotify-using-root-coordinates.patch'
-        'fluxbox.desktop')
-sha256sums=('fc8c75fe94c54ed5a5dd3fd4a752109f8949d6df67a48e5b11a261403c382ec0'
-            '9c486f454f46a51cb1b7cb65de812faa12e2a1cce13785c349b488f051a01470'
-            '66f64c67e5c99b2c6bf139ba2f7a3ff9fcb613c5b49b0038c42cc55cc00153dc'
-            '2148a90aca653b596e9632264dbdbd8c7e673d732e4b04eee66a8ac1e68b3c5d')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-
-  patch -Np1 < ../0001-do-not-leave-stale-oplock-behind.patch
-  patch -Np1 < ../0002-send-ConfigureNotify-using-root-coordinates.patch
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-
-  ./configure \
-    --prefix=/usr \
-    --enable-imlib2 \
-    --enable-nls \
-    --enable-xft \
-    --enable-xinerama
-  make
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-
-  make DESTDIR="${pkgdir}" install
-  install -D -m644 "${srcdir}/fluxbox.desktop" "${pkgdir}/usr/share/xsessions/fluxbox.desktop"
-  install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: fluxbox/repos/extra-x86_64/PKGBUILD (from rev 380501, fluxbox/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-18 19:50:40 UTC (rev 380502)
@@ -0,0 +1,47 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=fluxbox
+pkgver=1.3.7
+pkgrel=6
+pkgdesc="A lightweight and highly-configurable window manager"
+arch=('x86_64')
+url="http://www.fluxbox.org"
+license=('MIT')
+depends=('libxft' 'libxpm' 'libxinerama' 'libxrandr' 'imlib2' 'fribidi')
+optdepends=('xorg-xmessage: for using the fbsetbg and fluxbox-generate_menu utilities')
+options=('!makeflags')
+source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.xz"
+        '0001-do-not-leave-stale-oplock-behind.patch'
+        '0002-send-ConfigureNotify-using-root-coordinates.patch'
+        'fluxbox.desktop')
+sha256sums=('fc8c75fe94c54ed5a5dd3fd4a752109f8949d6df67a48e5b11a261403c382ec0'
+            '9c486f454f46a51cb1b7cb65de812faa12e2a1cce13785c349b488f051a01470'
+            '66f64c67e5c99b2c6bf139ba2f7a3ff9fcb613c5b49b0038c42cc55cc00153dc'
+            '2148a90aca653b596e9632264dbdbd8c7e673d732e4b04eee66a8ac1e68b3c5d')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+
+  patch -Np1 < ../0001-do-not-leave-stale-oplock-behind.patch
+  patch -Np1 < ../0002-send-ConfigureNotify-using-root-coordinates.patch
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  ./configure \
+    --prefix=/usr \
+    --enable-imlib2 \
+    --enable-nls \
+    --enable-xft \
+    --enable-xinerama
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+  install -D -m644 "${srcdir}/fluxbox.desktop" "${pkgdir}/usr/share/xsessions/fluxbox.desktop"
+  install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Deleted: fluxbox.desktop
===================================================================
--- fluxbox.desktop	2020-04-18 19:50:34 UTC (rev 380501)
+++ fluxbox.desktop	2020-04-18 19:50:40 UTC (rev 380502)
@@ -1,6 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Type=XSession
-Exec=/usr/bin/startfluxbox
-TryExec=/usr/bin/startfluxbox
-Name=fluxbox

Copied: fluxbox/repos/extra-x86_64/fluxbox.desktop (from rev 380501, fluxbox/trunk/fluxbox.desktop)
===================================================================
--- fluxbox.desktop	                        (rev 0)
+++ fluxbox.desktop	2020-04-18 19:50:40 UTC (rev 380502)
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=XSession
+Exec=/usr/bin/startfluxbox
+TryExec=/usr/bin/startfluxbox
+Name=fluxbox



More information about the arch-commits mailing list