editors/tp-note: fix build

Upstream update of the release notes generated a new hash that was commited
into the release tag causing a checksum missmatch at our end.

Regression fix of the viewer feature (under Window only)

This commit fixes some bugs introduced since v1.19.1. These regressions
only appear when compiling for Windows:

* Fix 70b615f: "Bug fix: path method not appropriate for URLs"
  (bug introduced in commit 97d2be7)
* Erroneous path handling when compiling for Windows:
  - The `.is_absolute()` path method acts differently under Windows.
    Fix in: c648342
  - Under Windows the `std::path::Component`s `Prefix()` and `RoodDir`
    need special care. Fixes in: 632e31a and 3ea8de2
  - Rust's Windows Paths optionally have `\` as path separator:
    Fix in: 0b61979

As mentioned above, these fixes only concern the proper function of
the viewer when compiled for Windows. None of the bugs have security
implications.  Nevertheless, I decided to yank the whole v1.19 series
because for a good user experience the viewer is expected to work.
This commit is contained in:
pin 2023-02-03 21:31:33 +00:00
parent 29bac9cf00
commit ce4631bce0
2 changed files with 7 additions and 7 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.29 2023/01/29 21:15:57 ryoon Exp $
# $NetBSD: Makefile,v 1.30 2023/02/03 21:31:33 pin Exp $
DISTNAME= tp-note-1.20.1
PKGREVISION= 1
PKGREVISION= 2
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GITLAB:=getreu/}
GITLAB_RELEASE= v${PKGVERSION_NOREV}
@ -15,7 +15,7 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
.include "cargo-depends.mk"
WRKSRC= ${WRKDIR}/tp-note-v1.20.1-89c72c047310b9442c77513fa1d36304cf98a17c
WRKSRC= ${WRKDIR}/tp-note-v1.20.1-971caaf9dc35bc641a14741951c72a9b7a44d42a
USE_TOOLS+= pkg-config

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.23 2023/01/29 20:03:32 pin Exp $
$NetBSD: distinfo,v 1.24 2023/02/03 21:31:33 pin Exp $
BLAKE2s (addr2line-0.19.0.crate) = c0485ba9fdf036b53d78b606222e7ce9d647d27f582d7df92948b8dbd686a8bb
SHA512 (addr2line-0.19.0.crate) = 18da72e412bb89028e2ccb838192330535e45300f6fd8edc7d1d64397792a3db12418aa24a3312730c5414e2a1b1d65e6b9d5691ba234c9142b5d885523a5e94
@ -810,9 +810,9 @@ Size (toml_datetime-0.5.1.crate) = 10593 bytes
BLAKE2s (toml_edit-0.18.1.crate) = f3e5409086c7917fd96b14a0e3b5fade0db6335d85dd8365552794e6997fdbef
SHA512 (toml_edit-0.18.1.crate) = 0a6d5bba0679c302e101e2dc88361b21f89de9e73e18356e0abc30ad7728bf7815ad61d36de1db932850d4211d8b2db83f2e4ee292f19c84d38353c368f34f8c
Size (toml_edit-0.18.1.crate) = 102542 bytes
BLAKE2s (tp-note-1.20.1.tar.gz) = d1851e49102cd56220a1d1ad92b06ec69ef7262bd79d4487b988116a88375ff0
SHA512 (tp-note-1.20.1.tar.gz) = e4fc6ed7739d05be1c169b34c5cabab572e98d9d12529d06e749d15ab76088d7895398fda5f433bde4851c537854ef8bf80015289ca54d1459119f36e46b9d4d
Size (tp-note-1.20.1.tar.gz) = 2205935 bytes
BLAKE2s (tp-note-1.20.1.tar.gz) = c421b4701a2be542993ed33e804469eb7ec3ebf0038ecfcd52b15932099c6a6e
SHA512 (tp-note-1.20.1.tar.gz) = b1e95b8ac7b1fdeb2eb7d12490967637725d44e0cd00542ef41413b9acd9f566f8f602e2bf8d148074d18faf8424cde44bc85af0fb5a6d82689d759609c0d1bb
Size (tp-note-1.20.1.tar.gz) = 2205953 bytes
BLAKE2s (tpnote-lib-0.16.1.crate) = a897d83d0f475c6a21c38f3d2b94be5473f6af340ae66ac54569ddfc0e3e297e
SHA512 (tpnote-lib-0.16.1.crate) = 408471851b7a90684810b5f720d10736720824a92c08d71895a3ac9647f51a86f504745ff8bab2ded0fe16807347c0aeb538464a002883d9794980d5d0a141db
Size (tpnote-lib-0.16.1.crate) = 49279 bytes