diff options
author | Dmitry 'MAD' Artamonow <mad_soft@inbox.ru> | 2009-02-24 21:38:10 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2009-02-24 21:38:10 -0800 |
commit | 8ff9eac82736ab3adc5ffd223a39d9eafd2409be (patch) | |
tree | 5df6b34437d7ca33d8ca48b3dc1f0b34e44cfe75 | |
parent | 170188bce7c55ace9e84adef2cea0295420c09c2 (diff) |
xdiskusage: xdiskusage shows disk space usage information, it can produce a PostScript version of the display.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | conf/checksums.ini | 4 | ||||
-rw-r--r-- | packages/xdiskusage/files/running_from_menu.patch | 14 | ||||
-rw-r--r-- | packages/xdiskusage/files/xdiskusage.desktop | 10 | ||||
-rw-r--r-- | packages/xdiskusage/files/xdiskusage.png | bin | 0 -> 312 bytes | |||
-rw-r--r-- | packages/xdiskusage/xdiskusage_1.48.bb | 26 |
5 files changed, 54 insertions, 0 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini index 2b8671493f..af95688447 100644 --- a/conf/checksums.ini +++ b/conf/checksums.ini @@ -22630,6 +22630,10 @@ sha256=4511dc4df6ebb320a4a516b3b712c86f6924e5ee9832618f58ebba06c64712ea md5=b3884eaec59a63691f66bc29ce57a56d sha256=75378ad3eacbe32c625de3b4af3e1f6fc9772ab45c1cd1393483d95ac4da3b22 +[http://xdiskusage.sourceforge.net/xdiskusage-1.48.tgz] +md5=a902aa9d73761ade98256c3cd5c1f533 +sha256=7842aa42510bf52c367164d44a977915ad9f070864d5175157738f8d6894274b + [http://xorg.freedesktop.org/releases/individual/app/xditview-1.0.1.tar.bz2] md5=e9a7192ef29453b8c810ddd556a463c0 sha256=177194e5f83b31c2f934e3a0b573e8ae359edf2ef1a2403ee8e1dad383558117 diff --git a/packages/xdiskusage/files/running_from_menu.patch b/packages/xdiskusage/files/running_from_menu.patch new file mode 100644 index 0000000000..7d0c08ee37 --- /dev/null +++ b/packages/xdiskusage/files/running_from_menu.patch @@ -0,0 +1,14 @@ +--- a/xdiskusage.C 29 Sep 2004 07:32:12 -0000 1.20 ++++ b/xdiskusage.C 13 Oct 2004 03:20:26 -0000 1.21 +@@ -261,7 +261,8 @@ + OutputWindow* d = OutputWindow::make(argv[n++]); + if (d) d->show(argc,argv); + } +- } else if (!isatty(0)) { ++ } else if (!isatty(0) && (n=getc(stdin))>=0) { ++ ungetc(n,stdin); + // test for pipe, if so read stdin: + OutputWindow* d = OutputWindow::make(0); + if (d) d->show(argc,argv); + + diff --git a/packages/xdiskusage/files/xdiskusage.desktop b/packages/xdiskusage/files/xdiskusage.desktop new file mode 100644 index 0000000000..ab4d2fd901 --- /dev/null +++ b/packages/xdiskusage/files/xdiskusage.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=XDiskUsage +GenericName=Disk Usage +Comment=Utility showing disk usage +Type=Application +Exec=xdiskusage +Icon=xdiskusage +Categories=System;Filesystem; +Terminal=false + diff --git a/packages/xdiskusage/files/xdiskusage.png b/packages/xdiskusage/files/xdiskusage.png Binary files differnew file mode 100644 index 0000000000..43b1924ed6 --- /dev/null +++ b/packages/xdiskusage/files/xdiskusage.png diff --git a/packages/xdiskusage/xdiskusage_1.48.bb b/packages/xdiskusage/xdiskusage_1.48.bb new file mode 100644 index 0000000000..baac5f88a3 --- /dev/null +++ b/packages/xdiskusage/xdiskusage_1.48.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "Xdiskusage shows graphically what is using up your disk space" +AUTHOR = "Bill Spitzak" +HOMEPAGE = "http://xdiskusage.sourceforge.net/" +SECTION = "x11/applications" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "fltk" + +SRC_URI = "http://xdiskusage.sourceforge.net/xdiskusage-${PV}.tgz \ + file://running_from_menu.patch;patch=1 \ + file://xdiskusage.desktop \ + file://xdiskusage.png" + +EXTRA_OEMAKE = "CXXFLAGS="${CXXFLAGS} `fltk-config --cxxflags`" \ + LDLIBS="`fltk-config --ldflags`"" + +do_install() { + install -d ${D}/${bindir} + install -d ${D}/${mandir}/man1 + install -d ${D}/${datadir}/applications + install -d ${D}/${datadir}/pixmaps + install -m 0755 ${S}/xdiskusage ${D}/${bindir}/ + install -m 0644 ${S}/xdiskusage.1 ${D}/${mandir}/man1/ + install -m 0644 ${WORKDIR}/xdiskusage.desktop ${D}/${datadir}/applications/ + install -m 0644 ${WORKDIR}/xdiskusage.png ${D}/${datadir}/pixmaps/ +} |