[arch-commits] Commit in tint2/repos (8 files)

Alexander Rødseth arodseth at archlinux.org
Mon Aug 3 11:41:58 UTC 2015


    Date: Monday, August 3, 2015 @ 13:41:58
  Author: arodseth
Revision: 137814

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

Added:
  tint2/repos/community-i686/PKGBUILD
    (from rev 137813, tint2/trunk/PKGBUILD)
  tint2/repos/community-i686/zombie-fix.patch
    (from rev 137813, tint2/trunk/zombie-fix.patch)
  tint2/repos/community-x86_64/PKGBUILD
    (from rev 137813, tint2/trunk/PKGBUILD)
  tint2/repos/community-x86_64/zombie-fix.patch
    (from rev 137813, tint2/trunk/zombie-fix.patch)
Deleted:
  tint2/repos/community-i686/PKGBUILD
  tint2/repos/community-i686/zombie-fix.patch
  tint2/repos/community-x86_64/PKGBUILD
  tint2/repos/community-x86_64/zombie-fix.patch

-----------------------------------+
 /PKGBUILD                         |   94 ++++++++++++++++++++++++++++++++++++
 /zombie-fix.patch                 |   66 +++++++++++++++++++++++++
 community-i686/PKGBUILD           |   52 -------------------
 community-i686/zombie-fix.patch   |   33 ------------
 community-x86_64/PKGBUILD         |   52 -------------------
 community-x86_64/zombie-fix.patch |   33 ------------
 6 files changed, 160 insertions(+), 170 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2015-08-03 11:41:47 UTC (rev 137813)
