mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2025-02-20 11:43:27 +08:00
Merge pull request #1555 from fastfetch-cli/dev
Some checks failed
CI / spellcheck (push) Has been cancelled
CI / No-features-test (push) Has been cancelled
CI / Linux-amd64 (push) Has been cancelled
CI / Linux-aarch64 (push) Has been cancelled
CI / Linux-armv7l (push) Has been cancelled
CI / Linux-armv6l (push) Has been cancelled
CI / Linux-riscv64 (push) Has been cancelled
CI / Linux-ppc64le (push) Has been cancelled
CI / Linux-s390x (push) Has been cancelled
CI / Musl-amd64 (push) Has been cancelled
CI / macOS-universal (push) Has been cancelled
CI / SunOS-amd64 (push) Has been cancelled
CI / FreeBSD-amd64 (push) Has been cancelled
CI / DragonFly-amd64 (push) Has been cancelled
CI / OpenBSD-amd64 (push) Has been cancelled
CI / NetBSD-amd64 (push) Has been cancelled
CI / Windows-amd64 (push) Has been cancelled
CI / Release (push) Has been cancelled
Some checks failed
CI / spellcheck (push) Has been cancelled
CI / No-features-test (push) Has been cancelled
CI / Linux-amd64 (push) Has been cancelled
CI / Linux-aarch64 (push) Has been cancelled
CI / Linux-armv7l (push) Has been cancelled
CI / Linux-armv6l (push) Has been cancelled
CI / Linux-riscv64 (push) Has been cancelled
CI / Linux-ppc64le (push) Has been cancelled
CI / Linux-s390x (push) Has been cancelled
CI / Musl-amd64 (push) Has been cancelled
CI / macOS-universal (push) Has been cancelled
CI / SunOS-amd64 (push) Has been cancelled
CI / FreeBSD-amd64 (push) Has been cancelled
CI / DragonFly-amd64 (push) Has been cancelled
CI / OpenBSD-amd64 (push) Has been cancelled
CI / NetBSD-amd64 (push) Has been cancelled
CI / Windows-amd64 (push) Has been cancelled
CI / Release (push) Has been cancelled
Release: v2.36.1
This commit is contained in:
commit
48fc598ccb
83
.github/workflows/ci.yml
vendored
83
.github/workflows/ci.yml
vendored
@ -73,6 +73,12 @@ jobs:
|
|||||||
- name: uname -a
|
- name: uname -a
|
||||||
run: uname -a
|
run: uname -a
|
||||||
|
|
||||||
|
- name: cat /etc/os-release
|
||||||
|
run: cat /etc/os-release
|
||||||
|
|
||||||
|
- name: cat /proc/cpuinfo
|
||||||
|
run: cat /proc/cpuinfo
|
||||||
|
|
||||||
- name: install required packages
|
- name: install required packages
|
||||||
run: sudo apt-get update && sudo apt-get install -y libvulkan-dev libwayland-dev libxrandr-dev libxcb-randr0-dev libdconf-dev libdbus-1-dev libmagickcore-dev libxfconf-0-dev libsqlite3-dev librpm-dev libegl-dev libglx-dev libosmesa6-dev ocl-icd-opencl-dev libpulse-dev libdrm-dev libelf-dev directx-headers-dev python3-requests
|
run: sudo apt-get update && sudo apt-get install -y libvulkan-dev libwayland-dev libxrandr-dev libxcb-randr0-dev libdconf-dev libdbus-1-dev libmagickcore-dev libxfconf-0-dev libsqlite3-dev librpm-dev libegl-dev libglx-dev libosmesa6-dev ocl-icd-opencl-dev libpulse-dev libdrm-dev libelf-dev directx-headers-dev python3-requests
|
||||||
|
|
||||||
@ -125,7 +131,7 @@ jobs:
|
|||||||
|
|
||||||
linux-aarch64:
|
linux-aarch64:
|
||||||
name: Linux-aarch64
|
name: Linux-aarch64
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04-arm
|
||||||
permissions:
|
permissions:
|
||||||
security-events: write
|
security-events: write
|
||||||
contents: read
|
contents: read
|
||||||
@ -133,24 +139,45 @@ jobs:
|
|||||||
- name: checkout repository
|
- name: checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: run VM
|
- name: uname -a
|
||||||
uses: uraimo/run-on-arch-action@v2
|
run: uname -a
|
||||||
id: runcmd
|
|
||||||
with:
|
- name: cat /etc/os-release
|
||||||
arch: aarch64
|
run: cat /etc/os-release
|
||||||
distro: ubuntu20.04
|
|
||||||
githubToken: ${{ github.token }}
|
- name: cat /proc/cpuinfo
|
||||||
run: |
|
run: cat /proc/cpuinfo
|
||||||
uname -a
|
|
||||||
apt-get update && apt-get install -y cmake make g++ libvulkan-dev libwayland-dev libxrandr-dev libxcb-randr0-dev libdconf-dev libdbus-1-dev libmagickcore-dev libxfconf-0-dev libsqlite3-dev librpm-dev libegl-dev libglx-dev libosmesa6-dev ocl-icd-opencl-dev libpulse-dev libdrm-dev libelf-dev directx-headers-dev rpm
|
- name: install required packages
|
||||||
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DCMAKE_INSTALL_PREFIX=/usr .
|
run: sudo apt-get update && sudo apt-get install -y libvulkan-dev libwayland-dev libxrandr-dev libxcb-randr0-dev libdconf-dev libdbus-1-dev libmagickcore-dev libxfconf-0-dev libsqlite3-dev librpm-dev libegl-dev libglx-dev libosmesa6-dev ocl-icd-opencl-dev libpulse-dev libdrm-dev libelf-dev directx-headers-dev python3-requests libchafa-dev libddcutil-dev rpm
|
||||||
cmake --build . --target package --verbose -j4
|
|
||||||
./fastfetch --list-features
|
- name: configure project
|
||||||
time ./fastfetch -c presets/ci.jsonc --stat false
|
run: cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On -DCMAKE_INSTALL_PREFIX=/usr .
|
||||||
time ./fastfetch -c presets/ci.jsonc --format json
|
|
||||||
time ./flashfetch
|
- name: build project
|
||||||
ldd fastfetch
|
run: cmake --build . --target package --verbose -j4
|
||||||
ctest --output-on-failure
|
|
||||||
|
- name: list features
|
||||||
|
run: ./fastfetch --list-features
|
||||||
|
|
||||||
|
- 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 --output-on-failure
|
||||||
|
|
||||||
|
- name: get fastfetch version
|
||||||
|
id: ffversion
|
||||||
|
run: echo "ffversion=$(./fastfetch --version-raw)" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: upload artifacts
|
- name: upload artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@ -158,8 +185,8 @@ jobs:
|
|||||||
name: fastfetch-linux-aarch64
|
name: fastfetch-linux-aarch64
|
||||||
path: ./fastfetch-*.*
|
path: ./fastfetch-*.*
|
||||||
|
|
||||||
linux-armv7:
|
linux-armv7l:
|
||||||
name: Linux-armv7
|
name: Linux-armv7l
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
permissions:
|
permissions:
|
||||||
security-events: write
|
security-events: write
|
||||||
@ -194,11 +221,11 @@ jobs:
|
|||||||
- name: upload artifacts
|
- name: upload artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: fastfetch-linux-armv7
|
name: fastfetch-linux-armv7l
|
||||||
path: ./fastfetch-*.*
|
path: ./fastfetch-*.*
|
||||||
|
|
||||||
linux-armv6:
|
linux-armv6l:
|
||||||
name: Linux-armv6
|
name: Linux-armv6l
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
permissions:
|
permissions:
|
||||||
security-events: write
|
security-events: write
|
||||||
@ -230,7 +257,7 @@ jobs:
|
|||||||
- name: upload artifacts
|
- name: upload artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: fastfetch-linux-armv6
|
name: fastfetch-linux-armv6l
|
||||||
path: ./fastfetch-*.*
|
path: ./fastfetch-*.*
|
||||||
|
|
||||||
linux-riscv64:
|
linux-riscv64:
|
||||||
@ -591,7 +618,7 @@ jobs:
|
|||||||
architecture: x86-64
|
architecture: x86-64
|
||||||
cpu_count: 4
|
cpu_count: 4
|
||||||
shell: bash
|
shell: bash
|
||||||
version: '10.0'
|
version: '10.1'
|
||||||
run: |
|
run: |
|
||||||
uname -a
|
uname -a
|
||||||
sudo pkgin -y install cmake git pkgconf wayland vulkan-headers dconf dbus sqlite3 ImageMagick pulseaudio opencl-headers ocl-icd py312-requests
|
sudo pkgin -y install cmake git pkgconf wayland vulkan-headers dconf dbus sqlite3 ImageMagick pulseaudio opencl-headers ocl-icd py312-requests
|
||||||
@ -682,8 +709,8 @@ jobs:
|
|||||||
needs:
|
needs:
|
||||||
- linux-amd64
|
- linux-amd64
|
||||||
- linux-aarch64
|
- linux-aarch64
|
||||||
- linux-armv7
|
- linux-armv7l
|
||||||
- linux-armv6
|
- linux-armv6l
|
||||||
- linux-riscv64
|
- linux-riscv64
|
||||||
- linux-ppc64le
|
- linux-ppc64le
|
||||||
- linux-s390x
|
- linux-s390x
|
||||||
|
13
CHANGELOG.md
13
CHANGELOG.md
@ -1,3 +1,16 @@
|
|||||||
|
# 2.36.1
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
* To use [the native arm64 runner of Github Action](https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/), Linux aarch64 binary is built with Ubuntu 22.04 (Glibc 2.35, Debian 12).
|
||||||
|
|
||||||
|
Bugfixes:
|
||||||
|
* Chimera Linux logo is now displayed correctly (#1554, Logo)
|
||||||
|
* Regression of 2.36.0
|
||||||
|
* Fix building on Haiku
|
||||||
|
|
||||||
|
Logo:
|
||||||
|
* Fix ALT Linux
|
||||||
|
|
||||||
# 2.36.0
|
# 2.36.0
|
||||||
|
|
||||||
Bugfixes:
|
Bugfixes:
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
cmake_minimum_required(VERSION 3.12.0) # target_link_libraries with OBJECT libs & project homepage url
|
cmake_minimum_required(VERSION 3.12.0) # target_link_libraries with OBJECT libs & project homepage url
|
||||||
|
|
||||||
project(fastfetch
|
project(fastfetch
|
||||||
VERSION 2.36.0
|
VERSION 2.36.1
|
||||||
LANGUAGES C
|
LANGUAGES C
|
||||||
DESCRIPTION "Fast neofetch-like system information tool"
|
DESCRIPTION "Fast neofetch-like system information tool"
|
||||||
HOMEPAGE_URL "https://github.com/fastfetch-cli/fastfetch"
|
HOMEPAGE_URL "https://github.com/fastfetch-cli/fastfetch"
|
||||||
@ -141,7 +141,7 @@ set(WARNING_FLAGS "-Wall -Wextra -Wconversion -Werror=uninitialized -Werror=retu
|
|||||||
set(CMAKE_C_STANDARD 11)
|
set(CMAKE_C_STANDARD 11)
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${WARNING_FLAGS} -Werror=incompatible-pointer-types -Werror=implicit-function-declaration -Werror=int-conversion")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${WARNING_FLAGS} -Werror=incompatible-pointer-types -Werror=implicit-function-declaration -Werror=int-conversion")
|
||||||
|
|
||||||
if(WIN32 OR HAIKU OR ENABLE_DIRECTX_HEADERS)
|
if(WIN32 OR Haiku OR ENABLE_DIRECTX_HEADERS)
|
||||||
enable_language(CXX)
|
enable_language(CXX)
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WARNING_FLAGS}")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WARNING_FLAGS}")
|
||||||
@ -1279,6 +1279,8 @@ elseif(NetBSD)
|
|||||||
target_compile_definitions(libfastfetch PUBLIC _GNU_SOURCE)
|
target_compile_definitions(libfastfetch PUBLIC _GNU_SOURCE)
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-char-subscripts")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-char-subscripts")
|
||||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-rpath,/usr/X11R7/lib -Wl,-rpath,/usr/pkg/lib") # ditto
|
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-rpath,/usr/X11R7/lib -Wl,-rpath,/usr/pkg/lib") # ditto
|
||||||
|
elseif(Haiku)
|
||||||
|
target_compile_definitions(libfastfetch PUBLIC _GNU_SOURCE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(FreeBSD OR OpenBSD OR NetBSD)
|
if(FreeBSD OR OpenBSD OR NetBSD)
|
||||||
|
@ -73,6 +73,10 @@ You may also download the program directly from [the GitHub releases page](https
|
|||||||
|
|
||||||
* `pkg install fastfetch`
|
* `pkg install fastfetch`
|
||||||
|
|
||||||
|
### Nightly
|
||||||
|
|
||||||
|
<https://nightly.link/fastfetch-cli/fastfetch/workflows/ci/dev?preview>
|
||||||
|
|
||||||
## Build from source
|
## Build from source
|
||||||
|
|
||||||
See Wiki: https://github.com/fastfetch-cli/fastfetch/wiki/Building
|
See Wiki: https://github.com/fastfetch-cli/fastfetch/wiki/Building
|
||||||
|
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
fastfetch (2.36.0) jammy; urgency=medium
|
||||||
|
|
||||||
|
* Update to 2.36.0
|
||||||
|
|
||||||
|
-- Carter Li <zhangsongcui@live.cn> Mon, 10 Feb 2025 10:13:53 +0800
|
||||||
|
|
||||||
fastfetch (2.35.0) jammy; urgency=medium
|
fastfetch (2.35.0) jammy; urgency=medium
|
||||||
|
|
||||||
* Update to 2.35.0
|
* Update to 2.35.0
|
||||||
|
2
debian/files
vendored
2
debian/files
vendored
@ -1 +1 @@
|
|||||||
fastfetch_2.35.0_source.buildinfo universe/utils optional
|
fastfetch_2.36.0_source.buildinfo universe/utils optional
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
##############
|
##############
|
||||||
######################
|
######################
|
||||||
##########################
|
##########################
|
||||||
##+$2###$1#######################
|
##+$2####$1#######################
|
||||||
#####$2#$1*$2###%+$1######################
|
#####$2#$1*$2###%+$1######################
|
||||||
########$2%$1*#$2%#####$1###################
|
########$2%$1*#$2%#####$1###################
|
||||||
##########$2##$1*#*$2#######%+$1##############
|
##########$2##$1*#*$2#######%+$1##############
|
||||||
|
@ -954,9 +954,9 @@ static const FFlogo C[] = {
|
|||||||
.colorKeys = FF_COLOR_FG_GREEN,
|
.colorKeys = FF_COLOR_FG_GREEN,
|
||||||
.colorTitle = FF_COLOR_FG_WHITE,
|
.colorTitle = FF_COLOR_FG_WHITE,
|
||||||
},
|
},
|
||||||
// Chimera Linux
|
// Chimera
|
||||||
{
|
{
|
||||||
.names = {"Chimera Linux"},
|
.names = {"Chimera"},
|
||||||
.lines = FASTFETCH_DATATEXT_LOGO_CHIMERA_LINUX,
|
.lines = FASTFETCH_DATATEXT_LOGO_CHIMERA_LINUX,
|
||||||
.colors = {
|
.colors = {
|
||||||
FF_COLOR_FG_RED,
|
FF_COLOR_FG_RED,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user