Search Criteria
Package Details: resvg 0.29.0-1
Package Actions
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: | MPL2 |
Submitter: | flying-sheep |
Maintainer: | flying-sheep |
Last Packager: | flying-sheep |
Votes: | 19 |
Popularity: | 0.008875 |
First Submitted: | 2018-05-24 11:10 (UTC) |
Last Updated: | 2023-02-06 17:07 (UTC) |
Dependencies (13)
- gdk-pixbuf2 (gdk-pixbuf2-git)
- cairo (cairo-git, cairo-minimal, cairo-glesv2-bin, cairo-glesv3-bin) (make)
- cargo (rust-nightly-bin, cargo-git, rustup-git, rust, rustup) (make)
- clang (clang8, clang-git, llvm-git, llvm-minimal-git) (make)
- cmake (cmake-git) (make)
- extra-cmake-modules (extra-cmake-modules-git) (make)
- kio (kio-git) (make)
- pango (pango-minimal-git, pango-git, gtk4-git) (make)
- qt5-base (qt5-base-git, qt5-base-headless) (make)
- qt5-tools (qt5-tools-git) (make)
- cairo (cairo-git, cairo-minimal, cairo-glesv2-bin, cairo-glesv3-bin) (optional) – For the cairo backend
- kio (kio-git) (optional) – For the dolphin thumbnailer
- qt5-base (qt5-base-git, qt5-base-headless) (optional) – For the Qt backend
Required by (5)
- fiv-git (optional)
- materia-custom-accent (optional)
- materia-custom-accent-git (optional)
- nanoemoji (check)
- nanoemoji (optional)
Latest Comments
1 2 3 Next › Last »
flying-sheep commented on 2022-01-27 12:40 (UTC)
Thanks! Your patch didn’t apply for some reason, but I think I got everything.
alerque commented on 2022-01-27 09:51 (UTC)
Sorry if my tone was too abrupt.
The package is functional (thanks for that), my remaining comments are just some style tips for you. Obviously some of this is preference. I find it easier to read & review more terse code that cuts straight to the chase rather than trying to follow a bunch of subshells, etc. For example rather than
( cd path ; make ... )
you can just domake -C path
. Rather than a for loop toinstall
two things, you can just tell it to install the two things.Here is a patch with some simplifications taking advantage of standard
install
features etc. It also tweaks a few things that are part of Arch package guidelines such as creating build directories in prepare() and not setting unused variables (prepare() doesn't need the exports, they do nothing there). Feel free to cherry pick bits or just apply it withgit am < file.patch
:flying-sheep commented on 2022-01-27 08:24 (UTC)
Ah, with
--workspace
I can build all the Rust things.I don’t think the Rust packaging guidelines existed when I wrote this packages so easy with the tone.
alerque commented on 2022-01-26 13:47 (UTC)
There are a number of things that could use cleaning up with this packaging. Can you review the Rust package guidelines because there are a number of things that can be fixed such as prefetching dependencies, running tests, building with the right lock options, etc. that need attention. Additionally please desist with the
msg2
business (that's a deprecated private function that's going away) and just don't output anything that isn't part of the upstream build output. The scripting is kind of convoluted too, it takes more code to setup a conditional and call extra processes than it would to just manually run the two correct commands in the appropriate directories.flying-sheep commented on 2021-02-17 14:02 (UTC) (edited on 2021-02-17 14:04 (UTC) by flying-sheep)
No, you read that incorrectly.
As you can see,
kio
is both a build dependency and an optional dependency. That’s because a component of this package links againstkio
, and therefore needskio
when this package is being built or if you need that component.Build this package and remove the unneeded build dependencies afterwards via:
Even the installed size of the deps is less than 100MB. For me that would add 18 seconds to the build time.
BuZZ-dEE commented on 2021-02-09 07:31 (UTC)
Is it correct, that resvg has all these KDE dependencies?:
karchive-5.78.0-1 kauth-5.78.0-1 kbookmarks-5.78.0-1 kcodecs-5.78.0-1 kcompletion-5.78.0-2 kconfig-5.78.0-1 kconfigwidgets-5.78.0-1 kcoreaddons-5.78.0-1 kcrash-5.78.0-1 kdbusaddons-5.78.0-1 kded-5.78.0-1 kglobalaccel-5.78.0-1 kguiaddons-5.78.0-1 ki18n-5.78.0-1 kiconthemes-5.78.0-1 kio-5.78.0-3 kitemviews-5.78.0-1 kjobwidgets-5.78.0-1 knotifications-5.78.0-1 kservice-5.78.0-1 ktextwidgets-5.78.0-1 kwallet-5.78.0-1 kwidgetsaddons-5.78.0-1 kwindowsystem-5.78.0-1 kxmlgui-5.78.0-1
rien333 commented on 2021-01-05 12:01 (UTC)
That worked. Sorry, I always forget to run
rustup update
.flying-sheep commented on 2021-01-05 10:56 (UTC) (edited on 2021-01-05 10:57 (UTC) by flying-sheep)
@rien333 see here: https://github.com/RazrFalcon/rustybuzz/issues/24
You need to update Rust to at least 1.45 apparently.
rien333 commented on 2021-01-04 12:00 (UTC)
Thanks for the recent update! Unfortunately, I'm getting this error about halfway compiling:
nyanpasu64 commented on 2020-11-03 13:18 (UTC)
I can't get it to build:
1 2 3 Next › Last »