1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 04:17:33 +00:00

Drop support for systemd <= 205.

This commit is contained in:
Brenden Matthews 2021-02-27 09:24:36 -06:00
parent 308f2cb8ea
commit e7cbc43f62
No known key found for this signature in database
GPG Key ID: B49ABB7270D9D4FD
2 changed files with 1 additions and 5 deletions

View File

@ -464,7 +464,7 @@ if(BUILD_IMLIB2)
endif(BUILD_IMLIB2)
if(BUILD_JOURNAL)
pkg_search_module(SYSTEMD REQUIRED libsystemd libsystemd-journal)
pkg_search_module(SYSTEMD REQUIRED libsystemd>=205 libsystemd-journal>=205)
set(conky_libs ${conky_libs} ${SYSTEMD_LIB} ${SYSTEMD_LDFLAGS})
set(conky_includes ${conky_includes} ${SYSTEMD_INCLUDE_DIRS})
endif(BUILD_JOURNAL)

View File

@ -40,10 +40,6 @@
#include "text_object.h"
#define MAX_JOURNAL_LINES 200
#ifndef SD_JOURNAL_SYSTEM
// SD_JOURNAL_SYSTEM added and SD_JOURNAL_SYSTEM_ONLY deprecated in systemd-205
#define SD_JOURNAL_SYSTEM SD_JOURNAL_SYSTEM_ONLY
#endif /* SD_JOURNAL_SYSTEM */
class journal {
public: