[UPDATE] www/newsboat to 2.14

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[UPDATE] www/newsboat to 2.14

Frederic Cambus
Hi ports@,

Here is a diff to update newsboat to 2.14, which now depends on Rust
and Cargo. All the work was done by semarie@.

I've been running newsboat for three weeks with this diff and haven't
noticed any regressions, but more testing would definitely be welcome.

Comments? OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/newsboat/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile 27 Sep 2018 09:15:27 -0000 1.6
+++ Makefile 18 Jan 2019 11:57:46 -0000
@@ -2,7 +2,7 @@
 
 COMMENT = RSS/Atom feed reader for text terminals
 
-V = 2.13
+V = 2.14
 DISTNAME = newsboat-$V
 
 CATEGORIES = www
@@ -23,6 +23,86 @@ EXTRACT_SUFX = .tar.xz
 
 COMPILER = base-clang ports-gcc
 
+DISTFILES += ${DISTNAME}${EXTRACT_SUFX}
+MODULES = devel/cargo
+
+MODCARGO_BUILD = No
+MODCARGO_INSTALL = No
+MODCARGO_TEST = No
+
+MODCARGO_CRATES += aho-corasick 0.6.9 # Unlicense/MIT
+MODCARGO_CRATES += argon2rs 0.2.5 # MIT
+MODCARGO_CRATES += arrayvec 0.4.9 # MIT/Apache-2.0
+MODCARGO_CRATES += autocfg 0.1.1 # Apache-2.0/MIT
+MODCARGO_CRATES += backtrace 0.3.13 # MIT/Apache-2.0
+MODCARGO_CRATES += backtrace-sys 0.1.26 # MIT/Apache-2.0
+MODCARGO_CRATES += bitflags 1.0.4 # MIT/Apache-2.0
+MODCARGO_CRATES += blake2-rfc 0.2.18 # MIT OR Apache-2.0
+MODCARGO_CRATES += cc 1.0.26 # MIT/Apache-2.0
+MODCARGO_CRATES += cfg-if 0.1.6 # MIT/Apache-2.0
+MODCARGO_CRATES += chrono 0.4.6 # MIT/Apache-2.0
+MODCARGO_CRATES += cloudabi 0.0.3 # BSD-2-Clause
+MODCARGO_CRATES += constant_time_eq 0.1.3 # CC0-1.0
+MODCARGO_CRATES += dirs 1.0.4 # MIT OR Apache-2.0
+MODCARGO_CRATES += failure 0.1.3 # MIT OR Apache-2.0
+MODCARGO_CRATES += failure_derive 0.1.3 # MIT OR Apache-2.0
+MODCARGO_CRATES += fuchsia-zircon 0.3.3 # BSD-3-Clause
+MODCARGO_CRATES += fuchsia-zircon-sys 0.3.3 # BSD-3-Clause
+MODCARGO_CRATES += idna 0.1.5 # MIT/Apache-2.0
+MODCARGO_CRATES += lazy_static 1.2.0 # MIT/Apache-2.0
+MODCARGO_CRATES += libc 0.2.45 # MIT OR Apache-2.0
+MODCARGO_CRATES += lock_api 0.1.5 # Apache-2.0/MIT
+MODCARGO_CRATES += matches 0.1.8 # MIT
+MODCARGO_CRATES += memchr 2.1.2 # Unlicense/MIT
+MODCARGO_CRATES += nodrop 0.1.13 # MIT/Apache-2.0
+MODCARGO_CRATES += num-integer 0.1.39 # MIT/Apache-2.0
+MODCARGO_CRATES += num-traits 0.2.6 # MIT/Apache-2.0
+MODCARGO_CRATES += once_cell 0.1.6 # MIT OR Apache-2.0
+MODCARGO_CRATES += parking_lot 0.6.4 # Apache-2.0/MIT
+MODCARGO_CRATES += parking_lot_core 0.3.1 # Apache-2.0/MIT
+MODCARGO_CRATES += percent-encoding 1.0.1 # MIT/Apache-2.0
+MODCARGO_CRATES += proc-macro2 0.4.24 # MIT/Apache-2.0
+MODCARGO_CRATES += quote 0.6.10 # MIT/Apache-2.0
+MODCARGO_CRATES += rand 0.4.3 # MIT/Apache-2.0
+MODCARGO_CRATES += rand 0.5.5 # MIT/Apache-2.0
+MODCARGO_CRATES += rand 0.6.1 # MIT/Apache-2.0
+MODCARGO_CRATES += rand_chacha 0.1.0 # MIT/Apache-2.0
+MODCARGO_CRATES += rand_core 0.2.2 # MIT/Apache-2.0
+MODCARGO_CRATES += rand_core 0.3.0 # MIT/Apache-2.0
+MODCARGO_CRATES += rand_hc 0.1.0 # MIT/Apache-2.0
+MODCARGO_CRATES += rand_isaac 0.1.1 # MIT/Apache-2.0
+MODCARGO_CRATES += rand_pcg 0.1.1 # MIT/Apache-2.0
+MODCARGO_CRATES += rand_xorshift 0.1.0 # MIT/Apache-2.0
+MODCARGO_CRATES += redox_syscall 0.1.44 # MIT
+MODCARGO_CRATES += redox_users 0.2.0 # MIT
+MODCARGO_CRATES += regex 1.1.0 # MIT/Apache-2.0
+MODCARGO_CRATES += regex-syntax 0.6.4 # MIT/Apache-2.0
+MODCARGO_CRATES += remove_dir_all 0.5.1 # MIT/Apache-2.0
+MODCARGO_CRATES += rustc-demangle 0.1.11 # MIT/Apache-2.0
+MODCARGO_CRATES += rustc_version 0.2.3 # MIT/Apache-2.0
+MODCARGO_CRATES += scoped_threadpool 0.1.9 # MIT
+MODCARGO_CRATES += scopeguard 0.3.3 # MIT/Apache-2.0
+MODCARGO_CRATES += semver 0.9.0 # MIT/Apache-2.0
+MODCARGO_CRATES += semver-parser 0.7.0 # MIT/Apache-2.0
+MODCARGO_CRATES += smallvec 0.6.7 # MIT/Apache-2.0
+MODCARGO_CRATES += syn 0.15.23 # MIT/Apache-2.0
+MODCARGO_CRATES += synstructure 0.10.1 # MIT
+MODCARGO_CRATES += tempfile 3.0.5 # MIT/Apache-2.0
+MODCARGO_CRATES += thread_local 0.3.6 # Apache-2.0/MIT
+MODCARGO_CRATES += time 0.1.41 # MIT/Apache-2.0
+MODCARGO_CRATES += ucd-util 0.1.3 # MIT/Apache-2.0
+MODCARGO_CRATES += unicode-bidi 0.3.4 # MIT / Apache-2.0
+MODCARGO_CRATES += unicode-normalization 0.1.7 # MIT/Apache-2.0
+MODCARGO_CRATES += unicode-xid 0.1.0 # MIT/Apache-2.0
+MODCARGO_CRATES += unreachable 1.0.0 # MIT / Apache-2.0
+MODCARGO_CRATES += url 1.7.2 # MIT/Apache-2.0
+MODCARGO_CRATES += utf8-ranges 1.0.2 # Unlicense/MIT
+MODCARGO_CRATES += version_check 0.1.5 # MIT/Apache-2.0
+MODCARGO_CRATES += void 1.0.2 # MIT
+MODCARGO_CRATES += winapi 0.3.6 # MIT/Apache-2.0
+MODCARGO_CRATES += winapi-i686-pc-windows-gnu 0.4.0 # MIT/Apache-2.0
+MODCARGO_CRATES += winapi-x86_64-pc-windows-gnu 0.4.0 # MIT/Apache-2.0
+
 BUILD_DEPENDS = devel/gettext-tools \
  textproc/asciidoc
 
