302 Commits

Author SHA256 Message Date
Dominique Leuenberger
6665abd7ff Accepting request 1219976 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1219976
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=148
2024-11-01 20:47:06 +00:00
cf4d4a136f - Change license to LGPL-2.1-or-later AND MIT.
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=267
2024-10-31 22:29:19 +00:00
Dominique Leuenberger
78173719da Accepting request 1219628 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1219628
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=147
2024-10-31 15:08:43 +00:00
703cc9e134 - Update to version 2.59.2:
+ Fix stack overflow due to unbounded recursion.  Now there is
    a hard limit on the number of nested layers that an SVG
    document may have.  This is not a hard limit on the amount of
    stack space consumed, but it is a general mitigation.
  + Fix regression when rendering paths with very flat elliptical
    arcs.  This bug was introduced in 2.59.1 as part of the
    mitigation for paths with coordinates that Cairo is unable to
    handle.
  + Fix centering and text-anchor in general for scaled text.
  + Fix building with Rust 1.82 on Windows (Christoph Reiter).
  + Make cancellation work for all the resource loading
    functions.
  + Add documentation for rsvg-bench to the development guide.
  + Slight improvement in memory consumption for language tags.
  + Many updates to the developer's documentation, for Outreachy
    interns.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=265
2024-10-30 17:09:31 +00:00
Ana Guerrero
1fa37e9c06 Accepting request 1204711 from GNOME:Factory
- Update to version 2.59.1:
  + Two mitigations for crashes found throuh fuzz testing:
    - Cairo is easy to crash by giving it path coordinates that are
      outside of the range that it can represent internally with
      its fixed-point arithmetic. Fuzzers usually produce SVGs with
      very large numbers for coordinates, which overflow Cairo's
      arithmetic.
      This is just a *mitigation*, not a complete fix: librsvg will
      now check if path coordinates are outside of Cairo's
      supported range, and it will not render shapes with
      problematic coordinates. However, fuzzers may still produce
      coordinates that are in range but that still make Cairo
      crash. I am starting to learn Cairo's code to see if this can
      be fixed gradually.
- Update to version 2.59.0:
  + The biggest change in this release is that librsvg now uses the
    Meson build system instead of autotools.
  + With Meson, librsvg now builds a lot more reliably on Windows
    and MacOS.
  + Librsvg now uses Meson instead of Autotools
  + There is a -Davif meson option to include support for AVIF in
    the image-rs crate, which librsvg uses to load raster images.
  + Librsvg now explicitly builds only its supported raster formats
    for image-rs: JPEG, PNG, GIF, WEBP, and optional compile-time
    support for AVIF). Other raster image formats are not
    supported, to minimize the attack surface.
  + Librsvg now supports cancellable rendering; you can start
    rendering an RsvgHandle in one thread, and stop it from another
    thread with a GCancellable. In the C API, you can use the
    rsvg_handle_set_cancellable_for_rendering() function; in the
    Rust API, CairoRenderer now has a with_cancellable() method.
  + For Rust users, there is now a 'librsvg-rebind' crate that
    binds the C API for use from Rust. Internally this links to the
    system's librsvg shared library, in contrast with the 'librsvg'
    crate, which is statically linked and which has a native Rust
    API. The 'librsvg-rebind' crate is for cases where the
    additional code size from static linking is not desired. This
    librsvg-rebind crate is available from crates.io.
  + A bunch of fixes to bugs found through fuzz testing.
- Use ldconfig_scriptlets macro for some of the post(un) handling.
- Update to version 2.58.94:
  + The minimum supported Rust version (MSRV) is 1.77.2.
  + Fix assertion failures with large Hue value in hsl() or hwb()
    colors.
  + Limit the baseFrequency for feTurbulence to avoid integer
    overflow.
  + Only make exported symbols visible in the library's binary.
  + Fix the -Davif=enabled feature; it was not being handled
    correctly at compilation time.
  + Ensure compatibility with Binutils < 2.39.
  + Build fixes for Windows.
