回复: 回复: [NEW]textproc/typst
ping ... I attached the newest patch here. 发件人: owner-po...@openbsd.org 代表 wen heping 发送时间: 2023年12月12日 11:29 收件人: Theo Buehler; ports@openbsd.org 主题: 回复: 回复: [NEW]textproc/typst Sorry, this is the correct patch. typst-0.10.0-p2.tar.gz wen 发件人: owner-po...@openbsd.org 代表 wen heping 发送时间: 2023年12月12日 11:21 收件人: Theo Buehler; ports@openbsd.org 主题: 回复: 回复: [NEW]textproc/typst Here is the revised patch for typst: i) Generate crates LICENSE. ii) Remove rust-ring from BUILD_DEPENDS iii) Add NOT_FOR_ARCHS = sparc64 iv) Add NO_TEST Cheers ! wen 发件人: Theo Buehler 发送时间: 2023年12月11日 19:02 收件人: wen heping; ports@openbsd.org 主题: Re: 回复: [NEW]textproc/typst On Mon, Dec 11, 2023 at 10:52:44AM +, Stuart Henderson wrote: > On 2023/12/11 02:38, wen heping wrote: > > Here is the revised patch, now update typst-0.10.0. > > > > > > Cheers ! > > wen > > > > > You are missing license markers, use "make modcargo-gen-modules-licenses". > > Upstream uses newer "ring" so I believe you can remove the BDEP on > rust-ring. > Correct. ring 0.17 added support powerpc64 and riscv64, so this only needs # ring-v0.17 does not support this arch NOT_FOR_ARCHS = sparc64 Should I do something like this for rust-ring (with REVISION bump of course)? Index: pkg/DESCR === RCS file: /cvs/ports/security/rust-ring/pkg/DESCR,v diff -u -p -r1.1.1.1 DESCR --- pkg/DESCR 18 Jan 2023 12:56:09 - 1.1.1.1 +++ pkg/DESCR 11 Dec 2023 10:58:43 - @@ -1,2 +1,3 @@ Bundles the source of the ring crate patched to work with OpenBSD's -execute only policy. +execute only policy. Use this as a BUILD_DEPENDS for ports depending +on ring 0.16.x. It is not needed for ring >= 0.17.0. typst-0.10.0-p2.tar.gz Description: typst-0.10.0-p2.tar.gz
回复: 回复: [NEW]textproc/typst
Sorry, this is the correct patch. typst-0.10.0-p2.tar.gz wen 发件人: owner-po...@openbsd.org 代表 wen heping 发送时间: 2023年12月12日 11:21 收件人: Theo Buehler; ports@openbsd.org 主题: 回复: 回复: [NEW]textproc/typst Here is the revised patch for typst: i) Generate crates LICENSE. ii) Remove rust-ring from BUILD_DEPENDS iii) Add NOT_FOR_ARCHS = sparc64 iv) Add NO_TEST Cheers ! wen 发件人: Theo Buehler 发送时间: 2023年12月11日 19:02 收件人: wen heping; ports@openbsd.org 主题: Re: 回复: [NEW]textproc/typst On Mon, Dec 11, 2023 at 10:52:44AM +, Stuart Henderson wrote: > On 2023/12/11 02:38, wen heping wrote: > > Here is the revised patch, now update typst-0.10.0. > > > > > > Cheers ! > > wen > > > > > You are missing license markers, use "make modcargo-gen-modules-licenses". > > Upstream uses newer "ring" so I believe you can remove the BDEP on > rust-ring. > Correct. ring 0.17 added support powerpc64 and riscv64, so this only needs # ring-v0.17 does not support this arch NOT_FOR_ARCHS = sparc64 Should I do something like this for rust-ring (with REVISION bump of course)? Index: pkg/DESCR === RCS file: /cvs/ports/security/rust-ring/pkg/DESCR,v diff -u -p -r1.1.1.1 DESCR --- pkg/DESCR 18 Jan 2023 12:56:09 - 1.1.1.1 +++ pkg/DESCR 11 Dec 2023 10:58:43 - @@ -1,2 +1,3 @@ Bundles the source of the ring crate patched to work with OpenBSD's -execute only policy. +execute only policy. Use this as a BUILD_DEPENDS for ports depending +on ring 0.16.x. It is not needed for ring >= 0.17.0. typst-0.10.0-p2.tar.gz Description: typst-0.10.0-p2.tar.gz
回复: 回复: [NEW]textproc/typst
Here is the revised patch for typst: i) Generate crates LICENSE. ii) Remove rust-ring from BUILD_DEPENDS iii) Add NOT_FOR_ARCHS = sparc64 iv) Add NO_TEST Cheers ! wen 发件人: Theo Buehler 发送时间: 2023年12月11日 19:02 收件人: wen heping; ports@openbsd.org 主题: Re: 回复: [NEW]textproc/typst On Mon, Dec 11, 2023 at 10:52:44AM +, Stuart Henderson wrote: > On 2023/12/11 02:38, wen heping wrote: > > Here is the revised patch, now update typst-0.10.0. > > > > > > Cheers ! > > wen > > > > > You are missing license markers, use "make modcargo-gen-modules-licenses". > > Upstream uses newer "ring" so I believe you can remove the BDEP on > rust-ring. > Correct. ring 0.17 added support powerpc64 and riscv64, so this only needs # ring-v0.17 does not support this arch NOT_FOR_ARCHS = sparc64 Should I do something like this for rust-ring (with REVISION bump of course)? Index: pkg/DESCR === RCS file: /cvs/ports/security/rust-ring/pkg/DESCR,v diff -u -p -r1.1.1.1 DESCR --- pkg/DESCR 18 Jan 2023 12:56:09 - 1.1.1.1 +++ pkg/DESCR 11 Dec 2023 10:58:43 - @@ -1,2 +1,3 @@ Bundles the source of the ring crate patched to work with OpenBSD's -execute only policy. +execute only policy. Use this as a BUILD_DEPENDS for ports depending +on ring 0.16.x. It is not needed for ring >= 0.17.0. typst-0.10.0p1.tar.gz Description: typst-0.10.0p1.tar.gz
Re: 回复: [NEW]textproc/typst
On Mon, Dec 11, 2023 at 10:52:44AM +, Stuart Henderson wrote: > On 2023/12/11 02:38, wen heping wrote: > > Here is the revised patch, now update typst-0.10.0. > > > > > > Cheers ! > > wen > > > > > You are missing license markers, use "make modcargo-gen-modules-licenses". > > Upstream uses newer "ring" so I believe you can remove the BDEP on > rust-ring. > Correct. ring 0.17 added support powerpc64 and riscv64, so this only needs # ring-v0.17 does not support this arch NOT_FOR_ARCHS = sparc64 Should I do something like this for rust-ring (with REVISION bump of course)? Index: pkg/DESCR === RCS file: /cvs/ports/security/rust-ring/pkg/DESCR,v diff -u -p -r1.1.1.1 DESCR --- pkg/DESCR 18 Jan 2023 12:56:09 - 1.1.1.1 +++ pkg/DESCR 11 Dec 2023 10:58:43 - @@ -1,2 +1,3 @@ Bundles the source of the ring crate patched to work with OpenBSD's -execute only policy. +execute only policy. Use this as a BUILD_DEPENDS for ports depending +on ring 0.16.x. It is not needed for ring >= 0.17.0.
Re: 回复: [NEW]textproc/typst
On 2023/12/11 02:38, wen heping wrote: > Here is the revised patch, now update typst-0.10.0. > > > Cheers ! > wen > You are missing license markers, use "make modcargo-gen-modules-licenses". Upstream uses newer "ring" so I believe you can remove the BDEP on rust-ring.
回复: [NEW]textproc/typst
Here is the revised patch, now update typst-0.10.0. Cheers ! wen typst-0.10.0.tar.gz Description: typst-0.10.0.tar.gz
回复: [NEW]textproc/typst
Build and run well on my amd64-current system. Thank you ! wen 发件人: Johannes Thyssen Tishman 发送时间: 2023年8月29日 3:47 收件人: wen heping 抄送: ports@openbsd.org 主题: Re: [NEW]textproc/typst Hi, please find attached version 0.7.0 of the typst port. I made the following changes: - Dropped patch-Cargo.toml due to update upstream - Updated crates list - Added missing WANTLIBS The crates list generated by 'make modcargo-gen-crates' was missing the iai package even though it is listed in the Cargo.lock file, so I added it manually. Don't know if this is due to something missing on my part or perhaps some kind of parsing issue. Both port-lib-depends-check and portcheck are happy. I've tested the port a little and it seems to be working fine. Kind regards, Johannes
回复: [NEW]textproc/typst
Here is the revised patch: i) regen the patch ii) Add the missing LICENSE of all crates Cheers ! wen 发件人: Stuart Henderson 发送时间: 2023年7月11日 19:23 收件人: wen heping 抄送: ports@openbsd.org 主题: Re: [NEW]textproc/typst On 2023/07/11 03:06, wen heping wrote: > Hi, ports@ > >Here is a patch to create new port textproc/typst. > >Typst is a new markup-based typsetting system that is designed to be as > powerful as LaTeX while being much easier to learn and use. Typst has: > Built-in markup for the most common formatting tasks > Flexible functions for everything else > A tightly integrated scripting system > Math typesetting, bibliography management, and more > Fast compile times thanks to incremental compilation > Friendly error messages in case something goes wrong. > >It build and run well on amd64-current system. > > > Cheers ! > wen files in patches/ should be generated using "make update-patches" (if that results in many Cargo.toml.orig patch files, then you should update to a -current ports tree) crates license information is incomplete, possibly because of an unreadable file (no world-read permissions in the tar); use FIX_EXTRACT_PERMISSIONS=Yes and regenerate with make modcargo-gen-crates-licenses typst-0.6.0p1.tar.gz Description: typst-0.6.0p1.tar.gz