pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/typst



Module Name:    pkgsrc
Committed By:   pin
Date:           Sat May 18 07:03:55 UTC 2024

Modified Files:
        pkgsrc/textproc/typst: Makefile cargo-depends.mk distinfo
        pkgsrc/textproc/typst/patches: patch-Cargo.toml

Log Message:
textproc/typst: update to 0.11.1

Version 0.11.1 (May 17, 2024)
    Security
        Fixed a vulnerability where image files at known paths could be embedded into the PDF even if they were outside of the project directory

    Bibliography
        Fixed et-al handling in subsequent citations
        Fixed suppression of title for citations and bibliography references with no author
        Fixed handling of initials in citation styles without a delimiter
        Fixed bug with citations in footnotes

    Text and Layout
        Fixed interaction of first-line-indent and outline
        Fixed compression of CJK punctuation marks at line start and end
        Fixed handling of rectangles with negative dimensions
        Fixed layout of path in explicitly sized container
        Fixed broken raw text in right-to-left paragraphs
        Fixed tab rendering in raw text with language typ or typc
        Fixed highlighting of multi-line raw text enclosed by single backticks
        Fixed indentation of overflowing lines in raw blocks
        Fixed extra space when raw text ends with a backtick

    Math
        Fixed broken equations in right-to-left paragraphs
        Fixed missing blackboard bold letters
        Fixed error on empty arguments in 2D math argument list
        Fixed stretching via mid for various characters
        Fixed that alignment points in equations were affected by set align(..)

    Export
        Fixed smart quotes in PDF outline
        Fixed patterns with spacing in PDF
        Fixed wrong PDF page labels when page numbering was disabled after being previously enabled

    Scripting
        Fixed overflow for large numbers in external data files (by converting to floats instead)
        Fixed str.trim(regex, at: end) when the whole string is matched

    Miscellaneous
        Fixed deformed strokes for specific shapes and thicknesses
        Fixed newline handling in code mode: There can now be comments within chained method calls and between an if branch and the else keyword
        Fixed inefficiency with incremental reparsing
        Fixed autocompletions for relative file imports
        Fixed crash in autocompletion handler
        Fixed a bug where the path and entrypoint printed by typst init were not properly escaped
        Fixed various documentation errors


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/textproc/typst/Makefile \
    pkgsrc/textproc/typst/cargo-depends.mk pkgsrc/textproc/typst/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/typst/patches/patch-Cargo.toml

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

Modified files:

Index: pkgsrc/textproc/typst/Makefile
diff -u pkgsrc/textproc/typst/Makefile:1.10 pkgsrc/textproc/typst/Makefile:1.11
--- pkgsrc/textproc/typst/Makefile:1.10 Mon Mar 18 09:04:32 2024
+++ pkgsrc/textproc/typst/Makefile      Sat May 18 07:03:55 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2024/03/18 09:04:32 pin Exp $
+# $NetBSD: Makefile,v 1.11 2024/05/18 07:03:55 pin Exp $
 
-DISTNAME=      typst-0.11.0
+DISTNAME=      typst-0.11.1
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=typst/}
 GITHUB_PROJECT=        typst
@@ -14,7 +14,7 @@ LICENSE=      apache-2.0
 .include "cargo-depends.mk"
 
 # Depends on an unpublished crate. Can't use cargo.mk to fetch it.
-TYPST-DEV-ASSETS_REV=  e0ef7ad46f28a440c41bc8e78563ace86cc02678
+TYPST-DEV-ASSETS_REV=  ee8ae61cca138dc92f9d818fc7f2fc046d0148c5
 DISTFILES=             ${DEFAULT_DISTFILES}
 DISTFILES+=            typst-dev-assets-${TYPST-DEV-ASSETS_REV}.tar.gz
 SITES.typst-dev-assets-${TYPST-DEV-ASSETS_REV}.tar.gz+=        -${MASTER_SITE_GITHUB:=typst/}typst-dev-assets/archive/${TYPST-DEV-ASSETS_REV}.tar.gz
Index: pkgsrc/textproc/typst/cargo-depends.mk
diff -u pkgsrc/textproc/typst/cargo-depends.mk:1.10 pkgsrc/textproc/typst/cargo-depends.mk:1.11
--- pkgsrc/textproc/typst/cargo-depends.mk:1.10 Mon Mar 18 09:04:33 2024
+++ pkgsrc/textproc/typst/cargo-depends.mk      Sat May 18 07:03:55 2024
@@ -1,4 +1,4 @@
-# $NetBSD: cargo-depends.mk,v 1.10 2024/03/18 09:04:33 pin Exp $
+# $NetBSD: cargo-depends.mk,v 1.11 2024/05/18 07:03:55 pin Exp $
 
 CARGO_CRATE_DEPENDS+=  adler-1.0.2
 CARGO_CRATE_DEPENDS+=  aho-corasick-1.1.2
