Release 1.6.0

this time with correct packaging
This commit is contained in:
Linus Dierheimer 2022-07-26 22:13:09 +02:00
parent 31eeb6dd08
commit ceb92dafd7
No known key found for this signature in database
GPG Key ID: 74FA57726CDD7B61
4 changed files with 28 additions and 24 deletions

View File

@ -24,13 +24,7 @@ jobs:
- name: configure project
# We reuse the build binary only for the releases.
# 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.
run: >
cmake
-DSET_TWEAK=Off
-DBUILD_TESTS=On
-DCMAKE_INSTALL_PREFIX="usr"
-DCMAKE_INSTALL_SYSCONFDIR="etc"
.
run: cmake -DSET_TWEAK=Off -DBUILD_TESTS=On .
- name: build project
run: cmake --build . -j$(nproc) --target package

19
CHANGELOG.md Normal file
View File

@ -0,0 +1,19 @@
# 1.6.0
Features:
* Detect QT on more DEs than just KDE Plasma. The [Plasma] category was therefore renamed to [QT]
* Alacritty font detection
* Load `/etc/fastfetch/config.conf` before user config
* Disk: print one decimal point if size < 100GB
* `--title-fqdn` option, to print fully qualified domain name instead of host name in title
Logos:
* updated old NixOS logo
Bugfixes:
* Correctly detect GTK on DEs that store their settings in dconf
* Correctly detect NixOS packages
* Mutter WM detected once again
* Show full NixOS version in OS output
* Don't segfault if an invalid structure is given
* WSL doesn't output GPU anymore, as the name is always meaningless

View File

@ -493,6 +493,10 @@ endif()
# install target #
##################
if(NOT CMAKE_INSTALL_SYSCONFDIR)
set(CMAKE_INSTALL_SYSCONFDIR "/etc")
endif()
include(GNUInstallDirs)
install(
@ -527,6 +531,8 @@ install(
##################
set(CPACK_GENERATOR "DEB;RPM;TGZ;ZIP")
set(CPACK_PACKAGING_INSTALL_PREFIX "/usr")
set(CPACK_SET_DESTDIR ON)
set(CPACK_PACKAGE_CONTACT "Linus Dierheimer <Linus@Dierheimer.de>")
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Neofetch clone written in C")

View File

@ -98,23 +98,8 @@ If pkg-config fails to find the headers for a library listed in [dependencies](#
### Manual
#### Build DEB / RPM package:
```bash
cmake .. \
-DCMAKE_INSTALL_PREFIX="usr" \
-DCMAKE_INSTALL_SYSCONFDIR="etc"
cmake --build . --target package
```
#### Install directly:
```bash
cmake .. \
-DCMAKE_INSTALL_PREFIX="usr/local" \
-DCMAKE_INSTALL_SYSCONFDIR="etc"
sudo cmake --install .
```
* DEB / RPM package: `cmake --build . --target package`
* Install directly: `cmake --install . --prefix /usr/local`
## FAQ