Skip to content

fastfetch: add new package#27949

Open
betonmischer86 wants to merge 1 commit into
openwrt:masterfrom
betonmischer86:master-fastfetch
Open

fastfetch: add new package#27949
betonmischer86 wants to merge 1 commit into
openwrt:masterfrom
betonmischer86:master-fastfetch

Conversation

@betonmischer86
Copy link
Copy Markdown

@betonmischer86 betonmischer86 commented Nov 25, 2025

📦 Package Details

Maintainer: @betonmischer86

Description:
Fastfetch is a Neofetch-like tool for fetching system information and displaying it in a visually-appealing way.


🧪 Run Testing Details

  • OpenWrt Version: OpenWrt SNAPSHOT r31813
  • OpenWrt Target/Subtarget: mediatek/filogic
  • OpenWrt Device: Banana Pi BPI-R4 (2x SFP+)

✅ Formalities

  • I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

If your PR contains a patch:

  • It can be applied using git am
  • It has been refreshed to avoid offsets, fuzzes, etc., using
    make package/<your-package>/refresh V=s
  • It is structured in a way that it is potentially upstreamable
    (e.g., subject line, commit description, etc.)
    We must try to upstream patches to reduce maintenance burden.

Copy link
Copy Markdown
Member

@GeorgeSapkin GeorgeSapkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As with the other PRs, you need to set yourself as the maintainer and don't need to include the license file.

Comment thread utils/fastfetch/Makefile Outdated
@betonmischer86
Copy link
Copy Markdown
Author

As with the other PRs, you need to set yourself as the maintainer and don't need to include the license file.

Done.

@AlbrechtL
Copy link
Copy Markdown
Contributor

It seems that this PR is not merged for some time. Is there is any reason for it?

Because tools like fastfetch are really nice and missing in OpenWrt. I opened a new PR here #29564. But I can close it when this PR is merged.

@BKPepe
Copy link
Copy Markdown
Member

BKPepe commented May 26, 2026

Yes, it is described by this comment #29564 (comment)

@betonmischer86 betonmischer86 force-pushed the master-fastfetch branch 5 times, most recently from cf6086a to 3ff77a1 Compare June 5, 2026 12:04
@betonmischer86
Copy link
Copy Markdown
Author

@GeorgeSapkin I updated this PR following the recent discussion at #29564. The binary has been trimmed down to 773K, extra dependencies and shell completion files removed.

@NatoBoram
Copy link
Copy Markdown

In the meantime, it's possible to install it from Alpine:

#!/bin/ash

apk --allow-untrusted --arch armv7 --no-cache --repository https://dl-cdn.alpinelinux.org/alpine/edge/community fetch fastfetch
apk --allow-untrusted --arch armv7 --no-cache --repository https://dl-cdn.alpinelinux.org/alpine/edge/main fetch hwdata-pci

apk --allow-untrusted add hwdata-pci-*.apk
gzip -dc fastfetch-*.apk | tar -xf - -C /

rm fastfetch-*.apk hwdata-pci-*.apk
fastfetch
OS: OpenWrt 25.12.4 armv7l
Host: Linksys WRT3200ACM
Kernel: Linux 6.12.87
Uptime: 2 hours, 6 mins
Packages: 194 (apk)
Shell: ash 1.37.0
Terminal: dropbear
CPU: armada380 (2)
Memory: 258.85 MiB / 495.00 MiB (52%)
Swap: Disabled
Disk (/): 22.92 MiB / 54.65 MiB (42%) - overlay
Locale: C

@CarterLi
Copy link
Copy Markdown

CarterLi commented Jun 6, 2026

-DCMAKE_EXE_LINKER_FLAGS="-Wl,--strip-all" -DCMAKE_C_FLAGS="-fno-unwind-tables -fno-asynchronous-unwind-tables" may be added to reduce binary size slightly. In addition, /usr/share/fastfetch/presets may also be omitted.

Fastfetch is a Neofetch-like tool for fetching system information and
displaying it in a visually-appealing way.

Signed-off-by: Valeriy Kosikhin <vkosikhin@gmail.com>
@betonmischer86
Copy link
Copy Markdown
Author

betonmischer86 commented Jun 6, 2026

-DCMAKE_EXE_LINKER_FLAGS="-Wl,--strip-all" -DCMAKE_C_FLAGS="-fno-unwind-tables -fno-asynchronous-unwind-tables" may be added to reduce binary size slightly.

@CarterLi Thanks, that allowed to shave off an extra 170K. As for the supported package managers, I see no harm in keeping the default cmake options since that doesn't take any extra space.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants