[arch-commits] Commit in xfce4-taskmanager/repos/extra-x86_64 (4 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Feb 7 09:41:51 UTC 2021


    Date: Sunday, February 7, 2021 @ 09:41:51
  Author: foutrelis
Revision: 407599

archrelease: copy trunk to extra-x86_64

Added:
  xfce4-taskmanager/repos/extra-x86_64/PKGBUILD
    (from rev 407598, xfce4-taskmanager/trunk/PKGBUILD)
  xfce4-taskmanager/repos/extra-x86_64/ellipsize-memory-and-swap-labels.patch
    (from rev 407598, xfce4-taskmanager/trunk/ellipsize-memory-and-swap-labels.patch)
Deleted:
  xfce4-taskmanager/repos/extra-x86_64/PKGBUILD
  xfce4-taskmanager/repos/extra-x86_64/ellipsize-memory-and-swap-labels.patch

----------------------------------------+
 PKGBUILD                               |   82 ++++++++++++++--------------
 ellipsize-memory-and-swap-labels.patch |   89 +++++++++++++++----------------
 2 files changed, 85 insertions(+), 86 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-07 09:41:46 UTC (rev 407598)
+++ PKGBUILD	2021-02-07 09:41:51 UTC (rev 407599)
@@ -1,41 +0,0 @@
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-
-pkgname=xfce4-taskmanager
-pkgver=1.4.0
-pkgrel=2
-pkgdesc="Easy to use task manager"
-arch=('x86_64')
-url="https://docs.xfce.org/apps/xfce4-taskmanager"
-license=('GPL2')
-depends=('libwnck3' 'libxmu')
-makedepends=('intltool')
-groups=('xfce4-goodies')
-source=(https://archive.xfce.org/src/apps/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
-        ellipsize-memory-and-swap-labels.patch)
-sha256sums=('655684ddfc15fc09071f78f9fce5439d20bbd2d80ecfc5ba0a08fb38313e7d43'
-            '74abd16b1ade4fc9e939a0caa9d6630c6c479d19cee71a3615d1ccd6ef0a2bf7')
-
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  # https://gitlab.xfce.org/apps/xfce4-taskmanager/-/issues/32
-  patch -Np1 -i ../ellipsize-memory-and-swap-labels.patch
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --localstatedir=/var \
-    --disable-debug
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: xfce4-taskmanager/repos/extra-x86_64/PKGBUILD (from rev 407598, xfce4-taskmanager/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-07 09:41:51 UTC (rev 407599)
@@ -0,0 +1,41 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+
+pkgname=xfce4-taskmanager
+pkgver=1.4.1
+pkgrel=1
+pkgdesc="Easy to use task manager"
+arch=('x86_64')
+url="https://docs.xfce.org/apps/xfce4-taskmanager"
+license=('GPL2')
+depends=('libwnck3' 'libxmu')
+makedepends=('intltool')
+groups=('xfce4-goodies')
+source=(https://archive.xfce.org/src/apps/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
+        ellipsize-memory-and-swap-labels.patch)
+sha256sums=('1141d2fde7bd498ccc2ce063800721e3ebb62dc9c9278cf1e2842df474965b5b'
+            '32315f08756ce208631eac89f7981e22d33d3cbb060c4d513861931eaa0f0793')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # https://gitlab.xfce.org/apps/xfce4-taskmanager/-/issues/32
+  patch -Np1 -i ../ellipsize-memory-and-swap-labels.patch
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --disable-debug
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: ellipsize-memory-and-swap-labels.patch
===================================================================
--- ellipsize-memory-and-swap-labels.patch	2021-02-07 09:41:46 UTC (rev 407598)
+++ ellipsize-memory-and-swap-labels.patch	2021-02-07 09:41:51 UTC (rev 407599)
@@ -1,45 +0,0 @@
-From 7005713f906715c4e960796ad135081c59013d75 Mon Sep 17 00:00:00 2001
-From: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
-Date: Mon, 18 Jan 2021 12:05:07 +0100
-Subject: [PATCH] Ellipsize memory and swap labels (Fixes #32)
-
-Also show the full values in a tooltip.
----
- src/process-statusbar.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/src/process-statusbar.c b/src/process-statusbar.c
-index c63465b..64f33e4 100644
---- a/src/process-statusbar.c
-+++ b/src/process-statusbar.c
-@@ -92,9 +92,11 @@ xtm_process_statusbar_init (XtmProcessStatusbar *statusbar)
- 	gtk_box_pack_start (GTK_BOX (hbox_cpu), statusbar->label_num_processes, TRUE, FALSE, 0);
- 
- 	statusbar->label_memory = gtk_label_new (NULL);
-+	gtk_label_set_ellipsize (GTK_LABEL (statusbar->label_memory), PANGO_ELLIPSIZE_END);
- 	gtk_box_pack_start (GTK_BOX (hbox_mem), statusbar->label_memory, TRUE, FALSE, 0);
- 
- 	statusbar->label_swap = gtk_label_new (NULL);
-+	gtk_label_set_ellipsize (GTK_LABEL (statusbar->label_swap), PANGO_ELLIPSIZE_END);
- 	gtk_box_pack_start (GTK_BOX (hbox_mem), statusbar->label_swap, TRUE, FALSE, 0);
- 
- 	gtk_box_pack_start (GTK_BOX (hbox), hbox_cpu, TRUE, TRUE, 0);
-@@ -146,6 +148,7 @@ xtm_process_statusbar_set_property (GObject *object, guint property_id, const GV
- 		g_strlcpy(statusbar->memory, g_value_get_string (value), sizeof(statusbar->memory));
- 		text = g_strdup_printf (_("Memory: %s"), statusbar->memory);
- 		gtk_label_set_text (GTK_LABEL (statusbar->label_memory), text);
-+		gtk_widget_set_tooltip_text (statusbar->label_memory, text);
- 		gdk_rgba_parse (&color, "#c22b66");
- 		gtk_widget_override_color (statusbar->label_memory, GTK_STATE_NORMAL, &color);
- 		g_free (text);
-@@ -155,6 +158,7 @@ xtm_process_statusbar_set_property (GObject *object, guint property_id, const GV
- 		g_strlcpy(statusbar->swap, g_value_get_string (value), sizeof(statusbar->swap));
- 		text = g_strdup_printf (_("Swap: %s"), statusbar->swap);
- 		gtk_label_set_text (GTK_LABEL (statusbar->label_swap), text);
-+		gtk_widget_set_tooltip_text (statusbar->label_swap, text);
- 		g_free (text);
- 		break;
- 
--- 
-GitLab
-

Copied: xfce4-taskmanager/repos/extra-x86_64/ellipsize-memory-and-swap-labels.patch (from rev 407598, xfce4-taskmanager/trunk/ellipsize-memory-and-swap-labels.patch)
===================================================================
--- ellipsize-memory-and-swap-labels.patch	                        (rev 0)
+++ ellipsize-memory-and-swap-labels.patch	2021-02-07 09:41:51 UTC (rev 407599)
@@ -0,0 +1,44 @@
+From 2c769d13c24ec744c1487d3fc517137230fabe5b Mon Sep 17 00:00:00 2001
+From: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
+Date: Mon, 18 Jan 2021 12:05:07 +0100
+Subject: [PATCH] Ellipsize memory and swap labels (Fixes #32)
+
+Also show the full values in a tooltip.
+
+(cherry picked from commit 7005713f906715c4e960796ad135081c59013d75)
+---
+ src/process-statusbar.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/src/process-statusbar.c b/src/process-statusbar.c
+index 630af86..a2fd566 100644
+--- a/src/process-statusbar.c
++++ b/src/process-statusbar.c
+@@ -92,9 +92,11 @@ xtm_process_statusbar_init (XtmProcessStatusbar *statusbar)
+ 	gtk_box_pack_start (GTK_BOX (hbox_cpu), statusbar->label_num_processes, TRUE, FALSE, 0);
+ 
+ 	statusbar->label_memory = gtk_label_new (NULL);
++	gtk_label_set_ellipsize (GTK_LABEL (statusbar->label_memory), PANGO_ELLIPSIZE_END);
+ 	gtk_box_pack_start (GTK_BOX (hbox_mem), statusbar->label_memory, TRUE, FALSE, 0);
+ 
+ 	statusbar->label_swap = gtk_label_new (NULL);
++	gtk_label_set_ellipsize (GTK_LABEL (statusbar->label_swap), PANGO_ELLIPSIZE_END);
+ 	gtk_box_pack_start (GTK_BOX (hbox_mem), statusbar->label_swap, TRUE, FALSE, 0);
+ 
+ 	gtk_box_pack_start (GTK_BOX (hbox), hbox_cpu, TRUE, TRUE, 0);
+@@ -146,6 +148,7 @@ xtm_process_statusbar_set_property (GObject *object, guint property_id, const GV
+ 		g_strlcpy(statusbar->memory, g_value_get_string (value), sizeof(statusbar->memory));
+ 		text = g_strdup_printf (_("Memory: %s"), statusbar->memory);
+ 		gtk_label_set_text (GTK_LABEL (statusbar->label_memory), text);
++		gtk_widget_set_tooltip_text (statusbar->label_memory, text);
+ 		gdk_rgba_parse (&color, "#cb386c");
+ 		gtk_widget_override_color (statusbar->label_memory, GTK_STATE_NORMAL, &color);
+ 		g_free (text);
+@@ -155,6 +158,7 @@ xtm_process_statusbar_set_property (GObject *object, guint property_id, const GV
+ 		g_strlcpy(statusbar->swap, g_value_get_string (value), sizeof(statusbar->swap));
+ 		text = g_strdup_printf (_("Swap: %s"), statusbar->swap);
+ 		gtk_label_set_text (GTK_LABEL (statusbar->label_swap), text);
++		gtk_widget_set_tooltip_text (statusbar->label_swap, text);
+ 		g_free (text);
+ 		break;
+ 



More information about the arch-commits mailing list