request: di

Locked
Message
Author
bll
Posts: 28
Joined: Thu Jun 01, 2017 11:04 am

request: di

#1 Post by bll »

Here's the 'di.spec' file, not sure if that's useful for debian based distributions.
The debian maintainer has not updated 'di' in a long time, it is stuck on version 4.34.

https://packages.debian.org/stable/utils/di



Name: di
Version: 4.46
Release: 1%{?dist}
Summary: 'di' is a disk information utility, displaying everything (and more) that your 'df' command does.

Group: System Environment/Base
License: zlib/libpng
URL: https://gentoo.com/di/
Source0: https://sourceforge.net/projects/diskin ... z/download
Source1: https://gentoo.com/di/di-%{version}.tar.gz
Source2: http://www.fossies.org/unix/misc/di-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

# Build requires: cat cp grep ln msgfmt mv rm sed sort test uname tr wc
#BuildRequires:
#Requires:

%description
'di' is a disk information utility, displaying everything (and
more) that your 'df' command does. It features the ability to display
your disk usage in whatever format you prefer. It also
checks the user and group quotas, so that the user
sees the space available for their use, not the system wide
disk space. It is designed to be portable across many platforms
and is great for heterogenous networks.

%prep
%setup -q

%build
make -e LOCALEDIR=/usr/share/locale

%install
test -d $RPM_BUILD_ROOT || mkdir $RPM_BUILD_ROOT
test -d $RPM_BUILD_ROOT/usr || mkdir $RPM_BUILD_ROOT/usr
make -e prefix=$RPM_BUILD_ROOT/usr install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc README LICENSE MANIFEST
/usr/bin/di
/usr/bin/mi
/usr/share/locale/de/LC_MESSAGES/di.mo
/usr/share/locale/en/LC_MESSAGES/di.mo
/usr/share/locale/es/LC_MESSAGES/di.mo
/usr/share/man/man1/di.1.gz
# For Mandriva 2011, change di.1.gz to di.1.xv

%changelog

User avatar
Stevo
Developer
Posts: 12837
Joined: Fri Dec 15, 2006 8:07 pm

Re: request: di

#2 Post by Stevo »

Got it done, uploading for the test repo now.

bll
Posts: 28
Joined: Thu Jun 01, 2017 11:04 am

Re: request: di

#3 Post by bll »

Perfect, thanks.

bll
Posts: 28
Joined: Thu Jun 01, 2017 11:04 am

Re: request: di

#4 Post by bll »

Bump di-4.47.1

The maintainer came back after 7 years, it is available as 4.47.1 in debian sid, bullseye, buster.
It will run on all versions of MX.

User avatar
Stevo
Developer
Posts: 12837
Joined: Fri Dec 15, 2006 8:07 pm

Re: request: di

#5 Post by Stevo »

Working on it...

User avatar
BitJam
Developer
Posts: 2283
Joined: Sat Aug 22, 2009 11:36 pm

Re: request: di

#6 Post by BitJam »

@bll, BTW: we have a dfh program which is meant to be a more human compatible form of df. It may not suit your needs but I wanted to let you know it is available. Here is some of the usage:

Code: Select all

Usage: dfh [options]

List "interesting" mounted file systems for humans.  Display in color and
show the back-files for loop devices.
It also comes in a dfh-watch flavor that periodically displays the dfh output so you can monitor the mounted disks on your system. They are part of the isomount suite of programs for easily mounting and inspecting iso files. For many Linux iso files you can combine this with chroot-rescue-scan utility to identify the versions of Linux in the mounted iso files and chroot into them.
"The first principle is that you must not fool yourself -- and you are the easiest person to fool."

-- Richard Feynman

bll
Posts: 28
Joined: Thu Jun 01, 2017 11:04 am

Re: request: di

#7 Post by bll »

Well, 'di' is rather superior.
I wrote it. :)

https://sourceforge.net/projects/diskinfo-di/

User avatar
Stevo
Developer
Posts: 12837
Joined: Fri Dec 15, 2006 8:07 pm

Re: request: di

#8 Post by Stevo »

sending it up to the test repos now

User avatar
BitJam
Developer
Posts: 2283
Joined: Sat Aug 22, 2009 11:36 pm

Re: request: di

#9 Post by BitJam »

bll wrote: Tue Oct 15, 2019 11:06 am Well, 'di' is rather superior.
I wrote it. :)
Cool! I wrote dfh and the isomount suite. I'm glad we can have both in MX. I think we can agree that df needed some work.
"The first principle is that you must not fool yourself -- and you are the easiest person to fool."

-- Richard Feynman

Locked

Return to “Package Requests/Status - MX 17/18”