[arch-commits] Commit in tint2/trunk (PKGBUILD zombie-fix.patch)

Alexander Rødseth arodseth at archlinux.org
Sun Jan 31 19:52:16 UTC 2016


    Date: Sunday, January 31, 2016 @ 20:52:15
  Author: arodseth
Revision: 159693

upgpkg: tint2 0.12.7-1

Modified:
  tint2/trunk/PKGBUILD
Deleted:
  tint2/trunk/zombie-fix.patch

------------------+
 PKGBUILD         |    6 +++---
 zombie-fix.patch |   33 ---------------------------------
 2 files changed, 3 insertions(+), 36 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-01-31 19:48:44 UTC (rev 159692)
+++ PKGBUILD	2016-01-31 19:52:15 UTC (rev 159693)
@@ -5,8 +5,8 @@
 # Contributor: Stefan Husmann< stefan-husmann at t-online.de>
 
 pkgname=tint2
-pkgver=0.12.4
-pkgrel=2
+pkgver=0.12.7
+pkgrel=1
 pkgdesc='Basic, good-looking task manager for WMs'
 arch=('x86_64' 'i686')
 url='https://gitlab.com/o9000/tint2'
@@ -15,7 +15,7 @@
 depends=('gtk2' 'imlib2' 'startup-notification')
 makedepends=('cmake' 'startup-notification' 'git' 'ninja')
 source=("$pkgname-$pkgver.tgz::https://gitlab.com/o9000/tint2/repository/archive.tar.gz?ref=$pkgver")
-sha256sums=('68065a85eec6f4186c52adb48d9fdab2b1008df92e34380038739c146bb59f06')
+sha256sums=('e1200cabbf6f9488233788f805b10c8bd8b083c92ef42d86bc8df8d8bb353c5f')
 
 prepare() {
   mv "$pkgname-$pkgver-"* "$pkgname"

Deleted: zombie-fix.patch
===================================================================
--- zombie-fix.patch	2016-01-31 19:48:44 UTC (rev 159692)
+++ zombie-fix.patch	2016-01-31 19:52:15 UTC (rev 159693)
@@ -1,33 +0,0 @@
-http://code.google.com/p/tint2/issues/detail?id=430
-Submitted By: David B. Cortarello (Nomius) <dcortarello at gmail dot com>
-Date: 18-05-2013
-Initial Package Version: subversion trunk (revision 652)
-Description: Fix zombie (defunct) processes created in clock_action.
-This patch provides the following bugfixes:
-   * This patch uses waitpid with WNOHANG to eliminate all zombie processes created by 
-tint2 (in particular by the clock -right or left- click). This is done by a small hack 
-in the update_clocks_min, called to "redraw" that area.
-
---- trunk/src/clock/clock.c	(revision 652)
-+++ trunk/src/clock/clock.c	(working copy)
-@@ -23,6 +23,8 @@
- #include <cairo-xlib.h>
- #include <pango/pangocairo.h>
- #include <stdlib.h>
-+#include <sys/types.h>
-+#include <sys/wait.h>
- 
- #include "window.h"
- #include "server.h"
-@@ -98,6 +103,10 @@
- 	// remember old_sec because after suspend/hibernate the clock should be updated directly, and not
- 	// on next minute change
- 	time_t old_sec = time_clock.tv_sec;
-+
-+	// Little hack to wait executed commands in clock_action avoiding zombies
-+	waitpid(-1, NULL, WNOHANG);
-+
- 	gettimeofday(&time_clock, 0);
- 	if (time_clock.tv_sec % 60 == 0 || time_clock.tv_sec - old_sec > 60) {
- 		int i;
-



More information about the arch-commits mailing list