Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package typst for openSUSE:Factory checked in at 2023-04-19 17:42:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/typst (Old) and /work/SRC/openSUSE:Factory/.typst.new.2023 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "typst" Wed Apr 19 17:42:33 2023 rev:3 rq:1080078 version:0.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/typst/typst.changes 2023-04-06 15:57:42.324893415 +0200 +++ /work/SRC/openSUSE:Factory/.typst.new.2023/typst.changes 2023-04-19 17:42:36.500065026 +0200 @@ -1,0 +2,31 @@ +Tue Apr 18 07:05:11 UTC 2023 - Martin Sirringhaus <martin.sirringh...@suse.com> + +- Update to version 0.2.0 + * Breaking changes: + - Removed support for iterating over index and value in for loops. This is now handled via unpacking and enumerating. Same goes for the map() method. + - Dictionaries now iterate in insertion order instead of alphabetical order. + * New features + - Added unpacking syntax for let bindings, which allows things like let (1, 2) = array + - Added enumerate() method + - Added path function for drawing Bézier paths + - Added layout function to access the size of the surrounding page or container + - Added key parameter to sorted() method + * Command line interface + - Fixed --open flag blocking the program + - New Computer Modern font is now embedded into the binary + - Shell completions and man pages can now be generated by setting the GEN_ARTIFACTS environment variable to a target directory and then building Typst + * Miscellaneous improvements + - Fixed page numbering in outline + - Added basic i18n for a few more languages (AR, NB, CS, NN, PL, SL, ES, UA, VI) + - Added a few numbering patterns (Ihora, Chinese) + - Added sinc operator + - Fixed bug where math could not be hidden with hide + - Fixed sizing issues with box, block, and shapes + - Fixed some translations + - Fixed inversion of "R" in cal and frak styles + - Fixed some styling issues in math + - Fixed supplements of references to headings + - Fixed syntax highlighting of identifiers in certain scenarios + - Ratios can now be multiplied with more types and be converted to floats with the float function + +------------------------------------------------------------------- Old: ---- typst-0.1.0.tar.gz New: ---- typst-0.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ typst.spec ++++++ --- /var/tmp/diff_new_pack.sPz9jN/_old 2023-04-19 17:42:38.568077041 +0200 +++ /var/tmp/diff_new_pack.sPz9jN/_new 2023-04-19 17:42:38.576077088 +0200 @@ -19,7 +19,7 @@ %global rustflags '-Clink-arg=-Wl,-z,relro,-z,now' Name: typst -Version: 0.1.0 +Version: 0.2.0 Release: 0 Summary: A new markup-based typesetting system that is powerful and easy to learn License: Apache-2.0 @@ -34,6 +34,24 @@ %description Typst is a new markup-based typesetting system that is designed to be as powerful as LaTeX while being much easier to learn and use. +%package bash-completion +Summary: Bash Completion for %{name} +Group: System/Shells +Supplements: (%{name} and bash-completion) +BuildArch: noarch + +%description bash-completion +Bash command-line completion support for %{name}. + +%package fish-completion +Summary: Fish Completion for %{name} +Group: System/Shells +Supplements: (%{name} and fish) +BuildArch: noarch + +%description fish-completion +Fish command-line completion support for %{name}. + %prep %autosetup -p1 -a1 -n typst-%{version} mkdir -p .cargo @@ -45,6 +63,8 @@ sed -i "s/_TYPST_HASH_/%{build_hash}/" cli/build.rs %build +export GEN_ARTIFACTS=%{_builddir}/%{name}-%{version}/artifacts +mkdir -p $GEN_ARTIFACTS cd cli RUSTFLAGS=%{rustflags} %{cargo_build} @@ -55,9 +75,25 @@ install -d -m 0755 %{buildroot}%{_bindir} install -m 0755 target/release/typst %{buildroot}%{_bindir}/%{name} +# Shell completions +install -Dm644 -T %{_builddir}/%{name}-%{version}/artifacts/%{name}.bash %{buildroot}%{_datadir}/bash-completion/completions/%{name} +install -Dm644 -T %{_builddir}/%{name}-%{version}/artifacts/%{name}.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/%{name}.fish + +# copy man-pages +mkdir -p %{buildroot}%{_mandir}/man1/ +cp -L %{_builddir}/%{name}-%{version}/artifacts/*.1 %{buildroot}%{_mandir}/man1/ + %files %license LICENSE %doc README.md %{_bindir}/typst +%{_mandir}/*/* + +%files bash-completion +%{_datadir}/bash-completion/* + +%files fish-completion +%dir %{_datadir}/fish +%{_datadir}/fish/* %changelog ++++++ _service ++++++ --- /var/tmp/diff_new_pack.sPz9jN/_old 2023-04-19 17:42:38.628077389 +0200 +++ /var/tmp/diff_new_pack.sPz9jN/_new 2023-04-19 17:42:38.632077413 +0200 @@ -1,7 +1,7 @@ <services> <service name="download_files" mode="disabled" /> <service name="cargo_vendor" mode="disabled"> - <param name="srctar">typst-0.1.0.tar.gz</param> + <param name="srctar">typst-0.2.0.tar.gz</param> <param name="compression">xz</param> <param name="update">true</param> </service> ++++++ typst-0.1.0.tar.gz -> typst-0.2.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/typst/typst-0.1.0.tar.gz /work/SRC/openSUSE:Factory/.typst.new.2023/typst-0.2.0.tar.gz differ: char 12, line 1 ++++++ vendor.tar.xz ++++++ /work/SRC/openSUSE:Factory/typst/vendor.tar.xz /work/SRC/openSUSE:Factory/.typst.new.2023/vendor.tar.xz differ: char 27, line 1