@@ -35,7 +35,7 @@ CARGO_CRATE_DEPENDS+= chrono-0.4.35
 CARGO_CRATE_DEPENDS+=  ciborium-0.2.2
 CARGO_CRATE_DEPENDS+=  ciborium-io-0.2.2
 CARGO_CRATE_DEPENDS+=  ciborium-ll-0.2.2
-CARGO_CRATE_DEPENDS+=  citationberg-0.3.0
+CARGO_CRATE_DEPENDS+=  citationberg-0.3.1
 CARGO_CRATE_DEPENDS+=  clap-4.5.2
 CARGO_CRATE_DEPENDS+=  clap_builder-4.5.2
 CARGO_CRATE_DEPENDS+=  clap_complete-4.5.1
@@ -97,7 +97,7 @@ CARGO_CRATE_DEPENDS+= gif-0.13.1
 CARGO_CRATE_DEPENDS+=  half-2.4.0
 CARGO_CRATE_DEPENDS+=  hashbrown-0.12.3
 CARGO_CRATE_DEPENDS+=  hashbrown-0.14.3
-CARGO_CRATE_DEPENDS+=  hayagriva-0.5.2
+CARGO_CRATE_DEPENDS+=  hayagriva-0.5.3
 CARGO_CRATE_DEPENDS+=  heck-0.4.1
 CARGO_CRATE_DEPENDS+=  hypher-0.1.5
 CARGO_CRATE_DEPENDS+=  iana-time-zone-0.1.60
@@ -232,6 +232,7 @@ CARGO_CRATE_DEPENDS+=       serde_json-1.0.114
 CARGO_CRATE_DEPENDS+=  serde_spanned-0.6.5
 CARGO_CRATE_DEPENDS+=  serde_yaml-0.8.26
 CARGO_CRATE_DEPENDS+=  serde_yaml-0.9.32
+CARGO_CRATE_DEPENDS+=  shell-escape-0.1.5
 CARGO_CRATE_DEPENDS+=  simd-adler32-0.3.7
 CARGO_CRATE_DEPENDS+=  simplecss-0.2.1
 CARGO_CRATE_DEPENDS+=  siphasher-0.3.11
@@ -271,9 +272,9 @@ CARGO_CRATE_DEPENDS+=       toml_edit-0.22.6
 CARGO_CRATE_DEPENDS+=  ttf-parser-0.20.0
 CARGO_CRATE_DEPENDS+=  two-face-0.3.0
 CARGO_CRATE_DEPENDS+=  typed-arena-2.0.2
-CARGO_CRATE_DEPENDS+=  typst-assets-0.11.0
-#Workaround for unpublised crate in the Makefile
-#CARGO_CRATE_DEPENDS+= typst-dev-assets-0.11.0
+CARGO_CRATE_DEPENDS+=  typst-assets-0.11.1
+#Workaround for unpublished crate in the Makefile
+#CARGO_CRATE_DEPENDS+= typst-dev-assets-0.11.1
 CARGO_CRATE_DEPENDS+=  unic-langid-0.9.4
 CARGO_CRATE_DEPENDS+=  unic-langid-impl-0.9.4
 CARGO_CRATE_DEPENDS+=  unicase-2.7.0
Index: pkgsrc/textproc/typst/distinfo
diff -u pkgsrc/textproc/typst/distinfo:1.10 pkgsrc/textproc/typst/distinfo:1.11
--- pkgsrc/textproc/typst/distinfo:1.10 Mon Mar 18 09:04:33 2024
+++ pkgsrc/textproc/typst/distinfo      Sat May 18 07:03:55 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2024/03/18 09:04:33 pin Exp $
+$NetBSD: distinfo,v 1.11 2024/05/18 07:03:55 pin Exp $
 
 BLAKE2s (adler-1.0.2.crate) = f263779d752af886455fc0f42c997893fb1a09edcf1bd2980605251c2e3602aa
 SHA512 (adler-1.0.2.crate) = 7ab190d31890fc05b0b55d8e2c6527a505e06793d5496be0b3831e0513412f9ba97f8148f6f68ed0770fa9cd980a5092d885e058becf1d5506b7c74b82674aa1
