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:
parent
308f2cb8ea
commit
e7cbc43f62
@ -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)
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user