Skip to content

linuxdeepin/deepin-log-viewer

Repository files navigation

deepin-log-viewer

Deepin log viewer is a fast and lightweight application for viewing system log.

Dependencies

The GUI is based on DTK, Qt (Supported >= 5.12).

The master branch is current development branch, build dependencies may changes without update README.md, refer to ./debian/control for a working build depends list

  • debhelper (>= 11)
  • pkg-config
  • qt5-qmake
  • qt5-default
  • libdtkwidget-dev
  • libdtkgui-dev
  • qtbase5-private-dev
  • qttools5-dev-tools
  • libqt5svg5-dev
  • libsystemd-dev
  • libicu-dev

Thridparty lib (source code)

Installation

  1. Make sure you have installed all dependencies.

Package name may be different between distros, if deepin-log-viewer is available from your distro, check the packaging script delivered from your distro is a better idea.

Assume you are using Deepin or other debian-based distro which got deepin-log-viewer delivered:

$ sudo apt-get build-dep deepin-log-viewer
  1. Build.
cd deepin-log-viewer
mkdir build
cd build
cmake ..
make
  1. Install.
$ sudo make install

Usage

Caution: deepin-log-viewer is depend on polkit, So if build from source code, you have to add policy to usr/share/polkit-1/actions/. add com.deepin.pkexec.logViewerAuth.policy to /usr/bin. If run in Qt Creator, you should set [Project][Run Settings] [Run] [Run configuration] to src from 2 projects authenticateProxy and src.

  • sudo cp application/com.deepin.pkexec.logViewerAuth.policy /usr/share/polkit-1/actions/

  • sudo cp build-deepin_log_viewer-unknown-Debug/logViewerAuth/logViewerAuth /usr/bin

  • ./deepin-log-viewer

Getting help

Any usage issues can ask for help via

Getting involved

We encourage you to report issues and contribute changes

License

Deepin Log Viewer is licensed under GPL-3.0-or-later.