Bug 203781

Summary: New port: www/snownews text mode RSS newsreader
Product: Ports & Packages Reporter: Felix <felixphew0>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed Feedback Timeout    
Severity: Affects Only Me CC: miwi
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
shar for www/snownews
none
updated shar for www/snownews none

Description Felix 2015-10-14 20:59:54 UTC
Created attachment 162054 [details]
shar for www/snownews

This is a new port - www/snownews. Snownews is a text mode newsreader similar to www/newsbeuter.
Comment 1 Dmitry Marakasov freebsd_committer freebsd_triage 2015-10-16 14:11:40 UTC
Does not build:

--- locales ---
for L in de es fr it nl ru sl se zh_TW zh_CN pt_BR pl ja be@latin uk_UA; do  msgfmt -o po/$L.mo po/$L;  done
msgfmt: not found
--- main.o ---
cc -Wall -Wno-format-y2k -O2  -DOS=\"FreeBSD\" -I/usr/local/include/libxml2 -I/usr/include   -DSTATIC_CONST_ICONV -I/usr/local/include -c main.c
--- netio.o ---
cc -Wall -Wno-format-y2k -O2  -DOS=\"FreeBSD\" -I/usr/local/include/libxml2 -I/usr/include   -DSTATIC_CONST_ICONV -I/usr/local/include -c netio.c
--- interface.o ---
cc -Wall -Wno-format-y2k -O2  -DOS=\"FreeBSD\" -I/usr/local/include/libxml2 -I/usr/include   -DSTATIC_CONST_ICONV -I/usr/local/include -c interface.c
--- xmlparse.o ---
cc -Wall -Wno-format-y2k -O2  -DOS=\"FreeBSD\" -I/usr/local/include/libxml2 -I/usr/include   -DSTATIC_CONST_ICONV -I/usr/local/include -c xmlparse.c
--- locales ---
*** [locales] Error code 127

make[1]: stopped in /wrkdirs/usr/ports/www/snownews/work/snownews-1.5.12

Also doesn't respect CFLAGS (and probably PREFIX: despride you patch it away from Makefile, platform_settings included by Makefile still has it).

And you should move OPTIONS_DEFINE block down, before NLS_*. And it'd be nice to add LICENSE_FILE.
Comment 2 Felix 2015-10-17 08:39:03 UTC
OK, I hope this version addresses your issues. Sorry about the ugly shar, it was created with GNU shar (I'm on Arch at the moment, having just had a strong desire for a pretty GUI).
Comment 3 Felix 2015-10-17 08:40:33 UTC
Created attachment 162143 [details]
updated shar for www/snownews

New version, hopefully adressing the issues.
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2015-11-11 19:47:53 UTC
Note: this port previously existed.  I don't know if it warrants bringing back the previous version from the repository.
Comment 5 Felix 2015-11-11 20:02:39 UTC
(In reply to Mark Linimon from comment #4)

As far as I can work out, the old version was deleted because it was faulty - I figured a fresh rewrite would be better. If you want me to copy something in particular over from the old one I'll happily do it, however.
Comment 6 Dmitry Marakasov freebsd_committer freebsd_triage 2015-11-14 14:56:53 UTC
Could you please resubmit a shar created by system `shar`? It is impossible to verify gnu share visually.