Skip to content

Commit e9bb761

Browse files
authored
Merge pull request #1258 from fastfetch-cli/dev
Release v2.24.0
2 parents 636126c + fd432e3 commit e9bb761

File tree

145 files changed

+1193
-1419
lines changed

Some content is hidden

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

145 files changed

+1193
-1419
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ jobs:
456456
with:
457457
msystem: CLANG64
458458
update: true
459-
install: git mingw-w64-clang-x86_64-7zip mingw-w64-clang-x86_64-cmake mingw-w64-clang-x86_64-clang mingw-w64-clang-x86_64-vulkan-loader mingw-w64-clang-x86_64-vulkan-headers mingw-w64-clang-x86_64-opencl-icd mingw-w64-clang-x86_64-opencl-headers mingw-w64-clang-x86_64-cppwinrt
459+
install: git mingw-w64-clang-x86_64-7zip mingw-w64-clang-x86_64-cmake mingw-w64-clang-x86_64-clang mingw-w64-clang-x86_64-vulkan-loader mingw-w64-clang-x86_64-vulkan-headers mingw-w64-clang-x86_64-opencl-icd mingw-w64-clang-x86_64-opencl-headers mingw-w64-clang-x86_64-cppwinrt mingw-w64-clang-x86_64-imagemagick
460460