@@ -105,9 +105,9 @@ Size (ciborium-io-0.2.2.crate) = 6697 by
 BLAKE2s (ciborium-ll-0.2.2.crate) = 62616920a5b3603cdedda2d9f1ff7a13e0e652131622a0cd26ea686e3ffb1cd3
 SHA512 (ciborium-ll-0.2.2.crate) = 2f7ef6ad8bf5a862e8b9daa64bc6d8184c87a22c264b10dbb35c00c9effcd5712f354b4ca6c2eb8e6795d4b99d7cb88fa2acf01f3ad6fb28caf81708a500549a
 Size (ciborium-ll-0.2.2.crate) = 14695 bytes
-BLAKE2s (citationberg-0.3.0.crate) = 1a9a8785c3444ea77d67425e115c254fd762d75181aa17d2e8ff09197386707f
-SHA512 (citationberg-0.3.0.crate) = 010860bcd6dc785558344373f4b186791019a05ed399c736327272692800530ceef0c3ebca2227f061f25e0f1b4b7f526f1a3d3a717a3b61e71b326d2ffcb3c7
-Size (citationberg-0.3.0.crate) = 60414 bytes
+BLAKE2s (citationberg-0.3.1.crate) = dc077706444c4dcfc549f67812731d7623a4bf439118bf285dbb8c28889f732a
+SHA512 (citationberg-0.3.1.crate) = ab3d665c34a410cfc85d539f1e9e294578e38569949a811358f79713dd9c373003ca23d94cf7f8939b4aeb7000bb234a3f0ac0596ff8b814d2322f40aa849374
+Size (citationberg-0.3.1.crate) = 60444 bytes
 BLAKE2s (clap-4.5.2.crate) = 82ea9c8e42ab5369a24c8b8645dac25196f7f1b22bf68038b7e6021fda153a9f
 SHA512 (clap-4.5.2.crate) = c74752b5a161ed5a48cc5f2ac3bf15325cc955aeb828273fe8b7be00c0e5bdd09ca6043c95c9d2908a1e44e447886859fd2a79e0014f508bc03b3b01f4567759
 Size (clap-4.5.2.crate) = 55385 bytes
@@ -291,9 +291,9 @@ Size (hashbrown-0.12.3.crate) = 102968 b
 BLAKE2s (hashbrown-0.14.3.crate) = 50132f5430b5ee58537a4409ffb586c08b3f202cbbdaf99b8df17c5d7abdcdfe
 SHA512 (hashbrown-0.14.3.crate) = 4d344e5c89ce58e04668b80ef10e4e110a3a5daf4d610c52d980577795d0e2050c7d0b151d8ba97128117665e27b92ab0300f85b88bd6e1de943c62d49249356
 Size (hashbrown-0.14.3.crate) = 141425 bytes
-BLAKE2s (hayagriva-0.5.2.crate) = a483555c8c4591b4e7b6dfeea7961e72698f1d388605bd293caea61c8fd79483
-SHA512 (hayagriva-0.5.2.crate) = c71697111e881379c0cb72eab7af87f70b364b69e0bf6d65e9f23b2899b3cd30867935478b144a475d0babf7b91ef975866d1a018b7528a45bf9bc8fa3952d57
-Size (hayagriva-0.5.2.crate) = 311552 bytes
+BLAKE2s (hayagriva-0.5.3.crate) = 4a12ba58e21e0c850cb713c92bf84232b95616f78a675ba780797e78dc209968
+SHA512 (hayagriva-0.5.3.crate) = 4dc8ae72a2b852f77e6ba703a64802479210e2c185100f05b3c7a2f0b1dbd27aa64477af7175945c818e3027d7c413978dab63d8a45d93544977bc1e5abf0b9e
+Size (hayagriva-0.5.3.crate) = 311959 bytes
 BLAKE2s (heck-0.4.1.crate) = 2d8cd3bc30076ec6e8717de87da253e7d5e1aac22079242ff7d74fba5a4e1741
 SHA512 (heck-0.4.1.crate) = 8c80e959d2f10a2893f9a71994720f90747742bb5b61fc0a539eed3ea5679b140c48fd7f7690d7122cd6af5f7f20a19d412e3569fe741c6d31f6b2ce1e0b80e8
 Size (heck-0.4.1.crate) = 11567 bytes
