[arch-commits] Commit in fbpanel/repos (8 files)
Date: Tuesday, November 5, 2013 @ 11:04:31 Author: spupykin Revision: 100493 archrelease: copy trunk to community-i686, community-x86_64 Added: fbpanel/repos/community-i686/PKGBUILD (from rev 100492, fbpanel/trunk/PKGBUILD) fbpanel/repos/community-i686/battery_fix.patch (from rev 100492, fbpanel/trunk/battery_fix.patch) fbpanel/repos/community-x86_64/PKGBUILD (from rev 100492, fbpanel/trunk/PKGBUILD) fbpanel/repos/community-x86_64/battery_fix.patch (from rev 100492, fbpanel/trunk/battery_fix.patch) Deleted: fbpanel/repos/community-i686/PKGBUILD fbpanel/repos/community-i686/battery_fix.patch fbpanel/repos/community-x86_64/PKGBUILD fbpanel/repos/community-x86_64/battery_fix.patch + /PKGBUILD | 76 +++ /battery_fix.patch | 238 +++ community-i686/PKGBUILD| 31 community-i686/battery_fix.patch | 119 - community-x86_64/PKGBUILD | 31 community-x86_64/battery_fix.patch | 119 - 6 files changed, 314 insertions(+), 300 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2013-11-05 10:04:14 UTC (rev 100492) +++ community-i686/PKGBUILD 2013-11-05 10:04:31 UTC (rev 100493) @@ -1,31 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com -# Maintainer: Jeff Mickey j...@archlinux.org -# Contributor: Torin Daniel torin...@gmail.com -# Contributor: Diep Pham Van i...@favadi.com - -pkgname=fbpanel -pkgver=6.1 -pkgrel=5 -pkgdesc=NetWM compliant desktop panel -arch=('i686' 'x86_64') -url=http://fbpanel.sourceforge.net/; -depends=('gtk2') -license=('GPL') -source=(http://downloads.sourceforge.net/fbpanel/fbpanel-${pkgver}.tbz2; -battery_fix.patch) -md5sums=('80ca0c64195b30587cfcb8c2cd9887a0' - 'dc1db8eee1be899725f350eb36793ea4') - -build() { - cd $srcdir/$pkgname-$pkgver - patch -p1 $srcdir/battery_fix.patch - ./configure --prefix=/usr --libexecdir=/usr/lib - echo LDFLAGSX += -lX11 -lm config.mk - make -} - -package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=$pkgdir/ install -} Copied: fbpanel/repos/community-i686/PKGBUILD (from rev 100492, fbpanel/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-11-05 10:04:31 UTC (rev 100493) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com +# Maintainer: Jeff Mickey j...@archlinux.org +# Contributor: Torin Daniel torin...@gmail.com +# Contributor: Diep Pham Van i...@favadi.com + +pkgname=fbpanel +pkgver=6.1 +pkgrel=6 +pkgdesc=NetWM compliant desktop panel +arch=('i686' 'x86_64') +url=http://fbpanel.sourceforge.net/; +depends=('gtk2') +license=('GPL') +source=(http://downloads.sourceforge.net/fbpanel/fbpanel-${pkgver}.tbz2; + taskbar_unicode.patch::https://bugs.archlinux.org/task/37639?getfile=11189; +battery_fix.patch) +md5sums=('80ca0c64195b30587cfcb8c2cd9887a0' + '0af51e8f0391ea9b734a57a9880b57e5' + 'dc1db8eee1be899725f350eb36793ea4') + +prepare() { + cd $srcdir/$pkgname-$pkgver + patch -p1 $srcdir/battery_fix.patch + patch -p1 $srcdir/taskbar_unicode.patch +} + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr --libexecdir=/usr/lib + echo LDFLAGSX += -lX11 -lm config.mk + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir/ install +} Deleted: community-i686/battery_fix.patch === --- community-i686/battery_fix.patch2013-11-05 10:04:14 UTC (rev 100492) +++ community-i686/battery_fix.patch2013-11-05 10:04:31 UTC (rev 100493) @@ -1,119 +0,0 @@ -*** fbpanel-6.1/plugins/battery/os_linux.c~2010-04-08 12:35:26.0 +0200 fbpanel-6.1/plugins/battery/os_linux.c 2013-07-09 13:13:50.958994816 +0200 -*** -*** 1,5 1,6 - - #include string.h -+ #include stdlib.h - #include ctype.h - - #define LEN 100 -*** -*** 120,129 - } - - static gboolean - battery_update_os_sys(battery_priv *c) - { - ENTER; -! RET(FALSE); - } - - static gboolean 121,215 - } - - static gboolean -+ read_sys(battery_priv *c, GString *path) -+ { -+ int len, dcap, rcap; -+ gchar *buf; -+ gboolean ret, exist, charging; -+ -+ ENTER; -+ len = path-len; -+ -+ g_string_append(path, /present); -+ ret = g_file_get_contents(path-str, buf, 0, NULL); -+ DBG(reading %s %s\n, path-str, ret ? ok : fail); -+ g_string_truncate(path, len); -+ if (!ret) -+ RET(FALSE); -+ exist = atoi(buf); -+ g_free(buf); -+ if (!exist) -+ RET(FALSE); -+ -+ g_string_append(path,
[arch-commits] Commit in fbpanel/repos (8 files)
Date: Tuesday, October 29, 2013 @ 11:57:06 Author: spupykin Revision: 99522 archrelease: copy trunk to community-i686, community-x86_64 Added: fbpanel/repos/community-i686/PKGBUILD (from rev 99521, fbpanel/trunk/PKGBUILD) fbpanel/repos/community-i686/battery_fix.patch (from rev 99521, fbpanel/trunk/battery_fix.patch) fbpanel/repos/community-x86_64/PKGBUILD (from rev 99521, fbpanel/trunk/PKGBUILD) fbpanel/repos/community-x86_64/battery_fix.patch (from rev 99521, fbpanel/trunk/battery_fix.patch) Deleted: fbpanel/repos/community-i686/PKGBUILD fbpanel/repos/community-i686/battery_fix.patch fbpanel/repos/community-x86_64/PKGBUILD fbpanel/repos/community-x86_64/battery_fix.patch + /PKGBUILD | 62 + /battery_fix.patch | 238 +++ community-i686/PKGBUILD| 31 community-i686/battery_fix.patch | 119 - community-x86_64/PKGBUILD | 31 community-x86_64/battery_fix.patch | 119 - 6 files changed, 300 insertions(+), 300 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2013-10-29 10:56:52 UTC (rev 99521) +++ community-i686/PKGBUILD 2013-10-29 10:57:06 UTC (rev 99522) @@ -1,31 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com -# Maintainer: Jeff Mickey j...@archlinux.org -# Contributor: Torin Daniel torin...@gmail.com -# Contributor: Diep Pham Van i...@favadi.com - -pkgname=fbpanel -pkgver=6.1 -pkgrel=4 -pkgdesc=NetWM compliant desktop panel -arch=('i686' 'x86_64') -url=http://fbpanel.sourceforge.net/; -depends=('gtk2') -license=('GPL') -source=(http://downloads.sourceforge.net/fbpanel/fbpanel-${pkgver}.tbz2; -battery_fix.patch) -md5sums=('80ca0c64195b30587cfcb8c2cd9887a0' - 'dc1db8eee1be899725f350eb36793ea4') - -build() { - cd $srcdir/$pkgname-$pkgver - patch -p1 $srcdir/battery_fix.patch - ./configure --prefix=/usr - echo LDFLAGSX += -lX11 -lm config.mk - make -} - -package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=$pkgdir/ install -} Copied: fbpanel/repos/community-i686/PKGBUILD (from rev 99521, fbpanel/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-10-29 10:57:06 UTC (rev 99522) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com +# Maintainer: Jeff Mickey j...@archlinux.org +# Contributor: Torin Daniel torin...@gmail.com +# Contributor: Diep Pham Van i...@favadi.com + +pkgname=fbpanel +pkgver=6.1 +pkgrel=5 +pkgdesc=NetWM compliant desktop panel +arch=('i686' 'x86_64') +url=http://fbpanel.sourceforge.net/; +depends=('gtk2') +license=('GPL') +source=(http://downloads.sourceforge.net/fbpanel/fbpanel-${pkgver}.tbz2; +battery_fix.patch) +md5sums=('80ca0c64195b30587cfcb8c2cd9887a0' + 'dc1db8eee1be899725f350eb36793ea4') + +build() { + cd $srcdir/$pkgname-$pkgver + patch -p1 $srcdir/battery_fix.patch + ./configure --prefix=/usr --libexecdir=/usr/lib + echo LDFLAGSX += -lX11 -lm config.mk + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir/ install +} Deleted: community-i686/battery_fix.patch === --- community-i686/battery_fix.patch2013-10-29 10:56:52 UTC (rev 99521) +++ community-i686/battery_fix.patch2013-10-29 10:57:06 UTC (rev 99522) @@ -1,119 +0,0 @@ -*** fbpanel-6.1/plugins/battery/os_linux.c~2010-04-08 12:35:26.0 +0200 fbpanel-6.1/plugins/battery/os_linux.c 2013-07-09 13:13:50.958994816 +0200 -*** -*** 1,5 1,6 - - #include string.h -+ #include stdlib.h - #include ctype.h - - #define LEN 100 -*** -*** 120,129 - } - - static gboolean - battery_update_os_sys(battery_priv *c) - { - ENTER; -! RET(FALSE); - } - - static gboolean 121,215 - } - - static gboolean -+ read_sys(battery_priv *c, GString *path) -+ { -+ int len, dcap, rcap; -+ gchar *buf; -+ gboolean ret, exist, charging; -+ -+ ENTER; -+ len = path-len; -+ -+ g_string_append(path, /present); -+ ret = g_file_get_contents(path-str, buf, 0, NULL); -+ DBG(reading %s %s\n, path-str, ret ? ok : fail); -+ g_string_truncate(path, len); -+ if (!ret) -+ RET(FALSE); -+ exist = atoi(buf); -+ g_free(buf); -+ if (!exist) -+ RET(FALSE); -+ -+ g_string_append(path, /charge_full_design); -+ ret = g_file_get_contents(path-str, buf, 0, NULL); -+ DBG(reading %s %s\n, path-str, ret ? ok : fail); -+ g_string_truncate(path, len); -+ if (!ret) -+ RET(FALSE); -+ dcap = atoi(buf); -+ g_free(buf); -+ if (dcap =