pkgsrc-WIP-changes archive

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

newsraft: builds with wip/gumbo-parser



Module Name:	pkgsrc-wip
Committed By:	Kevin Bloom <kevin.bloom%posteo.net@localhost>
Pushed By:	nuclearkev
Date:		Mon Jan 1 15:22:18 2024 -0500
Changeset:	6b39982f88c85507b4d58fb6f39d846e65ab7a33

Modified Files:
	newsraft/DESCR
	newsraft/Makefile
	newsraft/PLIST
	newsraft/TODO

Log Message:
newsraft: builds with wip/gumbo-parser

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6b39982f88c85507b4d58fb6f39d846e65ab7a33

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

diffstat:
 newsraft/DESCR    | 30 ++++++++----------------------
 newsraft/Makefile | 13 ++++++++++---
 newsraft/PLIST    |  5 ++---
 newsraft/TODO     |  5 ++---
 4 files changed, 22 insertions(+), 31 deletions(-)

diffs:
diff --git a/newsraft/DESCR b/newsraft/DESCR
index a2ff2042f9..742a2b35b0 100644
--- a/newsraft/DESCR
+++ b/newsraft/DESCR
@@ -1,23 +1,9 @@
-TODO: Adjust the following lines from README.md
+newsraft is a feed reader with a ncurses user interface. It is
+greatly inspired by newsboat and tries to be its lightweight
+counterpart. newsraft supports parallel downloads, section-based
+feeds grouping, opening links in any program, viewing news from all
+feeds with explore mode, automatic updates for feeds and sections,
+multiple actions key bindings, support for feed generating scripts,
+text search by news titles, and interactive interface for viewing
+news content.
 
-## Description
-
-Newsraft is a [feed reader](https://en.wikipedia.org/wiki/News_aggregator) with
-[ncurses](https://en.wikipedia.org/wiki/Ncurses) user interface. It is greatly
-inspired by [Newsboat](https://www.newsboat.org) and tries to be its lightweight
-counterpart. Notable design differences between these projects are listed in the
-[doc/project-goals.md](https://codeberg.org/newsraft/newsraft/src/branch/main/doc/project-goals.md).
-
-![Newsraft in action](doc/newsraft.png)
-
-## Features
-
-* Parallel downloads
-* Section-based feeds grouping
-* Opening links in any program
-* Viewing news from all feeds with explore mode
-* Automatic updates for feeds and sections
-* Multiple actions key bindings
-* Support for feed generating scripts
-* Text search by news titles
-...
diff --git a/newsraft/Makefile b/newsraft/Makefile
index 9bb9da1e16..5b210f45a9 100644
--- a/newsraft/Makefile
+++ b/newsraft/Makefile
@@ -15,19 +15,26 @@ USE_TOOLS+=	pkg-config
 USE_LANGUAGES=	c
 MAKE_FILE=	makefile
 
-# According to the documentation, curl and yajl are runtime
+# According to the documentation, these are runtime
 # depends as well.
 DEPENDS+=	curl>=7.87.0:../../www/curl
 DEPENDS+=	expat>=2.4.8:../../textproc/expat
 # TODO: this is the Google version we need
-# https://codeberg.org/grisha/gumbo-parser
-#DEPENDS+=	gumbo-parser>=0.11.0:../../www/gumbo-parser
+# https://codeberg.org/grisha/gumbo-parser without only in wip
+DEPENDS+=	gumbo-parser>=0.11.0:../../wip/gumbo-parser
 DEPENDS+=	ncursesw>=6.2:../../devel/ncursesw
 DEPENDS+=	sqlite3>=3.36.0:../../databases/sqlite3
 DEPENDS+=	yajl>=2.1.0:../../devel/yajl
 TOOL_DEPENDS+=	scdoc-[0-9]*:../../textproc/scdoc
 
+INSTALLATION_DIRS+=	bin man/man1
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/newsraft ${DESTDIR}${PREFIX}/bin && \
+	${INSTALL_MAN} ${WRKSRC}/doc/newsraft.1 ${DESTDIR}${PREFIX}/man/man1
 
 .include "../../www/curl/buildlink3.mk"
 .include "../../devel/yajl/buildlink3.mk"
+.include "../../wip/gumbo-parser/buildlink3.mk"
+.include "../../devel/ncursesw/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/newsraft/PLIST b/newsraft/PLIST
index 92ba51a2d7..9383f297ce 100644
--- a/newsraft/PLIST
+++ b/newsraft/PLIST
@@ -1,4 +1,3 @@
 @comment $NetBSD$
-@comment TODO: to fill this file with the file listing:
-@comment TODO: 1. run "/usr/bin/make package"
-@comment TODO: 2. run "/usr/bin/make print-PLIST"
+bin/newsraft
+man/man1/newsraft.1
diff --git a/newsraft/TODO b/newsraft/TODO
index 02137d0ad5..2371cc532a 100644
--- a/newsraft/TODO
+++ b/newsraft/TODO
@@ -1,5 +1,4 @@
-port grisha/gumbo-parser (https://codeberg.org/grisha/gumbo-parser)
-build .
+docs/example
 COMMIT_MSG
-DESCR
 test
+merge wip/gumbo-parser in -current


Home | Main Index | Thread Index | Old Index