pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/hs-doclayout



Module Name:    pkgsrc
Committed By:   pho
Date:           Wed Jan 25 15:24:23 UTC 2023

Modified Files:
        pkgsrc/textproc/hs-doclayout: Makefile PLIST buildlink3.mk distinfo

Log Message:
textproc/hs-doclayout: Update to 0.4

0.4
* Expose unfoldD [API change].
* Remove realLengthNoShortcut, isEmojiModifier, and isEmojiJoiner [API
  change] (Stephen Morgan).
* Add new exported functions realLengthNarrowContext,
  realLengthWideContext, realLengthNarrowContextNoShortcut,
  realLengthWideContextNoShortcut, isSkinToneModifier, isZWJ [API change]
  (Stephen Morgan).
* Compute realLength strictly.
* Make getOffset stricter.
* Drop support for ghc <= 8.4, add test for ghc 9.2.
* Don't collapse the CarriageReturn + Newline combination (#20). We want to
  ensure that a literal starting with a Newline doesn't lose the newline if
  it occurs after a CarriageReturn. This affects code blocks in pandoc that
  begin with newlines.
* Improve performance of NoShortcut code (Stephen Morgan).
* Simplify emoji processing (Stephen Morgan).
* Add benchmarking for code with no shortcuts (Stephen Morgan).
* Add unicodeWidth.inc to cabal file.
* Fix offset, minOffset, updateColumn so they don't re-render.
* Get unicode block widths directly from the Unicode specification, rather
  than writing it out ourselves (Stephen Morgan).
* Resolve the width of ambiguous characters based on their context (Stephen
  Morgan).
* Spacing marks should have nonzero width, even though they are combining
  characters (Stephen Morgan).
* Add shortcuts for extended Latin, Arabic, Cyrillic, Greek, Devangari,
  Bengali, Korean, Telugu, and Tamil (Stephen Morgan).
* Fix location of extra-source-files in cabal.
* update.hs: require text package
* Handle emoji variation modifiers specially, so the keypad emoji can be
  ignored (Stephen Morgan). This results in a 16% speedup of realLength on
  ascii text.
