pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/nanotodon



Module Name:    pkgsrc
Committed By:   tsutsui
Date:           Sun Nov  1 05:48:21 UTC 2020

Modified Files:
        pkgsrc/net/nanotodon: Makefile PLIST distinfo
Added Files:
        pkgsrc/net/nanotodon/patches: patch-Makefile.base patch-Makefile.in
Removed Files:
        pkgsrc/net/nanotodon/patches: patch-Makefile

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/net/nanotodon/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/nanotodon/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/nanotodon/distinfo
cvs rdiff -u -r1.3 -r0 pkgsrc/net/nanotodon/patches/patch-Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/net/nanotodon/patches/patch-Makefile.base \
    pkgsrc/net/nanotodon/patches/patch-Makefile.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/nanotodon/Makefile
diff -u pkgsrc/net/nanotodon/Makefile:1.7 pkgsrc/net/nanotodon/Makefile:1.8
--- pkgsrc/net/nanotodon/Makefile:1.7   Fri May 22 10:56:29 2020
+++ pkgsrc/net/nanotodon/Makefile       Sun Nov  1 05:48:21 2020
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2020/05/22 10:56:29 adam Exp $
+# $NetBSD: Makefile,v 1.8 2020/11/01 05:48:21 tsutsui Exp $
 
-GITHUB_TAG=    v0.1.1
-DISTNAME=      nanotodon-${GITHUB_TAG:S/v//}
-PKGREVISION=   4
+GITHUB_TAG=    0.2.0
+DISTNAME=      nanotodon-${GITHUB_TAG}
+#PKGREVISION=  0
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=taka-tuos/}
 
@@ -13,12 +13,21 @@ LICENSE=    mit
 
 USE_LANGUAGES= c99
 
-INSTALLATION_DIRS+=    bin
+INSTALLATION_DIRS+=    bin share/doc/nanotodon
 
-BUILD_TARGET=  default
+BUILD_TARGET=          default
+MAKE_FILE=             Makefile.bsd
+
+SUBST_CLASSES+=                prefix
+SUBST_MESSAGE.prefix=  Fixing hardcoded paths and link options in Makefiles.
+SUBST_STAGE.prefix=    pre-configure
+SUBST_FILES.prefix=    Makefile.bsd
+SUBST_SED.prefix+=     -e 's|/usr/pkg/|${PREFIX}/|g'
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/nanotodon ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA} ${WRKSRC}/README.md \
+           ${DESTDIR}${PREFIX}/share/doc/nanotodon
 
 .include "../../devel/ncursesw/buildlink3.mk"
 .include "../../textproc/json-c/buildlink3.mk"

Index: pkgsrc/net/nanotodon/PLIST
diff -u pkgsrc/net/nanotodon/PLIST:1.1 pkgsrc/net/nanotodon/PLIST:1.2
--- pkgsrc/net/nanotodon/PLIST:1.1      Sat Feb  8 00:53:01 2020
+++ pkgsrc/net/nanotodon/PLIST  Sun Nov  1 05:48:21 2020
@@ -1,2 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1 2020/02/08 00:53:01 tsutsui Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/11/01 05:48:21 tsutsui Exp $
 bin/nanotodon
+share/doc/nanotodon/README.md

Index: pkgsrc/net/nanotodon/distinfo
diff -u pkgsrc/net/nanotodon/distinfo:1.3 pkgsrc/net/nanotodon/distinfo:1.4
--- pkgsrc/net/nanotodon/distinfo:1.3   Thu Mar 26 13:59:40 2020
+++ pkgsrc/net/nanotodon/distinfo       Sun Nov  1 05:48:21 2020
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2020/03/26 13:59:40 nia Exp $
+$NetBSD: distinfo,v 1.4 2020/11/01 05:48:21 tsutsui Exp $
 
-SHA1 (nanotodon-0.1.1.tar.gz) = a7dbe3a923274ecf6efc0cd269daacc05cd5c229
-RMD160 (nanotodon-0.1.1.tar.gz) = c454cc9a28d74d0d31ce22a39a9009b4b9e096f9
-SHA512 (nanotodon-0.1.1.tar.gz) = 9dbc8618112eef4af18f71419a6e21be8ad4514aa0f321036564f0582678f85482860ec4503d8ab3d4f24ac78ca988d381a7f9f108dae4b120053c8a87b0a3ce
-Size (nanotodon-0.1.1.tar.gz) = 23593 bytes
-SHA1 (patch-Makefile) = 4e2b783ccf1d112cba111b91ae119e3cdfb39763
+SHA1 (nanotodon-0.2.0.tar.gz) = cce56f0d5e683518400654c79f13c7eaf1bbe07e
+RMD160 (nanotodon-0.2.0.tar.gz) = 7502562c52ed7f3a03235248ab47b2af7efdadf6
+SHA512 (nanotodon-0.2.0.tar.gz) = 9cfd8c5c31bf10da53d04a89942a3500f255908369d86cb4bd2f390c211b798934f224456d2c6933dd03e1a62d16d387b26357e2b2a0e4719c0f7388d6c5c5ca
+Size (nanotodon-0.2.0.tar.gz) = 24262 bytes
+SHA1 (patch-Makefile.base) = 5fa2123753e095ba19ae3190f5c71643ac488a65
+SHA1 (patch-Makefile.in) = c5110768d81c6dcb3e85928fcd465f7bbb01d61d

Added files:

Index: pkgsrc/net/nanotodon/patches/patch-Makefile.base
diff -u /dev/null pkgsrc/net/nanotodon/patches/patch-Makefile.base:1.1
--- /dev/null   Sun Nov  1 05:48:21 2020
+++ pkgsrc/net/nanotodon/patches/patch-Makefile.base    Sun Nov  1 05:48:20 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile.base,v 1.1 2020/11/01 05:48:20 tsutsui Exp $
+
+- enable optimiazation
+
+--- Makefile.base.orig 2020-10-12 01:49:56.000000000 +0000
++++ Makefile.base
+@@ -3,7 +3,7 @@ OBJS_TARGET    = nanotodon.o config.o messa
+ 
+ CFLAGS = -g
+ # optimization
+-#CFLAGS+= -O2
++CFLAGS+= -O2
+ # Use $XDG_CONFIG_HOME or ~/.config dir to save config files
+ CFLAGS+= -DSUPPORT_XDG_BASE_DIR
+ 
Index: pkgsrc/net/nanotodon/patches/patch-Makefile.in
diff -u /dev/null pkgsrc/net/nanotodon/patches/patch-Makefile.in:1.1
--- /dev/null   Sun Nov  1 05:48:21 2020
+++ pkgsrc/net/nanotodon/patches/patch-Makefile.in      Sun Nov  1 05:48:20 2020
@@ -0,0 +1,16 @@
+$NetBSD: patch-Makefile.in,v 1.1 2020/11/01 05:48:20 tsutsui Exp $
+
+- workaround to build using Makefile.bsd
+
+--- Makefile.in.orig   2020-10-12 01:49:56.000000000 +0000
++++ Makefile.in
+@@ -6,8 +6,7 @@ CP             = cp
+ 
+ # default
+ 
+-default :
+-      $(MAKE) $(TARGET)
++default : $(TARGET)
+ 
+ # rules
+ 



Home | Main Index | Thread Index | Old Index