Skip to content

Commit

Permalink
sysutils/macchina: update to 6.0.1
Browse files Browse the repository at this point in the history
v6.0.1
- Use the correct section numbering for our manpages.

v6.0.0
macchina v6.0, codename "Gallium"

We hope you'll enjoy this release as much as we did preparing it ❤️

If you want to give back to macchina, tell your friends about it :)

BREAKING CHANGES

- `MACCHINA_CONF` has been deprecated. The reason being that it accomplishes
  the same thing as `--config`. (#200)
- In themes, the `hide_bar_delimiters` option has been deprecated. We've
  renamed it to `hide_delimiters` and moved it to the [bar] section. (#200)
- In themes, the `palette` option has been deprecated. There's now an entire
  section dedicated to the palette component named [palette]. (#200)

Bugfixes

- The command-line flag named `--short-uptime` has been renamed to
  `--long-uptime`, the option in your configuration remains the same. (#200)
- libmacchina: The desktop environment readout now prefers
  `XDG_CURRENT_DESKTOP`, with `DESKTOP_SESSION` as a fallback. (#199)
- A spacing bug that results in uneven space between the left and right side of
  the separator in certain situations has been fixed. (#200)
- A spacing bug that results in more space being used than specified when the
  separator is invisible has been fixed. (#200)
- Every option in theme files is now entirely optional, you will no longer get
  into trouble with cryptic error messages when forgetting to set some options.
  (#200)
- macchina should hopefully be able to locate macOS users' themes now. (#200)

Features

- We've added back the option to display your physical or logical core count.
  (#200)
- There's two new manpages! One for configuration and another for
  customization. (#200)
- macchina now searches through more locations for its themes, like
  `/usr/share`. (#200)
- There's now a much nicer error reporting for themes. (#208)

You can now:
- use indexed and hexadecimal colors for any option that accepts a color.
  (#193)
- tell macchina what pool of colors to use in the randomization process. (#200)
- specify the kind of border you want the box to use. (#200)
- specify the glyph used by the palette (#200).

Other nice things

- `--list-themes` gets a new look, and it tells which theme is active now as
  well.
- Some under-the-hood changes and refactoring work that very slightly improve
  performance and make the codebase nicer to navigate.
- macchina and libmacchina's dependencies have been bumped, so we're mostly
  up-to-date.
- libmacchina: Gentoo users no longer need `portage-utils` for the package
  readout to report their package count.

Big thanks to

- [uttarayan21](https://github.com/uttarayan21) for introducing 10x better
  error reporting, and bringing a whole set of new colors to macchina.
- [0323pin](https://github.com/0323pin) for contributing a sexy-looking theme
  and testing out this version on NetBSD.
- [FantasyTeddy](https://github.com/FantasyTeddy) for helping us resolve linter
  warnings for various platforms.
  • Loading branch information
0323pin committed Dec 14, 2021
1 parent b8415e1 commit d082dbc
Show file tree
Hide file tree
Showing 5 changed files with 199 additions and 162 deletions.
11 changes: 6 additions & 5 deletions sysutils/macchina/DESCR
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Basic system information fetcher, with a focus on performance and minimalism.
macchina lets you view system information, like your kernel version, uptime,
memory usage, processor load and much more. macchina is basic by default and
extensible by design.

Macchina lets you view basic system information, like your hostname, kernel
version, uptime, memory usage, and much more.
No one wants a slow fetcher, and Macchina's selling point is providing you with
convenient features while keeping performance a priority and minimalism a goal.
If you're interested in the library macchina uses to fetch system information,
have a look at libmacchina; fetching-related issues should be filed on that
repository.
14 changes: 8 additions & 6 deletions sysutils/macchina/Makefile
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
# $NetBSD: Makefile,v 1.40 2021/11/13 17:05:42 pin Exp $
# $NetBSD: Makefile,v 1.41 2021/12/14 22:16:12 pin Exp $

DISTNAME= macchina-5.0.5
DISTNAME= macchina-6.0.1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=Macchina-CLI/}
GITHUB_TAG= v${PKGVERSION_NOREV}

MAINTAINER= [email protected]
HOMEPAGE= https://github.com/Macchina-CLI/macchina/
COMMENT= Basic system information fetcher
COMMENT= System information frontend with emphasis on performance
LICENSE= mit

.include "cargo-depends.mk"

INSTALLATION_DIRS= bin share/examples/macchina
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man7 share/examples/macchina

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/macchina ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/macchina.toml ${DESTDIR}${PREFIX}/share/examples/macchina
${INSTALL_DATA} ${WRKSRC}/themes/Hydrogen.toml ${DESTDIR}${PREFIX}/share/examples/macchina
${INSTALL_MAN} ${WRKSRC}/doc/man/macchina.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/macchina.1
${INSTALL_MAN} ${WRKSRC}/doc/man/macchina.7 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man7/macchina.7
${INSTALL_DATA} ${WRKSRC}/doc/macchina.toml ${DESTDIR}${PREFIX}/share/examples/macchina
${INSTALL_DATA} ${WRKSRC}/contrib/themes/Lithium.toml ${DESTDIR}${PREFIX}/share/examples/macchina

DEPENDS+= wmctrl-[0-9]*:../../wm/wmctrl

Expand Down
6 changes: 4 additions & 2 deletions sysutils/macchina/PLIST
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
@comment $NetBSD: PLIST,v 1.5 2021/11/02 09:13:51 pin Exp $
@comment $NetBSD: PLIST,v 1.6 2021/12/14 22:16:12 pin Exp $
bin/macchina
share/examples/macchina/Hydrogen.toml
man/man1/macchina.1
man/man7/macchina.7
share/examples/macchina/Lithium.toml
share/examples/macchina/macchina.toml
82 changes: 45 additions & 37 deletions sysutils/macchina/cargo-depends.mk
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
# $NetBSD: cargo-depends.mk,v 1.25 2021/11/13 17:05:42 pin Exp $
# $NetBSD: cargo-depends.mk,v 1.26 2021/12/14 22:16:12 pin Exp $

CARGO_CRATE_DEPENDS+= aho-corasick-0.7.18
CARGO_CRATE_DEPENDS+= ansi-to-tui-0.4.1
CARGO_CRATE_DEPENDS+= ansi_term-0.11.0
CARGO_CRATE_DEPENDS+= anyhow-1.0.44
CARGO_CRATE_DEPENDS+= ansi_term-0.12.1
CARGO_CRATE_DEPENDS+= anyhow-1.0.51
CARGO_CRATE_DEPENDS+= atty-0.2.14
CARGO_CRATE_DEPENDS+= autocfg-1.0.1
CARGO_CRATE_DEPENDS+= bitflags-1.3.2
CARGO_CRATE_DEPENDS+= byte-unit-4.0.12
CARGO_CRATE_DEPENDS+= byte-unit-4.0.13
CARGO_CRATE_DEPENDS+= byteorder-1.4.3
CARGO_CRATE_DEPENDS+= bytesize-1.1.0
CARGO_CRATE_DEPENDS+= cassowary-0.3.0
CARGO_CRATE_DEPENDS+= cc-1.0.70
CARGO_CRATE_DEPENDS+= cc-1.0.72
CARGO_CRATE_DEPENDS+= cfg-if-1.0.0
CARGO_CRATE_DEPENDS+= chrono-0.4.19
CARGO_CRATE_DEPENDS+= clap-2.33.3
CARGO_CRATE_DEPENDS+= clap-2.34.0
CARGO_CRATE_DEPENDS+= color-to-tui-0.1.3
CARGO_CRATE_DEPENDS+= colored-2.0.0
CARGO_CRATE_DEPENDS+= const-sha1-0.2.0
CARGO_CRATE_DEPENDS+= core-foundation-0.9.1
CARGO_CRATE_DEPENDS+= core-foundation-sys-0.8.2
CARGO_CRATE_DEPENDS+= core-graphics-0.22.2
CARGO_CRATE_DEPENDS+= core-foundation-0.9.2
CARGO_CRATE_DEPENDS+= core-foundation-sys-0.8.3
CARGO_CRATE_DEPENDS+= core-graphics-0.22.3
CARGO_CRATE_DEPENDS+= core-graphics-types-0.1.1
CARGO_CRATE_DEPENDS+= crossterm-0.20.0
CARGO_CRATE_DEPENDS+= crossterm_winapi-0.8.0
Expand All @@ -31,22 +32,23 @@ CARGO_CRATE_DEPENDS+= enum-iterator-derive-0.7.0
CARGO_CRATE_DEPENDS+= foreign-types-0.3.2
CARGO_CRATE_DEPENDS+= foreign-types-shared-0.1.1
CARGO_CRATE_DEPENDS+= form_urlencoded-1.0.1
CARGO_CRATE_DEPENDS+= gethostname-0.2.1
CARGO_CRATE_DEPENDS+= getrandom-0.2.3
CARGO_CRATE_DEPENDS+= getset-0.1.1
CARGO_CRATE_DEPENDS+= git2-0.13.22
CARGO_CRATE_DEPENDS+= getset-0.1.2
CARGO_CRATE_DEPENDS+= git2-0.13.25
CARGO_CRATE_DEPENDS+= heck-0.3.3
CARGO_CRATE_DEPENDS+= hermit-abi-0.1.19
CARGO_CRATE_DEPENDS+= idna-0.2.3
CARGO_CRATE_DEPENDS+= if-addrs-0.6.7
CARGO_CRATE_DEPENDS+= if-addrs-sys-0.3.2
CARGO_CRATE_DEPENDS+= instant-0.1.10
CARGO_CRATE_DEPENDS+= itertools-0.10.1
CARGO_CRATE_DEPENDS+= instant-0.1.12
CARGO_CRATE_DEPENDS+= itertools-0.10.3
CARGO_CRATE_DEPENDS+= itoa-0.4.8
CARGO_CRATE_DEPENDS+= jobserver-0.1.24
CARGO_CRATE_DEPENDS+= lazy_static-1.4.0
CARGO_CRATE_DEPENDS+= libc-0.2.107
CARGO_CRATE_DEPENDS+= libgit2-sys-0.12.23+1.2.0
CARGO_CRATE_DEPENDS+= libmacchina-3.8.6
CARGO_CRATE_DEPENDS+= libc-0.2.111
CARGO_CRATE_DEPENDS+= libgit2-sys-0.12.26+1.3.0
CARGO_CRATE_DEPENDS+= libmacchina-4.0.2
CARGO_CRATE_DEPENDS+= libz-sys-1.1.3
CARGO_CRATE_DEPENDS+= local-ip-address-0.4.4
CARGO_CRATE_DEPENDS+= lock_api-0.4.5
Expand All @@ -56,9 +58,10 @@ CARGO_CRATE_DEPENDS+= matches-0.1.9
CARGO_CRATE_DEPENDS+= memalloc-0.1.0
CARGO_CRATE_DEPENDS+= memchr-2.4.1
CARGO_CRATE_DEPENDS+= memoffset-0.6.4
CARGO_CRATE_DEPENDS+= mio-0.7.13
CARGO_CRATE_DEPENDS+= mio-0.7.14
CARGO_CRATE_DEPENDS+= miow-0.3.7
CARGO_CRATE_DEPENDS+= neli-0.5.3
CARGO_CRATE_DEPENDS+= nix-0.22.0
CARGO_CRATE_DEPENDS+= nix-0.23.0
CARGO_CRATE_DEPENDS+= ntapi-0.3.6
CARGO_CRATE_DEPENDS+= num-integer-0.1.44
Expand All @@ -68,12 +71,12 @@ CARGO_CRATE_DEPENDS+= os-release-0.1.0
CARGO_CRATE_DEPENDS+= parking_lot-0.11.2
CARGO_CRATE_DEPENDS+= parking_lot_core-0.8.5
CARGO_CRATE_DEPENDS+= percent-encoding-2.1.0
CARGO_CRATE_DEPENDS+= pkg-config-0.3.19
CARGO_CRATE_DEPENDS+= ppv-lite86-0.2.10
CARGO_CRATE_DEPENDS+= pkg-config-0.3.22
CARGO_CRATE_DEPENDS+= ppv-lite86-0.2.15
CARGO_CRATE_DEPENDS+= proc-macro-error-1.0.4
CARGO_CRATE_DEPENDS+= proc-macro-error-attr-1.0.4
CARGO_CRATE_DEPENDS+= proc-macro2-1.0.29
CARGO_CRATE_DEPENDS+= quote-1.0.9
CARGO_CRATE_DEPENDS+= proc-macro2-1.0.32
CARGO_CRATE_DEPENDS+= quote-1.0.10
CARGO_CRATE_DEPENDS+= rand-0.8.4
CARGO_CRATE_DEPENDS+= rand_chacha-0.3.1
CARGO_CRATE_DEPENDS+= rand_core-0.6.3
Expand All @@ -84,34 +87,34 @@ CARGO_CRATE_DEPENDS+= regex-1.5.4
CARGO_CRATE_DEPENDS+= regex-syntax-0.6.25
CARGO_CRATE_DEPENDS+= rustc_version-0.4.0
CARGO_CRATE_DEPENDS+= rustversion-1.0.5
CARGO_CRATE_DEPENDS+= ryu-1.0.5
CARGO_CRATE_DEPENDS+= ryu-1.0.6
CARGO_CRATE_DEPENDS+= same-file-1.0.6
CARGO_CRATE_DEPENDS+= scopeguard-1.1.0
CARGO_CRATE_DEPENDS+= semver-1.0.4
CARGO_CRATE_DEPENDS+= serde-1.0.130
CARGO_CRATE_DEPENDS+= serde_derive-1.0.130
CARGO_CRATE_DEPENDS+= serde_json-1.0.68
CARGO_CRATE_DEPENDS+= serde_json-1.0.72
CARGO_CRATE_DEPENDS+= signal-hook-0.3.10
CARGO_CRATE_DEPENDS+= signal-hook-mio-0.2.1
CARGO_CRATE_DEPENDS+= signal-hook-registry-1.4.0
CARGO_CRATE_DEPENDS+= smallvec-1.6.1
CARGO_CRATE_DEPENDS+= smallvec-1.7.0
CARGO_CRATE_DEPENDS+= sqlite-0.26.0
CARGO_CRATE_DEPENDS+= sqlite3-src-0.3.0
CARGO_CRATE_DEPENDS+= sqlite3-sys-0.13.0
CARGO_CRATE_DEPENDS+= strsim-0.8.0
CARGO_CRATE_DEPENDS+= structopt-0.3.25
CARGO_CRATE_DEPENDS+= structopt-derive-0.4.18
CARGO_CRATE_DEPENDS+= syn-1.0.76
CARGO_CRATE_DEPENDS+= syn-1.0.82
CARGO_CRATE_DEPENDS+= sysctl-0.4.3
CARGO_CRATE_DEPENDS+= textwrap-0.11.0
CARGO_CRATE_DEPENDS+= thiserror-1.0.29
CARGO_CRATE_DEPENDS+= thiserror-impl-1.0.29
CARGO_CRATE_DEPENDS+= thiserror-1.0.30
CARGO_CRATE_DEPENDS+= thiserror-impl-1.0.30
CARGO_CRATE_DEPENDS+= time-0.1.43
CARGO_CRATE_DEPENDS+= tinyvec-1.4.0
CARGO_CRATE_DEPENDS+= tinyvec-1.5.1
CARGO_CRATE_DEPENDS+= tinyvec_macros-0.1.0
CARGO_CRATE_DEPENDS+= toml-0.5.8
CARGO_CRATE_DEPENDS+= tui-0.16.0
CARGO_CRATE_DEPENDS+= unicode-bidi-0.3.6
CARGO_CRATE_DEPENDS+= unicode-bidi-0.3.7
CARGO_CRATE_DEPENDS+= unicode-normalization-0.1.19
CARGO_CRATE_DEPENDS+= unicode-segmentation-1.8.0
CARGO_CRATE_DEPENDS+= unicode-width-0.1.9
Expand All @@ -120,21 +123,26 @@ CARGO_CRATE_DEPENDS+= url-2.2.2
CARGO_CRATE_DEPENDS+= utf8-width-0.1.5
CARGO_CRATE_DEPENDS+= vcpkg-0.2.15
CARGO_CRATE_DEPENDS+= vec_map-0.8.2
CARGO_CRATE_DEPENDS+= vergen-5.1.17
CARGO_CRATE_DEPENDS+= vergen-6.0.0
CARGO_CRATE_DEPENDS+= version_check-0.9.3
CARGO_CRATE_DEPENDS+= walkdir-2.3.2
CARGO_CRATE_DEPENDS+= wasi-0.10.2+wasi-snapshot-preview1
CARGO_CRATE_DEPENDS+= widestring-0.5.1
CARGO_CRATE_DEPENDS+= winapi-0.3.9
CARGO_CRATE_DEPENDS+= winapi-i686-pc-windows-gnu-0.4.0
CARGO_CRATE_DEPENDS+= winapi-util-0.1.5
CARGO_CRATE_DEPENDS+= winapi-wsapoll-0.1.1
CARGO_CRATE_DEPENDS+= winapi-x86_64-pc-windows-gnu-0.4.0
CARGO_CRATE_DEPENDS+= windows-0.18.0
CARGO_CRATE_DEPENDS+= windows-0.26.0
CARGO_CRATE_DEPENDS+= windows_aarch64_msvc-0.26.0
CARGO_CRATE_DEPENDS+= windows-0.28.0
CARGO_CRATE_DEPENDS+= windows-sys-0.28.0
CARGO_CRATE_DEPENDS+= windows_aarch64_msvc-0.28.0
CARGO_CRATE_DEPENDS+= windows_gen-0.18.0
CARGO_CRATE_DEPENDS+= windows_i686_gnu-0.26.0
CARGO_CRATE_DEPENDS+= windows_i686_msvc-0.26.0
CARGO_CRATE_DEPENDS+= windows_i686_gnu-0.28.0
CARGO_CRATE_DEPENDS+= windows_i686_msvc-0.28.0
CARGO_CRATE_DEPENDS+= windows_macros-0.18.0
CARGO_CRATE_DEPENDS+= windows_x86_64_gnu-0.26.0
CARGO_CRATE_DEPENDS+= windows_x86_64_msvc-0.26.0
CARGO_CRATE_DEPENDS+= winreg-0.8.0
CARGO_CRATE_DEPENDS+= windows_x86_64_gnu-0.28.0
CARGO_CRATE_DEPENDS+= windows_x86_64_msvc-0.28.0
CARGO_CRATE_DEPENDS+= winreg-0.10.1
CARGO_CRATE_DEPENDS+= wmi-0.9.2
CARGO_CRATE_DEPENDS+= x11rb-0.9.0
Loading

0 comments on commit d082dbc

Please sign in to comment.