2019-12-29 05:40:37 +01:00
|
|
|
= mastorss
|
2019-12-16 01:00:59 +01:00
|
|
|
:toc: preamble
|
|
|
|
|
|
|
|
:project: mastorss
|
|
|
|
:uri-base: https://schlomp.space/tastytea/{project}
|
2019-12-25 03:29:30 +01:00
|
|
|
:uri-branch-main: {uri-base}/src/branch/main
|
2019-12-16 00:58:12 +01:00
|
|
|
:uri-gcc: https://gcc.gnu.org/
|
|
|
|
:uri-cmake: https://cmake.org/
|
|
|
|
:uri-asciidoc: http://asciidoc.org/
|
|
|
|
:uri-catch: https://github.com/catchorg/Catch2
|
|
|
|
:uri-boost: https://www.boost.org/
|
2020-01-16 18:58:32 +01:00
|
|
|
:uri-mastodonpp: https://schlomp.space/tastytea/mastodonpp
|
2019-12-16 00:58:12 +01:00
|
|
|
:uri-jsoncpp: https://github.com/open-source-parsers/jsoncpp
|
2020-11-21 22:39:59 +01:00
|
|
|
:uri-libcurl: https://curl.haxx.se/libcurl/
|
2019-12-16 00:58:12 +01:00
|
|
|
|
2019-12-24 23:24:24 +01:00
|
|
|
*mastorss* reads RSS feeds and posts the items via the Mastodon API. Does not
|
|
|
|
support Atom at the moment.
|
2019-12-16 00:58:12 +01:00
|
|
|
|
|
|
|
== Install
|
|
|
|
|
2020-11-27 14:51:30 +01:00
|
|
|
=== Gentoo
|
|
|
|
|
|
|
|
[source,shell]
|
|
|
|
--------------------------------------------------------------------------------
|
2020-11-29 05:05:35 +01:00
|
|
|
eselect repository enable guru
|
2020-11-27 14:51:30 +01:00
|
|
|
echo 'net-misc/mastorss' >> /etc/portage/package.accept_keywords/mastorss
|
2020-11-29 05:05:35 +01:00
|
|
|
emaint sync -r guru
|
2020-11-27 14:51:30 +01:00
|
|
|
emerge -a net-misc/mastorss
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
=== Arch
|
|
|
|
|
|
|
|
The git-version is available via the AUR:
|
|
|
|
<https://aur.archlinux.org/packages/mastorss-git/>.
|
|
|
|
|
|
|
|
=== From source
|
|
|
|
|
|
|
|
==== Dependencies
|
2019-12-16 00:58:12 +01:00
|
|
|
|
|
|
|
* Tested OS: Linux
|
2019-12-28 07:49:28 +01:00
|
|
|
* C++ compiler (tested: link:{uri-gcc}[gcc] 7/8/9)
|
2019-12-25 02:08:16 +01:00
|
|
|
* link:{uri-cmake}[cmake] (at least: 3.9)
|
|
|
|
* link:{uri-boost}[boost] (at least: 1.62)
|
2020-11-13 14:29:46 +01:00
|
|
|
* link:{uri-mastodonpp}[mastodonpp] (at least: 0.5.6)
|
2019-12-25 02:08:16 +01:00
|
|
|
* link:{uri-jsoncpp}[jsoncpp] (at least: 1.7)
|
2020-11-21 22:39:59 +01:00
|
|
|
* link:{uri-libcurl}[libcurl] (at least: 7.52)
|
2019-12-16 00:58:12 +01:00
|
|
|
|
2020-11-27 14:51:30 +01:00
|
|
|
==== Get sourcecode
|
2019-12-16 00:58:12 +01:00
|
|
|
|
2020-11-27 14:51:30 +01:00
|
|
|
===== Release
|
2019-12-29 05:37:41 +01:00
|
|
|
|
|
|
|
Download the current release at link:{uri-base}/releases[schlomp.space].
|
|
|
|
|
2020-11-27 14:51:30 +01:00
|
|
|
===== Development version
|
2019-12-16 00:58:12 +01:00
|
|
|
|
|
|
|
[source,shell]
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
git clone https://schlomp.space/tastytea/mastorss.git
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
2020-11-27 14:51:30 +01:00
|
|
|
==== Compile
|
2019-12-16 00:58:12 +01:00
|
|
|
|
|
|
|
[source,shell]
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
mkdir build
|
|
|
|
cd build/
|
|
|
|
cmake ..
|
|
|
|
cmake --build .
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
Install with `make install`.
|
|
|
|
|
|
|
|
== Usage
|
|
|
|
|
2019-12-25 03:29:30 +01:00
|
|
|
See link:{uri-branch-main}/man/mastorss.1.adoc[manpage].
|
2019-12-16 00:58:12 +01:00
|
|
|
|
2019-12-16 01:00:59 +01:00
|
|
|
include::{uri-base}/raw/branch/main/CONTRIBUTING.adoc[]
|