2018-10-13 21:12:30 -04:00
|
|
|
**Whyblocked** reminds you why you blocked someone. It is developed with
|
2018-08-30 08:03:25 -04:00
|
|
|
Mastodon in mind, but can be used for other contexts, of course.
|
|
|
|
|
2018-10-13 23:16:16 -04:00
|
|
|
It has a text- and a Qt-interface and uses a SQLite-database.
|
|
|
|
|
|
|
|
![Screenshot Qt interface](https://doc.schlomp.space/whyblocked/whyblocked_screenshot.png)
|
2018-08-30 08:30:55 -04:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2018-10-17 15:20:38 -04:00
|
|
|
For the text interface start `whyblocked`, for the Qt interface
|
|
|
|
`whyblocked-gui`. You can also start it from the menu of your desktop
|
|
|
|
environment.
|
2018-08-30 08:30:55 -04:00
|
|
|
|
|
|
|
## Install
|
|
|
|
|
2018-08-30 17:53:58 -04:00
|
|
|
### Packages
|
|
|
|
|
|
|
|
Every [release](https://schlomp.space/tastytea/whyblocked/releases) includes
|
|
|
|
a .deb-package, an .rpm-package and a .tar.gz-package with precompiled binaries
|
|
|
|
for x86_64(amd64). These are automatically built and not tested. You can install
|
|
|
|
them with `dpkg -i` or `rpm -i`, respectively.
|
|
|
|
|
|
|
|
Gentoo ebuilds are available via my
|
|
|
|
[repository](https://schlomp.space/tastytea/overlay).
|
|
|
|
|
|
|
|
### From source
|
|
|
|
|
|
|
|
#### Dependencies
|
2018-08-30 08:30:55 -04:00
|
|
|
|
2018-10-13 17:33:13 -04:00
|
|
|
* C++ compiler (tested: [gcc](https://gcc.gnu.org/) 6/7/8,
|
2018-10-14 18:57:01 -04:00
|
|
|
[clang](https://llvm.org/) 3/5/6)
|
2018-08-30 12:33:07 -04:00
|
|
|
* [cmake](https://cmake.org/) (at least 3.6)
|
2018-08-30 08:30:55 -04:00
|
|
|
* [vsqlite++](http://vsqlite.virtuosic-bytes.com/) (tested: 0.3.13)
|
|
|
|
* [libxdg-basedir](http://repo.or.cz/w/libxdg-basedir.git) (tested: 1.2)
|
2018-10-18 15:31:05 -04:00
|
|
|
* [qtcore](https://www.qt.io/) (tested: 5.11/5.7)
|
2018-10-17 15:20:38 -04:00
|
|
|
* [qtwidgets](https://www.qt.io/) (tested: 5.11/5.7)
|
2018-08-30 08:30:55 -04:00
|
|
|
|
2018-08-30 17:53:58 -04:00
|
|
|
#### Get sourcecode
|
|
|
|
|
|
|
|
Download the current
|
|
|
|
[release](https://schlomp.space/tastytea/whyblocked/releases).
|
|
|
|
|
|
|
|
#### Compile
|
2018-08-30 08:30:55 -04:00
|
|
|
|
|
|
|
```SH
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake ..
|
|
|
|
make
|
|
|
|
make install
|
|
|
|
```
|
2018-08-30 12:10:59 -04:00
|
|
|
|
2018-10-17 19:13:31 -04:00
|
|
|
## Contributing
|
|
|
|
|
|
|
|
Contributions are always welcome. You can submit them as pull requests or via
|
|
|
|
email to `tastytea`@`tastytea.de`.
|
|
|
|
|
|
|
|
### Translations
|
|
|
|
|
|
|
|
To start a new translation, go to `translations/` and copy `whyblocked_en.ts` to
|
|
|
|
a file [appropriate](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements)
|
|
|
|
for the new language. If you want to translate to french for example, that file
|
|
|
|
name would be `whyblocked_fr.ts`.
|
|
|
|
|
|
|
|
Use [Linguist](http://doc.qt.io/qt-5/qtlinguist-index.html) to edit the
|
|
|
|
`.ts`-files.
|
|
|
|
|
2018-08-31 10:09:02 -04:00
|
|
|
## Bugs
|
|
|
|
|
|
|
|
Please report them on the
|
|
|
|
[issue tracker](https://schlomp.space/tastytea/whyblocked/issues) or to
|
|
|
|
`tastytea`@`tastytea.de`.
|
|
|
|
|
2018-10-19 18:34:00 -04:00
|
|
|
## Licence & Copyright
|
2018-08-30 12:10:59 -04:00
|
|
|
|
|
|
|
```PLAIN
|
|
|
|
Copyright © 2018 tastytea <tastytea@tastytea.de>.
|
|
|
|
License GPLv3: GNU GPL version 3 <https://www.gnu.org/licenses/gpl-3.0.html>.
|
|
|
|
This program comes with ABSOLUTELY NO WARRANTY. This is free software,
|
|
|
|
and you are welcome to redistribute it under certain conditions.
|
|
|
|
```
|
2018-10-19 18:34:00 -04:00
|
|
|
|
|
|
|
The icon is derived from the icons `messagebox critical` and `help` of the
|
|
|
|
[Gartoon icon theme](https://commons.wikimedia.org/wiki/Gartoon_icons). The
|
|
|
|
original authors were Zeus, Patrick Yavitz and La Mula Francis, who released
|
|
|
|
them under the terms of the
|
|
|
|
[GPL2+](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html) and
|
|
|
|
[DSL](http://www.fsf.org/licensing/licenses/dsl.html). The new icon is released
|
|
|
|
under the same terms.
|