[arch-commits] Commit in xfce4-panel/repos/extra-x86_64 (3 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Sat Feb 19 04:53:17 UTC 2022


    Date: Saturday, February 19, 2022 @ 04:53:17
  Author: foutrelis
Revision: 437722

archrelease: copy trunk to extra-x86_64

Added:
  xfce4-panel/repos/extra-x86_64/PKGBUILD
    (from rev 437721, xfce4-panel/trunk/PKGBUILD)
  xfce4-panel/repos/extra-x86_64/fix-window-buttons-not-appearing-in-the-panel.patch
    (from rev 437721, xfce4-panel/trunk/fix-window-buttons-not-appearing-in-the-panel.patch)
Deleted:
  xfce4-panel/repos/extra-x86_64/PKGBUILD

-----------------------------------------------------+
 PKGBUILD                                            |   86 +++++++++---------
 fix-window-buttons-not-appearing-in-the-panel.patch |   44 +++++++++
 2 files changed, 89 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-19 04:53:12 UTC (rev 437721)
+++ PKGBUILD	2022-02-19 04:53:17 UTC (rev 437722)
@@ -1,41 +0,0 @@
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-# Contributor: tobias <tobias funnychar archlinux.org>
-
-pkgname=xfce4-panel
-pkgver=4.16.3
-pkgrel=2
-pkgdesc="Panel for the Xfce desktop environment"
-arch=('x86_64')
-url="https://docs.xfce.org/xfce/xfce4-panel/start"
-license=('GPL2')
-groups=('xfce4')
-depends=('exo' 'garcon' 'libxfce4ui' 'xfconf' 'libwnck3' 'libdbusmenu-gtk3'
-         'hicolor-icon-theme' 'desktop-file-utils')
-makedepends=('intltool' 'gobject-introspection' 'vala')
-source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('5934eaed8a76da52c29b734ccd79600255420333dd6ebd8fd9f066379af1e092')
-
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --libexecdir=/usr/lib \
-    --localstatedir=/var \
-    --disable-static \
-    --enable-gio-unix \
-    --disable-debug
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: xfce4-panel/repos/extra-x86_64/PKGBUILD (from rev 437721, xfce4-panel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-19 04:53:17 UTC (rev 437722)
@@ -0,0 +1,45 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: tobias <tobias funnychar archlinux.org>
+
+pkgname=xfce4-panel
+pkgver=4.16.3
+pkgrel=3
+pkgdesc="Panel for the Xfce desktop environment"
+arch=('x86_64')
+url="https://docs.xfce.org/xfce/xfce4-panel/start"
+license=('GPL2')
+groups=('xfce4')
+depends=('exo' 'garcon' 'libxfce4ui' 'xfconf' 'libwnck3' 'libdbusmenu-gtk3'
+         'hicolor-icon-theme' 'desktop-file-utils')
+makedepends=('intltool' 'gobject-introspection' 'vala')
+source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
+        fix-window-buttons-not-appearing-in-the-panel.patch)
+sha256sums=('5934eaed8a76da52c29b734ccd79600255420333dd6ebd8fd9f066379af1e092'
+            '14dbc1e0584418912cdc05ef1b3e04c11fbc79630c817938abcf105fc1cdcb13')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  # https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/188
+  patch -Np1 -i ../fix-window-buttons-not-appearing-in-the-panel.patch
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib \
+    --localstatedir=/var \
+    --disable-static \
+    --enable-gio-unix \
+    --disable-debug
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: xfce4-panel/repos/extra-x86_64/fix-window-buttons-not-appearing-in-the-panel.patch (from rev 437721, xfce4-panel/trunk/fix-window-buttons-not-appearing-in-the-panel.patch)
===================================================================
--- fix-window-buttons-not-appearing-in-the-panel.patch	                        (rev 0)
+++ fix-window-buttons-not-appearing-in-the-panel.patch	2022-02-19 04:53:17 UTC (rev 437722)
@@ -0,0 +1,44 @@
+From 0f007b28a8c3d59ff227483359a37ac29aa08648 Mon Sep 17 00:00:00 2001
+From: fulalas <rcd99 at zipmail.com.br>
+Date: Fri, 18 Feb 2022 20:19:48 +0100
+Subject: [PATCH] Fixed some window buttons not appearing in the panel (Issue
+ #188)
+
+---
+ plugins/tasklist/tasklist-widget.c | 16 ----------------
+ 1 file changed, 16 deletions(-)
+
+diff --git a/plugins/tasklist/tasklist-widget.c b/plugins/tasklist/tasklist-widget.c
+index 83d1f09d..eb78f882 100644
+--- a/plugins/tasklist/tasklist-widget.c
++++ b/plugins/tasklist/tasklist-widget.c
+@@ -2872,20 +2872,6 @@ xfce_tasklist_button_geometry_changed2 (WnckWindow        *window,
+ 
+ 
+ 
+-static gboolean
+-xfce_tasklist_button_size_allocate (GtkWidget         *widget,
+-                                    GdkRectangle      *allocation,
+-                                    gpointer           user_data)
+-{
+-  XfceTasklistChild *child = user_data;
+-  /* Make sure the icons have the correct size */
+-  xfce_tasklist_button_icon_changed (child->window, child);
+-
+-  return TRUE;
+-}
+-
+-
+-
+ #ifdef GDK_WINDOWING_X11
+ static void
+ xfce_tasklist_button_geometry_changed (WnckWindow        *window,
+@@ -3561,8 +3547,6 @@ xfce_tasklist_button_new (WnckWindow   *window,
+       G_CALLBACK (xfce_tasklist_button_button_release_event), child);
+ 
+   /* monitor window changes */
+-  g_signal_connect (G_OBJECT (child->button), "size-allocate",
+-      G_CALLBACK (xfce_tasklist_button_size_allocate), child);
+   g_signal_connect (G_OBJECT (window), "icon-changed",
+       G_CALLBACK (xfce_tasklist_button_icon_changed), child);
+   g_signal_connect (G_OBJECT (window), "name-changed",



More information about the arch-commits mailing list