dbus-prettifier/README.md

41 lines
825 B
Markdown
Raw Permalink Normal View History

2025-01-23 13:36:28 +00:00
# DBus Prettifier
2025-01-25 09:52:43 +00:00
I noticed that when working with `qdbus` that I would get long and unformatted
outputs that are extremely difficult to read. This small program will prettify a
file with the output so that it is much more readable.
2025-01-23 13:36:28 +00:00
## Usage
2025-01-25 09:52:43 +00:00
To run the program, simply run it as follows:
```console
$ qdbus-prettifier <in-file> <out-file>
```
2025-01-23 13:36:28 +00:00
## Building
2025-01-25 09:52:43 +00:00
Requirements:
- C compiler that supports GNU99 (GCC recommended).
- (GNU) Make
Build with `make`:
```console
$ make
cc -std=gnu99 -Wall -Wextra -Wfatal-errors -Werror -O2 -DNDEBUG -c -o src/main.o src/main.c
cc -o dbus-prettifier src/main.o
```
Install with `make install`:
```console
$ sudo make install
install -Dm755 dbus-prettifier /usr/local/bin/
```
2025-01-23 13:36:28 +00:00
## License
This program is licensed under the terms & conditions of the [Zlib
License](LICENSE).