From 1fb3dda9f1c7b8f3f037c32dabaafea5c9f340da Mon Sep 17 00:00:00 2001 From: Spencer H Date: Sat, 3 Oct 2015 14:39:14 -0400 Subject: [PATCH] tint2: update to 0.12.2 --- .../tint2/patches/add-power-now-support.patch | 18 ------------------ srcpkgs/tint2/template | 13 +++++++------ 2 files changed, 7 insertions(+), 24 deletions(-) delete mode 100644 srcpkgs/tint2/patches/add-power-now-support.patch diff --git a/srcpkgs/tint2/patches/add-power-now-support.patch b/srcpkgs/tint2/patches/add-power-now-support.patch deleted file mode 100644 index 7f172af7bed..00000000000 --- a/srcpkgs/tint2/patches/add-power-now-support.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- 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 diff --git a/srcpkgs/tint2/template b/srcpkgs/tint2/template index c87a9421cbb..41ffacc63cf 100644 --- a/srcpkgs/tint2/template +++ b/srcpkgs/tint2/template @@ -1,14 +1,15 @@ # Template file for 'tint2' pkgname=tint2 -version=0.11 -revision=5 +version=0.12.2 +revision=1 build_style=cmake hostmakedepends="cmake pkg-config" -makedepends="libXdamage-devel libXcomposite-devel libXinerama-devel libXrandr-devel gtk+-devel imlib2-devel" +makedepends="libXdamage-devel libXcomposite-devel libXinerama-devel libXrandr-devel gtk+-devel imlib2-devel librsvg-devel startup-notification-devel" depends="desktop-file-utils" short_desc="A basic, good-looking task manager for WMs" maintainer="Juan RP " license="GPL-2" -homepage="http://code.google.com/p/tint2/" -distfiles="http://$pkgname.googlecode.com/files/$pkgname-${version}.tar.bz2" -checksum=fe106e6a6057d2631abddde9f82d3fd4fb1985c4fb93f10d3886417a9e22471d +homepage="https://gitlab.com/o9000/tint2" +distfiles="https://gitlab.com/o9000/${pkgname}/repository/archive.tar.gz?ref=${version}>${pkgname}-${version}.tar.gz" +checksum=eb4743fde5939bcb644f82ee8a69fa87a7a45f07095aca8a4ba91886260b0113 +wrksrc=tint2-${version}-dc300c021531f47cca336e15b50adf3b4a9bc9ae