From 18a41d682d6e91e0d28fce23eb75292f477bd620 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 11 Aug 2013 01:21:34 -0700 Subject: Sun Aug 11 01:21:31 PDT 2013 --- community/tint2/PKGBUILD | 43 ----------------------------- community/tint2/add-power-now-support.patch | 19 ------------- 2 files changed, 62 deletions(-) delete mode 100644 community/tint2/PKGBUILD delete mode 100644 community/tint2/add-power-now-support.patch (limited to 'community/tint2') diff --git a/community/tint2/PKGBUILD b/community/tint2/PKGBUILD deleted file mode 100644 index 09bc4aff4..000000000 --- a/community/tint2/PKGBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# $Id: PKGBUILD 64903 2012-02-18 20:04:04Z bpiotrowski $ -# Maintainer: Bartłomiej Piotrowski -# Contributor: Blue Peppers -# Contributor: Stefan Husmann< stefan-husmann@t-online.de> - -pkgname=tint2 -pkgver=0.11 -pkgrel=5 -pkgdesc="A basic, good-looking task manager for WMs" -arch=('i686' 'x86_64') -url="http://code.google.com/p/tint2/" -license=('GPL2') -conflicts=('ttm-svn' 'tint') -replaces=('tint') -depends=('gtk2' 'imlib2') -optdepends=('pygtk: for using tint2conf') -makedepends=('pygtk' 'cmake') -provides=('tint') -source=("http://$pkgname.googlecode.com/files/$pkgname-${pkgver}.tar.bz2" - 'add-power-now-support.patch') -md5sums=('6fc5731e7425125fa84a2add5cef4bff' - '6cfcad028f1bd2f69812167f5395f890') - -build() { - cd "$srcdir/$pkgname-${pkgver}" - - # add support for power_now battery attribute (fixes FS#21954) - patch -Np0 -i ../add-power-now-support.patch - - # python2 fix - sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' src/tint2conf/tintwizard.py - sed -i 's_python _python2 _' src/tint2conf/main.c - - [ -d build ] || mkdir build - cd build - cmake -DCMAKE_INSTALL_PREFIX=/usr ../ - make -} - -package() { - cd "$srcdir/$pkgname-${pkgver}/build" - make DESTDIR="$pkgdir" install -} diff --git a/community/tint2/add-power-now-support.patch b/community/tint2/add-power-now-support.patch deleted file mode 100644 index 5057043df..000000000 --- a/community/tint2/add-power-now-support.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -rup ../tint2-0.11.orig/src/battery/battery.c ./src/battery/battery.c ---- ../tint2-0.11.orig/src/battery/battery.c 2010-12-02 23:56:11.313403140 +0100 -+++ ./src/battery/battery.c 2010-12-02 23:57:22.266956142 +0100 -@@ -184,8 +184,14 @@ void init_battery() - } - g_free(path2); - } -- if (path_energy_now && path_energy_full) { -+ -+ path_current_now = g_build_filename(battery_dir, "power_now", NULL); -+ if (!g_file_test (path_current_now, G_FILE_TEST_EXISTS)) { -+ g_free(path_current_now); - path_current_now = g_build_filename(battery_dir, "current_now", NULL); -+ } -+ -+ if (path_energy_now && path_energy_full) { - path_status = g_build_filename(battery_dir, "status", NULL); - - // check file -- cgit v1.2.3-54-g00ecf