[arch-commits] Commit in xdiskusage/trunk (PKGBUILD)
Date: Saturday, December 26, 2020 @ 19:18:59 Author: kkeen Revision: 793023 upgpkg: xdiskusage 1.53-1 Modified: xdiskusage/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-12-26 19:10:57 UTC (rev 793022) +++ PKGBUILD2020-12-26 19:18:59 UTC (rev 793023) @@ -4,7 +4,7 @@ # Contributor: Jason Chu pkgname=xdiskusage -pkgver=1.52 +pkgver=1.53 pkgrel=1 pkgdesc="A user-friendly program to show you what is using up all your disk space" arch=('x86_64') @@ -14,7 +14,7 @@ url="http://xdiskusage.sourceforge.net"; options=(!emptydirs) source=("http://xdiskusage.sourceforge.net/$pkgname-$pkgver.tgz";) -md5sums=('8663caf205aeda34b45bf13cfa87b212') +md5sums=('7084e1b80e4f3b899487739cd1977ec1') build() { cd "$srcdir/$pkgname-$pkgver"
[arch-commits] Commit in xdiskusage/trunk (PKGBUILD build-fix.patch)
Date: Saturday, June 20, 2020 @ 23:14:03 Author: kkeen Revision: 648688 upgpkg: xdiskusage 1.52-1 Modified: xdiskusage/trunk/PKGBUILD Deleted: xdiskusage/trunk/build-fix.patch -+ PKGBUILD| 18 - build-fix.patch | 71 -- 2 files changed, 6 insertions(+), 83 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-06-20 23:11:42 UTC (rev 648687) +++ PKGBUILD2020-06-20 23:14:03 UTC (rev 648688) @@ -1,10 +1,11 @@ -# Maintainer: Sergej Pupykin +# Maintainer: Kyle Keen +# Contributor: Sergej Pupykin # Contributor: Tom Newsom # Contributor: Jason Chu pkgname=xdiskusage -pkgver=1.51 -pkgrel=3 +pkgver=1.52 +pkgrel=1 pkgdesc="A user-friendly program to show you what is using up all your disk space" arch=('x86_64') depends=('fltk') @@ -12,16 +13,9 @@ license=('GPL') url="http://xdiskusage.sourceforge.net"; options=(!emptydirs) -source=(http://xdiskusage.sourceforge.net/$pkgname-$pkgver.tgz - 'build-fix.patch') -md5sums=('91ab7415a0dc8d53742eb9a9cc809cfd' - '570eb00cb0999231620b67889325a81f') +source=("http://xdiskusage.sourceforge.net/$pkgname-$pkgver.tgz";) +md5sums=('8663caf205aeda34b45bf13cfa87b212') -prepare() { - cd "$srcdir/$pkgname-$pkgver" -# patch -Np1 -i "$srcdir/build-fix.patch" -} - build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr Deleted: build-fix.patch === --- build-fix.patch 2020-06-20 23:11:42 UTC (rev 648687) +++ build-fix.patch 2020-06-20 23:14:03 UTC (rev 648688) @@ -1,71 +0,0 @@ -diff -wbBur xdiskusage-1.48/makeinclude.in xdiskusage-1.48.my/makeinclude.in xdiskusage-1.48/makeinclude.in 2004-05-05 10:07:57.0 +0400 -+++ xdiskusage-1.48.my/makeinclude.in 2014-04-23 20:58:15.136751299 +0400 -@@ -21,6 +21,6 @@ - CXXFLAGS_D=@CXXFLAGS_D@ - - # libraries to link with: --LDLIBS=@LIBS@ -lfltk -lXinerama -lGL -lGLU -lX11 -lXext @X_EXTRA_LIBS@ -lm -+LDLIBS=@LIBS@ -lfltk -lXinerama -lXft -lX11 -lXext -lXi @X_EXTRA_LIBS@ -lm - - INSTALL =@INSTALL@ -diff -wbBur xdiskusage-1.48/xdiskusage.C xdiskusage-1.48.my/xdiskusage.C xdiskusage-1.48/xdiskusage.C 2004-09-21 09:23:14.0 +0400 -+++ xdiskusage-1.48.my/xdiskusage.C2014-04-23 21:00:50.696749510 +0400 -@@ -223,6 +223,19 @@ - return 1; - } - -+// returns true if stdin is /dev/null -+// To fix Debian bug #276193 -+// Technically could be possible that returns "true" and is not "true", -+// because same device ID is used across file systems. But is the best -+// solutions that I have -+int isstdinnull() { -+struct stat ststdin,stnull; -+stat("/dev/null",&stnull); -+fstat(0,&ststdin); -+ -+return (ststdin.st_rdev==stnull.st_rdev); -+} -+ - int main(int argc, char**argv) { - #if FL_MAJOR_VERSION < 2 - // Make fltk look more like KDE/Windoze: -@@ -253,7 +266,7 @@ - OutputWindow* d = OutputWindow::make(argv[n++]); - if (d) d->show(argc,argv); - } -- } else if (!isatty(0)) { -+ } else if (!isatty(0) && !isstdinnull()) { - // test for pipe, if so read stdin: - OutputWindow* d = OutputWindow::make(0); - if (d) d->show(argc,argv); -@@ -392,8 +405,7 @@ - strncpy(pathbuf, path, 1024); - for (int i=0; i<10; i++) { - char *p = (char*)fl_filename_name(pathbuf); -- int i = readlink(pathbuf, p, 1024-(p-pathbuf)); -- if (i < 0) { -+ if (readlink(pathbuf, p, 1024-(p-pathbuf)) < 0) { - if (errno != EINVAL) { - strcat(pathbuf, ": no such file"); - fl_alert(pathbuf); -@@ -988,7 +1000,7 @@ - void OutputWindow::sort_cb(Fl_Widget* o, void*v) { - OutputWindow* d = (OutputWindow*)(o->window()); - int (*compare)(const Node*, const Node*); -- switch ((int)v) { -+ switch ((long long)v) { - case 's': compare = largestfirst; break; - case 'r': compare = smallestfirst; break; - case 'a': compare = alphabetical; break; -@@ -1001,7 +1013,7 @@ - - void OutputWindow::columns_cb(Fl_Widget* o, void*v) { - OutputWindow* d = (OutputWindow*)(o->window()); -- int n = (int)v; -+ int n = (long long)v; - ::ncols = n; - if (n == d->ncols) return; - if (d->current_depth > d->root_depth+n-1) {
[arch-commits] Commit in xdiskusage/trunk (PKGBUILD)
Date: Wednesday, May 30, 2018 @ 23:06:36 Author: kkeen Revision: 333569 upgpkg: xdiskusage 1.51-3 BUILDINFO Rebuild Modified: xdiskusage/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-05-30 22:59:48 UTC (rev 333568) +++ PKGBUILD2018-05-30 23:06:36 UTC (rev 333569) @@ -5,8 +5,8 @@ pkgname=xdiskusage pkgver=1.51 -pkgrel=2 -pkgdesc="xdiskusage is a user-friendly program to show you what is using up all your disk space" +pkgrel=3 +pkgdesc="A user-friendly program to show you what is using up all your disk space" arch=('x86_64') depends=('fltk') makedepends=('libxi')
[arch-commits] Commit in xdiskusage/trunk (PKGBUILD)
Date: Monday, December 7, 2015 @ 07:26:59 Author: fyan Revision: 149648 C++11 ABI rebuild Modified: xdiskusage/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2015-12-07 06:22:46 UTC (rev 149647) +++ PKGBUILD2015-12-07 06:26:59 UTC (rev 149648) @@ -5,7 +5,7 @@ pkgname=xdiskusage pkgver=1.51 -pkgrel=1 +pkgrel=2 pkgdesc="xdiskusage is a user-friendly program to show you what is using up all your disk space" arch=('i686' 'x86_64') depends=('fltk')
[arch-commits] Commit in xdiskusage/trunk (PKGBUILD)
Date: Tuesday, March 3, 2015 @ 18:34:47 Author: spupykin Revision: 128646 upgpkg: xdiskusage 1.51-1 upd Modified: xdiskusage/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-03-03 16:53:39 UTC (rev 128645) +++ PKGBUILD2015-03-03 17:34:47 UTC (rev 128646) @@ -4,7 +4,7 @@ # Contributor: Jason Chu pkgname=xdiskusage -pkgver=1.50 +pkgver=1.51 pkgrel=1 pkgdesc="xdiskusage is a user-friendly program to show you what is using up all your disk space" arch=('i686' 'x86_64') @@ -15,7 +15,7 @@ options=(!emptydirs) source=(http://xdiskusage.sourceforge.net/$pkgname-$pkgver.tgz 'build-fix.patch') -md5sums=('d31e15e439c2c4803c29dbedfe2aebd4' +md5sums=('91ab7415a0dc8d53742eb9a9cc809cfd' '570eb00cb0999231620b67889325a81f') prepare() {
[arch-commits] Commit in xdiskusage/trunk (PKGBUILD)
Date: Thursday, January 15, 2015 @ 13:23:53 Author: spupykin Revision: 125965 upgpkg: xdiskusage 1.50-1 upd Modified: xdiskusage/trunk/PKGBUILD --+ PKGBUILD |8 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-01-15 12:23:50 UTC (rev 125964) +++ PKGBUILD2015-01-15 12:23:53 UTC (rev 125965) @@ -4,8 +4,8 @@ # Contributor: Jason Chu pkgname=xdiskusage -pkgver=1.48 -pkgrel=8 +pkgver=1.50 +pkgrel=1 pkgdesc="xdiskusage is a user-friendly program to show you what is using up all your disk space" arch=('i686' 'x86_64') depends=('fltk') @@ -15,12 +15,12 @@ options=(!emptydirs) source=(http://xdiskusage.sourceforge.net/$pkgname-$pkgver.tgz 'build-fix.patch') -md5sums=('a902aa9d73761ade98256c3cd5c1f533' +md5sums=('d31e15e439c2c4803c29dbedfe2aebd4' '570eb00cb0999231620b67889325a81f') prepare() { cd "$srcdir/$pkgname-$pkgver" - patch -Np1 -i "$srcdir/build-fix.patch" +# patch -Np1 -i "$srcdir/build-fix.patch" } build() {