@@ -40,7 +120,7 @@ USE_GMAKE = Yes
 
 ALL_TARGET = all doc
 
-CONFIGURE_STYLE = simple
+CONFIGURE_STYLE = cargo simple
 CONFIGURE_SCRIPT = config.sh
 
 pre-configure:
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/newsboat/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo 27 Sep 2018 09:15:27 -0000 1.5
+++ distinfo 18 Jan 2019 11:57:46 -0000
@@ -1,2 +1,146 @@
-SHA256 (newsboat-2.13.tar.xz) = xzYTtPCMh1uuLE54KOZykedZnpyr7VKAifg3j1ILM14=
-SIZE (newsboat-2.13.tar.xz) = 460076
+SHA256 (cargo/aho-corasick-0.6.9.tar.gz) = HpqTP05YZY17Et78+W3FxyDyCDLe6+PgoZ79O2qu654=
+SHA256 (cargo/argon2rs-0.2.5.tar.gz) = P2ewtqhtrm5n/0yitiATlgdJljefuiuS/2SRJvN8s5I=
+SHA256 (cargo/arrayvec-0.4.9.tar.gz) = 0YUTl3wtgmHESFEcXFPcZrJt/MvD1ERmct6h5xp9iiY=
+SHA256 (cargo/autocfg-0.1.1.tar.gz) = Tl8033oBlXP7i9x+JKK/6+UaKh1r/brszts8QfxXRyc=
+SHA256 (cargo/backtrace-0.3.13.tar.gz) = tbSTtm4DCQ68Q0PrAvlP+UTgy8msZXFJHRcLoCZ0HrU=
+SHA256 (cargo/backtrace-sys-0.1.26.tar.gz) = P8zonlrVyJScqpQ0UB97VUFbPnrVJwy4jHWo016PEnk=
+SHA256 (cargo/bitflags-1.0.4.tar.gz) = IoBHp29GhifKcXduzevXMqNCMIH89RJVhbzXxJiGzhI=
+SHA256 (cargo/blake2-rfc-0.2.18.tar.gz) = XW1TC90tUpZqbQO3qWSt164aKI0lIUBm/UtgDw95ZAA=
+SHA256 (cargo/cc-1.0.26.tar.gz) = OJgD42lz0kLn/ssJKy3kSj01rGJSSzuTOeUdV31mjgI=
+SHA256 (cargo/cfg-if-0.1.6.tar.gz) = CCu5so4A08nTnMA+ZM5M6g8bubP95JPwy8AIRy0ivfQ=
+SHA256 (cargo/chrono-0.4.6.tar.gz) = RZEogRIcsm+tfDjBe6faoYdkdxg2s0+rfT+9k+1jOHg=
+SHA256 (cargo/cloudabi-0.0.3.tar.gz) = 3fxbmqXUUHrK+HLecQUd/Q4wmGDoiWbhBR5GKgd6rE8=
+SHA256 (cargo/constant_time_eq-0.1.3.tar.gz) = j/AS4iXOFm1EIuDnhBnZAXGXYPYq4reWnKa1ZNG1Sp4=
+SHA256 (cargo/dirs-1.0.4.tar.gz) = iJct6JH2EYCStkPYWgso4GeOD5SNf4eaoy8tWq/pfSo=
+SHA256 (cargo/failure-0.1.3.tar.gz) = bdN3vMGxt86RGWfj7CT6GcMiQ5TsBbVKp7CD1Jg0Gsc=
+SHA256 (cargo/failure_derive-0.1.3.tar.gz) = ZMLZE/6O07bGUY7t9FOCVbmJlFwUwqfVy/9ipeISBZY=
+SHA256 (cargo/fuchsia-zircon-0.3.3.tar.gz) = Lpdjxp66rmMLo190iI20ZeSeJZuhvA7afQb0oGdhXYI=
+SHA256 (cargo/fuchsia-zircon-sys-0.3.3.tar.gz) = Pcqprncl0SzbhbOtmaQ023C0aMCd7RfgEthrXBAQ96c=
+SHA256 (cargo/idna-0.1.5.tar.gz) = OPCeDwsftV/e4fF0cK2ADad69RhqGnbAJrZ5NYt+hE4=
+SHA256 (cargo/lazy_static-1.2.0.tar.gz) = o3TIm521WJVFOnTB44hh2d7sCwG0BaglFunV3kgg3qE=
+SHA256 (cargo/libc-0.2.45.tar.gz) = LShX7Fn63AdzhTxmTS0Y5xmOg4g+cGC2PJJMsHe9XHQ=
+SHA256 (cargo/lock_api-0.1.5.tar.gz) = YuvxOR9qytYOXItDcG3eRYLfdcBmmKtEUR0VAWvCRCw=
+SHA256 (cargo/matches-0.1.8.tar.gz) = f/xcUzhGnU0+oX0mn6jqNRKtJHJHwwvS32nmgwntCgg=
+SHA256 (cargo/memchr-2.1.2.tar.gz) = 20xBMYk39udmSPQoJrHZreXAnK+1rvfjUSQKcPOSBuk=
+SHA256 (cargo/nodrop-0.1.13.tar.gz) = L5Zn3cxsyKQ6/Jt5F1mdchaqCcRjkZ6jLFntbKyLyUU=
+SHA256 (cargo/num-integer-0.1.39.tar.gz) = 6D1SjSZ38FGMVwuvK3q9zwzS0kiGC2hQe9yz6R1MDOo=
+SHA256 (cargo/num-traits-0.2.6.tar.gz) = CzpdfMl9bTDYubyPoZv0U0n/5GJB6IFvUPYvbWqqvuE=
+SHA256 (cargo/once_cell-0.1.6.tar.gz) = 1841NdVFYMk3wWUrpKDaZr/GPg+OB77RJ0g6+25e6SU=
+SHA256 (cargo/parking_lot-0.6.4.tar.gz) = 8IAr/wkAOykbp1bcfnkxPlHMMWZ+lK++hH3vSQQkzeU=
+SHA256 (cargo/parking_lot_core-0.3.1.tar.gz) = rX9+br3Hnt/2/cuHpVtiAXT3qYnj6zG2UjH0r1fwC4w=
+SHA256 (cargo/percent-encoding-1.0.1.tar.gz) = MQEN0uGsM9W0altBNJUjmIKBPgNp+O2KXiZvFzYC+DE=
+SHA256 (cargo/proc-macro2-0.4.24.tar.gz) = d2GWl4JvMaAq6XRFevCym3I+VhnhE+k5e4uCxr0lPwk=
+SHA256 (cargo/quote-0.6.10.tar.gz) = U/oioZlL0Pk3LXqBYgfYomd60DJbBz9cUzJ2Dw+2K1w=
+SHA256 (cargo/rand-0.4.3.tar.gz) = g1b0ezJiT+9bMwHBvpfllE7N1ZVAnMXaEdBfIR22z70=
+SHA256 (cargo/rand-0.5.5.tar.gz) = 5GTNiH6GnN3K6HkqTuMdI8ft1RZwBpVgj1uYxn7gExw=
+SHA256 (cargo/rand-0.6.1.tar.gz) = rp0iPVKuQRozz35U7GA07BZd8pbM0jUz1nGiglK29mo=
+SHA256 (cargo/rand_chacha-0.1.0.tar.gz) = dxsAnjpQjLZ+iCPdpFSqpTaMe8HBaCn7d9PpgEQN00o=
+SHA256 (cargo/rand_core-0.2.2.tar.gz) = GWGkIsTRid+1D/qTIL8fKpvVTsuSeS+5R3+ZoQRfM3I=
+SHA256 (cargo/rand_core-0.3.0.tar.gz) = CQW2tweexzsxTUx0hwH2kx63n9l8ZoyqPxiZsisyxts=
+SHA256 (cargo/rand_hc-0.1.0.tar.gz) = e0BnfHvgmudiGNxiPvv3sY40vO0/OIg68Hu3VjCiG8Q=
+SHA256 (cargo/rand_isaac-0.1.1.tar.gz) = 3tmXydXxOSW+Km/X5mvxhyWX91n9ndk1E91+kuWl7gg=
+SHA256 (cargo/rand_pcg-0.1.1.tar.gz) = CGvQmjPHBE5Wu0TVvd5aYOfxGanpWwd19UXedZoy/gU=
+SHA256 (cargo/rand_xorshift-0.1.0.tar.gz) = 7/o/yqR+GNsAK93mBglEttL5z9jbRxww6HNEitkYe+M=
+SHA256 (cargo/redox_syscall-0.1.44.tar.gz) = qEvNKXuHpUWYCi0loL63Kh9JDDHwqf3lL8o1v7sc63A=
+SHA256 (cargo/redox_users-0.2.0.tar.gz) = IUqX5JvmT9LIb1aN0MssdX0sxT3pWyc7atChyQhILyY=
+SHA256 (cargo/regex-1.1.0.tar.gz) = N+fLvTcIac4ujf8lxwGHAtELIaIO9xNTFvja7NbCW38=
+SHA256 (cargo/regex-syntax-0.6.4.tar.gz) = Tkei7Snaep4ZYOFjnnqYLm7cbUm+MIo7Atr1EVBKFtE=
+SHA256 (cargo/remove_dir_all-0.5.1.tar.gz) = NIi6G5oghNOGRcTAgnahdS3L8scTDXTxVpaBrV0nmcU=
+SHA256 (cargo/rustc-demangle-0.1.11.tar.gz) = AbkDebhmTdg0YNWb3F3R/TFyuJE3iNtIPtEyUXHqsvc=
+SHA256 (cargo/rustc_version-0.2.3.tar.gz) = E44+Cstsn7JYsZtny4q9Y8AGedKFGAXqFRRlRk/pAwo=
+SHA256 (cargo/scoped_threadpool-0.1.9.tar.gz) = HVH131r0OrPxNgtCn6XgFSrFzowL1khcrkkDMuloRqg=
+SHA256 (cargo/scopeguard-0.3.3.tar.gz) = lCWPU2Aa8R5qSfciQi9uNCXFKwYkWlz5vAmQixdPXic=
+SHA256 (cargo/semver-0.9.0.tar.gz) = HX657ywYZhkCzEflNfm8UbeKzSVNpx03XC9nINmkBAM=
+SHA256 (cargo/semver-parser-0.7.0.tar.gz) = OIod8lPsoIVQvvbHI5LP58MJFL9B31Jptoy9b/j1cKM=
+SHA256 (cargo/smallvec-0.6.7.tar.gz) = tz6jc4tHVjgD74FJJeab4AeZqMB0IL6LmW+OmPsjNts=
+SHA256 (cargo/syn-0.15.23.tar.gz) = lUWmoJOj8L1ZrbRycArMCMrTd2+GDxaol9/OjIhyHLw=
+SHA256 (cargo/synstructure-0.10.1.tar.gz) = c2hxOb+ZKFSDyWrArdSCw3dlKL6sHZfURPbpHyA6IBU=
+SHA256 (cargo/tempfile-3.0.5.tar.gz) = fpFAXBQyDlx5s9FI4chvQHSaNuSQZCICoxaJyxo0UrI=
+SHA256 (cargo/thread_local-0.3.6.tar.gz) = xrU+MpAA7cKzTb6FRf0g5VozM2LQoyGQloWhm9KMPxs=
+SHA256 (cargo/time-0.1.41.tar.gz) = hH2kZ78NsFiCqeI3WTSopVz/3J2w0SivFRggAmC6H2w=
+SHA256 (cargo/ucd-util-0.1.3.tar.gz) = U1wgTuTYQ0R4WTSAuPhqtF7JquDoPFaMqBq/D9Doj4Y=
+SHA256 (cargo/unicode-bidi-0.3.4.tar.gz) = SfK9DGRoqCMOHbIpz/gCkhfPYjx2fqXWC/vUJynqVNU=
+SHA256 (cargo/unicode-normalization-0.1.7.tar.gz) = agGAvGH8Wphwgr+hEfTMlcTK/3+XmfPkbfCRY6k3qiU=
+SHA256 (cargo/unicode-xid-0.1.0.tar.gz) = /HIwR5bQgY41fq1OAA0ZycF0qyPcEQk6yRkFTSCmp/w=
+SHA256 (cargo/unreachable-1.0.0.tar.gz) = OCgQh3/kSJkd/H8N1uOuXVgIj9DqXjUYllX4TmgU+lY=
+SHA256 (cargo/url-1.7.2.tar.gz) = 3U58DVMSZjaVGaSqTzmddIvTcEOwC94eT/H2ChILNVo=
+SHA256 (cargo/utf8-ranges-1.0.2.tar.gz) = eW9+SL74dgn3refgZJWofVzQbHhm5qXL/O/8VYokNzc=
+SHA256 (cargo/version_check-0.1.5.tar.gz) = kUsaZ3bEySmmAvr9i8dC4GNl1Ly+SMMPnMpYJPcNyd0=
+SHA256 (cargo/void-1.0.2.tar.gz) = agLkiF7TvA8t6Q6m3UXry7ZtrP/gNUf627DuridwiH0=
+SHA256 (cargo/winapi-0.3.6.tar.gz) = ksHrM2QeJ2z6IUoFIqytV75cVrEMs0izxRF9t186xLA=
+SHA256 (cargo/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = rDuHxjYgQm3ZuZHlzgMp7/VFvMu7NPO+Cf9vtqtRt7Y=
+SHA256 (cargo/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = cS4ieEHQV8HuHNL7Ivp+WlRhro5I+iynnsQs/BkxGD8=
+SHA256 (newsboat-2.14.tar.xz) = Z7y6rD6+1c6geu5QKAM2SgHntFoCLIhpMswY1bnlbY0=
+SIZE (cargo/aho-corasick-0.6.9.tar.gz) = 25979
+SIZE (cargo/argon2rs-0.2.5.tar.gz) = 353096
+SIZE (cargo/arrayvec-0.4.9.tar.gz) = 26103
+SIZE (cargo/autocfg-0.1.1.tar.gz) = 10044
+SIZE (cargo/backtrace-0.3.13.tar.gz) = 34101
+SIZE (cargo/backtrace-sys-0.1.26.tar.gz) = 522529
+SIZE (cargo/bitflags-1.0.4.tar.gz) = 15282
+SIZE (cargo/blake2-rfc-0.2.18.tar.gz) = 15676
+SIZE (cargo/cc-1.0.26.tar.gz) = 42350
+SIZE (cargo/cfg-if-0.1.6.tar.gz) = 7411
+SIZE (cargo/chrono-0.4.6.tar.gz) = 133108
+SIZE (cargo/cloudabi-0.0.3.tar.gz) = 22156
+SIZE (cargo/constant_time_eq-0.1.3.tar.gz) = 1279
+SIZE (cargo/dirs-1.0.4.tar.gz) = 12844
+SIZE (cargo/failure-0.1.3.tar.gz) = 34107
+SIZE (cargo/failure_derive-0.1.3.tar.gz) = 4349
+SIZE (cargo/fuchsia-zircon-0.3.3.tar.gz) = 22565
+SIZE (cargo/fuchsia-zircon-sys-0.3.3.tar.gz) = 7191
+SIZE (cargo/idna-0.1.5.tar.gz) = 258735
+SIZE (cargo/lazy_static-1.2.0.tar.gz) = 10840
+SIZE (cargo/libc-0.2.45.tar.gz) = 349425
+SIZE (cargo/lock_api-0.1.5.tar.gz) = 16967
+SIZE (cargo/matches-0.1.8.tar.gz) = 2216
+SIZE (cargo/memchr-2.1.2.tar.gz) = 19520
+SIZE (cargo/nodrop-0.1.13.tar.gz) = 7508
+SIZE (cargo/num-integer-0.1.39.tar.gz) = 17881
+SIZE (cargo/num-traits-0.2.6.tar.gz) = 39923
+SIZE (cargo/once_cell-0.1.6.tar.gz) = 12432
+SIZE (cargo/parking_lot-0.6.4.tar.gz) = 31890
+SIZE (cargo/parking_lot_core-0.3.1.tar.gz) = 26635
+SIZE (cargo/percent-encoding-1.0.1.tar.gz) = 10057
+SIZE (cargo/proc-macro2-0.4.24.tar.gz) = 30970
+SIZE (cargo/quote-0.6.10.tar.gz) = 15795
+SIZE (cargo/rand-0.4.3.tar.gz) = 76094
+SIZE (cargo/rand-0.5.5.tar.gz) = 137359
+SIZE (cargo/rand-0.6.1.tar.gz) = 126613
+SIZE (cargo/rand_chacha-0.1.0.tar.gz) = 11637
+SIZE (cargo/rand_core-0.2.2.tar.gz) = 15450
+SIZE (cargo/rand_core-0.3.0.tar.gz) = 20581
+SIZE (cargo/rand_hc-0.1.0.tar.gz) = 11644
+SIZE (cargo/rand_isaac-0.1.1.tar.gz) = 16020
+SIZE (cargo/rand_pcg-0.1.1.tar.gz) = 10881
+SIZE (cargo/rand_xorshift-0.1.0.tar.gz) = 9194
+SIZE (cargo/redox_syscall-0.1.44.tar.gz) = 15254
+SIZE (cargo/redox_users-0.2.0.tar.gz) = 11104
+SIZE (cargo/regex-1.1.0.tar.gz) = 241219
+SIZE (cargo/regex-syntax-0.6.4.tar.gz) = 272048
+SIZE (cargo/remove_dir_all-0.5.1.tar.gz) = 8726
+SIZE (cargo/rustc-demangle-0.1.11.tar.gz) = 11579
+SIZE (cargo/rustc_version-0.2.3.tar.gz) = 10210
+SIZE (cargo/scoped_threadpool-0.1.9.tar.gz) = 7800
+SIZE (cargo/scopeguard-0.3.3.tar.gz) = 9605
+SIZE (cargo/semver-0.9.0.tar.gz) = 17344
+SIZE (cargo/semver-parser-0.7.0.tar.gz) = 10268
+SIZE (cargo/smallvec-0.6.7.tar.gz) = 21450
+SIZE (cargo/syn-0.15.23.tar.gz) = 145369
+SIZE (cargo/synstructure-0.10.1.tar.gz) = 17836
+SIZE (cargo/tempfile-3.0.5.tar.gz) = 23272
+SIZE (cargo/thread_local-0.3.6.tar.gz) = 12388
+SIZE (cargo/time-0.1.41.tar.gz) = 29991
+SIZE (cargo/ucd-util-0.1.3.tar.gz) = 25897
+SIZE (cargo/unicode-bidi-0.3.4.tar.gz) = 32228
+SIZE (cargo/unicode-normalization-0.1.7.tar.gz) = 330545
+SIZE (cargo/unicode-xid-0.1.0.tar.gz) = 16000
+SIZE (cargo/unreachable-1.0.0.tar.gz) = 6355
+SIZE (cargo/url-1.7.2.tar.gz) = 68597
+SIZE (cargo/utf8-ranges-1.0.2.tar.gz) = 8510
+SIZE (cargo/version_check-0.1.5.tar.gz) = 8173
+SIZE (cargo/void-1.0.2.tar.gz) = 2356
+SIZE (cargo/winapi-0.3.6.tar.gz) = 1029391
+SIZE (cargo/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = 2918815
+SIZE (cargo/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 2947998
+SIZE (newsboat-2.14.tar.xz) = 496256
Index: patches/patch-Makefile
===================================================================
RCS file: /cvs/ports/www/newsboat/patches/patch-Makefile,v
retrieving revision 1.1
diff -u -p -r1.1 patch-Makefile
--- patches/patch-Makefile 29 Apr 2018 12:56:15 -0000 1.1
+++ patches/patch-Makefile 18 Jan 2019 11:57:46 -0000
@@ -21,7 +21,13 @@ Index: Makefile
 
  RSSPPLIB_SOURCES=$(sort $(wildcard rss/*.cpp))
  RSSPPLIB_OBJS=$(patsubst rss/%.cpp,rss/%.o,$(RSSPPLIB_SOURCES))
-@@ -57,7 +57,7 @@ RSSPPLIB_OUTPUT=librsspp.a
+@@ -62,12 +62,12 @@ NEWSBOATLIB_OUTPUT=target/release/libnewsboat.a
+ LDFLAGS+=-L.//target/release
+ CARGO_FLAGS+=--release
+ endif
+-LDFLAGS+=-lnewsboat -lpthread -ldl
++LDFLAGS+=-lnewsboat -lpthread
+
  PODBOAT=podboat
  PODBOAT_SOURCES:=$(shell cat mk/podboat.deps)
  PODBOAT_OBJS:=$(patsubst %.cpp,%.o,$(PODBOAT_SOURCES))

Reply | Threaded
Open this post in threaded view
|

Re: [UPDATE] www/newsboat to 2.14

Remi Locherer
Hi Frederic

On Thu, Feb 07, 2019 at 11:47:09AM +0100, Frederic Cambus wrote:
> Hi ports@,
>
> Here is a diff to update newsboat to 2.14, which now depends on Rust
> and Cargo. All the work was done by semarie@.
>
> I've been running newsboat for three weeks with this diff and haven't
> noticed any regressions, but more testing would definitely be welcome.
>
> Comments? OK?

It builds and runs fine on my amd64 box.

It's the first time I'm looking into a port that uses rust. Did you
create the list of crates automatically? I wonder because I see the
winapi and fuchsia-zircon crates in the list.

Cheers,
Remi

>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/www/newsboat/Makefile,v
> retrieving revision 1.6
> diff -u -p -r1.6 Makefile
> --- Makefile 27 Sep 2018 09:15:27 -0000 1.6
> +++ Makefile 18 Jan 2019 11:57:46 -0000
> @@ -2,7 +2,7 @@
>  
>  COMMENT = RSS/Atom feed reader for text terminals
>  
> -V = 2.13
> +V = 2.14
>  DISTNAME = newsboat-$V
>  
>  CATEGORIES = www
> @@ -23,6 +23,86 @@ EXTRACT_SUFX = .tar.xz
>  
>  COMPILER = base-clang ports-gcc
>  
> +DISTFILES += ${DISTNAME}${EXTRACT_SUFX}
> +MODULES = devel/cargo
> +
> +MODCARGO_BUILD = No
> +MODCARGO_INSTALL = No
> +MODCARGO_TEST = No
> +
> +MODCARGO_CRATES += aho-corasick 0.6.9 # Unlicense/MIT
> +MODCARGO_CRATES += argon2rs 0.2.5 # MIT
> +MODCARGO_CRATES += arrayvec 0.4.9 # MIT/Apache-2.0
> +MODCARGO_CRATES += autocfg 0.1.1 # Apache-2.0/MIT
> +MODCARGO_CRATES += backtrace 0.3.13 # MIT/Apache-2.0
> +MODCARGO_CRATES += backtrace-sys 0.1.26 # MIT/Apache-2.0
> +MODCARGO_CRATES += bitflags 1.0.4 # MIT/Apache-2.0
> +MODCARGO_CRATES += blake2-rfc 0.2.18 # MIT OR Apache-2.0
> +MODCARGO_CRATES += cc 1.0.26 # MIT/Apache-2.0
> +MODCARGO_CRATES += cfg-if 0.1.6 # MIT/Apache-2.0
> +MODCARGO_CRATES += chrono 0.4.6 # MIT/Apache-2.0
> +MODCARGO_CRATES += cloudabi 0.0.3 # BSD-2-Clause
> +MODCARGO_CRATES += constant_time_eq 0.1.3 # CC0-1.0
> +MODCARGO_CRATES += dirs 1.0.4 # MIT OR Apache-2.0
> +MODCARGO_CRATES += failure 0.1.3 # MIT OR Apache-2.0
> +MODCARGO_CRATES += failure_derive 0.1.3 # MIT OR Apache-2.0
> +MODCARGO_CRATES += fuchsia-zircon 0.3.3 # BSD-3-Clause
> +MODCARGO_CRATES += fuchsia-zircon-sys 0.3.3 # BSD-3-Clause
> +MODCARGO_CRATES += idna 0.1.5 # MIT/Apache-2.0
> +MODCARGO_CRATES += lazy_static 1.2.0 # MIT/Apache-2.0
> +MODCARGO_CRATES += libc 0.2.45 # MIT OR Apache-2.0
> +MODCARGO_CRATES += lock_api 0.1.5 # Apache-2.0/MIT
> +MODCARGO_CRATES += matches 0.1.8 # MIT
> +MODCARGO_CRATES += memchr 2.1.2 # Unlicense/MIT
> +MODCARGO_CRATES += nodrop 0.1.13 # MIT/Apache-2.0
> +MODCARGO_CRATES += num-integer 0.1.39 # MIT/Apache-2.0
> +MODCARGO_CRATES += num-traits 0.2.6 # MIT/Apache-2.0
> +MODCARGO_CRATES += once_cell 0.1.6 # MIT OR Apache-2.0
> +MODCARGO_CRATES += parking_lot 0.6.4 # Apache-2.0/MIT
> +MODCARGO_CRATES += parking_lot_core 0.3.1 # Apache-2.0/MIT
> +MODCARGO_CRATES += percent-encoding 1.0.1 # MIT/Apache-2.0
> +MODCARGO_CRATES += proc-macro2 0.4.24 # MIT/Apache-2.0
> +MODCARGO_CRATES += quote 0.6.10 # MIT/Apache-2.0
> +MODCARGO_CRATES += rand 0.4.3 # MIT/Apache-2.0
> +MODCARGO_CRATES += rand 0.5.5 # MIT/Apache-2.0
> +MODCARGO_CRATES += rand 0.6.1 # MIT/Apache-2.0
> +MODCARGO_CRATES += rand_chacha 0.1.0 # MIT/Apache-2.0
> +MODCARGO_CRATES += rand_core 0.2.2 # MIT/Apache-2.0
> +MODCARGO_CRATES += rand_core 0.3.0 # MIT/Apache-2.0
> +MODCARGO_CRATES += rand_hc 0.1.0 # MIT/Apache-2.0
> +MODCARGO_CRATES += rand_isaac 0.1.1 # MIT/Apache-2.0
> +MODCARGO_CRATES += rand_pcg 0.1.1 # MIT/Apache-2.0
> +MODCARGO_CRATES += rand_xorshift 0.1.0 # MIT/Apache-2.0
> +MODCARGO_CRATES += redox_syscall 0.1.44 # MIT
> +MODCARGO_CRATES += redox_users 0.2.0 # MIT
> +MODCARGO_CRATES += regex 1.1.0 # MIT/Apache-2.0
> +MODCARGO_CRATES += regex-syntax 0.6.4 # MIT/Apache-2.0
> +MODCARGO_CRATES += remove_dir_all 0.5.1 # MIT/Apache-2.0
> +MODCARGO_CRATES += rustc-demangle 0.1.11 # MIT/Apache-2.0
> +MODCARGO_CRATES += rustc_version 0.2.3 # MIT/Apache-2.0
> +MODCARGO_CRATES += scoped_threadpool 0.1.9 # MIT
> +MODCARGO_CRATES += scopeguard 0.3.3 # MIT/Apache-2.0
> +MODCARGO_CRATES += semver 0.9.0 # MIT/Apache-2.0
> +MODCARGO_CRATES += semver-parser 0.7.0 # MIT/Apache-2.0
> +MODCARGO_CRATES += smallvec 0.6.7 # MIT/Apache-2.0
> +MODCARGO_CRATES += syn 0.15.23 # MIT/Apache-2.0
> +MODCARGO_CRATES += synstructure 0.10.1 # MIT
> +MODCARGO_CRATES += tempfile 3.0.5 # MIT/Apache-2.0
> +MODCARGO_CRATES += thread_local 0.3.6 # Apache-2.0/MIT
> +MODCARGO_CRATES += time 0.1.41 # MIT/Apache-2.0
> +MODCARGO_CRATES += ucd-util 0.1.3 # MIT/Apache-2.0
> +MODCARGO_CRATES += unicode-bidi 0.3.4 # MIT / Apache-2.0
> +MODCARGO_CRATES += unicode-normalization 0.1.7 # MIT/Apache-2.0
> +MODCARGO_CRATES += unicode-xid 0.1.0 # MIT/Apache-2.0
> +MODCARGO_CRATES += unreachable 1.0.0 # MIT / Apache-2.0
> +MODCARGO_CRATES += url 1.7.2 # MIT/Apache-2.0
> +MODCARGO_CRATES += utf8-ranges 1.0.2 # Unlicense/MIT
> +MODCARGO_CRATES += version_check 0.1.5 # MIT/Apache-2.0
> +MODCARGO_CRATES += void 1.0.2 # MIT
> +MODCARGO_CRATES += winapi 0.3.6 # MIT/Apache-2.0
> +MODCARGO_CRATES += winapi-i686-pc-windows-gnu 0.4.0 # MIT/Apache-2.0
> +MODCARGO_CRATES += winapi-x86_64-pc-windows-gnu 0.4.0 # MIT/Apache-2.0
> +
>  BUILD_DEPENDS = devel/gettext-tools \
>   textproc/asciidoc
>  
> @@ -40,7 +120,7 @@ USE_GMAKE = Yes
>  
>  ALL_TARGET = all doc
>  
> -CONFIGURE_STYLE = simple
> +CONFIGURE_STYLE = cargo simple
>  CONFIGURE_SCRIPT = config.sh
>  
>  pre-configure:
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/www/newsboat/distinfo,v
> retrieving revision 1.5
> diff -u -p -r1.5 distinfo
> --- distinfo 27 Sep 2018 09:15:27 -0000 1.5
> +++ distinfo 18 Jan 2019 11:57:46 -0000
> @@ -1,2 +1,146 @@
> -SHA256 (newsboat-2.13.tar.xz) = xzYTtPCMh1uuLE54KOZykedZnpyr7VKAifg3j1ILM14=
> -SIZE (newsboat-2.13.tar.xz) = 460076
> +SHA256 (cargo/aho-corasick-0.6.9.tar.gz) = HpqTP05YZY17Et78+W3FxyDyCDLe6+PgoZ79O2qu654=
> +SHA256 (cargo/argon2rs-0.2.5.tar.gz) = P2ewtqhtrm5n/0yitiATlgdJljefuiuS/2SRJvN8s5I=
> +SHA256 (cargo/arrayvec-0.4.9.tar.gz) = 0YUTl3wtgmHESFEcXFPcZrJt/MvD1ERmct6h5xp9iiY=
> +SHA256 (cargo/autocfg-0.1.1.tar.gz) = Tl8033oBlXP7i9x+JKK/6+UaKh1r/brszts8QfxXRyc=
> +SHA256 (cargo/backtrace-0.3.13.tar.gz) = tbSTtm4DCQ68Q0PrAvlP+UTgy8msZXFJHRcLoCZ0HrU=
> +SHA256 (cargo/backtrace-sys-0.1.26.tar.gz) = P8zonlrVyJScqpQ0UB97VUFbPnrVJwy4jHWo016PEnk=
> +SHA256 (cargo/bitflags-1.0.4.tar.gz) = IoBHp29GhifKcXduzevXMqNCMIH89RJVhbzXxJiGzhI=
> +SHA256 (cargo/blake2-rfc-0.2.18.tar.gz) = XW1TC90tUpZqbQO3qWSt164aKI0lIUBm/UtgDw95ZAA=
> +SHA256 (cargo/cc-1.0.26.tar.gz) = OJgD42lz0kLn/ssJKy3kSj01rGJSSzuTOeUdV31mjgI=
> +SHA256 (cargo/cfg-if-0.1.6.tar.gz) = CCu5so4A08nTnMA+ZM5M6g8bubP95JPwy8AIRy0ivfQ=
> +SHA256 (cargo/chrono-0.4.6.tar.gz) = RZEogRIcsm+tfDjBe6faoYdkdxg2s0+rfT+9k+1jOHg=
> +SHA256 (cargo/cloudabi-0.0.3.tar.gz) = 3fxbmqXUUHrK+HLecQUd/Q4wmGDoiWbhBR5GKgd6rE8=
> +SHA256 (cargo/constant_time_eq-0.1.3.tar.gz) = j/AS4iXOFm1EIuDnhBnZAXGXYPYq4reWnKa1ZNG1Sp4=
> +SHA256 (cargo/dirs-1.0.4.tar.gz) = iJct6JH2EYCStkPYWgso4GeOD5SNf4eaoy8tWq/pfSo=
> +SHA256 (cargo/failure-0.1.3.tar.gz) = bdN3vMGxt86RGWfj7CT6GcMiQ5TsBbVKp7CD1Jg0Gsc=
> +SHA256 (cargo/failure_derive-0.1.3.tar.gz) = ZMLZE/6O07bGUY7t9FOCVbmJlFwUwqfVy/9ipeISBZY=
> +SHA256 (cargo/fuchsia-zircon-0.3.3.tar.gz) = Lpdjxp66rmMLo190iI20ZeSeJZuhvA7afQb0oGdhXYI=
> +SHA256 (cargo/fuchsia-zircon-sys-0.3.3.tar.gz) = Pcqprncl0SzbhbOtmaQ023C0aMCd7RfgEthrXBAQ96c=
> +SHA256 (cargo/idna-0.1.5.tar.gz) = OPCeDwsftV/e4fF0cK2ADad69RhqGnbAJrZ5NYt+hE4=
> +SHA256 (cargo/lazy_static-1.2.0.tar.gz) = o3TIm521WJVFOnTB44hh2d7sCwG0BaglFunV3kgg3qE=
> +SHA256 (cargo/libc-0.2.45.tar.gz) = LShX7Fn63AdzhTxmTS0Y5xmOg4g+cGC2PJJMsHe9XHQ=
> +SHA256 (cargo/lock_api-0.1.5.tar.gz) = YuvxOR9qytYOXItDcG3eRYLfdcBmmKtEUR0VAWvCRCw=
> +SHA256 (cargo/matches-0.1.8.tar.gz) = f/xcUzhGnU0+oX0mn6jqNRKtJHJHwwvS32nmgwntCgg=
> +SHA256 (cargo/memchr-2.1.2.tar.gz) = 20xBMYk39udmSPQoJrHZreXAnK+1rvfjUSQKcPOSBuk=
> +SHA256 (cargo/nodrop-0.1.13.tar.gz) = L5Zn3cxsyKQ6/Jt5F1mdchaqCcRjkZ6jLFntbKyLyUU=
> +SHA256 (cargo/num-integer-0.1.39.tar.gz) = 6D1SjSZ38FGMVwuvK3q9zwzS0kiGC2hQe9yz6R1MDOo=
> +SHA256 (cargo/num-traits-0.2.6.tar.gz) = CzpdfMl9bTDYubyPoZv0U0n/5GJB6IFvUPYvbWqqvuE=
> +SHA256 (cargo/once_cell-0.1.6.tar.gz) = 1841NdVFYMk3wWUrpKDaZr/GPg+OB77RJ0g6+25e6SU=
> +SHA256 (cargo/parking_lot-0.6.4.tar.gz) = 8IAr/wkAOykbp1bcfnkxPlHMMWZ+lK++hH3vSQQkzeU=
> +SHA256 (cargo/parking_lot_core-0.3.1.tar.gz) = rX9+br3Hnt/2/cuHpVtiAXT3qYnj6zG2UjH0r1fwC4w=
> +SHA256 (cargo/percent-encoding-1.0.1.tar.gz) = MQEN0uGsM9W0altBNJUjmIKBPgNp+O2KXiZvFzYC+DE=
> +SHA256 (cargo/proc-macro2-0.4.24.tar.gz) = d2GWl4JvMaAq6XRFevCym3I+VhnhE+k5e4uCxr0lPwk=
> +SHA256 (cargo/quote-0.6.10.tar.gz) = U/oioZlL0Pk3LXqBYgfYomd60DJbBz9cUzJ2Dw+2K1w=
> +SHA256 (cargo/rand-0.4.3.tar.gz) = g1b0ezJiT+9bMwHBvpfllE7N1ZVAnMXaEdBfIR22z70=
> +SHA256 (cargo/rand-0.5.5.tar.gz) = 5GTNiH6GnN3K6HkqTuMdI8ft1RZwBpVgj1uYxn7gExw=
> +SHA256 (cargo/rand-0.6.1.tar.gz) = rp0iPVKuQRozz35U7GA07BZd8pbM0jUz1nGiglK29mo=
> +SHA256 (cargo/rand_chacha-0.1.0.tar.gz) = dxsAnjpQjLZ+iCPdpFSqpTaMe8HBaCn7d9PpgEQN00o=
> +SHA256 (cargo/rand_core-0.2.2.tar.gz) = GWGkIsTRid+1D/qTIL8fKpvVTsuSeS+5R3+ZoQRfM3I=
> +SHA256 (cargo/rand_core-0.3.0.tar.gz) = CQW2tweexzsxTUx0hwH2kx63n9l8ZoyqPxiZsisyxts=
> +SHA256 (cargo/rand_hc-0.1.0.tar.gz) = e0BnfHvgmudiGNxiPvv3sY40vO0/OIg68Hu3VjCiG8Q=
> +SHA256 (cargo/rand_isaac-0.1.1.tar.gz) = 3tmXydXxOSW+Km/X5mvxhyWX91n9ndk1E91+kuWl7gg=
> +SHA256 (cargo/rand_pcg-0.1.1.tar.gz) = CGvQmjPHBE5Wu0TVvd5aYOfxGanpWwd19UXedZoy/gU=
> +SHA256 (cargo/rand_xorshift-0.1.0.tar.gz) = 7/o/yqR+GNsAK93mBglEttL5z9jbRxww6HNEitkYe+M=
> +SHA256 (cargo/redox_syscall-0.1.44.tar.gz) = qEvNKXuHpUWYCi0loL63Kh9JDDHwqf3lL8o1v7sc63A=
> +SHA256 (cargo/redox_users-0.2.0.tar.gz) = IUqX5JvmT9LIb1aN0MssdX0sxT3pWyc7atChyQhILyY=
> +SHA256 (cargo/regex-1.1.0.tar.gz) = N+fLvTcIac4ujf8lxwGHAtELIaIO9xNTFvja7NbCW38=
> +SHA256 (cargo/regex-syntax-0.6.4.tar.gz) = Tkei7Snaep4ZYOFjnnqYLm7cbUm+MIo7Atr1EVBKFtE=
> +SHA256 (cargo/remove_dir_all-0.5.1.tar.gz) = NIi6G5oghNOGRcTAgnahdS3L8scTDXTxVpaBrV0nmcU=
> +SHA256 (cargo/rustc-demangle-0.1.11.tar.gz) = AbkDebhmTdg0YNWb3F3R/TFyuJE3iNtIPtEyUXHqsvc=
> +SHA256 (cargo/rustc_version-0.2.3.tar.gz) = E44+Cstsn7JYsZtny4q9Y8AGedKFGAXqFRRlRk/pAwo=
> +SHA256 (cargo/scoped_threadpool-0.1.9.tar.gz) = HVH131r0OrPxNgtCn6XgFSrFzowL1khcrkkDMuloRqg=
> +SHA256 (cargo/scopeguard-0.3.3.tar.gz) = lCWPU2Aa8R5qSfciQi9uNCXFKwYkWlz5vAmQixdPXic=
> +SHA256 (cargo/semver-0.9.0.tar.gz) = HX657ywYZhkCzEflNfm8UbeKzSVNpx03XC9nINmkBAM=
> +SHA256 (cargo/semver-parser-0.7.0.tar.gz) = OIod8lPsoIVQvvbHI5LP58MJFL9B31Jptoy9b/j1cKM=
> +SHA256 (cargo/smallvec-0.6.7.tar.gz) = tz6jc4tHVjgD74FJJeab4AeZqMB0IL6LmW+OmPsjNts=
> +SHA256 (cargo/syn-0.15.23.tar.gz) = lUWmoJOj8L1ZrbRycArMCMrTd2+GDxaol9/OjIhyHLw=
> +SHA256 (cargo/synstructure-0.10.1.tar.gz) = c2hxOb+ZKFSDyWrArdSCw3dlKL6sHZfURPbpHyA6IBU=
> +SHA256 (cargo/tempfile-3.0.5.tar.gz) = fpFAXBQyDlx5s9FI4chvQHSaNuSQZCICoxaJyxo0UrI=
> +SHA256 (cargo/thread_local-0.3.6.tar.gz) = xrU+MpAA7cKzTb6FRf0g5VozM2LQoyGQloWhm9KMPxs=
> +SHA256 (cargo/time-0.1.41.tar.gz) = hH2kZ78NsFiCqeI3WTSopVz/3J2w0SivFRggAmC6H2w=
> +SHA256 (cargo/ucd-util-0.1.3.tar.gz) = U1wgTuTYQ0R4WTSAuPhqtF7JquDoPFaMqBq/D9Doj4Y=
> +SHA256 (cargo/unicode-bidi-0.3.4.tar.gz) = SfK9DGRoqCMOHbIpz/gCkhfPYjx2fqXWC/vUJynqVNU=
> +SHA256 (cargo/unicode-normalization-0.1.7.tar.gz) = agGAvGH8Wphwgr+hEfTMlcTK/3+XmfPkbfCRY6k3qiU=
> +SHA256 (cargo/unicode-xid-0.1.0.tar.gz) = /HIwR5bQgY41fq1OAA0ZycF0qyPcEQk6yRkFTSCmp/w=
> +SHA256 (cargo/unreachable-1.0.0.tar.gz) = OCgQh3/kSJkd/H8N1uOuXVgIj9DqXjUYllX4TmgU+lY=
> +SHA256 (cargo/url-1.7.2.tar.gz) = 3U58DVMSZjaVGaSqTzmddIvTcEOwC94eT/H2ChILNVo=
> +SHA256 (cargo/utf8-ranges-1.0.2.tar.gz) = eW9+SL74dgn3refgZJWofVzQbHhm5qXL/O/8VYokNzc=
> +SHA256 (cargo/version_check-0.1.5.tar.gz) = kUsaZ3bEySmmAvr9i8dC4GNl1Ly+SMMPnMpYJPcNyd0=
> +SHA256 (cargo/void-1.0.2.tar.gz) = agLkiF7TvA8t6Q6m3UXry7ZtrP/gNUf627DuridwiH0=
> +SHA256 (cargo/winapi-0.3.6.tar.gz) = ksHrM2QeJ2z6IUoFIqytV75cVrEMs0izxRF9t186xLA=
> +SHA256 (cargo/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = rDuHxjYgQm3ZuZHlzgMp7/VFvMu7NPO+Cf9vtqtRt7Y=
> +SHA256 (cargo/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = cS4ieEHQV8HuHNL7Ivp+WlRhro5I+iynnsQs/BkxGD8=
> +SHA256 (newsboat-2.14.tar.xz) = Z7y6rD6+1c6geu5QKAM2SgHntFoCLIhpMswY1bnlbY0=
> +SIZE (cargo/aho-corasick-0.6.9.tar.gz) = 25979
> +SIZE (cargo/argon2rs-0.2.5.tar.gz) = 353096
> +SIZE (cargo/arrayvec-0.4.9.tar.gz) = 26103
> +SIZE (cargo/autocfg-0.1.1.tar.gz) = 10044
> +SIZE (cargo/backtrace-0.3.13.tar.gz) = 34101
> +SIZE (cargo/backtrace-sys-0.1.26.tar.gz) = 522529
> +SIZE (cargo/bitflags-1.0.4.tar.gz) = 15282
> +SIZE (cargo/blake2-rfc-0.2.18.tar.gz) = 15676
> +SIZE (cargo/cc-1.0.26.tar.gz) = 42350
> +SIZE (cargo/cfg-if-0.1.6.tar.gz) = 7411
> +SIZE (cargo/chrono-0.4.6.tar.gz) = 133108
> +SIZE (cargo/cloudabi-0.0.3.tar.gz) = 22156
> +SIZE (cargo/constant_time_eq-0.1.3.tar.gz) = 1279
> +SIZE (cargo/dirs-1.0.4.tar.gz) = 12844
> +SIZE (cargo/failure-0.1.3.tar.gz) = 34107
> +SIZE (cargo/failure_derive-0.1.3.tar.gz) = 4349
> +SIZE (cargo/fuchsia-zircon-0.3.3.tar.gz) = 22565
> +SIZE (cargo/fuchsia-zircon-sys-0.3.3.tar.gz) = 7191
> +SIZE (cargo/idna-0.1.5.tar.gz) = 258735
> +SIZE (cargo/lazy_static-1.2.0.tar.gz) = 10840
> +SIZE (cargo/libc-0.2.45.tar.gz) = 349425
> +SIZE (cargo/lock_api-0.1.5.tar.gz) = 16967
> +SIZE (cargo/matches-0.1.8.tar.gz) = 2216
> +SIZE (cargo/memchr-2.1.2.tar.gz) = 19520
> +SIZE (cargo/nodrop-0.1.13.tar.gz) = 7508
> +SIZE (cargo/num-integer-0.1.39.tar.gz) = 17881
> +SIZE (cargo/num-traits-0.2.6.tar.gz) = 39923
> +SIZE (cargo/once_cell-0.1.6.tar.gz) = 12432
> +SIZE (cargo/parking_lot-0.6.4.tar.gz) = 31890
> +SIZE (cargo/parking_lot_core-0.3.1.tar.gz) = 26635
> +SIZE (cargo/percent-encoding-1.0.1.tar.gz) = 10057
> +SIZE (cargo/proc-macro2-0.4.24.tar.gz) = 30970
> +SIZE (cargo/quote-0.6.10.tar.gz) = 15795
> +SIZE (cargo/rand-0.4.3.tar.gz) = 76094
> +SIZE (cargo/rand-0.5.5.tar.gz) = 137359
> +SIZE (cargo/rand-0.6.1.tar.gz) = 126613
> +SIZE (cargo/rand_chacha-0.1.0.tar.gz) = 11637
> +SIZE (cargo/rand_core-0.2.2.tar.gz) = 15450
> +SIZE (cargo/rand_core-0.3.0.tar.gz) = 20581
> +SIZE (cargo/rand_hc-0.1.0.tar.gz) = 11644
> +SIZE (cargo/rand_isaac-0.1.1.tar.gz) = 16020
> +SIZE (cargo/rand_pcg-0.1.1.tar.gz) = 10881
> +SIZE (cargo/rand_xorshift-0.1.0.tar.gz) = 9194
> +SIZE (cargo/redox_syscall-0.1.44.tar.gz) = 15254
> +SIZE (cargo/redox_users-0.2.0.tar.gz) = 11104
> +SIZE (cargo/regex-1.1.0.tar.gz) = 241219
> +SIZE (cargo/regex-syntax-0.6.4.tar.gz) = 272048
> +SIZE (cargo/remove_dir_all-0.5.1.tar.gz) = 8726
> +SIZE (cargo/rustc-demangle-0.1.11.tar.gz) = 11579
> +SIZE (cargo/rustc_version-0.2.3.tar.gz) = 10210
> +SIZE (cargo/scoped_threadpool-0.1.9.tar.gz) = 7800
> +SIZE (cargo/scopeguard-0.3.3.tar.gz) = 9605
> +SIZE (cargo/semver-0.9.0.tar.gz) = 17344
> +SIZE (cargo/semver-parser-0.7.0.tar.gz) = 10268
> +SIZE (cargo/smallvec-0.6.7.tar.gz) = 21450
> +SIZE (cargo/syn-0.15.23.tar.gz) = 145369
> +SIZE (cargo/synstructure-0.10.1.tar.gz) = 17836
> +SIZE (cargo/tempfile-3.0.5.tar.gz) = 23272
> +SIZE (cargo/thread_local-0.3.6.tar.gz) = 12388
> +SIZE (cargo/time-0.1.41.tar.gz) = 29991
> +SIZE (cargo/ucd-util-0.1.3.tar.gz) = 25897
> +SIZE (cargo/unicode-bidi-0.3.4.tar.gz) = 32228
> +SIZE (cargo/unicode-normalization-0.1.7.tar.gz) = 330545
> +SIZE (cargo/unicode-xid-0.1.0.tar.gz) = 16000
> +SIZE (cargo/unreachable-1.0.0.tar.gz) = 6355
> +SIZE (cargo/url-1.7.2.tar.gz) = 68597
> +SIZE (cargo/utf8-ranges-1.0.2.tar.gz) = 8510
> +SIZE (cargo/version_check-0.1.5.tar.gz) = 8173
> +SIZE (cargo/void-1.0.2.tar.gz) = 2356
> +SIZE (cargo/winapi-0.3.6.tar.gz) = 1029391
> +SIZE (cargo/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = 2918815
> +SIZE (cargo/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 2947998
> +SIZE (newsboat-2.14.tar.xz) = 496256
> Index: patches/patch-Makefile
> ===================================================================
> RCS file: /cvs/ports/www/newsboat/patches/patch-Makefile,v
> retrieving revision 1.1
> diff -u -p -r1.1 patch-Makefile
> --- patches/patch-Makefile 29 Apr 2018 12:56:15 -0000 1.1
> +++ patches/patch-Makefile 18 Jan 2019 11:57:46 -0000
> @@ -21,7 +21,13 @@ Index: Makefile
>  
>   RSSPPLIB_SOURCES=$(sort $(wildcard rss/*.cpp))
>   RSSPPLIB_OBJS=$(patsubst rss/%.cpp,rss/%.o,$(RSSPPLIB_SOURCES))
> -@@ -57,7 +57,7 @@ RSSPPLIB_OUTPUT=librsspp.a
> +@@ -62,12 +62,12 @@ NEWSBOATLIB_OUTPUT=target/release/libnewsboat.a
> + LDFLAGS+=-L.//target/release
> + CARGO_FLAGS+=--release
> + endif
> +-LDFLAGS+=-lnewsboat -lpthread -ldl
> ++LDFLAGS+=-lnewsboat -lpthread
> +
>   PODBOAT=podboat
>   PODBOAT_SOURCES:=$(shell cat mk/podboat.deps)
>   PODBOAT_OBJS:=$(patsubst %.cpp,%.o,$(PODBOAT_SOURCES))
>

Reply | Threaded
Open this post in threaded view
|

Re: [UPDATE] www/newsboat to 2.14

Stuart Henderson
On 2019/02/08 22:27, Remi Locherer wrote:

> Hi Frederic
>
> On Thu, Feb 07, 2019 at 11:47:09AM +0100, Frederic Cambus wrote:
> > Hi ports@,
> >
> > Here is a diff to update newsboat to 2.14, which now depends on Rust
> > and Cargo. All the work was done by semarie@.
> >
> > I've been running newsboat for three weeks with this diff and haven't
> > noticed any regressions, but more testing would definitely be welcome.
> >
> > Comments? OK?
>
> It builds and runs fine on my amd64 box.
>
> It's the first time I'm looking into a port that uses rust. Did you
> create the list of crates automatically?

Yes, from the list from upstream via rust.port.mk, see port-modules(5).

>                                          I wonder because I see the
> winapi and fuchsia-zircon crates in the list.

You're supposed to close your eyes for that bit so you don't drip
tears onto your keyboard ;)

Reply | Threaded
Open this post in threaded view
|

Re: [UPDATE] www/newsboat to 2.14

Remi Locherer
On Fri, Feb 08, 2019 at 09:54:02PM +0000, Stuart Henderson wrote:

> On 2019/02/08 22:27, Remi Locherer wrote:
> > Hi Frederic
> >
> > On Thu, Feb 07, 2019 at 11:47:09AM +0100, Frederic Cambus wrote:
> > > Hi ports@,
> > >
> > > Here is a diff to update newsboat to 2.14, which now depends on Rust
> > > and Cargo. All the work was done by semarie@.
> > >
> > > I've been running newsboat for three weeks with this diff and haven't
> > > noticed any regressions, but more testing would definitely be welcome.
> > >
> > > Comments? OK?
> >
> > It builds and runs fine on my amd64 box.
> >
> > It's the first time I'm looking into a port that uses rust. Did you
> > create the list of crates automatically?
>
> Yes, from the list from upstream via rust.port.mk, see port-modules(5).

That is nice!

>
> >                                          I wonder because I see the
> > winapi and fuchsia-zircon crates in the list.
>
> You're supposed to close your eyes for that bit so you don't drip
> tears onto your keyboard ;)
>

I see. ;-)

OK remi@ for updating newsboat to 2.14.