Skip to content

Commit 6d45fe6

Browse files
authored
Merge pull request #1404 from fastfetch-cli/dev
Release: v2.30.1
2 parents 62dcd12 + efc8504 commit 6d45fe6

File tree

4 files changed

+24
-5
lines changed

4 files changed

+24
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 2.30.1
2+
3+
Bugfixes:
4+
* Fix the destination where `fastfetch.1` is generated (#1403)
5+
16
# 2.30.0
27

38
Changes:

CMakeLists.txt

Lines changed: 12 additions & 4 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.30.0
4+
VERSION 2.30.1
55
LANGUAGES C
66
DESCRIPTION "Fast neofetch-like system information tool"
77
HOMEPAGE_URL "https://github.com/fastfetch-cli/fastfetch"
@@ -268,11 +268,15 @@ else()
268268
file(READ "src/data/help.json" DATATEXT_JSON_HELP)
269269
endif()
270270

271-
if(ENABLE_EMBEDDED_PCIIDS AND NOT EXISTS "fastfetch_pciids.c.inc")
271+
if(ENABLE_EMBEDDED_PCIIDS AND NOT EXISTS "${PROJECT_BINARY_DIR}/fastfetch_pciids.c.inc")
272272
if(Python_FOUND)
273273
message(STATUS "Generating 'fastfetch_pciids.c.inc'")
274274
execute_process(COMMAND ${Python_EXECUTABLE} "${CMAKE_CURRENT_SOURCE_DIR}/scripts/gen-pciids.py"
275-
OUTPUT_FILE "fastfetch_pciids.c.inc")
275+
OUTPUT_FILE "${PROJECT_BINARY_DIR}/fastfetch_pciids.c.inc"
276+
RESULT_VARIABLE PYTHON_PCIIDS_RETCODE)
277+
if(NOT PYTHON_PCIIDS_RETCODE EQUAL 0)
278+
message(FATAL_ERROR "Failed to generate 'fastfetch_pciids.c.inc'")
279+
endif()
276280
else()
277281
message(WARNING "Python3 is not found, 'fastfetch_pciids.c.inc' will not be generated")
278282
set(ENABLE_EMBEDDED_PCIIDS OFF)
@@ -282,7 +286,11 @@ endif()
282286
if(Python_FOUND)
283287
message(STATUS "Generating 'fastfetch.1'")
284288
execute_process(COMMAND ${Python_EXECUTABLE} "${CMAKE_CURRENT_SOURCE_DIR}/scripts/gen-man.py"
285-
OUTPUT_FILE "fastfetch.1")
289+
OUTPUT_FILE "${PROJECT_BINARY_DIR}/fastfetch.1"
290+
RESULT_VARIABLE PYTHON_MANPAGE_RETCODE)
291+
if(NOT PYTHON_MANPAGE_RETCODE EQUAL 0)
292+
message(FATAL_ERROR "Failed to generate 'fastfetch.1'")
293+
endif()
286294
else()
287295
message(WARNING "Python3 is not found, use basic 'fastfetch.1.in' instead")
288296
string(TIMESTAMP FASTFETCH_BUILD_DATE "%d %B %Y" UTC)

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
fastfetch (2.30.0) jammy; urgency=medium
2+
3+
* Update to 2.30.0
4+
5+
-- Carter Li <[email protected]> Mon, 18 Nov 2024 09:30:58 +0800
6+
17
fastfetch (2.29.0) jammy; urgency=medium
28

39
* Update to 2.29.0

debian/files

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

0 commit comments

Comments
 (0)