mastorss/README.adoc

87 lines
2.5 KiB
Plaintext
Raw Normal View History

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}
: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
== Usage
See link:{uri-branch-main}/man/mastorss.1.adoc[manpage].
2019-12-16 00:58:12 +01:00
== Install
2021-05-17 23:34:04 +02:00
[alt="Packaging status" link=https://repology.org/project/mastorss/versions]
image::https://repology.org/badge/vertical-allrepos/mastorss.svg[]
=== Gentoo
[source,shell]
--------------------------------------------------------------------------------
2020-11-29 05:05:35 +01:00
eselect repository enable guru
echo 'net-misc/mastorss' >> /etc/portage/package.accept_keywords/mastorss
2020-11-29 05:05:35 +01:00
emaint sync -r guru
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
* 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
==== Get sourcecode
2019-12-16 00:58:12 +01:00
===== Release
2019-12-29 05:37:41 +01:00
Download the current release at link:{uri-base}/releases[schlomp.space].
===== Development version
2019-12-16 00:58:12 +01:00
[source,shell]
--------------------------------------------------------------------------------
git clone https://schlomp.space/tastytea/mastorss.git
--------------------------------------------------------------------------------
==== Compile
2019-12-16 00:58:12 +01:00
[source,shell]
--------------------------------------------------------------------------------
mkdir build
cd build/
cmake ..
cmake --build .
--------------------------------------------------------------------------------
2020-12-03 21:05:13 +01:00
.CMake options:
* `-DCMAKE_BUILD_TYPE=Debug` Debug build.
* `-DWITH_MAN=NO` Don't install manpage.
* `-DWITH_COMPLETIONS=NO` Don't install completions.
* `-DZSH_COMPLETION_DIR` Change installation directory for Zsh completions.
2019-12-16 00:58:12 +01:00
Install with `make install`.
2019-12-16 01:00:59 +01:00
include::{uri-base}/raw/branch/main/CONTRIBUTING.adoc[]