- Update to version 2.58.92:
  + Librsvg is now part of Google's oss-fuzz and is fuzz-tested
    automatically - see
    https://gnome.pages.gitlab.gnome.org/librsvg/devel-docs/oss_fuzz.html
    for details.
  + This release has two bug fixes from fuzz testing, and a new API
    call:
    - Don't leak XML entities when the XML document fails to parse.
    - Fix stack overflow in <use> reference cycle.
    - Librsvg now supports cancellable rendering; you can start
      rendering an RsvgHandle in one thread, and stop it from
      another thread with a GCancellable. In the C API, you can use
      the rsvg_handle_set_cancellable_for_rendering() function; in
      the Rust API, CairoRenderer now has a with_cancellable()
      method.
  + Many build fixes for Windows, MacOS, iOS, and cross-compilation
  + Continued refactoring for a render tree.
  + Many fixes to the documentation.
- Update to version 2.58.91:
  + Librsvg now requires cairo version 1.18.0 or later.
  + Librsvg now explicitly builds only its supported raster
    formats for image-rs: JPEG, PNG, GIF, WEBP, and optional
    compile-time support for AVIF. Other raster image formats are
    not supported, to minimize the attack surface.
  + Don't generate gdk-pixbuf loaders cache if DESTDIR is set.
  + Documentation updates for meson.
  + Document the fact that the default DPI in the C API for
    RsvgHandle is 90 DPI, unlike rsvg-convert and the Rust API,
    which use 96 DPI.
  + Document the security considerations for the image-rs crate
    and the raster image formats that librsvg supports.
  + Fix and fine-tune compilation on Windows (MSVC and msys2),
    MacOS, and Android.
  + Fix installation when only compiling the static library.
  + Update Pango for CI and fix a test file. The test suite now
    includes the DejaVu Sans font, which supports extra
    glyphs/languages for the test suite.
- Changesfrom version 2.58.90:
  + librsvg has been ported to the Meson build system.  Librsvg no
    longer uses autotools!
  + Changes in this release:
    - Librsvg now uses Meson instead of Autotools.
    - There is a -Davif meson option to include support for AVIF in
      the image-rs crate, which librsvg uses to load raster images.
    - Start revamping the fuzzing infrastructure.
- Add cargo-c and pkgconfig(dav1d) BuildRequires: new dependencies.

OBS-URL: https://build.opensuse.org/request/show/1204711
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=146
2024-10-01 15:11:24 +00:00
c8ca5d6243 New release
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=263
2024-09-30 07:48:45 +00:00
Ana Guerrero
a6b4e65665 Accepting request 1201592 from GNOME:Factory
- Update to version 2.58.4:
  + Fix regression when using an SVG inside a feImage element. (forwarded request 1200697 from iznogood)

OBS-URL: https://build.opensuse.org/request/show/1201592
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=145
2024-09-18 13:26:19 +00:00
da395bcdd9 - Update to version 2.58.4:
+ Fix regression when using an SVG inside a feImage element.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=261
2024-09-17 11:42:05 +00:00
Ana Guerrero
e3a7316142 Accepting request 1194672 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1194672
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=144
2024-08-20 14:12:53 +00:00
d0506a6fcc - Update to version 2.58.3:
+ A couple of fixes from fuzz testing:
    - Fix assertion failures with large Hue value in hsl() or hwb()
      colors.
    - Limit the baseFrequency for feTurbulence to avoid integer
      overflow.
    - Remove an obsolete test.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=259
2024-08-19 09:24:33 +00:00
Ana Guerrero
033f44571c Accepting request 1187250 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1187250
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=143
2024-07-15 17:45:52 +00:00
65f9ecbcd2 Accepting request 1187249 from home:iznogood:branches:GNOME:Factory
- Update to version 2.58.2:
  + Don't leak XML entities when the XML document fails to parse.
  + Fix stack overflow in <use> reference cycle.

OBS-URL: https://build.opensuse.org/request/show/1187249
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=257
2024-07-12 21:28:36 +00:00
Ana Guerrero
da92a16963 Accepting request 1177168 from GNOME:Factory
- Update to version 2.58.1:
  + Fix failing test with Pango 1.52.1.

