Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Twitter クライアント sayakaちゃんを Linux でも

Twitter クライアント sayakaちゃんを Linux でも

Avatar for Kenichiro MATOHARA

Kenichiro MATOHARA

March 14, 2021
Tweet

More Decks by Kenichiro MATOHARA

Other Decks in Technology

Transcript

  1. build build 1 sayakaのsourceをclone 2 configure $ git clone https://github.com/isaki68k/sayaka/

    $ cd sayaka $ git checkout 3.5.0 HEAD is now at 958f630 ver 3.5.0 (2021/03/03) $ ./configure 1 2 8 / 17
  2. 足りないものがパッケージ名で表示されて助かる :) configure: error: *** mbedtls not found. On Ubuntu,

    sudo apt install libmbedtls-dev configure: error: *** mbedtls not found. On Ubuntu, sudo apt install libmbedtls-dev 9 / 17
  3. ./configure が通ったらmake……失敗です. 必要なものをよく見ると,今回のバージョンからGNU makeではなく BSD make が必要になっていました. $ make (cd

    src; make all) make[1]: Entering directory '/home/matoken/src/sayaka/src' Makefile:3: *** missing separator. Stop. make[1]: Leaving directory '/home/matoken/src/sayaka/src' make: *** [Makefile:2: all] Error 2 必要なもの C++17 compiler jpeg (libjpeg) libpng mbedtls (2.9.0 or later?) BSD make (not GNU make) 10 / 17
  4. BSD makeを導入 1 BSD makeを導入 2 BSD makeでsayakaをmake 3 出来上がったsayakaを叩いてみる

    4 sayakaを適当な場所( ~/bin )にコピーにinstall ということでsayaka 3.5.0 がビルドできました :) $ sudo apt install bmake $ bmake sayaka $ src/sayaka --version sayaka version 3.5.0 (2021/03/03) $ install src/sayaka ~/bin/ 1 2 3 4 11 / 17
  5. 主な使い方 主な使い方 ホームタイムライン表示 sayaka --home キーワード検索( , で区切って繋いで行くと or 検索になる)

    sayaka '#koedolug,#kagolug,"東海道らぐ","鹿児島ら ぐ"',-from:matoken1,from:kagolug タイムライン録画,再生 --record, --play 投稿 echo "message" | sayaka --post 12 / 17
  6. framebutterでも(fb + yaft + sayaka) framebutterでも(fb + yaft + sayaka)

    matoken (@matoken1): "ThinkPad X201i の Ubuntu 19.10 amd64 の console(tty3) で yaft + sayaka" | nitter 15 / 17