Skip to content

Commit

Permalink
librsvg: update to 2.50.3.
Browse files Browse the repository at this point in the history
Version 2.50.3

- #601 - Compute correct bounds for objects with stroke-width=0.

- #545 - Fix MacOS build (Ignacio Casal Quinteiro, Christian Hergert).

- Fix test suite on Rust 1.49 (Sven Neumann).

Version 2.50.2

- #642 - Fix dx/dy offsets in nested <tspan> elements.

Version 2.50.1

- #615: SVG2: Support a chain of uri() filters in the "filter" property
  (John Ledbetter, Sven Neumann).

- #483: Support CSS selectors for attribute matching, like rect[attr^="prefix"]

- #554: Fixed the geometry_for_layer() APIs to not ignore the passed viewport.

- Fixed CSS "import" so it allows only files from the same base directory
  (Lars Schmertmann).

- #623 - The pkg-config files (*.pc) do not define the 'svgz_supported' and
  'css_supported' variables anymore.  These variables were hardcoded
  to 'true' and unchanged since 2011.

- #624 - The source repository no longer produces a librsvg-uninstalled.pc file.

Version 2.50.0

- The following is a summary of changes between 2.48.x and 2.50.0.  For
  full details, please see the 2.49.x release notes below.

- This release requires at least Rust 1.40.

- Windows builds now support ARM64, thanks to Chun-wei Fan.

- Librsvg now consumes much less memory for large SVG files.  The limit for
  the maximum number of elements in an SVG is bigger now at 1 million
  elements (this limit exists to avoid unbounded memory consumption by
  maliciously large files, and is plenty to render even very detailed
  maps).  Thanks to Sergey "Shnatsel" Davidoff and Adam Reichold for making
  this possible.

- #34 - The 'font' shorthand in is now supported in CSS.  Librsvg
  ignores the 'line-height' sub-property because it cannot be done
  easily with Pango, but everything else in 'font' should work now.

- Many new features from SVG2:

- #508 - radialGradient now supports the "fr" property from SVG2
  (Dunja Lalic, Corentin Rossignon).

- #568 - Support href attribute in addition to xlink:href per SVG2.

- #560 - Ignore missing filter references per SVG2.

- #607 - Support the mix-blend-mode property from SVG2 and the
  Compositing and Blending Level 1 specification, so layers can be
  composited with operators like multiply/screen/color-burn, etc.
  https://www.w3.org/TR/compositing-1/ (John Ledbetter).

- #473 - Support the paint-order property from SVG2, so one can pick
  the order in which a path's fill/stroke/markers are drawn (John Ledbetter).

- Many bug fixes and little optimizations; see the 2.49.x release notes for
  details.  Thanks to Paolo Borelli, Daniel Kolesa, Ernestas Kulik.
  Sven Neumann, Bastien Orivel, Jordan Petridis, Emile Snyder.

- Special thanks to Sven Neumann for fixing all the cargo-clippy lints.

Version 2.49.5

- #607 - Support the mix-blend-mode property from SVG2 and the
  Compositing and Blending Level 1 specification, so layers can be
  composited with operators like multiply/screen/color-burn, etc.
  https://www.w3.org/TR/compositing-1/ (John Ledbetter).

- #473 - Support the paint-order property from SVG2, so one can pick
  the order in which a path's fill/stroke/markers are drawn (John Ledbetter).

- Cleanups of the basic drawing and paint-handling code (Paolo Borelli).

- Many style fixes per cargo-clippy (Sven Neumann).

- Improved documentation on the library's internals.

Version 2.49.4

- Support ARM64 Windows builds (Chun-wei Fan).

- #165 - Draw zero-length paths with square caps correctly (Bastien Orivel).

- #568 - Support href attribute in addition to xlink:href per SVG2.

- #560 - Ignore missing filter references per SVG2.

- #609 - Support the transform attribute again in clipPath (Sven Neumann).

- Update Criterion benchmarks (Ernestas Kulik).

- Update to newer dependencies (Bastien Orivel).

- Many style fixes per cargo-clippy (Dunja Lalic, Sven Neumann).

