Skip to content

Commit ceb92da

Browse files
Release 1.6.0
this time with correct packaging
1 parent 31eeb6d commit ceb92da

File tree

4 files changed

+28
-24
lines changed

4 files changed

+28
-24
lines changed

.github/workflows/push.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,7 @@ jobs:
2424
- name: configure project
2525
# We reuse the build binary only for the releases.
2626
# We set tweak version to off, because it is wrong, as git tag will happen after this step. Releases don't have a tweak, so this is ok.
27-
run: >
28-
cmake
29-
-DSET_TWEAK=Off
30-
-DBUILD_TESTS=On
31-
-DCMAKE_INSTALL_PREFIX="usr"
32-
-DCMAKE_INSTALL_SYSCONFDIR="etc"
33-
.
27+
run: cmake -DSET_TWEAK=Off -DBUILD_TESTS=On .
3428

3529
- name: build project
3630
run: cmake --build . -j$(nproc) --target package

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# 1.6.0
2+
3+
Features:
4+
* Detect QT on more DEs than just KDE Plasma. The [Plasma] category was therefore renamed to [QT]
5+
* Alacritty font detection
6+
* Load `/etc/fastfetch/config.conf` before user config
7+
* Disk: print one decimal point if size < 100GB
8+
* `--title-fqdn` option, to print fully qualified domain name instead of host name in title
9+
10+
Logos:
11+
* updated old NixOS logo
12+
13+
Bugfixes:
14+
* Correctly detect GTK on DEs that store their settings in dconf
15+
* Correctly detect NixOS packages
16+
* Mutter WM detected once again
17+
* Show full NixOS version in OS output
18+
* Don't segfault if an invalid structure is given
19+
* WSL doesn't output GPU anymore, as the name is always meaningless

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,10 @@ endif()
493493
# install target #
494494
##################
495495

496+
if(NOT CMAKE_INSTALL_SYSCONFDIR)
497+
set(CMAKE_INSTALL_SYSCONFDIR "/etc")
498+
endif()
499+
496500
include(GNUInstallDirs)
497501

498502
install(
@@ -527,6 +531,8 @@ install(
527531
##################
528532

529533
set(CPACK_GENERATOR "DEB;RPM;TGZ;ZIP")
534+
set(CPACK_PACKAGING_INSTALL_PREFIX "/usr")
535+
set(CPACK_SET_DESTDIR ON)
530536

531537
set(CPACK_PACKAGE_CONTACT "Linus Dierheimer <[email protected]>")
532538
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Neofetch clone written in C")

README.md

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -98,23 +98,8 @@ If pkg-config fails to find the headers for a library listed in [dependencies](#
9898

9999
### Manual
100100

101-
#### Build DEB / RPM package:
102-
```bash
103-
cmake .. \
104-
-DCMAKE_INSTALL_PREFIX="usr" \
105-
-DCMAKE_INSTALL_SYSCONFDIR="etc"
106-
107-
cmake --build . --target package
108-
```
109-
110-
#### Install directly:
111-
```bash
112-
cmake .. \
113-
-DCMAKE_INSTALL_PREFIX="usr/local" \
114-
-DCMAKE_INSTALL_SYSCONFDIR="etc"
115-
116-
sudo cmake --install .
117-
```
101+
* DEB / RPM package: `cmake --build . --target package`
102+
* Install directly: `cmake --install . --prefix /usr/local`
118103

119104
## FAQ
120105

0 commit comments

Comments
 (0)