snownew: update to 1.9 msharov released this Oct 2, 2021 * Make the UI more compact. * Simplify HTML detagging and rewrapping. * Store feed cache content detagged. * New translation for Serbian. * Support ncurses without widechars. * Quit normally on non-fatal signals. * Stop using libiconv because only UTF8 is supported. * Remove the need to configure html_entities. * Ignore atom link tags where rel != alternate. * Fix saving of changes to smart feeds.diff -r1.63 -r1.64 pkgsrc/www/snownews/Makefile
(nia)
@@ -1,17 +1,16 @@ | @@ -1,17 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.63 2021/09/29 19:01:29 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.64 2021/10/18 11:24:51 nia Exp $ | |
2 | 2 | |||
3 | DISTNAME= snownews-1.8 | 3 | DISTNAME= snownews-1.9 | |
4 | PKGREVISION= 1 | |||
5 | CATEGORIES= www | 4 | CATEGORIES= www | |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=msharov/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=msharov/} | |
7 | GITHUB_TAG= v${PKGVERSION_NOREV} | 6 | GITHUB_TAG= v${PKGVERSION_NOREV} | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://github.com/msharov/snownews | 9 | HOMEPAGE= https://github.com/msharov/snownews | |
11 | COMMENT= Small, curses based RSS feed reader | 10 | COMMENT= Small, curses based RSS feed reader | |
12 | LICENSE= gnu-gpl-v3 | 11 | LICENSE= gnu-gpl-v3 | |
13 | 12 | |||
14 | USE_TOOLS+= gmake msgfmt pkg-config | 13 | USE_TOOLS+= gmake msgfmt pkg-config | |
15 | HAS_CONFIGURE= yes | 14 | HAS_CONFIGURE= yes | |
16 | FAKE_NCURSES= yes | 15 | FAKE_NCURSES= yes | |
17 | USE_CURSES= wide | 16 | USE_CURSES= wide |
@@ -1,24 +1,25 @@ | @@ -1,24 +1,25 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.9 2021/07/05 20:14:14 fcambus Exp $ | 1 | @comment $NetBSD: PLIST,v 1.10 2021/10/18 11:24:51 nia Exp $ | |
2 | bin/snownews | 2 | bin/snownews | |
3 | man/de/man1/snownews.1 | 3 | man/de/man1/snownews.1 | |
4 | man/fr/man1/snownews.1 | 4 | man/fr/man1/snownews.1 | |
5 | man/it/man1/snownews.1 | 5 | man/it/man1/snownews.1 | |
6 | man/man1/snownews.1 | 6 | man/man1/snownews.1 | |
7 | man/nl/man1/snownews.1 | 7 | man/nl/man1/snownews.1 | |
8 | man/ru/man1/snownews.1 | 8 | man/ru/man1/snownews.1 | |
9 | share/locale/be@latin/LC_MESSAGES/snownews.mo | 9 | share/locale/be@latin/LC_MESSAGES/snownews.mo | |
10 | share/locale/de/LC_MESSAGES/snownews.mo | 10 | share/locale/de/LC_MESSAGES/snownews.mo | |
11 | share/locale/es/LC_MESSAGES/snownews.mo | 11 | share/locale/es/LC_MESSAGES/snownews.mo | |
12 | share/locale/fr/LC_MESSAGES/snownews.mo | 12 | share/locale/fr/LC_MESSAGES/snownews.mo | |
13 | share/locale/it/LC_MESSAGES/snownews.mo | 13 | share/locale/it/LC_MESSAGES/snownews.mo | |
14 | share/locale/ja/LC_MESSAGES/snownews.mo | 14 | share/locale/ja/LC_MESSAGES/snownews.mo | |
15 | share/locale/ko/LC_MESSAGES/snownews.mo | 15 | share/locale/ko/LC_MESSAGES/snownews.mo | |
16 | share/locale/nl/LC_MESSAGES/snownews.mo | 16 | share/locale/nl/LC_MESSAGES/snownews.mo | |
17 | share/locale/pl/LC_MESSAGES/snownews.mo | 17 | share/locale/pl/LC_MESSAGES/snownews.mo | |
18 | share/locale/pt_BR/LC_MESSAGES/snownews.mo | 18 | share/locale/pt_BR/LC_MESSAGES/snownews.mo | |
19 | share/locale/ru/LC_MESSAGES/snownews.mo | 19 | share/locale/ru/LC_MESSAGES/snownews.mo | |
20 | share/locale/se/LC_MESSAGES/snownews.mo | 20 | share/locale/se/LC_MESSAGES/snownews.mo | |
21 | share/locale/sl/LC_MESSAGES/snownews.mo | 21 | share/locale/sl/LC_MESSAGES/snownews.mo | |
22 | share/locale/sr/LC_MESSAGES/snownews.mo | |||
22 | share/locale/uk_UA/LC_MESSAGES/snownews.mo | 23 | share/locale/uk_UA/LC_MESSAGES/snownews.mo | |
23 | share/locale/zh_CN/LC_MESSAGES/snownews.mo | 24 | share/locale/zh_CN/LC_MESSAGES/snownews.mo | |
24 | share/locale/zh_TW/LC_MESSAGES/snownews.mo | 25 | share/locale/zh_TW/LC_MESSAGES/snownews.mo |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.21 2021/10/07 15:08:51 nia Exp $ | 1 | $NetBSD: distinfo,v 1.22 2021/10/18 11:24:51 nia Exp $ | |
2 | 2 | |||
3 | RMD160 (snownews-1.8.tar.gz) = 419865824853fce434388478836a5d07d18439c5 | 3 | RMD160 (snownews-1.9.tar.gz) = 591c7c9e4cd418ac9e7d4c887680d641e07aca5b | |
4 | SHA512 (snownews-1.8.tar.gz) = 023c10667ee80510303955058c21ff6546c8b3f6588a8ec24de103783ae2037e33628f141a6f6028b7338d75b189a3ad26dce74ac818434226629b2c4383c94e | 4 | SHA512 (snownews-1.9.tar.gz) = f833dbb41b5c0215c034b8388d787398360fac0ec9670f8f31b76c3ee2ffd974b4c6ebebc30aebb539b9904f513628124b393f4f473a92d4969f483caeca8596 | |
5 | Size (snownews-1.8.tar.gz) = 154813 bytes | 5 | Size (snownews-1.9.tar.gz) = 149935 bytes | |
6 | SHA1 (patch-Config.mk.in) = d16738359c9072c783612e7e0a2f782f2895e947 | 6 | SHA1 (patch-Config.mk.in) = 4e0ff89e7c9721bfbde23cbf3b51345f2f3097de | |
7 | SHA1 (patch-configure) = ab33efcce294aa0e889e3f53cb21b384308c2644 | 7 | SHA1 (patch-configure) = ed02a64c3f238aaf7e4c5ebe74a4129dad45bb98 |
@@ -1,21 +1,21 @@ | @@ -1,21 +1,21 @@ | |||
1 | $NetBSD: patch-Config.mk.in,v 1.2 2021/04/21 09:28:28 nia Exp $ | 1 | $NetBSD: patch-Config.mk.in,v 1.3 2021/10/18 11:24:51 nia Exp $ | |
2 | 2 | |||
3 | Do not override CFLAGS. | 3 | Do not override CFLAGS. | |
4 | 4 | |||
5 | --- Config.mk.in.orig 2021-04-11 22:41:14.000000000 +0000 | 5 | --- Config.mk.in.orig 2021-10-02 22:29:09.000000000 +0000 | |
6 | +++ Config.mk.in | 6 | +++ Config.mk.in | |
7 | @@ -26,13 +26,6 @@ O := .o/ | 7 | @@ -26,13 +26,6 @@ O := .o/ | |
8 | 8 | |||
9 | #debug := 1 | 9 | #debug := 1 | |
10 | libs := @pkg_libs@ -liconv -lintl | 10 | libs := @pkg_libs@ | |
11 | -ifdef debug | 11 | -ifdef debug | |
12 | - cflags := -O0 -ggdb3 | 12 | - cflags := -O0 -ggdb3 | |
13 | - ldflags := -g -rdynamic | 13 | - ldflags := -g -rdynamic | |
14 | -else | 14 | -else | |
15 | - cflags := -Os -g0 -DNDEBUG=1 | 15 | - cflags := -Os -g0 -DNDEBUG=1 | |
16 | - ldflags := -s | 16 | - ldflags := -s | |
17 | -endif | 17 | -endif | |
18 | -CFLAGS := -Wall -Wextra -Wredundant-decls -Wshadow | 18 | -CFLAGS := -Wall -Wextra -Wredundant-decls -Wshadow | |
19 | +CFLAGS += -Wall -Wextra -Wredundant-decls -Wshadow | 19 | +CFLAGS += -Wall -Wextra -Wredundant-decls -Wshadow | |
20 | cflags += -std=c11 @pkg_cflags@ ${CFLAGS} | 20 | cflags += -std=c11 @pkg_cflags@ ${CFLAGS} | |
21 | ldflags += @pkg_ldflags@ ${LDFLAGS} | 21 | ldflags += @pkg_ldflags@ ${LDFLAGS} |
@@ -1,15 +1,18 @@ | @@ -1,15 +1,18 @@ | |||
1 | $NetBSD: patch-configure,v 1.3 2021/07/05 20:14:14 fcambus Exp $ | 1 | $NetBSD: patch-configure,v 1.4 2021/10/18 11:24:51 nia Exp $ | |
2 | 2 | |||
3 | Allow NetBSD curses to be used. | 3 | Allow NetBSD curses to be used. | |
4 | 4 | |||
5 | --- configure.orig 2021-04-20 21:13:10.000000000 +0000 | 5 | --- configure.orig 2021-10-02 22:29:09.000000000 +0000 | |
6 | +++ configure | 6 | +++ configure | |
7 | @@ -34,7 +34,7 @@ seds=[s/^#undef \(USE_UNSUPPORTED_AND_BR | 7 | @@ -34,9 +34,9 @@ seds=[s/^#undef \(USE_UNSUPPORTED_AND_BR | |
8 | progs="CC=gcc CC=clang CC=cc INSTALL=install MSGFMT=msgfmt" | 8 | progs="CC=gcc CC=clang CC=cc INSTALL=install MSGFMT=msgfmt" | |
9 | 9 | |||
10 | # Libs found using pkg-config | 10 | # Libs found using pkg-config | |
11 | -pkgs="libcurl libxml-2.0 libcrypto ncursesw" | 11 | -pkgs="libcurl libxml-2.0 libcrypto ncursesw" | |
12 | +pkgs="libcurl libxml-2.0 libcrypto" | 12 | +pkgs="libcurl libxml-2.0 libcrypto" | |
13 | # Default pkg flags to substitute when pkg-config is not found | 13 | # Default pkg flags to substitute when pkg-config is not found | |
14 | pkg_libs="-lcurl -lxml2 -lcrypto -lncursesw" | 14 | -pkg_libs="-lcurl -lxml2 -lcrypto -lncursesw" | |
15 | pkg_cflags="-I\/usr\/include\/libxml2" | 15 | +pkg_libs="-lcurl -lxml2 -lcrypto" | |
16 | pkg_cflags="-I\/usr\/include\/libxml2 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600" | |||
17 | pkg_ldflags="" | |||
18 |