head 1.4; access; symbols pkgsrc-2020Q3:1.3.0.6 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.4 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.2 pkgsrc-2020Q1-base:1.3; locks; strict; comment @# @; 1.4 date 2020.11.01.05.48.20; author tsutsui; state dead; branches; next 1.3; commitid boyq8NqIEgGk79uC; 1.3 date 2020.03.26.13.59.40; author nia; state Exp; branches; next 1.2; commitid kfwfmZhGEB39UU1C; 1.2 date 2020.02.21.06.00.26; author tsutsui; state Exp; branches; next 1.1; commitid k7CpTo0hgPJFlvXB; 1.1 date 2020.02.08.00.53.01; author tsutsui; state Exp; branches; next ; commitid add54s8ir4A74OVB; desc @@ 1.4 log @nanotodon: update to 0.2.0. pkgsrc changes: - adapt Makefile to upstream build structure changes Upstream changes: https://github.com/taka-tuos/nanotodon/releases/tag/0.2.0 MANY UPDATES! Whats New * PRIVATE and UNLISTED toots are available now * Hide PRIVATE toots on default boot Note * Without -unlock, will PRIVATE toots are not visible @ text @$NetBSD: patch-Makefile,v 1.3 2020/03/26 13:59:40 nia Exp $ - Remove OS specific conditinal with GNU make extension - Misc options for pkgsrc builds. --- Makefile.orig 2020-02-21 04:51:47.000000000 +0000 +++ Makefile @@@@ -1,21 +1,13 @@@@ TARGET = nanotodon OBJS_TARGET = nanotodon.o config.o messages.o -CFLAGS = -g -# optimization -#CFLAGS+= -O2 # Use $XDG_CONFIG_HOME or ~/.config dir to save config files CFLAGS+= -DSUPPORT_XDG_BASE_DIR -LDFLAGS = -ifeq ($(shell uname -s),Darwin) - LIBS = -lcurl -ljson-c -lncurses -lpthread -lm -else - LIBS = -lcurl -ljson-c -lncursesw -lpthread -lm -endif +LIBS = -lcurl -ljson-c -lncursesw -lpthread -lm # for pkgsrc build -#CFLAGS+= -I/usr/pkg/include -I/usr/pkg/include/ncursesw -DNCURSES_WIDECHAR -#LDFLAGS+= -L/usr/pkg/lib -Wl,-R/usr/pkg/lib +CFLAGS+= -I/usr/pkg/include -I/usr/pkg/include/ncursesw -DNCURSES_WIDECHAR +LDFLAGS+= -L/usr/pkg/lib -Wl,-R/usr/pkg/lib include Makefile.in @ 1.3 log @nanotodon: Needs -std=c99. Respect CFLAGS. @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.2 2020/02/21 06:00:26 tsutsui Exp $ @ 1.2 log @nanotodon: update to 0.1.1. No upstream changelog, but main visible ones are memory leak fixes. @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.1 2020/02/08 00:53:01 tsutsui Exp $ d8 3 a10 1 @@@@ -3,19 +3,15 @@@@ OBJS_TARGET = nanotodon.o config.o messa d12 2 a13 2 CFLAGS = -g # optimization a14 1 +CFLAGS+= -O2 d18 1 a18 1 LDFLAGS = @ 1.1 log @net/nanotodon: import nanotodon-0.1.0. Nanotodon is a light-weight CUI/C99 mastodon client. Even ancient m68k machines can get and post toots with streaming APIs. MC68020 20MHz Sun 3/60 running nanotodon (and sayaka) was demonstrated at Open Source Conference 2020 Osaka: https://mail-index.netbsd.org/netbsd-advocacy/2020/01/28/msg000823.html @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 1 Misc options for pkgsrc builds. d6 1 a6 1 --- Makefile.orig 2020-02-06 05:46:29.000000000 +0000 d8 1 a8 1 @@@@ -3,7 +3,7 @@@@ OBJS_TARGET = nanotodon.o config.o messa d17 7 a23 2 @@@@ -11,7 +11,7 @@@@ LDFLAGS = LIBS = -lcurl -ljson-c -lncursesw -lpthread -lm @