OBS-URL: https://build.opensuse.org/request/show/1177168
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=142
2024-05-28 15:28:05 +00:00
dcd69323c7 - Update to version 2.58.1:
+ Fix failing test with Pango 1.52.1.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=255
2024-05-27 06:38:49 +00:00
Dominique Leuenberger
6e936b8849 Accepting request 1159509 from GNOME:Factory
GNOME 46 (forwarded request 1158896 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/1159509
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=141
2024-03-20 20:12:05 +00:00
5e1b6bcec6 Accepting request 1158896 from GNOME:Next
GNOME 46

OBS-URL: https://build.opensuse.org/request/show/1158896
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=253
2024-03-19 13:31:56 +00:00
Dominique Leuenberger
c6c6b39ec5 Accepting request 1136901 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1136901
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=140
2024-01-05 20:40:48 +00:00
caed79bed9 Accepting request 1136894 from GNOME:Next
- Update to version 2.57.1:
  + Fix small-caps and bump the version of Pango required to 1.50.0.
  + Fix panic when using negative scaling transforms on the
    toplevel.
  + Support "var(--foo, #aabbcc)" just for colors.  This is the
    minimum required to render color SVG emoji fonts that provide
    color fallbacks, but it is not yet full support for CSS var().
  + Fix the VS2017 build.
  + Update cairo-rs.
  + Update the project metadata files.

OBS-URL: https://build.opensuse.org/request/show/1136894
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=251
2024-01-04 17:39:58 +00:00
Dominique Leuenberger
6337a6f813 Accepting request 1132054 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1132054
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=139
2023-12-09 21:49:06 +00:00
dfa9f8ced9 Accepting request 1132053 from home:yfjiang:branches:GNOME:Factory
Sync changelog with SLE/Leap

OBS-URL: https://build.opensuse.org/request/show/1132053
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=249
2023-12-08 08:54:10 +00:00
Ana Guerrero
732af406d1 Accepting request 1131667 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1131667
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=138
2023-12-07 18:10:07 +00:00
097bd6a701 Accepting request 1131666 from GNOME:Next
cargo-packaging (boo#1198129).

OBS-URL: https://build.opensuse.org/request/show/1131666
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=247
2023-12-07 17:32:04 +00:00
Dominique Leuenberger
038f680f9f Accepting request 1130319 from GNOME:Factory
(forwarded request 1130221 from iznogood)

OBS-URL: https://build.opensuse.org/request/show/1130319
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=137
2023-12-02 16:12:20 +00:00
9ba130d31d Accepting request 1130221 from GNOME:Next
OBS-URL: https://build.opensuse.org/request/show/1130221
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=245
2023-12-01 16:51:17 +00:00
Dominique Leuenberger
476a165ace Accepting request 1111417 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1111417
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=136
2023-09-20 11:21:37 +00:00
ca142304db Accepting request 1111051 from GNOME:Next
OBS-URL: https://build.opensuse.org/request/show/1111051
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=243
2023-09-15 02:07:57 +00:00
353e56e54e Accepting request 1110591 from GNOME:Next
- Skip bugs_bug668_small_caps_svg test, started failing with
  harfbuzz-8.2.0

OBS-URL: https://build.opensuse.org/request/show/1110591
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=242
2023-09-13 11:34:58 +00:00
d40737cb5b Accepting request 1109847 from GNOME:Next
Pushing GNOME 45.rc packages

OBS-URL: https://build.opensuse.org/request/show/1109847
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=241
2023-09-12 08:21:29 +00:00
Ana Guerrero
1726bf1edd Accepting request 1100944 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1100944
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=135
2023-07-27 14:49:53 +00:00
e562032fb5 Accepting request 1100425 from GNOME:Next
- Update to version 2.56.3:
  + This is a security release for bug glgo#GNOME/librsvg#996.
    - glgo#GNOME/librsvg#996: Fix arbitrary file read when href has
      special characters.
    - glgo#GNOME/librsvg#998: Fix cascade for symbol elements being
      referenced from use elements.

OBS-URL: https://build.opensuse.org/request/show/1100425
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=239
2023-07-27 01:23:27 +00:00
Dominique Leuenberger
464b9856df Accepting request 1094347 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1094347
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=134
2023-06-22 21:24:37 +00:00
d3c2cfc807 Accepting request 1094338 from GNOME:Next
- Use %build_rustflags instead of the deprecated
  %__default_rustflags macro. Requires at least cargo-packaging
  1.2.0+3 (boo#1212333).

OBS-URL: https://build.opensuse.org/request/show/1094338
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=237
2023-06-21 11:13:38 +00:00
Dominique Leuenberger
a554ac0292 Accepting request 1093329 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1093329
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=133
2023-06-17 20:19:37 +00:00
Ana Guerrero
deee8b69ee Accepting request 1093230 from GNOME:Next
- Use %__default_rustflags instead of the deprecated %__rustflags
  macro. Requires at least cargo-packaging 1.2.0+2 (boo#1212333).

OBS-URL: https://build.opensuse.org/request/show/1093230
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=235
2023-06-15 14:12:19 +00:00
Dominique Leuenberger
ba60fffa47 Accepting request 1090252 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1090252
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=132
2023-06-03 22:11:39 +00:00
a099ff842b Accepting request 1089951 from GNOME:Next
- Update to version 2.56.1:
  + The minimum supported Rust version (MSRV) is 1.65.
    Unfortunately the assert_cmd crate, used in the test suite,
    bumped its MSRV and is forcing us to do the same.
  + Shrink the shared library by telling the linker to omit unused
    code.
  + Updates to dependencies.

OBS-URL: https://build.opensuse.org/request/show/1089951
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=233
2023-06-01 10:54:40 +00:00
Dominique Leuenberger
f80fe2ca08 Accepting request 1085036 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1085036
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=131
2023-05-06 20:08:38 +00:00
6c0d2580ce Accepting request 1084997 from home:fcrozat:branches:GNOME:Factory
- Tune _constraints for the various architectures.

OBS-URL: https://build.opensuse.org/request/show/1084997
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=231
2023-05-05 10:58:36 +00:00
Dominique Leuenberger
1c25a375f0 Accepting request 1083287 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1083287
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=130
2023-04-28 14:22:42 +00:00
bd4ccca803 Accepting request 1083282 from home:fcrozat:branches:GNOME:Factory
- Update licence tag, there is no longer any Apache licensed code.

OBS-URL: https://build.opensuse.org/request/show/1083282
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=229
2023-04-27 14:59:13 +00:00
9404c9f65c Accepting request 1080984 from GNOME:Next
OBS-URL: https://build.opensuse.org/request/show/1080984
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=228
2023-04-21 07:17:44 +00:00
Dominique Leuenberger
ef0f5238c4 Accepting request 1073190 from GNOME:Factory
(forwarded request 1072794 from iznogood)

OBS-URL: https://build.opensuse.org/request/show/1073190
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=129
2023-03-24 14:17:15 +00:00
c97cd1f1b6 Accepting request 1072794 from GNOME:Next
OBS-URL: https://build.opensuse.org/request/show/1072794
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=226
2023-03-20 12:47:57 +00:00
Dominique Leuenberger
af04cdbb94 Accepting request 1058616 from GNOME:Factory
- update vendor tarball
- actually run the testsuite for x86_64 (bsc#1207167) (forwarded request 1058610 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/1058616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=128
2023-01-18 12:08:42 +00:00
c5e623a359 Accepting request 1058610 from home:dirkmueller:Factory
- update vendor tarball
- actually run the testsuite for x86_64 (bsc#1207167)

OBS-URL: https://build.opensuse.org/request/show/1058610
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=224
2023-01-16 07:56:48 +00:00
Dominique Leuenberger
686e572afc Accepting request 1001376 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1001376
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=127
2022-09-07 09:05:27 +00:00
4761f6fc56 Accepting request 1001375 from GNOME:Next
New try, NEWS lost its .md extension

OBS-URL: https://build.opensuse.org/request/show/1001375
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=222
2022-09-06 07:52:26 +00:00
00147d81f7 Accepting request 1001354 from GNOME:Next
New stable release

OBS-URL: https://build.opensuse.org/request/show/1001354
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=221
2022-09-06 07:04:08 +00:00
Dominique Leuenberger
f1e64246d6 Accepting request 999790 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/999790
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=126
2022-08-30 12:48:15 +00:00
ffb9be02ba Accepting request 999488 from home:iznogood:branches:GNOME:Factory
- Update to version 2.54.5:
  + Accept patterns with userSpaceOnUse units for the stroke of
    axis-aligned lines.

OBS-URL: https://build.opensuse.org/request/show/999488
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=219
2022-08-29 06:47:14 +00:00