461461
- name: print msys version
462462
run: uname -a

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
# 2.24.0
2+
3+
Changes:
4+
* Support of `--lib-XXX` is removed
5+
* If fastfetch fails to load some `.so` `.dylib` libraries, `LD_LIBRARY_PATH` should be used.
6+
7+
Features:
8+
* Support sixel image protocol on Windows (Logo, Windows)
9+
* Requires imagemagick7 to be installed. MSYS2 is recommended.
10+
* Improve terminal query on Windows (Windows)
11+
* TerminalSize, TerminalTheme
12+
* Detect more ARM microarchitectures and SOC names (CPU, Linux)
13+
* Detect the number of online cores (CPU, FreeBSD)
14+
* Support board name detection for Asahi Linux (Board, Linux)
15+
* Add new option `--command-param` to customize the parameters when running shell
16+
* Support syntax of sub string in `--<module>-format`: `{variable~startIndex,endIndex}`
17+
* See `fastfetch -h format` for detail
18+
19+
Bugfixes:
20+
* Fix tests building when system yyjson is used (#1244)
21+
* Fix dinit detection; support dinit version detection (#1245, InitSystem, Linux)
22+
* Fix signal quality, refresh rate and maybe others in custom format (#1241)
23+
* Fix boot time calculation (#1249, Uptime, Linux)
24+
* Fix custom format for boolean values
25+
* `{?false-value}This should not print{?}{?true-value}This should print{?}` will print `This should print`
26+
* Fix possible hanging when running fastfetch in screen 5.0 (TerminalTheme, macOS)
27+
28+
Logos:
29+
* Add Lliurex
30+
131
# 2.23.0
232

333
Features:

CMakeLists.txt

Lines changed: 5 additions & 3 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.23.0
4+
VERSION 2.24.0
55
LANGUAGES C
66
DESCRIPTION "Fast neofetch-like system information tool"
77
HOMEPAGE_URL "https://github.com/fastfetch-cli/fastfetch"
@@ -69,7 +69,7 @@ cmake_dependent_option(ENABLE_FREETYPE "Enable freetype" ON "ANDROID" OFF)
6969
cmake_dependent_option(ENABLE_PULSE "Enable pulse" ON "LINUX OR SunOS" OFF)
7070
cmake_dependent_option(ENABLE_DDCUTIL "Enable ddcutil" ON "LINUX" OFF)
7171
cmake_dependent_option(ENABLE_DIRECTX_HEADERS "Enable DirectX headers for WSL" ON "LINUX" OFF)
72-
cmake_dependent_option(ENABLE_ELF "Enable libelf" ON "LINUX OR FreeBSD OR ANDROID" OFF)
72+
cmake_dependent_option(ENABLE_ELF "Enable libelf" ON "LINUX OR ANDROID" OFF)
7373
cmake_dependent_option(ENABLE_THREADS "Enable multithreading" ON "Threads_FOUND" OFF)
7474
cmake_dependent_option(ENABLE_LIBZFS "Enable libzfs" ON "LINUX OR FreeBSD OR SunOS" OFF)
7575

@@ -398,7 +398,6 @@ set(LIBFASTFETCH_SRC
398398
src/options/modules.c
399399
src/options/logo.c
400400
src/options/general.c
401-
src/options/library.c
402401
src/util/edidHelper.c
403402
src/util/base64.c
404403
src/util/FFlist.c
@@ -1348,6 +1347,9 @@ if (BUILD_TESTS)
13481347
target_link_libraries(fastfetch-test-format
13491348
PRIVATE libfastfetch
13501349
)
1350+
if(yyjson_FOUND)
1351+
target_compile_definitions(fastfetch-test-format PRIVATE FF_USE_SYSTEM_YYJSON)
1352+
endif()
13511353

13521354
enable_testing()
13531355
add_test(NAME test-strbuf COMMAND fastfetch-test-strbuf)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ See Uncyclo: https://github.com/fastfetch-cli/fastfetch/wiki/Building
8181
## Usage
8282

8383
* Run it with default configuration: `fastfetch`
84-
* Run it with [all supported modules](https://github.com/fastfetch-cli/fastfetch/wiki/Support+Status#available-modules) and find what you interest: `fastfetch -c all.jsonc`
84+
* Run it with [all supported modules](https://github.com/fastfetch-cli/fastfetch/wiki/Support+Status#available-modules) and find what interests you: `fastfetch -c all.jsonc`
8585
* Find all data that fastfetch detects: `fastfetch -s <module> --format json`
8686
* Display help messages: `fastfetch --help`
8787
* Generate config file based on command line arguments: `fastfetch --arg1 --arg2 --gen-config`

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
fastfetch (2.23.0) jammy; urgency=medium
2+
3+
* Update to 2.23.0
4+
5+
-- Carter Li <[email protected]> Tue, 03 Sep 2024 18:44:11 +0800
6+
17
fastfetch (2.22.0) jammy; urgency=medium
28

39
* Update to 2.22.0

debian/files

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

doc/json_schema.json

Lines changed: 4 additions & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -638,113 +638,6 @@
638638
}
639639
}
640640
},
641-
"library": {
642-
"description": "Set the path of a library to load",
643-
"type": "object",
644-
"additionalProperties": false,
645-
"properties": {
646-
"vulkan": {
647-
"type": "string",
648-
"description": "Vulkan module & fallback for GPU output"
649-
},
650-
"freetype": {
651-
"type": "string",
652-
"description": "Used for Termux font detection (Android)"
653-
},
654-
"wayland": {
655-
"type": "string",
656-
"description": "Better display performance and output in wayland sessions.\nSupports different refresh rates per monitor.\n(Linux, FreeBSD)"
657-
},
658-
"xcbRandr": {
659-
"type": "string",
660-
"description": "X11 sessions for better display detection and faster WM detection.\nThe *randr ones provide multi monitor support The libxcb* ones usually have better performance.\n (Linux, FreeBSD, SunOS)"
661-
},
662-
"xcb": {
663-
"type": "string",
664-
"description": "X11 sessions for better display detection and faster WM detection.\nThe *randr ones provide multi monitor support The libxcb* ones usually have better performance.\n (Linux, FreeBSD, SunOS)"
665-
},
666-
"xrandr": {
667-
"type": "string",
668-
"description": "X11 sessions for better display detection and faster WM detection.\nThe *randr ones provide multi monitor support The libxcb* ones usually have better performance.\n (Linux, FreeBSD, SunOS)"
669-
},
670-
"x11": {
671-
"type": "string",
672-
"description": "X11 sessions for better display detection and faster WM detection.\nThe *randr ones provide multi monitor support The libxcb* ones usually have better performance.\n (Linux, FreeBSD, SunOS)"
673-
},
674-
"drm": {
675-
"type": "string",
676-
"description": "Used for fast resolution and refresh rate detection (Linux, FreeBSD)"
677-
},
678-
"gio": {
679-
"type": "string",
680-
"description": "Needed for values that are only stored GSettings (Linux, FreeBSD, SunOS)"
681-
},
682-
"dconf": {
683-
"type": "string",
684-
"description": "Needed for values that are only stored in DConf + Fallback for GSettings (Linux, FreeBSD, SunOS)"
685-
},
686-
"dbus": {
687-
"type": "string",
688-
"description": "Bluetooth, Player & Media detection (Linux, FreeBSD, SunOS)"
689-
},
690-
"xfconf": {
691-
"type": "string",
692-
"description": "Needed for XFWM theme and XFCE Terminal font (Linux, FreeBSD, SunOS)"
693-
},
694-
"sqlite3": {
695-
"type": "string",
696-
"description": "Needed for pkg & rpm package count (Linux, FreeBSD)"
697-
},
698-
"rpm": {
699-
"type": "string",
700-
"description": "Slower fallback for rpm package count. Needed on openSUSE & old CentOS / Redhat. (Linux)"
701-
},
702-
"imagemagick": {
703-
"type": "string",
704-
"description": "Images in terminal using sixel or kitty graphics protocol (Linux, FreeBSD, SunOS, macOS)"
705-
},
706-
"z": {
707-
"description": "Libz. Faster image output when using kitty graphics protocol (Linux, FreeBSD, SunOS, macOS)",
708-
"type": "string"
709-
},
710-
"chafa": {
711-
"type": "string",
712-
"description": "Image output as ascii art (Linux, FreeBSD, SunOS, macOS)"
713-
},
714-
"egl": {
715-
"type": "string",
716-
"description": "Library used by the OpenGL module for gl context creation (Linux, FreeBSD, SunOS, Windows)"
717-
},
718-
"glx": {
719-
"type": "string",
720-
"description": "Library used by the OpenGL module for gl context creation (Linux, FreeBSD, SunOS)"
721-
},
722-
"osmesa": {
723-
"type": "string",
724-
"description": "Library used by the OpenGL module for gl context creation (Linux, FreeBSD, SunOS)"
725-
},
726-
"opencl": {
727-
"type": "string",
728-
"description": "OpenCL module (Linux, FreeBSD, SunOS, Windows)"
729-
},
730-
"pulse": {
731-
"description": "Pulseaudio. Used for Sound detection (Linux, FreeBSD, SunOS)",
732-
"type": "string"
733-
},
734-
"nm": {
735-
"description": "NetworkManager. Used for Wifi detection (Linux)",
736-
"type": "string"
737-
},
738-
"ddcutil": {
739-
"description": "Used for brightness detection of external displays (Linux)",
740-
"type": "string"
741-
},
742-
"elf": {
743-
"description": "Used for st terminal font detection and systemd version detection (Linux)",
744-
"type": "string"
745-
}
746-
}
747-
},
748641
"modules": {
749642
"description": "Fastfetch modules to run",
750643
"type": "array",
@@ -1343,6 +1236,10 @@
13431236
"description": "Set the shell program to execute the command text\nDefault: cmd for Windows, /bin/sh for *nix",
13441237
"type": "string"
13451238
},
1239+
"param": {
1240+
"description": "Set the parameter used when starting the shell\nDefault: /c for Windows, -c for *nix",
1241+
"type": "string"
1242+
},
13461243
"text": {
13471244
"description": "Set the command text to be executed",
13481245
"type": "string"

presets/examples/9.jsonc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@
2525
"type": "disk",
2626
"folders": "/"
2727
},
28-
"battery",
28+
{
29+
"type": "battery",
30+
"key": "Battery"
31+
},
2932
{
3033
"type": "colors",
3134
"paddingLeft": 10,

src/common/dbus.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
static bool loadLibSymbols(FFDBusLibrary* lib)
99
{
10-
FF_LIBRARY_LOAD(dbus, &instance.config.library.libDBus, false, "libdbus-1" FF_LIBRARY_EXTENSION, 4);
10+
FF_LIBRARY_LOAD(dbus, false, "libdbus-1" FF_LIBRARY_EXTENSION, 4);
1111
FF_LIBRARY_LOAD_SYMBOL_PTR(dbus, lib, dbus_bus_get, false)
1212
FF_LIBRARY_LOAD_SYMBOL_PTR(dbus, lib, dbus_message_new_method_call, false)
1313
FF_LIBRARY_LOAD_SYMBOL_PTR(dbus, lib, dbus_message_append_args, false)

0 commit comments

Comments
 (0)