Commit graph

28 commits

Author SHA1 Message Date
pin
c8e174d7c7 sysutils/macchina: add warning 2021-08-20 11:27:56 +00:00
tnn
ab9578d7c4 g/c RUSTFLAGS from individual package Makefiles. Handled by cargo.mk. 2021-07-22 16:16:35 +00:00
tnn
ed2308976c macchina: fix build on aarch64
The rust toolchain emits unusable R_AARCH64_ADR_PREL_PG_HI21 relocations
with rust's default -pie setting, so BUILDLINK_TRANSFORM it to -fPIC.
2021-06-18 10:44:29 +00:00
pin
de65fdf434 sysutils/macchina: update to 0.9.2
-NetBSD: Finally fixed resolution readout failing, due to linkage mistakes.
-NetBSD: Set a fallback, that tries to fetch resolution through the ACPIVGA
driver.
2021-06-08 10:21:55 +00:00
pin
48581af0d2 sysutils/macchina: update to 0.9.1
0.9.1
=====
-Corrected the order of the resolution readout.

0.9.0
=====
-Added a resolution readout.
2021-06-06 16:01:15 +00:00
pin
ddda45ac5d sysutils/macchina: update to 0.8.21
-Merged a PR by @uttarayan21 that adds support for reading the configuration
file by specifying a path to the config file using --config, or using
MACCHINA_CONF environment variable.
-Merged a PR by @uttarayan21 that displays a warning when one or more of the
custom themes is conflicting with a built-in theme.
-Merged a PR by @FantasyTeddy that allows the processor readout to be printed
even if processor count fails to fetch.
2021-05-23 17:06:00 +00:00
pin
de6b54a5a8 sysutils/macchina: update to 0.8.1
0.8.1
=====
-Added the ability to list available and custom themes through --list-themes
flag
-Merged a PR by @uttarayan21 that adds more targets for our CI checks and
releases

0.8.0
=====
-Merged a PR by @uttarayan21 that adds support for configuring macchina
through a dotfile.
-The same PR also adds support for using custom themes that allow you
to customize macchina the way you like instead of using the built-in themes
we provide.
2021-05-18 06:59:13 +00:00
pin
f000964398 sysutils/macchina: update to 0.7.4
Bugfixes:
-Fix build errors on macOS and Windows
2021-05-04 08:16:32 +00:00
pin
bee6d9a65a sysutils/macchina: update to 0.7.3
New features:

Macchina's custom ASCII art implementation is now much smarter than before,
thanks to the amazing work of @uttarayan21, and his brilliant parser
ansi-to-tui, go on, give it a star!

How smart is it? Well, it can now parse ANSI characters to determine how to
color the specified ascii.
Want to give it a go? You'll find a directory named "ascii" in the source code,
that contains some ascii files generated by jp2a which you can show alongside
your beautiful system information. You can use your own too, of course!

You'll also notice there's a new "contrib" directory too, which has a neat bash
script that can download a video from any site that is supported by youtube-dl,
and display it alongside your machine information, this is another one of
@uttarayan21's contributions :)

Bug fixes:
-Fixed a build error occurring on macOS.
2021-05-03 06:17:56 +00:00
pin
66045d8a7e sysutils/macchina: update to 0.7.2
- CPU Usage is allowed to exceed a 100% when bars are disabled, and appears
  capped at 100% when they are enabled.
  - Merged a PR by @CuriouslyCurious that adds the ability to use custom ASCII
  art: --custom-ascii lets you import your own ASCII art, overriding the
  default one. --custom-ascii-color lets you change your custom ASCII art color.
  - libmacchina: (Android) Performance improvements.
2021-04-24 18:49:48 +00:00
pin
9efa2e66c3 sysutils/macchina: update to 0.7.1
- libmacchina: (Distribution Readout) try to fetch VERSION before attempting
  to fetch VERSION_ID.
  - libmacchina: (NetBSD) Performance improvements thanks to a super fast
  custom terminal fetching implementation.
  - libmacchina: (macOS) Fixed an issue where the program might panic if the
  battery doesn't get detected.
  - libmacchina: A check has been added to ensure that in case of a failure
  during the terminal fetching process,
  - libmacchina: Is now able to properly fetch snaps and dpkg packages.
  - libmacchina: Added more checks to ensure package managers don't return '0'.
  the program should not return any unexpected value: terminal_name() will
  only continue if it receives a PID that is not -1.
  - Changes to the README as well as an update to the benchmarks.
2021-04-22 08:41:26 +00:00
pin
612fdc0517 sysutils/macchina: update to 0.7.0
Release v0.7.0, Codename "Cobalt".

Okay, before I tell you all about the new features and bug fixes, I'd like to
thank everybody that is actively using Macchina, and especially our
contributors.

I'm very grateful that people find Macchina as interesting as I do. Our
codebase has grown from a small, glued-together set of instructions, to two
independent packages, providing users and developers the opportunity to inspect
the code and actually enjoy doing so :)

Let's take a look at the new changes:

-ASCII art now adapts to how many readouts are displayed, as suggested by
@Ramiferous.
-Updated Linux big ASCII art variant.
-The title of "Emoji" theme, now named "Boron", can now be changed, and its
separator has been modified too.
-Removed jemallocator from the dependency list, this is due to build errors
primarily with libc, we started using this a while back, because its
performance improvements were promising, but I have just come to the conclusion
that the headaches it causes aren't worth it for the most part.
-A "Beryllium" theme has appeared!
-Themes now print their own name in the box title.
-Benchmarking with hyperfine has finally been fixed.
-Update Linux and NetBSD benchmarks.
-libmacchina: Optimizations for Linux, Android and OpenWrt by implementing an
interface for sysinfo struct and using that when possible.
-libmacchina (Linux): Optimize terminal fetching by utilizing a custom
implementation instead of calling ps.
-libmacchina (Linux): Distribution should now return NAME and VERSION whenever
possible, previously it was NAME and VERSION_ID.
@123marvin123:
-Fixed an issue where the palette doesn't respect the user-provided padding
value.
@uttarayan21:
-Added command autocompletion for bash and fish.
-libmacchina: Refactored many functions, fixing a lot of clippy's warnings.
-libmacchina: Added Android support.
2021-04-20 19:50:22 +00:00
pin
06a63a7304 sysutils/macchina: update to 0.6.9
-Fixed a bug that caused bars to seem 100% full when using --no-color
-Slight modifications to the wording used in the help text
-No longer generate a random number when picking which ASCII art to display
2021-04-12 20:21:39 +00:00
pin
a80f90bd7c sysutils/macchina: update to 0.6.8
-Added an option to hide the separator
-Added an option to hide the bar's delimiters
2021-04-10 13:14:19 +00:00
pin
05a179872e sysutils/macchina: update to 0.6.7
-Reorder the readouts
-libmacchina can now fetch CPU usage, and Macchina can now display it
-Fixed a bug where LocalIP will be marked as failed when username or hostname
fails to fetch
-Updated some of the example images in README files
2021-04-09 08:59:30 +00:00
pin
46ec905293 sysutils/macchina: update to 0.6.6
-Merge OpenWrt support PR by @uttarayan21
Thank you for your contribution!
-libmacchina: Merge OpenWrt support PR by @uttarayan21
2021-04-07 20:21:36 +00:00
pin
c07173a4b5 sysutils macchina: update to 0.6.5
-Use the latest libmacchina version, v0.1.9
-Use libmacchina crate and not git

version 0.6.4 was never taged on GitHub.
Patch no longer needed.
2021-04-06 18:29:30 +00:00
pin
5e6f218323 sysutils/macchine: update to 0.6.3
-Update libmacchina dependency to its latest version, 0.1.7.

Includes patch by Chavdar Ivanov
https://mail-index.netbsd.org/pkgsrc-users/2021/03/26/msg033477.html
2021-04-06 07:18:56 +00:00
pin
77aa1e5729 sysutils/macchina: fix broken builds 2021-03-25 19:43:44 +00:00
pin
b9446dee1c sysutils/macchina: update to 0.6.2
v0.6.2
-Fix a bug where --hide behaves the same as --show-only

v0.6.1
-Move macchina-read to its own repository, named libmacchina
-Add a TUI, and provide all the customizations options one might need
-Add ASCII art
-Fix several bugs
-Use jemalloc for improved performance
-Add --doctor, a more verbose and helpful debugger
-Added local IP address entry
-More miscellaneous improvements and changes

v0.6.0
-Rework the theming system
-Rework the long theme
-Declutter Elements and display.rs
-Remove objc runtime and use sysctl to get os version to improve performance on
macOS
-Add documentation for theme.rs
-Add macOS and NetBSD benchmarks to README
-Add more Windows metrics and fix its compilations errors
-Add support for APK (Alpine Linux) package manager
-Fix an issue where a bar's unused glyphs (when using --no-color flag) are not
hidden for some terminals, e.g. Kitty.
-Remove "To be filled by O.E.M." from machine information on certain computers
-ripgrep should no longer print any error messages to the terminal on NetBSD
-Use type-safe command line parsing with StructOpt and Clap
-Move dependencies section of README files to the bottom
-Other miscellaneous changes and improvements
2021-03-24 14:09:33 +00:00
pin
ed298ea4df sysutils/macchina: update to 0.5.9
-Added macOS support
-Execution time on macOS is ~3ms!
-Major overhaul and structural changes to the majority of the codebase,
enhancing the execution time significantly across all platforms, and allowing
for easier OS support in the future.
-Added extensive and comprehensive documentation.
-Added GitHub Actions.
-Made distribution fetching more robust
2021-03-13 22:35:47 +00:00
pin
d21501513d sysutils/macchina: update t0 0.5.7
-Fix a bug that results in the program crashing when theme is set to def
.Remove def
-Fix package count incorrect value for Gentoo systems
-Macchina now reads battery information from /sys/class/power_supply/BAT1
if /sys/class/power_supply/BAT0 doesn't exist
-Add --show-only argument to help text
2021-03-11 21:31:42 +00:00
pin
fd94669924 sysutils/macchina: update to 0.5.5
-Previously, extra::which looked through hardcoded paths to confirm the
existence of a program, now it searches through all directories in your PATH.
-Fixed a bug that resulted in package count failing to fetch and printing an
error message on Gentoo.
2021-03-11 08:09:20 +00:00
pin
3eca57578e sysutils/macchina: update to 0.5.4
-fix: fail wrong component
-sync releases
2021-03-10 07:46:07 +00:00
pin
4674076898 sysutils/macchina: update to 0.5.2
-extra::which() now searches two more paths
2021-03-09 21:10:12 +00:00
pin
ef4fe41c47 sysutils/macchina: update to 0.5.1
Tweaks and changes:
-Small under the hood tweaks
-Update documentation
-Changes to default and alt theme
-Capitalize first letter of shell (shorthand:ON)
2021-03-08 11:23:27 +00:00
pin
9988de4b9c sysutils/macchina: update to 0.5.0
Performance improvements:
-Macchina no longer relies on which or cat, improving execution time by ~5ms.
2021-03-08 06:33:49 +00:00
pin
cad67c3d9d sysutils/macchina: import package
Basic system information fetcher, with a focus on performance and minimalism.

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.

Macchina has native full support for NetBSD. Thanks grtcdr!
2021-03-06 14:06:38 +00:00