dool icon indicating copy to clipboard operation
dool copied to clipboard

Status of packaging for dool

Open aijanai opened this issue 4 years ago • 22 comments

SUMMARY

Hi,

I'd like to inquire about the current status and ongoing efforts for dool packaging and distribution.

dool seems to offer snap and rpm packages, but is not present in any of the major Unix distributions' repos.

We might want to elect some maintainers for:

  • Mac brew
  • Ubuntu
  • Centos/RHEL
  • Python pip

Anything going on or contributions accepted by the author?

Thanks

aijanai avatar Jan 04 '21 17:01 aijanai

https://github.com/Homebrew/homebrew-core/pull/87693 I am writing homebrew formula for dool, but it hasn't released yet. https://github.com/scottchiefbaker/dool/issues/4

curoky avatar Oct 22 '21 03:10 curoky

Where can I find the RPM package built from it ?

pmoranga avatar Dec 30 '21 14:12 pmoranga

This is a great idea. I'd love to see dool packaged for more distros, and it should be very simple. I just updated the .spec file and it now builds correctly (I think) on my Rocky 8 system. I would accept any PRs for package maintainers.

Packaging dool should be simple and you can follow the flow in the install.py script.

  1. The dool script itself needs to go in your $PATH
  2. Plug-ins go in either /usr/share/dool/ or ~/.dool/
  3. The man page should go in /usr/share/man1/

scottchiefbaker avatar Jun 05 '23 16:06 scottchiefbaker

haha I wrote a brew formula but dool doesn't work on macOS because it doesn't have /proc. leaving it here for posterity in case dool one day does

class Dool < Formula
  desc "Monitor your system"
  homepage "https://github.com/scottchiefbaker/dool"
  url "https://github.com/scottchiefbaker/dool/archive/refs/tags/v1.3.0.tar.gz"
  sha256 "a1537c27e62d12d00d79f60bec456e6a2ec4a0189d44a28ac1ed9effdcb0ec2d"
  license "GPL-3.0-or-later"
  depends_on "python"

  def install
    bin.install "dool"
    man1.install "docs/dool.1"
    pkgshare.install Dir["plugins/*.py"]
  end
end

raylu avatar Sep 20 '23 03:09 raylu