Commit Graph

1156 Commits

Author SHA1 Message Date
Steffen Winter
deb715ff98 CMake: Enable LTO by default only for release builds
Signed-off-by: Steffen Winter <steffen.winter@proton.me>
2025-04-19 12:26:17 +00:00
Steffen Winter
5f9147d55b Use XDG_STATE_HOME to save logs
Closes: #1019

Signed-off-by: Steffen Winter <steffen.winter@proton.me>
2025-04-16 13:32:29 +00:00
Steffen Winter
abfa6f4af5 Remove _FORTIFY_SOURCE define
Remove -D_FORTIFY_SOURCE and config around it. Major distributions
already include this flag in their compile settings ([1], [2], [3], [4]),
causing redundant compiler warnings and we already got requests to add an
option to disable this feature, adding additional load on us.

We can still add this in CI for our own builds.

[1]: https://fedoraproject.org/wiki/Changes/Add_FORTIFY_SOURCE%3D3_to_distribution_build_flags
[2]: https://rfc.archlinux.page/0017-increase-fortification-level/
[3]: https://wiki.gentoo.org/wiki/Hardened/Toolchain#Changes
[4]: https://pkgs.alpinelinux.org/package/v3.21/main/x86_64/fortify-headers

Signed-off-by: Steffen Winter <steffen.winter@proton.me>
2025-04-14 18:58:40 +00:00
Steffen Winter
94bd44e714 CMake: Generate markdown page in build directory
Signed-off-by: Steffen Winter <steffen.winter@proton.me>
2025-04-14 18:58:25 +00:00
Steffen Winter
567c2eda05 CI: Test more versions and architectures for FreeBSD and NetBSD
Signed-off-by: Steffen Winter <steffen.winter@proton.me>
2025-04-14 18:58:12 +00:00
Steffen Winter
7c9c4f6820 CI: Test a range of current gcc and clang versions
Signed-off-by: Steffen Winter <steffen.winter@proton.me>
2025-04-14 18:58:12 +00:00
Steffen Winter
24dab5c1b1 CI: Bump OpenBSD release to 7.6
Signed-off-by: Steffen Winter <steffen.winter@proton.me>
2025-04-14 16:52:32 +00:00
Steffen Winter
4b958b1679 CI: Pin runner versions to get a pull request by Renovate on updates
Signed-off-by: Steffen Winter <steffen.winter@proton.me>
2025-04-14 15:36:38 +00:00
Steffen Winter
c6206d7d21 Bump CMake version to 3.25 required for LINUX variable
Signed-off-by: Steffen Winter <steffen.winter@proton.me>
2025-04-13 18:02:25 +00:00
Taha YASSINE
e4953efbea Replace brackets with arrows in net box 2025-04-13 15:34:56 +00:00
Taha YASSINE
e68f2a01d1 Replace brackets with arrows in proc box 2025-04-13 15:34:56 +00:00
renovate[bot]
e117b88f6d chore(deps): update dependency ubuntu to v24 2025-04-13 14:36:34 +00:00
Steffen Winter
59dd8b19ab Bump bundled fmt to 11.1.4
Ref: 123913715a

Signed-off-by: Steffen Winter <steffen.winter@proton.me>
2025-04-13 14:21:58 +00:00
Jakob P. Liljenberg
3814433592 Merge pull request #1088 from aristocratos/renovate/configure 2025-04-13 14:02:25 +02:00
renovate[bot]
1d1de5faea Add renovate.json 2025-04-13 11:58:45 +00:00
Massimiliano Culpo
e2d8e13831 cmake: link to CMAKE_DL_LIBS
Link btop to ${CMAKE_DL_LIBS} when
building using shared libs and GPU support on linux
2025-04-10 10:10:48 +00:00
Sertonix
2795c35fe8 Fix phoenix-night.theme marked as executable
phoenix-night.theme was marked with the executable bit but the file isn't
executable.
2025-04-10 10:04:45 +00:00
J.S. Yan
139d48ab56 Add Kanagawa-lotus theme
Add the light version of Kanagawa theme.
2025-04-10 09:47:42 +00:00
J.S. Yan
d30477be0c add Kanagawa theme 2025-04-10 09:47:42 +00:00
Santhosh Raju
0e564e8fc0 Bump NetBSD version to 10.1. 2025-04-10 09:44:40 +00:00
Santhosh Raju
8feb4a5ea2 Bump FreeBSD version to 14.2. 2025-04-10 09:44:40 +00:00
Steffen
147b3a75b4 Merge pull request #1037 from k0tran/main
Add dark version of adwaita theme: adwaita-dark
2025-04-10 09:40:05 +00:00
Ilya Sorochan
0e2dea9514 Add dark version of adwaita theme: adwaita-dark 2025-04-10 09:38:44 +00:00
Jakob P. Liljenberg
0006fa4a10 Update bug_report.md 2025-03-20 10:15:45 +01:00
Jakob P. Liljenberg
8df9271677 Update feature_request.md 2025-03-20 10:15:23 +01:00
Jakob P. Liljenberg
53df78db88 Merge pull request #1036 from seth-wood/pgdown-pgup-crash-fix 2025-02-13 17:22:05 +01:00
Seth Wood
7f6e02cd53 Resetting last selection on page navigation in optionsMenu to avoid unordered_map error 2025-02-13 07:00:26 -08:00
Jakob P. Liljenberg
1a9d4acc56 Merge pull request #1033 from yarrick/cpu_name
Update Ryzen name trimming
2025-02-08 19:54:44 +01:00
Erik Ekman
0705bd376b Update Ryzen name trimming
Keep two tokens after Ryzen name, plus "AI" and "PRO"

