An open API service indexing awesome lists of open source software.

https://github.com/linuxdeepin/deepin-log-viewer


https://github.com/linuxdeepin/deepin-log-viewer

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

          

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

## Dependencies
The GUI is based on [DTK](https://github.com/linuxdeepin/dtkwidget), 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)
- [DocxFactory](https://github.com/DocxFactory/DocxFactory)
- [libxlsxwriter](https://github.com/jmcnamara/libxlsxwriter)
- [md5](http://openwall.info/wiki/people/solar/software/public-domain-source-code/md5)
- [minizip](http://www.winimage.com/zLibDll/minizip.html)
- [tmpfileplus](https://www.di-mgt.com.au/c_function_to_create_temp_file.html)

## 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](https://distrowatch.com/table.php?distribution=deepin) or other debian-based distro which got deepin-log-viewer delivered:

``` shell
$ sudo apt-get build-dep deepin-log-viewer
```

2. Build.
```
cd deepin-log-viewer
mkdir build
cd build
cmake ..
make
```

3. 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

* [Gitter](https://gitter.im/orgs/linuxdeepin/rooms)
* [IRC channel](https://webchat.freenode.net/?channels=deepin)
* [Forum](https://bbs.deepin.org)
* [WiKi](http://wiki.deepin.org/)

## Getting involved

We encourage you to report issues and contribute changes

* [Contribution guide for developers](https://github.com/linuxdeepin/developer-center/wiki/Contribution-Guidelines-for-Developers-en).

## License

Deepin Log Viewer is licensed under [GPL-3.0-or-later](LICENSE.txt).