Package Details: resvg 0.45.0-2

Git Clone URL: https://aur.archlinux.org/resvg.git (read-only, click to copy)
Package Base: resvg
Description: SVG rendering library and CLI
Upstream URL: https://github.com/RazrFalcon/resvg
Licenses: MIT, Apache-2.0
Submitter: flying-sheep
Maintainer: flying-sheep
Last Packager: flying-sheep
Votes: 25
Popularity: 0.93
First Submitted: 2018-05-24 11:10 (UTC)
Last Updated: 2025-03-01 16:21 (UTC)

Dependencies (13)

Sources (1)

Latest Comments

1 2 3 4 5 Next › Last »

eli_liam commented on 2025-03-03 16:59 (UTC)

I'm hitting a build error now, likely related to what flying-sheep mentioned, however it doesn't seem to build for me.

==> Making package: resvg 0.45.0-2 (Mon 03 Mar 2025 10:57:12 AM CST)
==> Retrieving sources...
  -> Downloading resvg-0.45.0.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 8147k    0 8147k    0     0  7573k      0 --:--:--  0:00:01 --:--:-- 7573k
==> Validating source files with sha256sums...
    resvg-0.45.0.tar.gz ... Passed
==> Making package: resvg 0.45.0-2 (Mon 03 Mar 2025 10:57:14 AM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found resvg-0.45.0.tar.gz
==> Validating source files with sha256sums...
    resvg-0.45.0.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting resvg-0.45.0.tar.gz with bsdtar
==> Starting prepare()...
==> Sources are ready.
resvg-0.45.0-2: parsing pkg list...
==> Making package: resvg 0.45.0-2 (Mon 03 Mar 2025 10:57:16 AM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
    Updating crates.io index
error: failed to get `gif` as a dependency of package `resvg v0.45.0 (/tmp/makepkg/resvg/src/resvg-0.45.0/crates/resvg)`

Caused by:
  attempting to make an HTTP request, but --frozen was specified
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'resvg-0.45.0-2': 
error: packages failed to build: resvg-0.45.0-2

flying-sheep commented on 2025-03-01 16:26 (UTC)

oops, forgot to update the URL. but it redirects, so should be fine until the next update

flying-sheep commented on 2025-03-01 16:15 (UTC) (edited on 2025-03-01 16:22 (UTC) by flying-sheep)

done!

Kl4rry commented on 2024-07-18 12:12 (UTC)

Consider setting the target dir like this so that if a user has a global override it does not cause problems.

export CARGO_TARGET_DIR=target

sng commented on 2023-10-26 07:15 (UTC) (edited on 2023-10-26 07:22 (UTC) by sng)

$ makepkg  
==> Making package: resvg 0.36.0-1 (Πεμ 26 Οκτ 2023 10:14:49 πμ EEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found resvg-0.36.0.tar.gz
==> Validating source files with sha256sums...
    resvg-0.36.0.tar.gz ... Passed
==> Extracting sources...
  -> Extracting resvg-0.36.0.tar.gz with bsdtar
==> Starting prepare()...
    Updating crates.io index
error: failed to get `gif` as a dependency of package `resvg v0.36.0 (resvg/src/resvg-0.36.0/crates/resvg)`

Caused by:
  failed to fetch `https://github.com/rust-lang/crates.io-index`

Caused by:
  error reading from the zlib stream; class=Zlib (5)

==> ERROR: A failure occurred in prepare().
    Aborting...

I get this error...

This is on a manjaro box

Can you help?

flying-sheep commented on 2023-10-23 16:05 (UTC)

Thanks! The failing test is now skipped upstream, and I updated the kio5 makedep

Riedler commented on 2023-10-21 00:28 (UTC)

heyo, the kio package changed - I think you'll want kio5 instead

msrd0 commented on 2023-09-22 22:07 (UTC)

You might want to disable the known failing test (https://github.com/RazrFalcon/resvg/issues/644), e.g.

diff --git a/PKGBUILD b/PKGBUILD
index 6558114..ac7c74d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -56,7 +56,7 @@ build() {
 check() {
    cd "$pkgname-$pkgver"
    export RUSTUP_TOOLCHAIN=stable
-   cargo test --frozen --all-features
+   cargo test --frozen --all-features -- --skip paint_servers_radialGradient_focal_point_correction
 }

 package() {

msrd0 commented on 2023-09-20 14:59 (UTC)

This package conflicts with the usvg package

flying-sheep commented on 2023-06-10 14:57 (UTC)

I don’t get it. In the prepare() function, the PKGBUILD fetches the dependencies: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=resvg#n21

I don’t know why that doesn’t execute for you. Are you running makepkg --noextract?