Examples:
* "AMD Ryzen AI 7 PRO 360 w/ Radeon 880M" -> "Ryzen AI 7 PRO 360"
* "AMD Ryzen 7 PRO 4750G with Radeon Graphics" -> "Ryzen 7 PRO 4750G"
* "AMD Ryzen Threadripper PRO 3975WX 32-Cores" -> "Ryzen Threadripper PRO 3975WX"
2025-02-08 19:40:08 +01:00
Jakob P. Liljenberg
fcd8e56a45 Merge pull request #1029 from yarrick/cpu_name 2025-02-08 00:37:12 +01:00
Jakob P. Liljenberg
56a7fb8762 Merge branch 'main' into cpu_name 2025-02-08 00:31:59 +01:00
Jakob P. Liljenberg
7639610b4e Merge pull request #1030 from yarrick/macos 2025-02-08 00:29:07 +01:00
Erik Ekman
3fa79fe490 Share the CPU name trimming code between platforms 2025-02-02 12:49:23 +01:00
Erik Ekman
4d465f9e29 Drop macos 12 build, add v14 and v15 2025-02-01 17:27:31 +01:00
Jakob P. Liljenberg
fd0a9d14c1 Merge pull request #1025 from tywkeene/main
Update obsolete egrep call
2025-02-01 16:38:41 +01:00
Jakob P. Liljenberg
ade29aa5bf Merge pull request #1028 from yarrick/cmake_macos
Fix cmake-macos workflow
2025-02-01 16:35:14 +01:00
Jakob P. Liljenberg
1fbb521eb1 Merge pull request #1027 from yarrick/deprecated
Bump version of deprecated upload-artifact step for bsd
2025-02-01 16:34:35 +01:00
Erik Ekman
093192e9cc Fix cmake-macos workflow
As mentioned in the install log, lld needs to be installed separately.

From log:
clang++: error: invalid linker name in argument '-fuse-ld=/opt/homebrew/opt/llvm/bin/ld64.lld'
2025-02-01 16:27:55 +01:00
Erik Ekman
ce530dbace Bump version of deprecated upload-artifact step
https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
2025-02-01 16:08:27 +01:00
tywkeene
107dab116e Update obsolete egrep call
The call that grabs zfs mount information uses egrep,
which complains about being obsolete to stdout.

This commit does as the warning says, and updates the call
to use grep -E instead.

As far as I've tested, this works to remove the warning.
2025-01-31 02:35:41 -05:00
Aristocratos
5535f50e20 Menu something... 2024-12-14 13:15:24 +01:00
Aristocratos
b52069c4a0 Fix menu crash when GPU_SUPPORT=false, issue #989 2024-12-14 12:37:56 +01:00
Jakob P. Liljenberg
e17bc6b585 Merge pull request #961 from mstuttgart/main 2024-11-08 17:25:16 +01:00
Jakob P. Liljenberg
a049e953fa Merge pull request #960 from w8jcik/fix/pre-snb-intel-gpu 2024-11-08 17:22:45 +01:00
Michell Stuttgart
0e4d671cc2 Add 'Everforest Ligth Medium' theme 2024-11-04 09:10:30 -03:00
Maciej Wójcik
cebf7105af Support intel GPUs before Gen-6 (patch from upstream) 2024-11-03 21:58:36 +01:00
Jakob P. Liljenberg
df3f052a3e Merge pull request #958 from artyom-poptsov/avp-fix-embedded-intel-graphics-segfault 2024-11-03 09:58:15 +01:00
Artyom V. Poptsov
0ed4e9e907 intel_name_lookup_shim.c (get_intel_device_name): Fix SEGFAULT
btop would always fail with "Segmentation fault" when used on machines where the
GPU does not have a codename (e.g. on embedded Intel graphics on Intel(R)
Atom(TM) CPU D2500.)  The reason for this behavior is that when a GPU does not
have codename (it is NULL) the call to "strcpy" segfaults as the procedure
effectively tries to access a NULL pointer.

* src/linux/intel_gpu_top/intel_name_lookup_shim.c (get_intel_device_name): Add
a check if "info->codename" is null; if it is, set the device name to
"(unknown)" to prevent the SEGFAULT error.
2024-11-03 09:02:45 +03:00
aristocratos
2e7208d59c Fix rsmi_measure_pcie_speeds not saving, issue #934 2024-09-24 20:43:44 +02:00
aristocratos
f3446ed1cf Show GPU Watt fractions when below 100W 2024-09-23 22:41:47 +02:00