{ "version": "https://jsonfeed.org/version/1.1", "user_comment": "This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format. To add this feed to your reader, copy the following URL -- https://matoken.org/blog/tag/cflags/feed/json -- and add it your reader.", "home_page_url": "https://matoken.org/blog/tag/cflags", "feed_url": "https://matoken.org/blog/tag/cflags/feed/json", "language": "ja", "title": "CFLAGS – matoken's blog", "description": "Is there no plan B?", "icon": "https://matoken.org/blog/wp-content/uploads/2025/03/cropped-1865f695c4eecc844385acef2f078255036adccd42c254580ea3844543ab56d9.jpeg", "items": [ { "id": "https://matoken.org/blog/?p=4365", "url": "https://matoken.org/blog/2025/01/12/nanotodon-0-5-0/", "title": "nanotodon 0.5.0\u3067Sixel", "content_html": "
CLI Mastodon client\u306enanotodon 0.5.0\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\uff0e
\nSixel\u5bfe\u5fdc\u306e\u3088\u3046\u3067\u3059\uff0e
\n\n\n\n
\n- Sixel\u304c\u3042\u308b\u7a0b\u5ea6\u52d5\u304f\u3088\u3046\u306b\u306a\u3063\u305f
\nSixel\u306e\u3064\u304b\u3044\u304b\u305f
\nMakefile\u3092\u898b\u3066\u306d\uff01
\n
\n
\u3068\u3044\u3046\u3053\u3068\u3067Release\u304b\u3089source archive\u3092\u5165\u624b\u3057\u305f\u308a\uff0cgit clone\u3057\u3066Makefile\u3092\u898b\u3066\u307f\u307e\u3059\uff0e
\n$ wget2 -c -v https://github.com/taka-tuos/nanotodon/archive/refs/tags/0.5.0.tar.gz\n$ tar tvf 0.5.0.tar.gz\n$ cd nanotodon-0.5.0\n
or
\n$ git clone https://github.com/taka-tuos/nanotodon\n$ cd nanotodon\n$ git checkout -b 0.5.0\n
Sixel\u5bfe\u5fdc\u306e\u305f\u3081\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u7de8\u96c6\u3057\u307e\u3057\u305f\uff0e(Webp\u306f\u30aa\u30d7\u30b7\u30e7\u30f3)
\n$ git diff Makefile\ndiff --git a/Makefile b/Makefile\nindex 6332820..238c2ed 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -10,11 +10,11 @@ LDLIBS += -lcurl -lpthread -lm\n CFLAGS += -DSUPPORT_XDG_BASE_DIR\n\n # EXPERIMENTAL: sixel support\n-#CFLAGS += -DUSE_SIXEL\n+CFLAGS += -DUSE_SIXEL\n\n # EXPERIMENTAL: webp support\n-#CFLAGS += -DUSE_WEBP\n-#LDLIBS += -lwebp\n+CFLAGS += -DUSE_WEBP\n+LDLIBS += -lwebp\n\n # for pkgsrc\n #CFLAGS += -I/usr/pkg/include\n
| \n Note \n | \n\n \n \nwebp\u3092\u7121\u52b9\u306b\u3059\u308b\u3068webp\u5f62\u5f0f\u306e\u753b\u50cf\u306e\u8868\u793a\u306b\u5931\u6557\u3057\u307e\u3059\uff0e\u753b\u50cf\u306f\u4ee5\u4e0b\u306e\u3082\u306e\u306b\u5dee\u3057\u66ff\u3048\u3089\u308c\u307e\u3057\u305f\uff0e\u7d50\u69cbwebp\u306f\u591a\u3044\u306e\u3067\u6709\u52b9\u306b\u3057\u305f\u307b\u3046\u304c\u826f\u3055\u305d\u3046\u3067\u3059\uff0e \n\n \n
\n\n \n | \n
build\u3057\u307e\u3059\uff0e
\n$ make\n
\u305d\u3057\u3066nanotodon\u3092\u5b9f\u884c\uff0e
\n$ ./nanotodon\n
\u30a2\u30a4\u30b3\u30f3\u3084\u6dfb\u4ed8\u753b\u50cf\u304cSixel\u3067\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f :)
\n
Sixel\u5bfe\u5fdc\u7aef\u672b\u306b\u3064\u3044\u3066\u306f\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u304c\u53c2\u8003\u306b\u306a\u308a\u307e\u3059\uff0e
\n\u4eca\u56de\u306fmlterm\u306e\u4e0a\u3067tmux\u3092\u52d5\u304b\u3057\uff0c\u305d\u306e\u4e0a\u3067nanotodon\u3092\u52d5\u304b\u3057\u307e\u3057\u305f\uff0e
\n\u4ee5\u4e0b\u306ftmux\u306e\u4e0a\u306e\u7a93\u3067nanotodon\uff0c\u4e0b\u306e\u7a93\u3067sayaka\u3067Misskey\u3092\u8868\u793a\u3057\u3066\u3044\u307e\u3059\uff0e

\u697d\u3057\u3044\u3067\u3059 :)
\n$ dpkg-query -W make gcc libcurl4t64 libblis64-4-pthread\ngcc 4:14.2.0-1\nlibblis64-4-pthread:amd64 1.0-1+b1\nlibcurl4t64:amd64 8.11.1-1\nmake 4.4.1-1\n$ lsb_release -dr\nDescription: Debian GNU/Linux trixie/sid\nRelease: n/a\n$ arch\nx86_64\n