Skip to content

Commit 5b22e4b

Browse files
author
WolfTech Innovations
authored
Merge branch 'fastfetch-cli:dev' into dev
2 parents 1c1b748 + be89dff commit 5b22e4b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+1042
-281
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ jobs:
187187

188188
linux-armv7l:
189189
name: Linux-armv7l
190-
runs-on: ubuntu-22.04
190+
runs-on: ubuntu-24.04
191191
permissions:
192192
security-events: write
193193
contents: read
@@ -196,7 +196,7 @@ jobs:
196196
uses: actions/checkout@v4
197197

198198
- name: run VM
199-
uses: uraimo/run-on-arch-action@v2
199+
uses: uraimo/run-on-arch-action@v3
200200
id: runcmd
201201
with:
202202
arch: armv7
@@ -226,7 +226,7 @@ jobs:
226226

227227
linux-armv6l:
228228
name: Linux-armv6l
229-
runs-on: ubuntu-22.04
229+
runs-on: ubuntu-24.04
230230
permissions:
231231
security-events: write
232232
contents: read
@@ -235,7 +235,7 @@ jobs:
235235
uses: actions/checkout@v4
236236

237237
- name: run VM
238-
uses: uraimo/run-on-arch-action@v2
238+
uses: uraimo/run-on-arch-action@v3
239239
id: runcmd
240240
with:
241241
arch: armv6
@@ -262,7 +262,7 @@ jobs:
262262

263263
linux-riscv64:
264264
name: Linux-riscv64
265-
runs-on: ubuntu-22.04
265+
runs-on: ubuntu-24.04
266266
permissions:
267267
security-events: write
268268
contents: read
@@ -271,7 +271,7 @@ jobs:
271271
uses: actions/checkout@v4
272272

273273
- name: run VM
274-
uses: uraimo/run-on-arch-action@v2
274+
uses: uraimo/run-on-arch-action@v3
275275
id: runcmd
276276
with:
277277
arch: riscv64
@@ -297,7 +297,7 @@ jobs:
297297

298298
linux-ppc64le:
299299
name: Linux-ppc64le
300-
runs-on: ubuntu-22.04
300+
runs-on: ubuntu-24.04
301301
permissions:
302302
security-events: write
303303
contents: read
@@ -306,7 +306,7 @@ jobs:
306306
uses: actions/checkout@v4
307307

308308
- name: run VM
309-
uses: uraimo/run-on-arch-action@v2
309+
uses: uraimo/run-on-arch-action@v3
310310
id: runcmd
311311
with:
312312
arch: ppc64le
@@ -332,7 +332,7 @@ jobs:
332332

333333
linux-s390x:
334334
name: Linux-s390x
335-
runs-on: ubuntu-22.04
335+
runs-on: ubuntu-24.04
336336
permissions:
337337
security-events: write
338338
contents: read
@@ -341,7 +341,7 @@ jobs:
341341
uses: actions/checkout@v4
342342

343343
- name: run VM
344-
uses: uraimo/run-on-arch-action@v2
344+
uses: uraimo/run-on-arch-action@v3
345345
id: runcmd
346346
with:
347347
arch: s390x
@@ -373,8 +373,6 @@ jobs:
373373

374374
- name: setup alpine linux
375375
uses: jirutka/setup-alpine@master
376-
with:
377-
branch: v3.19
378376

379377
- name: install dependencies
380378
run: |
@@ -422,20 +420,12 @@ jobs:
422420
run: |
423421
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install --overwrite vulkan-loader vulkan-headers molten-vk imagemagick chafa
424422
425-
- name: Initialize CodeQL
426-
uses: github/codeql-action/init@v3
427-
with:
428-
languages: c
429-
430423
- name: configure project
431424
run: cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DCMAKE_OSX_ARCHITECTURES='arm64;x86_64' .
432425

433426
- name: build project
434427
run: cmake --build . --target package --verbose -j4
435428

436-
- name: perform CodeQL analysis
437-
uses: github/codeql-action/analyze@v3
438-
439429
- name: list features
440430
run: ./fastfetch --list-features
441431

@@ -585,7 +575,7 @@ jobs:
585575
version: '7.6'
586576
run: |
587577
uname -a
588-
sudo pkg_add -r cmake git pkgconf wayland vulkan-headers vulkan-loader glib2 dconf dbus sqlite3 xfconf imagemagick chafa pulseaudio hwdata
578+
sudo pkg_add -r cmake git pkgconf wayland vulkan-headers vulkan-loader glib2 dconf dbus sqlite3 xfconf imagemagick chafa
589579
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On -DENABLE_EMBEDDED_AMDGPUIDS=On .
590580
cmake --build . --target package --verbose -j4
591581
./fastfetch --list-features
@@ -621,7 +611,7 @@ jobs:
621611
version: '10.1'
622612
run: |
623613
uname -a
624-
sudo pkgin -y install cmake git pkgconf wayland vulkan-headers dconf dbus sqlite3 ImageMagick pulseaudio opencl-headers ocl-icd
614+
sudo pkgin -y install cmake git pkgconf wayland vulkan-headers dconf dbus sqlite3 ImageMagick opencl-headers ocl-icd
625615
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On -DENABLE_EMBEDDED_AMDGPUIDS=On .
626616
cmake --build . --target package --verbose -j4
627617
./fastfetch --list-features

CHANGELOG.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,59 @@
1+
# 2.38.0
2+
3+
Bugfixes:
4+
* Fix empty battery slots handling (Battery, Haiku, #1575)
5+
* Fix `{day-pretty}` output in custom format (DateTime, Windows)
6+
* Fix VanillaOS detection (OS, Linux)
7+
* Fix secure boot testing (Bootmgr, Linux, #1584)
8+
* Fix the SI unit "kB" in help message (#1589)
9+
* Fix segfault on macOS 10.15 when using the binary downloaded from Github Releases (Camera, macOS, #1594)
10+
11+
Features:
12+
* Support Chassis module in macOS (Chassis, macOS)
13+
* Allow customize key format with kernel name and distro name (OS)
14+
* Add missing `{icon}` in custom key format (Battery)
15+
* Add missing `{mountpoint}` and `{mount-from}` in custom output format (Disk, #1577)
16+
* Support percentage num & bar in custom format (GPU, #1583)
17+
* Support `pisi` package manager detection (Packages, Linux)
18+
* Support termite terminal font detection (TerminalFont, Linux)
19+
* Report monitor type in Brightness module (Brightness)
20+
21+
Logo:
22+
* Add `opensuse-tumbleweed_small`
23+
* Add `Bedrock_small`
24+
* Add `fastfetch`
25+
* Remove some unnecessary distro names
26+
27+
# 2.37.0
28+
29+
Changes:
30+
* Option `--escape-bedrock` is removed. The function is always enabled now.
31+
32+
Features:
33+
* Support for Haiku is greatly improved (Haiku)
34+
* CPU, GPU, Disk, Sound, Terminal, Terminal Font, Init System, Battery, Mouse, Keyboard, NetIO, CPU Usage, Physical Disk and OpenGL should work on Haiku now
35+
* SMBIOS related modules (Host, Bios, Board, Chassis, Physical Memory) should work in platforms with legacy BIOS system.
36+
* Support for Gamepad and Bluetooth are WIP.
37+
* Some bugs are found and fixed.
38+
* Remove `python-requests` dependency in `scripts/gen-*.py`.
39+
* Add cmake option `-DENABLE_EMBEDDED_AMDGPUIDS=BOOL` (disabled by default)
40+
* If enabled, fastfetch will embed the newest [`amdgpu.ids`](https://gitlab.freedesktop.org/mesa/drm/-/blob/main/data/amdgpu.ids?ref_type=heads) file into fastfetch binary.
41+
* Weather module now honors `display.temp.unit` option (#1560, Weather)
42+
* Support Physical Memory module in NetBSD (PhysicalMemory, NetBSD)
43+
* Requires root permission
44+
* Improve non-intel CPU detection in NetBSD (#1573, CPU, NetBSD)
45+
46+
Bugfixes:
47+
* Fix building in macOS 10.13 (GPU, macOS)
48+
* Properly round percent values when detecting volume (#1558, Sound)
49+
* Fix Physical Memory module doesn't work in `--format json` mode
50+
* Add some missing variable inits (GPU, Linux)
51+
* Fix `--localip-default-route-only false` not working with `--gen-config` (#1570, LocalIP)
52+
53+
Logo:
54+
* Update Rosa linux
55+
* Add Haiku2
56+
157
# 2.36.1
258

359
Changes:

CMakeLists.txt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.12.0) # target_link_libraries with OBJECT libs & project homepage url
22

33
project(fastfetch
4-
VERSION 2.36.1
4+
VERSION 2.38.0
55
LANGUAGES C
66
DESCRIPTION "Fast neofetch-like system information tool"
77
HOMEPAGE_URL "https://github.com/fastfetch-cli/fastfetch"
@@ -74,8 +74,8 @@ cmake_dependent_option(ENABLE_CHAFA "Enable chafa" ON "ENABLE_IMAGEMAGICK6 OR EN
7474
cmake_dependent_option(ENABLE_ZLIB "Enable zlib" ON "ENABLE_IMAGEMAGICK6 OR ENABLE_IMAGEMAGICK7" OFF)
7575
cmake_dependent_option(ENABLE_EGL "Enable egl" ON "LINUX OR FreeBSD OR OpenBSD OR NetBSD OR ANDROID OR WIN32 OR SunOS OR Haiku" OFF)
7676
cmake_dependent_option(ENABLE_GLX "Enable glx" ON "LINUX OR FreeBSD OR OpenBSD OR NetBSD OR ANDROID OR SunOS" OFF)
77-
cmake_dependent_option(ENABLE_OSMESA "Enable osmesa" ON "LINUX OR FreeBSD OR OpenBSD OR NetBSD OR SunOS" OFF)
78-
cmake_dependent_option(ENABLE_OPENCL "Enable opencl" ON "LINUX OR FreeBSD OR OpenBSD OR NetBSD OR WIN32 OR ANDROID OR SunOS" OFF)
77+
cmake_dependent_option(ENABLE_OSMESA "Enable osmesa" ON "LINUX OR FreeBSD OR OpenBSD OR NetBSD OR SunOS OR Haiku" OFF)
78+
cmake_dependent_option(ENABLE_OPENCL "Enable opencl" ON "LINUX OR FreeBSD OR OpenBSD OR NetBSD OR WIN32 OR ANDROID OR SunOS OR Haiku" OFF)
7979
cmake_dependent_option(ENABLE_FREETYPE "Enable freetype" ON "ANDROID" OFF)
8080
cmake_dependent_option(ENABLE_PULSE "Enable pulse" ON "LINUX OR SunOS" OFF)
8181
cmake_dependent_option(ENABLE_DDCUTIL "Enable ddcutil" ON "LINUX" OFF)
@@ -103,7 +103,7 @@ if(NOT BINARY_LINK_TYPE IN_LIST BINARY_LINK_TYPE_OPTIONS)
103103
message(FATAL_ERROR "BINARY_LINK_TYPE must be one of ${BINARY_LINK_TYPE_OPTIONS}")
104104
endif()
105105

106-
set(PACKAGE_MANAGERS AM APK BREW CHOCO DPKG EMERGE EOPKG FLATPAK GUIX LINGLONG LPKG LPKGBUILD MACPORTS NIX OPKG PACMAN PACSTALL PALUDIS PKG PKGTOOL RPM SCOOP SNAP SORCERY WINGET XBPS)
106+
set(PACKAGE_MANAGERS AM APK BREW CHOCO DPKG EMERGE EOPKG FLATPAK GUIX LINGLONG LPKG LPKGBUILD MACPORTS NIX OPKG PACMAN PACSTALL PALUDIS PISI PKG PKGTOOL RPM SCOOP SNAP SORCERY WINGET XBPS)
107107
foreach(package_manager ${PACKAGE_MANAGERS})
108108
if(package_manager STREQUAL "WINGET")
109109
option(PACKAGES_DISABLE_${package_manager} "Disable ${package_manager} package manager detection by default" ON)
@@ -905,7 +905,7 @@ elseif(APPLE)
905905
src/detection/bootmgr/bootmgr_apple.c
906906
src/detection/brightness/brightness_apple.c
907907
src/detection/btrfs/btrfs_nosupport.c
908-
src/detection/chassis/chassis_nosupport.c
908+
src/detection/chassis/chassis_apple.c
909909
src/detection/cpu/cpu_apple.c
910910
src/detection/cpucache/cpucache_apple.c
911911
src/detection/cpuusage/cpuusage_apple.c
@@ -1148,7 +1148,7 @@ elseif(Haiku)
11481148
src/detection/gtk_qt/gtk.c
11491149
src/detection/host/host_windows.c
11501150
src/detection/icons/icons_nosupport.c
1151-
src/detection/initsystem/initsystem_haiku.cpp
1151+
src/detection/initsystem/initsystem_haiku.c
11521152
src/detection/keyboard/keyboard_haiku.cpp
11531153
src/detection/libc/libc_nosupport.c
11541154
src/detection/lm/lm_nosupport.c
@@ -1184,6 +1184,7 @@ elseif(Haiku)
11841184
src/detection/zpool/zpool_nosupport.c
11851185
src/util/platform/FFPlatform_unix.c
11861186
src/util/binary_linux.c
1187+
src/util/haiku/version.cpp
11871188
)
11881189
endif()
11891190

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
[![latest packaged version(s)](https://repology.org/badge/latest-versions/fastfetch.svg)](https://repology.org/project/fastfetch/versions)
1212
[![Packaging status](https://repology.org/badge/tiny-repos/fastfetch.svg)](https://repology.org/project/fastfetch/versions)
1313

14-
Fastfetch is a [neofetch](https://github.com/dylanaraps/neofetch)-like tool for fetching system information and displaying it prettily. It is written mainly in C, with performance and customizability in mind. Currently, Linux, Android, FreeBSD, macOS, SunOS and Windows 7+ are supported.
14+
Fastfetch is a [neofetch](https://github.com/dylanaraps/neofetch)-like tool for fetching system information and displaying it prettily. It is written mainly in C, with performance and customizability in mind. Currently, Linux, macOS, Windows 7+, Android, FreeBSD, OpenBSD, NetBSD, DragonFly, Haiku and SunOS are supported.
1515

1616
<img src="screenshots/example1.png" width="49%" align="left" />
1717
<img src="https://upload.wikimedia.org/wikipedia/commons/2/24/Transparent_Square_Tiles_Texture.png" width="49%" height="16px" align="left" />

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
fastfetch (2.37.0) jammy; urgency=medium
2+
3+
* Update to 2.37.0
4+
5+
-- Carter Li <[email protected]> Wed, 19 Feb 2025 15:43:42 +0800
6+
17
fastfetch (2.36.1) jammy; urgency=medium
28

39
* Update to 2.36.1

debian/files

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
fastfetch_2.36.1_source.buildinfo universe/utils optional
1+
fastfetch_2.37.0_source.buildinfo universe/utils optional

0 commit comments

Comments
 (0)