Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
b577665
Packaging: update debian stuff [ci skip]
CarterLi Oct 23, 2024
0bdb097
Editor: optimize editor version parsing (#1355)
apocelipes Oct 24, 2024
f3f8601
CMake: use 64bit time_t on Linux
CarterLi Oct 23, 2024
19902fa
CMake: define `NOMINMAX` on Windows
CarterLi Oct 24, 2024
53e0861
Editor: fix the Vim version detection (#1356)
apocelipes Oct 26, 2024
6dc6fd8
3rdparty: add stb_sprintf
CarterLi Oct 25, 2024
fd26373
Global: overall optimization
CarterLi Oct 25, 2024
20f9ff9
Logo (Builtin): update OpenSuse Tumbleweed
CarterLi Oct 26, 2024
2dc8ac6
Logo (Builtin): add XCP-ng
CarterLi Oct 26, 2024
26920d4
Logo (Builtin): add SummitOS
CarterLi Oct 26, 2024
2fe6e60
Logo (Builtin): update PikaOS (#1361)
ferrreo Oct 27, 2024
4665fdd
Global: make it compile on NetBSD
CarterLi Oct 27, 2024
bdd87a6
CI: try adding netbsd
CarterLi Oct 27, 2024
32939ea
Uptime (NetBSD): fix invalid result
CarterLi Oct 27, 2024
332ddfc
CI: fix a copy-paste error
CarterLi Oct 27, 2024
e19ed4c
CMake: allow to replace native *printf to stb_*printf
CarterLi Oct 28, 2024
e7630ae
NetBSD: support CPUUsage / Memory / Swap
CarterLi Oct 28, 2024
081e8ea
Disk: support NetBSD, improve hidden partition detection
CarterLi Oct 28, 2024
82fc27f
CMake (NetBSD): detect X11 and other packages
CarterLi Oct 28, 2024
bc550a5
Disk (OpenBSD): fix build
CarterLi Oct 28, 2024
a3a042f
Global: remove stb_printf
CarterLi Oct 29, 2024
5443334
DisplayServer (Linux): silense compiler warnings
CarterLi Oct 29, 2024
0406f5c
CI (NetBSD): add more dependencies
CarterLi Oct 29, 2024
e22b58b
CI (NetBSD): try fixing build
CarterLi Oct 29, 2024
c6c6803
CMake (*BSD): detect videodev2
CarterLi Oct 29, 2024
6ccc612
Keyboard (Linux): silence compiler warnings
CarterLi Oct 30, 2024
3f41306
Packages (NetBSD): add support
CarterLi Oct 30, 2024
229d5f8
CPU (NetBSD): add support
CarterLi Oct 30, 2024
49902d8
Disk (NetBSD): fix disk size detection
CarterLi Oct 30, 2024
c3d04d0
Platform (NetBSD): fix exe path detection
CarterLi Oct 30, 2024
cae8286
Shell / Terminal: fix proc path detection
CarterLi Oct 30, 2024
c693e5a
Bios (NetBSD): try detecting boot method
CarterLi Oct 30, 2024
d4c7b53
CPU (Android): add QS8E
CarterLi Oct 31, 2024
2bc66d7
CMake (NetBSD): set rpath
CarterLi Oct 31, 2024
cb403be
GPU: use `pciaccess` to enumerate PCI devices
CarterLi Oct 31, 2024
b410710
Processes (NetBSD): add support
CarterLi Oct 31, 2024
e0acce9
CI (OpenBSD / NetBSD): embed pci.ids
CarterLi Oct 31, 2024
7d46b2a
Logo (Builtin): make aperture colorable
CarterLi Nov 1, 2024
0f3ce42
DiskIO (NetBSD): add support
CarterLi Nov 1, 2024
b05023f
DiskIO (OpenBSD): add support
CarterLi Nov 1, 2024
090b6d7
DiskIO (SunOS): remove dev path
CarterLi Nov 1, 2024
254f121
Users (OpenBSD): add support
CarterLi Nov 1, 2024
0110584
NetIO (*BSD): support OpenBSD & NetBSD
CarterLi Nov 1, 2024
7ffffda
CI: remove libv4l
CarterLi Nov 1, 2024
565afa1
CI (NetBSD): release NetBSD
CarterLi Nov 1, 2024
efe0676
Logo (Builtin): update OpenSUSE Leap
CarterLi Nov 1, 2024
fe8595a
Doc: update changelog
CarterLi Nov 1, 2024
540239f
Brightness (NetBSD): disable
CarterLi Nov 1, 2024
f7288fe
Global: support DragonFly BSD
CarterLi Nov 3, 2024
dab02f1
OS (Linux): improve performance of proxmox version detection
CarterLi Nov 3, 2024
3c04b0a
Doc: update changelog
CarterLi Nov 3, 2024
9610912
CI: build on DragonFly
CarterLi Nov 3, 2024
743babd
Libc (DragonFly): add support
CarterLi Nov 3, 2024
d216391
Libc (BSD): always initialize variables
CarterLi Nov 3, 2024
534aa09
CI (DragonFly): build with chafa & libelf
CarterLi Nov 3, 2024
8f2d51c
Doc: update changelog
CarterLi Nov 3, 2024
5c21931
DiskIO (DragonFly): add support
CarterLi Nov 3, 2024
d1ef454
Sound (DragonFly): add support
CarterLi Nov 3, 2024
282ed9b
Netif (SunOS): fix compiling
CarterLi Nov 3, 2024
91fdc81
CI: remove windows-i686
CarterLi Nov 4, 2024
a7f8815
OS (Linux): detect Lilidog
CarterLi Nov 4, 2024
b5545c9
Logo (Builtin): add Lilidog
CarterLi Nov 4, 2024
17d6153
Vulkan: drop windows-i686 support
CarterLi Nov 4, 2024
47b9d0a
Library (Windows): load dlls at current exe path
CarterLi Nov 4, 2024
1487c91
OS (Linux): fix build
CarterLi Nov 4, 2024
7f56928
OS (BSD): don't check for debian and ubuntu variants
CarterLi Nov 4, 2024
3c6214d
Release: 2.29.0
CarterLi Nov 4, 2024
02e133b
OpenGL (NetBSD): use correct so file
CarterLi Oct 29, 2024
991ebfb
Camera (OpenBSD): add support (?)
CarterLi Oct 29, 2024
55909c4
CMake (OpenBSD): enable bluetooth detection
CarterLi Nov 4, 2024
e4b98b3
GPU: fix build if libpciaccess is not available
CarterLi Nov 4, 2024
7ceabcc
CMake (NetBSD): add `/usr/pkg/lib` to rpath
CarterLi Nov 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
150 changes: 76 additions & 74 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ jobs:
run: |
uname -a
sudo pkg update
sudo pkg install -y cmake git pkgconf binutils wayland vulkan-headers vulkan-loader libxcb libXrandr libX11 libdrm libelf glib dconf dbus sqlite3-tcl xfce4-conf egl libosmesa opencl ocl-icd v4l_compat py311-requests
sudo pkg install -y cmake git pkgconf binutils wayland vulkan-headers vulkan-loader libxcb libXrandr libX11 libdrm glib dconf dbus sqlite3-tcl xfce4-conf egl libosmesa opencl ocl-icd v4l_compat py311-requests chafa
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On .
cmake --build . --target package --verbose -j4
./fastfetch --list-features
Expand All @@ -397,6 +397,41 @@ jobs:
name: fastfetch-freebsd-amd64
path: ./fastfetch-*.*

dragonfly-amd64:
name: DragonFly-amd64
runs-on: ubuntu-latest
permissions:
security-events: write
contents: read
steps:
- name: checkout repository
uses: actions/checkout@v4

- name: run VM
uses: vmactions/dragonflybsd-vm@v1
with:
usesh: yes
prepare: |
uname -a
pkg update
pkg install -y cmake git pkgconf binutils wayland vulkan-headers vulkan-loader libxcb libXrandr libX11 libdrm glib dconf dbus sqlite3-tcl xfce4-conf egl libosmesa opencl ocl-icd v4l_compat py39-requests chafa libelf

run: |
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On .
cmake --build . --target package --verbose -j4
./fastfetch --list-features
time ./fastfetch -c presets/ci.jsonc --stat false
time ./fastfetch -c presets/ci.jsonc --format json
time ./flashfetch
ldd fastfetch
ctest

- name: upload artifacts
uses: actions/upload-artifact@v4
with:
name: fastfetch-dragonfly-amd64
path: ./fastfetch-*.*

openbsd-amd64:
name: OpenBSD-amd64
runs-on: ubuntu-latest
Expand All @@ -417,8 +452,8 @@ jobs:
version: '7.5'
run: |
uname -a
sudo pkg_add -r cmake git pkgconf wayland vulkan-headers vulkan-loader glib2 dconf dbus sqlite3 xfconf imagemagick chafa pulseaudio
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On .
sudo pkg_add -r cmake git pkgconf wayland vulkan-headers vulkan-loader glib2 dconf dbus sqlite3 xfconf imagemagick chafa pulseaudio py3-requests
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=ON .
cmake --build . --target package --verbose -j4
./fastfetch --list-features
time ./fastfetch -c presets/ci.jsonc --stat false
Expand All @@ -433,6 +468,42 @@ jobs:
name: fastfetch-openbsd-amd64
path: ./fastfetch-*.*

netbsd-amd64:
name: NetBSD-amd64
runs-on: ubuntu-latest
permissions:
security-events: write
contents: read
steps:
- name: checkout repository
uses: actions/checkout@v4

- name: run VM
uses: cross-platform-actions/action@master
with:
operating_system: netbsd
architecture: x86-64
cpu_count: 4
shell: bash
version: '10.0'
run: |
uname -a
sudo pkgin -y install cmake git pkgconf wayland vulkan-headers dconf dbus sqlite3 ImageMagick pulseaudio opencl-headers ocl-icd py312-requests
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=ON .
cmake --build . --target package --verbose -j4
./fastfetch --list-features
time ./fastfetch -c presets/ci.jsonc --stat false
time ./fastfetch -c presets/ci.jsonc --format json
time ./flashfetch
ldd fastfetch
ctest

- name: upload artifacts
uses: actions/upload-artifact@v4
with:
name: fastfetch-netbsd-amd64
path: ./fastfetch-*.*

windows-amd64:
name: Windows-amd64
runs-on: windows-latest
Expand Down Expand Up @@ -498,76 +569,6 @@ jobs:
name: fastfetch-windows-amd64
path: ./fastfetch-windows-amd64.*

windows-i686:
name: Windows-i686
runs-on: windows-latest
permissions:
security-events: write
contents: read
defaults:
run:
shell: msys2 {0}
steps:
- name: checkout repository
uses: actions/checkout@v4

- name: setup-msys2
uses: msys2/setup-msys2@v2
with:
msystem: MINGW32
update: true
install: git p7zip mingw-w64-i686-cmake mingw-w64-i686-clang mingw-w64-i686-vulkan-loader mingw-w64-i686-vulkan-headers mingw-w64-i686-opencl-icd mingw-w64-i686-opencl-headers

- name: print msys version
run: uname -a

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: c, cpp

- name: configure project
run: env PKG_CONFIG_PATH=/mingw32/lib/pkgconfig/:$PKG_CONFIG_PATH cmake -DSET_TWEAK=Off -DBUILD_TESTS=On .

- name: build project
run: cmake --build . --verbose -j4

- name: perform CodeQL analysis
uses: github/codeql-action/analyze@v3

- name: copy necessary dlls
run: cp /mingw32/bin/{OpenCL,vulkan-1}.dll .

- name: download amd_ags
run: curl -LO https://github.com/GPUOpen-LibrariesAndSDKs/AGS_SDK/raw/master/ags_lib/lib/amd_ags_x86.dll

- name: run fastfetch
run: time ./fastfetch -c presets/ci.jsonc --stat false

- name: run fastfetch --format json
run: time ./fastfetch -c presets/ci.jsonc --format json

- name: run flashfetch
run: time ./flashfetch

- name: print dependencies
run: ldd fastfetch

- name: run tests
run: ctest

- name: create zip archive
run: 7z a -tzip -mx9 -bd -y fastfetch-windows-i686.zip LICENSE *.dll fastfetch.exe flashfetch.exe presets

- name: create 7z archive
run: 7z a -t7z -mx9 -bd -y fastfetch-windows-i686.7z LICENSE *.dll fastfetch.exe flashfetch.exe presets

- name: upload artifacts
uses: actions/upload-artifact@v4
with:
name: fastfetch-windows-i686
path: ./fastfetch-windows-i686.*

release:
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'fastfetch-cli/fastfetch'
name: Release
Expand All @@ -581,9 +582,10 @@ jobs:
- macos-universal
- freebsd-amd64
- openbsd-amd64
- netbsd-amd64
- dragonfly-amd64
- sunos-amd64
- windows-amd64
- windows-i686
permissions:
contents: write
steps:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ tags
fastfetch.kdev4
*.user
*.user.*
*.swp
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
# 2.29.0

Changes:
* Due to [the upstream removal of MSYS2 CLANG32 environment](https://www.msys2.org/news/#2024-09-23-starting-to-drop-the-clang32-environment), we dropped fastfetch-windows-i686 support. v2.27.1 was the last version supporting it.
* Note: fastfetch built with MSVCRT has known bug that DateTime module doesn't work because of its bad support of [strftime](https://en.cppreference.com/w/c/chrono/strftime). Don't use it.

Features:
* Port to NetBSD and DragonFly BSD
* Fastfetch now supports all major BSD variants
* Support DiskIO, NetIO, GPU and Users module on OpenBSD
* Report SD8E SOC name (CPU, Android)
* On Windows, try loading dlls from current exe path (Windows)
* Fix Media module when installed with winget

Bugfixes:
* Fix the VIM version detection on Ubuntu (Editor, Linux)
* Improve performance of OS version detection on Proxmox (#1370, OS, Linux)

Logo:
* Update OpenSuse Tumbleweed
* Add XCP-ng
* Add SummitOS
* Add Lilidog
* Update PikaOS
* Update OpenSUSE Leap
* Update aperture

# 2.28.0

Features:
Expand Down
Loading
Loading