* Add benchmarks for all scripts used by more than 50 million people, plus
  a couple more. (#9, Stephen Morgan).


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/textproc/hs-doclayout/Makefile \
    pkgsrc/textproc/hs-doclayout/buildlink3.mk
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/hs-doclayout/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/hs-doclayout/distinfo

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

Modified files:

Index: pkgsrc/textproc/hs-doclayout/Makefile
diff -u pkgsrc/textproc/hs-doclayout/Makefile:1.7 pkgsrc/textproc/hs-doclayout/Makefile:1.8
--- pkgsrc/textproc/hs-doclayout/Makefile:1.7   Sat Feb 26 03:58:27 2022
+++ pkgsrc/textproc/hs-doclayout/Makefile       Wed Jan 25 15:24:23 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2022/02/26 03:58:27 pho Exp $
+# $NetBSD: Makefile,v 1.8 2023/01/25 15:24:23 pho Exp $
 
-DISTNAME=      doclayout-0.3.1.1
-PKGREVISION=   2
+DISTNAME=      doclayout-0.4
 CATEGORIES=    textproc
 
 MAINTAINER=    pho%cielonegro.org@localhost
Index: pkgsrc/textproc/hs-doclayout/buildlink3.mk
diff -u pkgsrc/textproc/hs-doclayout/buildlink3.mk:1.7 pkgsrc/textproc/hs-doclayout/buildlink3.mk:1.8
--- pkgsrc/textproc/hs-doclayout/buildlink3.mk:1.7      Sat Feb 26 03:58:27 2022
+++ pkgsrc/textproc/hs-doclayout/buildlink3.mk  Wed Jan 25 15:24:23 2023
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.7 2022/02/26 03:58:27 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2023/01/25 15:24:23 pho Exp $
 
 BUILDLINK_TREE+=       hs-doclayout
 
 .if !defined(HS_DOCLAYOUT_BUILDLINK3_MK)
 HS_DOCLAYOUT_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.hs-doclayout+=   hs-doclayout>=0.3.1
-BUILDLINK_ABI_DEPENDS.hs-doclayout+=   hs-doclayout>=0.3.1.1nb2
+BUILDLINK_API_DEPENDS.hs-doclayout+=   hs-doclayout>=0.4
+BUILDLINK_ABI_DEPENDS.hs-doclayout+=   hs-doclayout>=0.4
 BUILDLINK_PKGSRCDIR.hs-doclayout?=     ../../textproc/hs-doclayout
 
 .include "../../converters/hs-emojis/buildlink3.mk"

Index: pkgsrc/textproc/hs-doclayout/PLIST
diff -u pkgsrc/textproc/hs-doclayout/PLIST:1.2 pkgsrc/textproc/hs-doclayout/PLIST:1.3
--- pkgsrc/textproc/hs-doclayout/PLIST:1.2      Sat Apr 24 15:21:03 2021
+++ pkgsrc/textproc/hs-doclayout/PLIST  Wed Jan 25 15:24:23 2023
@@ -1,21 +1,21 @@
-@comment $NetBSD: PLIST,v 1.2 2021/04/24 15:21:03 pho Exp $
+@comment $NetBSD: PLIST,v 1.3 2023/01/25 15:24:23 pho Exp $
 lib/doclayout-${PKGVERSION}/${HS_VERSION}/package-description
 lib/doclayout-${PKGVERSION}/${HS_VERSION}/package-id
-lib/${HS_PLATFORM}/${HS_PKGID}/Text/DocLayout.dyn_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Text/DocLayout.dyn_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Text/DocLayout.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Text/DocLayout.p_hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Text/DocLayout.p_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
-lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
-lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
-share/doc/${HS_PLATFORM}/doclayout-${PKGVERSION}/LICENSE
-share/doc/${HS_PLATFORM}/doclayout-${PKGVERSION}/html/Text-DocLayout.html
-share/doc/${HS_PLATFORM}/doclayout-${PKGVERSION}/html/doc-index.html
-share/doc/${HS_PLATFORM}/doclayout-${PKGVERSION}/html/doclayout.haddock
-share/doc/${HS_PLATFORM}/doclayout-${PKGVERSION}/html/haddock-bundle.min.js
-share/doc/${HS_PLATFORM}/doclayout-${PKGVERSION}/html/index.html
-share/doc/${HS_PLATFORM}/doclayout-${PKGVERSION}/html/linuwial.css
-share/doc/${HS_PLATFORM}/doclayout-${PKGVERSION}/html/meta.json
-share/doc/${HS_PLATFORM}/doclayout-${PKGVERSION}/html/quick-jump.css
-share/doc/${HS_PLATFORM}/doclayout-${PKGVERSION}/html/synopsis.png
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+${PLIST.doc}share/doc/${HS_PLATFORM}/doclayout-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/${HS_PLATFORM}/doclayout-${PKGVERSION}/html/Text-DocLayout.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/doclayout-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/doclayout-${PKGVERSION}/html/doclayout.haddock
+${PLIST.doc}share/doc/${HS_PLATFORM}/doclayout-${PKGVERSION}/html/haddock-bundle.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/doclayout-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/doclayout-${PKGVERSION}/html/linuwial.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/doclayout-${PKGVERSION}/html/meta.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/doclayout-${PKGVERSION}/html/quick-jump.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/doclayout-${PKGVERSION}/html/synopsis.png
 share/${HS_PLATFORM}/doclayout-${PKGVERSION}/README.md
 share/${HS_PLATFORM}/doclayout-${PKGVERSION}/changelog.md

Index: pkgsrc/textproc/hs-doclayout/distinfo
diff -u pkgsrc/textproc/hs-doclayout/distinfo:1.5 pkgsrc/textproc/hs-doclayout/distinfo:1.6
--- pkgsrc/textproc/hs-doclayout/distinfo:1.5   Fri Feb 11 13:30:32 2022
+++ pkgsrc/textproc/hs-doclayout/distinfo       Wed Jan 25 15:24:23 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2022/02/11 13:30:32 pho Exp $
+$NetBSD: distinfo,v 1.6 2023/01/25 15:24:23 pho Exp $
 
-BLAKE2s (doclayout-0.3.1.1.tar.gz) = 815c476bd6ad1551b02fccd448c8272bac63e435a6ec67ad89df9690d86a98fc
-SHA512 (doclayout-0.3.1.1.tar.gz) = a3cd5eeef6133121df1a0eedab905aca6de0edcbc7ffb6633efc58e8af5d9c17ed843303c9eeb097aa63f965b36648a967d844daf4e3a103ab75ac4bf42976a5
-Size (doclayout-0.3.1.1.tar.gz) = 15047 bytes
+BLAKE2s (doclayout-0.4.tar.gz) = 183bd8631ef8c711734ac27872e6a8fcdaf0525e9a5d33418f7ce1d7c9a5b88c
+SHA512 (doclayout-0.4.tar.gz) = 78d3f64d72c2991bdc9b7ace27ed93e977d3e5fc3afa511857234f1c756fbdb77ccc74ba11af0aabfb09f31a4a906324abc1945160f435c83a07ebd3ae1a44c4
+Size (doclayout-0.4.tar.gz) = 38804 bytes



Home | Main Index | Thread Index | Old Index