+++ community-i686/PKGBUILD	2015-08-03 11:41:58 UTC (rev 137814)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: Blue Peppers <bluepeppers at archlinux.us>
-# Contributor: Stefan Husmann< stefan-husmann at t-online.de>
-
-pkgname=tint2
-pkgver=0.12.1
-pkgrel=1
-pkgdesc='Basic, good-looking task manager for WMs'
-arch=('x86_64' 'i686')
-url='https://gitlab.com/o9000/tint2'
-license=('GPL2')
-conflicts=('ttm-svn')
-depends=('gtk2' 'imlib2' 'startup-notification')
-optdepends=('pygtk: for tint2wizard' 'python2')
-makedepends=('pygtk' 'cmake' 'python2' 'startup-notification' 'git')
-source=("$pkgname-$pkgver.tgz::https://gitlab.com/o9000/tint2/repository/archive.tar.gz?ref=$pkgver"
-        'zombie-fix.patch')
-md5sums=('f34335906d5eb3bf86ac6a162dc88513'
-         'cdb83cd911e005a3529e5d1cd952a956')
-
-prepare() {
-  cd "$pkgname.git"
-
-  # Applying all available patches
-  for f in ../*.patch; do
-    echo -e "--- ${f##*/} ---"
-    patch -Np1 -i $f && echo "${f##*/} OK!" || echo "${f##*/} FAILED!"
-  done
-
-  # Fix for Python 2
-  sed -i 's_python _python2 _' src/tint2conf/main.c
-}
-
-build() {
-  cd "$pkgname.git"
-
-  msg2 'Compiling...'
-  mkdir -p build
-  cd build
-  cmake .. \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DENABLE_TINT2CONF=1
-  make 
-}
-
-package() {
-  make -C "$pkgname.git/build" DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: tint2/repos/community-i686/PKGBUILD (from rev 137813, tint2/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-08-03 11:41:58 UTC (rev 137814)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Blue Peppers <bluepeppers at archlinux.us>
+# Contributor: Stefan Husmann< stefan-husmann at t-online.de>
+
+pkgname=tint2
+pkgver=0.12.1
+pkgrel=2
+pkgdesc='Basic, good-looking task manager for WMs'
+arch=('x86_64' 'i686')
+url='https://gitlab.com/o9000/tint2'
+license=('GPL2')
+conflicts=('ttm-svn')
+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"
+        'zombie-fix.patch')
+sha256sums=('097131b0c6bb2d7e366e0b15ba0a9174e826dc03e4eace004f5e66a29a5ac8bc'
+            'a1e942ca3bef05885989f899c0eaaf63f538f7b84cb43d1517d5d39aa64a4ef9')
+
+prepare() {
+  cd "$pkgname.git"
+
+  # Applying all available patches
+  for f in ../*.patch; do
+    echo -e "--- ${f##*/} ---"
+    patch -Np1 -i $f && echo "${f##*/} OK!" || echo "${f##*/} FAILED!"
+  done
+}
+
+build() {
+  cd "$pkgname.git"
+
+  # Generating Ninja project files
+  mkdir -p build && cd build
+  cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_TINT2CONF=1 -G Ninja
+
+  # Compiling
+  ninja 
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C "$pkgname.git/build" install
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: community-i686/zombie-fix.patch
===================================================================
--- community-i686/zombie-fix.patch	2015-08-03 11:41:47 UTC (rev 137813)
+++ community-i686/zombie-fix.patch	2015-08-03 11:41:58 UTC (rev 137814)
@@ -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;
-

Copied: tint2/repos/community-i686/zombie-fix.patch (from rev 137813, tint2/trunk/zombie-fix.patch)
===================================================================
--- community-i686/zombie-fix.patch	                        (rev 0)
+++ community-i686/zombie-fix.patch	2015-08-03 11:41:58 UTC (rev 137814)
@@ -0,0 +1,33 @@
+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;
+

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2015-08-03 11:41:47 UTC (rev 137813)
+++ community-x86_64/PKGBUILD	2015-08-03 11:41:58 UTC (rev 137814)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: Blue Peppers <bluepeppers at archlinux.us>
-# Contributor: Stefan Husmann< stefan-husmann at t-online.de>
-
-pkgname=tint2
-pkgver=0.12.1
-pkgrel=1
-pkgdesc='Basic, good-looking task manager for WMs'
-arch=('x86_64' 'i686')
-url='https://gitlab.com/o9000/tint2'
-license=('GPL2')
-conflicts=('ttm-svn')
-depends=('gtk2' 'imlib2' 'startup-notification')
-optdepends=('pygtk: for tint2wizard' 'python2')
-makedepends=('pygtk' 'cmake' 'python2' 'startup-notification' 'git')
-source=("$pkgname-$pkgver.tgz::https://gitlab.com/o9000/tint2/repository/archive.tar.gz?ref=$pkgver"
-        'zombie-fix.patch')
-md5sums=('f34335906d5eb3bf86ac6a162dc88513'
-         'cdb83cd911e005a3529e5d1cd952a956')
-
-prepare() {
-  cd "$pkgname.git"
-
-  # Applying all available patches
-  for f in ../*.patch; do
-    echo -e "--- ${f##*/} ---"
-    patch -Np1 -i $f && echo "${f##*/} OK!" || echo "${f##*/} FAILED!"
-  done
-
-  # Fix for Python 2
-  sed -i 's_python _python2 _' src/tint2conf/main.c
-}
-
-build() {
-  cd "$pkgname.git"
-
-  msg2 'Compiling...'
-  mkdir -p build
-  cd build
-  cmake .. \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DENABLE_TINT2CONF=1
-  make 
-}
-
-package() {
-  make -C "$pkgname.git/build" DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: tint2/repos/community-x86_64/PKGBUILD (from rev 137813, tint2/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-08-03 11:41:58 UTC (rev 137814)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Blue Peppers <bluepeppers at archlinux.us>
+# Contributor: Stefan Husmann< stefan-husmann at t-online.de>
+
+pkgname=tint2
+pkgver=0.12.1
+pkgrel=2
+pkgdesc='Basic, good-looking task manager for WMs'
+arch=('x86_64' 'i686')
+url='https://gitlab.com/o9000/tint2'
+license=('GPL2')
+conflicts=('ttm-svn')
+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"
+        'zombie-fix.patch')
+sha256sums=('097131b0c6bb2d7e366e0b15ba0a9174e826dc03e4eace004f5e66a29a5ac8bc'
+            'a1e942ca3bef05885989f899c0eaaf63f538f7b84cb43d1517d5d39aa64a4ef9')
+
+prepare() {
+  cd "$pkgname.git"
+
+  # Applying all available patches
+  for f in ../*.patch; do
+    echo -e "--- ${f##*/} ---"
+    patch -Np1 -i $f && echo "${f##*/} OK!" || echo "${f##*/} FAILED!"
+  done
+}
+
+build() {
+  cd "$pkgname.git"
+
+  # Generating Ninja project files
+  mkdir -p build && cd build
+  cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_TINT2CONF=1 -G Ninja
+
+  # Compiling
+  ninja 
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C "$pkgname.git/build" install
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: community-x86_64/zombie-fix.patch
===================================================================
--- community-x86_64/zombie-fix.patch	2015-08-03 11:41:47 UTC (rev 137813)
+++ community-x86_64/zombie-fix.patch	2015-08-03 11:41:58 UTC (rev 137814)
@@ -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;
-

Copied: tint2/repos/community-x86_64/zombie-fix.patch (from rev 137813, tint2/trunk/zombie-fix.patch)
===================================================================
--- community-x86_64/zombie-fix.patch	                        (rev 0)
+++ community-x86_64/zombie-fix.patch	2015-08-03 11:41:58 UTC (rev 137814)
@@ -0,0 +1,33 @@
+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