Package Details: markov-typing-git r209.7116ca7-1

Git Clone URL: https://aur.archlinux.org/markov-typing-git.git (read-only, click to copy)
Package Base: markov-typing-git
Description: Typing tutor that uses Markov chain to generate random strings.
Upstream URL: https://github.com/akstrfn/markov-typing
Keywords: typing
Licenses: MIT
Provides: markov-typing
Submitter: akstrfn
Maintainer: akstrfn
Last Packager: akstrfn
Votes: 1
Popularity: 0.000000
First Submitted: 2018-08-28 18:59 (UTC)
Last Updated: 2018-08-29 20:58 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

akstrfn commented on 2022-08-23 18:08 (UTC)

I've pushed commit upstream that fixed the build. Fixed locally quite some time ago but forgot to push it to github :)

m040601 commented on 2022-08-23 12:03 (UTC) (edited on 2022-08-23 12:03 (UTC) by m040601)

Interesting tool and idea. Thanks for creating the PKGBUILD.

I was trying to test it but it currently fails to build,

[ 11%] Automatic MOC for target markov-typing
[ 11%] Built target markov-typing_autogen
[ 22%] Building CXX object CMakeFiles/markov-typing.dir/markov-typing_autogen/mocs_compilation.cpp.o
In file included from /dev/shm/aurydesty/markov-typing-git/src/markov-typing/build/markov-typing_autogen/YDF7JMINI2/../../../src/qt_gui/practice_area.hh:10,
                 from /dev/shm/aurydesty/markov-typing-git/src/markov-typing/build/markov-typing_autogen/YDF7JMINI2/moc_practice_area.cpp:10,
                 from /dev/shm/aurydesty/markov-typing-git/src/markov-typing/build/markov-typing_autogen/mocs_compilation.cpp:3:
/dev/shm/aurydesty/markov-typing-git/src/markov-typing/build/markov-typing_autogen/YDF7JMINI2/../../../src/qt_gui/../io.hh:14:10: error: ‘optional’ in namespace ‘std’ does not name a template type
   14 |     std::optional<ProbabilityMatrix> get_matrix(QString chars);
      |          ^~~~~~~~
/dev/shm/aurydesty/markov-typing-git/src/markov-typing/build/markov-typing_autogen/YDF7JMINI2/../../../src/qt_gui/../io.hh:5:1: note: ‘std::optional’ is defined in header ‘<optional>’; did you forget to ‘#include <optional>’?
    4 | #include "probability_matrix.hh"
  +++ |+#include <optional>
    5 | #include <string_view>
/dev/shm/aurydesty/markov-typing-git/src/markov-typing/build/markov-typing_autogen/YDF7JMINI2/../../../src/qt_gui/../io.hh:19:6: error: ‘optional’ in namespace ‘std’ does not name a template type
   19 | std::optional<PracticeDataJson> load_from_json(std::string_view);
      |      ^~~~~~~~
/dev/shm/aurydesty/markov-typing-git/src/markov-typing/build/markov-typing_autogen/YDF7JMINI2/../../../src/qt_gui/../io.hh:19:1: note: ‘std::optional’ is defined in header ‘<optional>’; did you forget to ‘#include <optional>’?
   19 | std::optional<PracticeDataJson> load_from_json(std::string_view);
      | ^~~
make[2]: *** [CMakeFiles/markov-typing.dir/build.make:76: CMakeFiles/markov-typing.dir/markov-typing_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:86: CMakeFiles/markov-typing.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: markov-typing-git
ZZ

I dont' know if it's a problem with this PKGBUILD or with some upstream bug.

I see that this PKGBUILD was last checked in 2018. Since then the developer as many more commits till 2020.

Please check the PKGBUILD, before I might open an issue upstream.