@@ -696,6 +696,9 @@ Size (serde_yaml-0.8.26.crate) = 40670 b
 BLAKE2s (serde_yaml-0.9.32.crate) = 2876b03fcc9409cf42228f99f8cee2149424efba51b748f327c53c1a42e6d171
 SHA512 (serde_yaml-0.9.32.crate) = 121047516378ee1fe98ec0262be63f39bc09d8d46f0a7c98c0ef1792a8636a9a8ddf0f97608a57723af0f7e4de369e25c353180b9e6de749f57bb7349f419dee
 Size (serde_yaml-0.9.32.crate) = 65170 bytes
+BLAKE2s (shell-escape-0.1.5.crate) = e8c201f9f341c925401db041843ebd540767c94323e3d9623304fa143653255b
+SHA512 (shell-escape-0.1.5.crate) = 848f8d47d802b82e83f113fb07f44fe962628379481d1bef9d15f2e5821a382c9928c32175652361aae9fe4c8fa5c1dc1c89350db6ef5e68691bae4a3742df93
+Size (shell-escape-0.1.5.crate) = 6847 bytes
 BLAKE2s (simd-adler32-0.3.7.crate) = 4e97d965efa10d40728db8210a078be56385eaa8c9226af960f1685713576ea7
 SHA512 (simd-adler32-0.3.7.crate) = 2976bb7fa153854ecd0d68ccdc108bf81d5da374839d53ce9dfb27e80d8db258bb817ea3dac73921e408541d75e2797b6d20fa63c42c1e8a935b6d75dee14bac
 Size (simd-adler32-0.3.7.crate) = 12086 bytes
@@ -813,15 +816,15 @@ Size (two-face-0.3.0.crate) = 3198457 by
 BLAKE2s (typed-arena-2.0.2.crate) = 4219b0a8ad00372cbc511bdc54650120d405bedd1ecc63a5e2774944e01412ca
 SHA512 (typed-arena-2.0.2.crate) = 33f43488ff63ab763e4330d124e3290ece41e50ab78b6f12dae3a2be4d7f5bdf6ec876ab3b1f8cd81874e335fc41f3a2254994f250d3d6aba682fce557a6a399
 Size (typed-arena-2.0.2.crate) = 11848 bytes
-BLAKE2s (typst-0.11.0.tar.gz) = 7d1b8b10a740fc4fcbbcf2eeabd98edf10195d4c953467bdcb5093265ebbf854
-SHA512 (typst-0.11.0.tar.gz) = ca4767b2b05d064012a0bf152323c8b2cce994e32c60d1a80c1563ec4d2e2adc211988a1c6b9892efe7269e26fde3aa28468142af7ddd36a2b97e00ac21f545e
-Size (typst-0.11.0.tar.gz) = 10113732 bytes
-BLAKE2s (typst-assets-0.11.0.crate) = 85635dee7ecfbcf926bad1d2583fed77470a9f968cbb9c4d0093fedb4f163e4d
-SHA512 (typst-assets-0.11.0.crate) = f0ddc22c272ab94a7cc6f23de9ea1c4c46a2605273fc02b9cd8f5c3daa7c6adceb98dfe6d0a35fb54e04e1b5c362a3308f83f23d08f375062da050eba68306c9
-Size (typst-assets-0.11.0.crate) = 5132203 bytes
-BLAKE2s (typst-dev-assets-e0ef7ad46f28a440c41bc8e78563ace86cc02678.tar.gz) = d1d314888b0bf562b026a4db0563e7fdc8b2f06868ae8953d09107830a1db25b
-SHA512 (typst-dev-assets-e0ef7ad46f28a440c41bc8e78563ace86cc02678.tar.gz) = 
72aa87a10b183d70a8f13c98276a9b636d301c549fe807823b071279ca367bb55783fa801a23524cd3bf43c644027206e0189f86b41dcc75b277176d350badf1
-Size (typst-dev-assets-e0ef7ad46f28a440c41bc8e78563ace86cc02678.tar.gz) = 33501772 bytes
+BLAKE2s (typst-0.11.1.tar.gz) = fa195a7dcb36f03ab0ca1dda1f22725679090892ac74999109492aa1a5c325fc
+SHA512 (typst-0.11.1.tar.gz) = ddae20f2cf77517447d9f79aec45d27fd60422defa381d50bd148b08450749d4f8ebb143d0c136c30ac47c1d2db0e07fcf8146eef73f59b4cc3290972871765c
+Size (typst-0.11.1.tar.gz) = 3468099 bytes
+BLAKE2s (typst-assets-0.11.1.crate) = f6ffbc3d08108d6f13d9d56d1199dc51ee83067145324062b143f92b2bfd52c1
+SHA512 (typst-assets-0.11.1.crate) = 39d403f8d9ed1b4263534749c6818ce65bdcd2a168f1da4078678cc6bf187c06a4db6ec4cbccd46f8f3ce1fdae933ffdf95dc56bf0f8584ae26c8b423ca66297
+Size (typst-assets-0.11.1.crate) = 5132209 bytes
+BLAKE2s (typst-dev-assets-ee8ae61cca138dc92f9d818fc7f2fc046d0148c5.tar.gz) = 03225942b6380c5bb5333502fece750372a09aefa6a7ed4891efe3887d1b6332
+SHA512 (typst-dev-assets-ee8ae61cca138dc92f9d818fc7f2fc046d0148c5.tar.gz) = 
cbe0c107be8101b62b569cff3639d5426bc4b237b54e4f97767691799d4c0b76cf9fd8570f9ce97719307d8b134426951e0329100d65130059dfc9f1c9f153ae
+Size (typst-dev-assets-ee8ae61cca138dc92f9d818fc7f2fc046d0148c5.tar.gz) = 33501759 bytes
 BLAKE2s (unic-langid-0.9.4.crate) = d7fc3e6047625264db2e26877d669d696f30e6f42a223e10907c184f5feecdcb
 SHA512 (unic-langid-0.9.4.crate) = 4297a84a8ec8479dd88b34380f882a1b2891d15be5089d7a015baaf172f57a003f92beb2faa96360262ff19ecb9542b7e720631609c69580586fe4a496fdca83
 Size (unic-langid-0.9.4.crate) = 8850 bytes