Version 2.49.3

- #34 - The 'font' shorthand in is now supported in CSS.  Librsvg
  ignores the 'line-height' sub-property because it cannot be done
  easily with Pango, but everything else in 'font' should work now.

- #605 - Compute 'bolder' and 'lighter' font-weight correctly.

- #219 - Make the path parser have a tokenizer/parser (Emile Snyder).

- Fixes for the CI after the gitlab.gnome.org changes (Jordan Petridis).

- Fixed some typos in the documentation (codespell is awesome!).

Version 2.49.2

- Fix failing tests.

Version 2.49.1

- (#604) - Fix build on big-endian machines.  Thanks to Daniel Kolesa
  for testing this repeatedly.

Version 2.49.0

- Memory consumption of parsed SVG data is greatly reduced.  Property
  values, path data, and text nodes now use much less memory than
  before.  Thanks to Sergey "Shnatsel" Davidoff and Adam Reichold for
  their contributions.

- With that reduction in memory consumption, librsvg can now load up
  to 1 million XML elements.  This is a hard limit to avoid malicious
  files consuming arbitrary amounts of memory.

- #508 - radialGradient now supports the "fr" property from SVG2
  (Dunja Lalic, Corentin Rossignon).

- Sven Neumann has written a fantastic test suite for rsvg-convert(1).
  Now we can modify this program with confidence.

- Many, many cleanups (Paolo Borelli).

- #594 - Only compute locale information for elements that need it.

- As usual, thanks to Bastien Orivel for keeping dependent crates updated.

- Fix Windows builds without PangoFT2.

- Benchmarks of internal functions work now.  You can run "cargo bench"
  in librsvg/ and rsvg_internals/.

Version 2.48.5

- #577 - Support multiple fonts in the font-family property (Bastien Orivel).
  Previously in font-family="Foo, Bar, Baz" only Foo would get used.

- #591 - Catch overflow when rendering files with a huge viewBox.

- #593 - Don't panic with an empty objectBoundingBox for a mask.

- #596 - Fix introspection data for rsvg_handle_set_stylesheet (Sutou Kouhei).

- Fixes to the librsvg_crate documentation (Abraham Toriz).

- Loading raster images for inclusion in an SVG and producing
  GdkPixbufs is now faster.

Version 2.48.4

- #590 - Fix regression when rendering masks.

- #588 - Fix panic when a big viewBox creates an invalid transform.

- #592 - Fix invalid argument to g_log_structured_array()
  • Loading branch information
0-wiz-0 committed Apr 13, 2021
1 parent 1d06f40 commit 252daab
Show file tree
Hide file tree
Showing 4 changed files with 787 additions and 548 deletions.
170 changes: 3 additions & 167 deletions graphics/librsvg/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.127 2020/12/27 02:34:54 joerg Exp $
# $NetBSD: Makefile,v 1.128 2021/04/13 10:28:00 wiz Exp $

DISTNAME= librsvg-2.48.3
PKGREVISION= 3
DISTNAME= librsvg-2.50.3
CATEGORIES= graphics gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/librsvg/${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX= .tar.xz
Expand All @@ -26,169 +25,7 @@ PKGCONFIG_OVERRIDE= librsvg.pc.in

TEST_TARGET= check

CARGO_CRATE_DEPENDS+= aho-corasick-0.7.10
CARGO_CRATE_DEPENDS+= alga-0.9.3
CARGO_CRATE_DEPENDS+= approx-0.3.2
CARGO_CRATE_DEPENDS+= atty-0.2.14
CARGO_CRATE_DEPENDS+= autocfg-1.0.0
CARGO_CRATE_DEPENDS+= bitflags-1.2.1
CARGO_CRATE_DEPENDS+= block-0.1.6
CARGO_CRATE_DEPENDS+= bstr-0.2.12
CARGO_CRATE_DEPENDS+= byteorder-1.3.4
CARGO_CRATE_DEPENDS+= cairo-rs-0.8.1
CARGO_CRATE_DEPENDS+= cairo-sys-rs-0.9.2
CARGO_CRATE_DEPENDS+= cast-0.2.3
CARGO_CRATE_DEPENDS+= cfg-if-0.1.10
CARGO_CRATE_DEPENDS+= clap-2.33.0
CARGO_CRATE_DEPENDS+= cloudabi-0.0.3
CARGO_CRATE_DEPENDS+= criterion-0.2.11
CARGO_CRATE_DEPENDS+= criterion-plot-0.3.1
CARGO_CRATE_DEPENDS+= crossbeam-deque-0.7.3
CARGO_CRATE_DEPENDS+= crossbeam-epoch-0.8.2
CARGO_CRATE_DEPENDS+= crossbeam-queue-0.2.1
CARGO_CRATE_DEPENDS+= crossbeam-utils-0.7.2
CARGO_CRATE_DEPENDS+= cssparser-0.27.2
CARGO_CRATE_DEPENDS+= cssparser-macros-0.6.0
CARGO_CRATE_DEPENDS+= csv-1.1.3
CARGO_CRATE_DEPENDS+= csv-core-0.1.10
CARGO_CRATE_DEPENDS+= data-url-0.1.0
CARGO_CRATE_DEPENDS+= derive_more-0.99.5
CARGO_CRATE_DEPENDS+= downcast-rs-1.1.1
CARGO_CRATE_DEPENDS+= dtoa-0.4.5
CARGO_CRATE_DEPENDS+= dtoa-short-0.3.2
CARGO_CRATE_DEPENDS+= either-1.5.3
CARGO_CRATE_DEPENDS+= encoding-0.2.33
CARGO_CRATE_DEPENDS+= encoding-index-japanese-1.20141219.5
CARGO_CRATE_DEPENDS+= encoding-index-korean-1.20141219.5
CARGO_CRATE_DEPENDS+= encoding-index-simpchinese-1.20141219.5
CARGO_CRATE_DEPENDS+= encoding-index-singlebyte-1.20141219.5
CARGO_CRATE_DEPENDS+= encoding-index-tradchinese-1.20141219.5
CARGO_CRATE_DEPENDS+= encoding_index_tests-0.1.4
CARGO_CRATE_DEPENDS+= float-cmp-0.6.0
CARGO_CRATE_DEPENDS+= fuchsia-cprng-0.1.1
CARGO_CRATE_DEPENDS+= futf-0.1.4
CARGO_CRATE_DEPENDS+= futures-channel-0.3.4
CARGO_CRATE_DEPENDS+= futures-core-0.3.4
CARGO_CRATE_DEPENDS+= futures-executor-0.3.4
CARGO_CRATE_DEPENDS+= futures-io-0.3.4
CARGO_CRATE_DEPENDS+= futures-macro-0.3.4
CARGO_CRATE_DEPENDS+= futures-task-0.3.4
CARGO_CRATE_DEPENDS+= futures-util-0.3.4
CARGO_CRATE_DEPENDS+= fxhash-0.2.1
CARGO_CRATE_DEPENDS+= gdk-pixbuf-0.8.0
CARGO_CRATE_DEPENDS+= gdk-pixbuf-sys-0.9.1
CARGO_CRATE_DEPENDS+= generic-array-0.13.2
CARGO_CRATE_DEPENDS+= getrandom-0.1.14
CARGO_CRATE_DEPENDS+= gio-0.8.1
CARGO_CRATE_DEPENDS+= gio-sys-0.9.1
CARGO_CRATE_DEPENDS+= glib-0.9.3
CARGO_CRATE_DEPENDS+= glib-sys-0.9.1
CARGO_CRATE_DEPENDS+= gobject-sys-0.9.1
CARGO_CRATE_DEPENDS+= hermit-abi-0.1.10
CARGO_CRATE_DEPENDS+= idna-0.2.0
CARGO_CRATE_DEPENDS+= itertools-0.8.2
CARGO_CRATE_DEPENDS+= itoa-0.4.5
CARGO_CRATE_DEPENDS+= language-tags-0.2.2
CARGO_CRATE_DEPENDS+= lazy_static-1.4.0
CARGO_CRATE_DEPENDS+= libc-0.2.68
CARGO_CRATE_DEPENDS+= libm-0.2.1
CARGO_CRATE_DEPENDS+= locale_config-0.3.0
CARGO_CRATE_DEPENDS+= log-0.4.8
CARGO_CRATE_DEPENDS+= mac-0.1.1
CARGO_CRATE_DEPENDS+= malloc_buf-0.0.6
CARGO_CRATE_DEPENDS+= markup5ever-0.10.0
CARGO_CRATE_DEPENDS+= matches-0.1.8
CARGO_CRATE_DEPENDS+= matrixmultiply-0.2.3
CARGO_CRATE_DEPENDS+= maybe-uninit-2.0.0
CARGO_CRATE_DEPENDS+= memchr-2.3.3
CARGO_CRATE_DEPENDS+= memoffset-0.5.4
CARGO_CRATE_DEPENDS+= nalgebra-0.19.0
CARGO_CRATE_DEPENDS+= new_debug_unreachable-1.0.4
CARGO_CRATE_DEPENDS+= nodrop-0.1.14
CARGO_CRATE_DEPENDS+= num-complex-0.2.4
CARGO_CRATE_DEPENDS+= num-integer-0.1.42
CARGO_CRATE_DEPENDS+= num-rational-0.2.4
CARGO_CRATE_DEPENDS+= num-traits-0.2.11
CARGO_CRATE_DEPENDS+= num_cpus-1.12.0
CARGO_CRATE_DEPENDS+= objc-0.2.7
CARGO_CRATE_DEPENDS+= objc-foundation-0.1.1
CARGO_CRATE_DEPENDS+= objc_id-0.1.1
CARGO_CRATE_DEPENDS+= once_cell-1.3.1
CARGO_CRATE_DEPENDS+= pango-0.8.0
CARGO_CRATE_DEPENDS+= pango-sys-0.9.1
CARGO_CRATE_DEPENDS+= pangocairo-0.9.0
CARGO_CRATE_DEPENDS+= pangocairo-sys-0.10.1
CARGO_CRATE_DEPENDS+= percent-encoding-2.1.0
CARGO_CRATE_DEPENDS+= phf-0.8.0
CARGO_CRATE_DEPENDS+= phf_codegen-0.8.0
CARGO_CRATE_DEPENDS+= phf_generator-0.8.0
CARGO_CRATE_DEPENDS+= phf_macros-0.8.0
CARGO_CRATE_DEPENDS+= phf_shared-0.8.0
CARGO_CRATE_DEPENDS+= pin-utils-0.1.0-alpha.4
CARGO_CRATE_DEPENDS+= pkg-config-0.3.17
CARGO_CRATE_DEPENDS+= ppv-lite86-0.2.6
CARGO_CRATE_DEPENDS+= precomputed-hash-0.1.1
CARGO_CRATE_DEPENDS+= proc-macro-hack-0.5.15
CARGO_CRATE_DEPENDS+= proc-macro-nested-0.1.4
CARGO_CRATE_DEPENDS+= proc-macro2-1.0.10
CARGO_CRATE_DEPENDS+= quote-1.0.3
CARGO_CRATE_DEPENDS+= rand-0.7.3
CARGO_CRATE_DEPENDS+= rand_chacha-0.2.2
CARGO_CRATE_DEPENDS+= rand_core-0.3.1
CARGO_CRATE_DEPENDS+= rand_core-0.4.2
CARGO_CRATE_DEPENDS+= rand_core-0.5.1
CARGO_CRATE_DEPENDS+= rand_distr-0.2.2
CARGO_CRATE_DEPENDS+= rand_hc-0.2.0
CARGO_CRATE_DEPENDS+= rand_os-0.1.3
CARGO_CRATE_DEPENDS+= rand_pcg-0.2.1
CARGO_CRATE_DEPENDS+= rand_xoshiro-0.1.0
CARGO_CRATE_DEPENDS+= rawpointer-0.2.1
CARGO_CRATE_DEPENDS+= rayon-1.3.0
CARGO_CRATE_DEPENDS+= rayon-core-1.7.0
CARGO_CRATE_DEPENDS+= rctree-0.3.3
CARGO_CRATE_DEPENDS+= rdrand-0.4.0
CARGO_CRATE_DEPENDS+= redox_syscall-0.1.56
CARGO_CRATE_DEPENDS+= regex-1.3.6
CARGO_CRATE_DEPENDS+= regex-automata-0.1.9
CARGO_CRATE_DEPENDS+= regex-syntax-0.6.17
CARGO_CRATE_DEPENDS+= rustc_version-0.2.3
CARGO_CRATE_DEPENDS+= ryu-1.0.3
CARGO_CRATE_DEPENDS+= same-file-1.0.6
CARGO_CRATE_DEPENDS+= scopeguard-1.1.0
CARGO_CRATE_DEPENDS+= selectors-0.22.0
CARGO_CRATE_DEPENDS+= semver-0.9.0
CARGO_CRATE_DEPENDS+= semver-parser-0.7.0
CARGO_CRATE_DEPENDS+= serde-1.0.106
CARGO_CRATE_DEPENDS+= serde_derive-1.0.106
CARGO_CRATE_DEPENDS+= serde_json-1.0.51
CARGO_CRATE_DEPENDS+= servo_arc-0.1.1
CARGO_CRATE_DEPENDS+= siphasher-0.3.2
CARGO_CRATE_DEPENDS+= slab-0.4.2
CARGO_CRATE_DEPENDS+= smallvec-1.3.0
CARGO_CRATE_DEPENDS+= stable_deref_trait-1.1.1
CARGO_CRATE_DEPENDS+= string_cache-0.8.0
CARGO_CRATE_DEPENDS+= string_cache_codegen-0.5.1
CARGO_CRATE_DEPENDS+= syn-1.0.17
CARGO_CRATE_DEPENDS+= tendril-0.4.1
CARGO_CRATE_DEPENDS+= textwrap-0.11.0
CARGO_CRATE_DEPENDS+= thin-slice-0.1.1
CARGO_CRATE_DEPENDS+= thread_local-1.0.1
CARGO_CRATE_DEPENDS+= time-0.1.42
CARGO_CRATE_DEPENDS+= tinytemplate-1.0.3
CARGO_CRATE_DEPENDS+= typenum-1.11.2
CARGO_CRATE_DEPENDS+= unicode-bidi-0.3.4
CARGO_CRATE_DEPENDS+= unicode-normalization-0.1.12
CARGO_CRATE_DEPENDS+= unicode-width-0.1.7
CARGO_CRATE_DEPENDS+= unicode-xid-0.2.0
CARGO_CRATE_DEPENDS+= url-2.1.1
CARGO_CRATE_DEPENDS+= utf-8-0.7.5
CARGO_CRATE_DEPENDS+= walkdir-2.3.1
CARGO_CRATE_DEPENDS+= wasi-0.9.0+wasi-snapshot-preview1
CARGO_CRATE_DEPENDS+= winapi-0.3.8
CARGO_CRATE_DEPENDS+= winapi-i686-pc-windows-gnu-0.4.0
CARGO_CRATE_DEPENDS+= winapi-util-0.1.4
CARGO_CRATE_DEPENDS+= winapi-x86_64-pc-windows-gnu-0.4.0
CARGO_CRATE_DEPENDS+= xml5ever-0.16.1
.include "cargo-depends.mk"

BUILDLINK_DEPMETHOD.gobject-introspection+= build
.include "../../devel/gobject-introspection/buildlink3.mk"
Expand All @@ -200,7 +37,6 @@ BUILDLINK_API_DEPENDS.pango+= pango>=1.38
BUILDLINK_API_DEPENDS.cairo+= cairo>=1.2.0
.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/cairo-gobject/buildlink3.mk"
BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.8.0
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/gdk-pixbuf2/loaders.mk"
BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.9
Expand Down
Loading

0 comments on commit 252daab

Please sign in to comment.