@@ -1062,4 +1065,4 @@ Size (zip-0.6.6.crate) = 65789 bytes
 BLAKE2s (zopfli-0.8.0.crate) = 651e7cbc92d83fb9fedc57a64fc1e46d4b03183559107b62cd0981dc82e08cf9
 SHA512 (zopfli-0.8.0.crate) = 3b788f0ca94a106ce690764d081bf277eddb364b07287c33be3855fdc63bd583b5e8aac95b709833b4ec4a8f153e7e1ea822b09da23d5db777137bc1dd49e17c
 Size (zopfli-0.8.0.crate) = 54234 bytes
-SHA1 (patch-Cargo.toml) = 1397c3954815ebeb6c8384867d1679c8d3d66ced
+SHA1 (patch-Cargo.toml) = 200b8828147a2c8f3df68118c221b28f582285f2

Index: pkgsrc/textproc/typst/patches/patch-Cargo.toml
diff -u pkgsrc/textproc/typst/patches/patch-Cargo.toml:1.5 pkgsrc/textproc/typst/patches/patch-Cargo.toml:1.6
--- pkgsrc/textproc/typst/patches/patch-Cargo.toml:1.5  Mon Mar 18 09:04:33 2024
+++ pkgsrc/textproc/typst/patches/patch-Cargo.toml      Sat May 18 07:03:55 2024
@@ -1,15 +1,15 @@
-$NetBSD: patch-Cargo.toml,v 1.5 2024/03/18 09:04:33 pin Exp $
+$NetBSD: patch-Cargo.toml,v 1.6 2024/05/18 07:03:55 pin Exp $
 
 Work around unpublished crate.
 
---- Cargo.toml.orig    2024-03-17 17:31:32.009123590 +0000
+--- Cargo.toml.orig    2024-05-18 06:30:37.273901796 +0000
 +++ Cargo.toml
 @@ -26,7 +26,7 @@ typst-svg = { path = "crates/typst-svg",
- typst-syntax = { path = "crates/typst-syntax", version = "0.11.0" }
- typst-timing = { path = "crates/typst-timing", version = "0.11.0" }
- typst-assets = "0.11.0"
--typst-dev-assets = { git = "https://github.com/typst/typst-dev-assets";, tag = "v0.11.0" }
-+typst-dev-assets = { path = "typst-dev-assets-e0ef7ad46f28a440c41bc8e78563ace86cc02678" }
+ typst-syntax = { path = "crates/typst-syntax", version = "0.11.1" }
+ typst-timing = { path = "crates/typst-timing", version = "0.11.1" }
+ typst-assets = "0.11.1"
+-typst-dev-assets = { git = "https://github.com/typst/typst-dev-assets";, tag = "v0.11.1" }
++typst-dev-assets = { path = "typst-dev-assets-ee8ae61cca138dc92f9d818fc7f2fc046d0148c5" }
  az = "1.2"
  base64 = "0.22"
  bitflags = { version = "2", features = ["serde"] }



Home | Main Index | Thread Index | Old Index