Opened 3 years ago

Last modified 3 years ago

#62800 assigned enhancement

Heavy dependencies of Adwaita icon theme

Reported by: MSoegtropIMC Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: adwaita-icon-theme

Description

The adwaita icon theme package depends on librsvg, which in turn has rather heavy dependencies:

--->  Computing dependencies for adwaita-icon-theme
The following dependencies will be installed: 
 cargo
 icon-naming-utils
 libidn
 librsvg
 libssh2
 llvm-9.0
 llvm_select
 p5.28-clone
 p5.28-cpan-meta
 p5.28-cpan-meta-requirements
 p5.28-cpan-meta-yaml
 p5.28-data-dump
 p5.28-encode
 p5.28-encode-locale
 p5.28-file-listing
 p5.28-html-form
 p5.28-html-parser
 p5.28-html-tagset
 p5.28-http-cookies
 p5.28-http-daemon
 p5.28-http-date
 p5.28-http-message
 p5.28-http-negotiate
 p5.28-inc-latest
 p5.28-io
 p5.28-io-html
 p5.28-io-socket-inet6
 p5.28-io-socket-ip
 p5.28-io-socket-ssl
 p5.28-libwww-perl
 p5.28-lwp-mediatypes
 p5.28-module-build
 p5.28-module-metadata
 p5.28-mozilla-ca
 p5.28-net-http
 p5.28-net-libidn
 p5.28-net-ssleay
 p5.28-perl-ostype
 p5.28-pod-escapes
 p5.28-pod-simple
 p5.28-podlators
 p5.28-scalar-list-utils
 p5.28-socket
 p5.28-socket6
 p5.28-sub-name
 p5.28-sub-uplevel
 p5.28-test-exception
 p5.28-test-needs
 p5.28-test-nowarnings
 p5.28-test-warn
 p5.28-time-local
 p5.28-timedate
 p5.28-try-tiny
 p5.28-uri
 p5.28-version
 p5.28-www-robotrules
 p5.28-xml-namespacesupport
 p5.28-xml-parser
 p5.28-xml-sax
 p5.28-xml-sax-base
 p5.28-xml-sax-expat
 p5.28-xml-simple
 rust
 xar

Especially rust is heavy to build (>20min on a i9 Mac Pro - still running while I am writing this) and I suspect that llvm causes some issues elsewhere, so I would like to build without llvm. I am not a MacPorts expert, but I would guess that this is only required to build the adwaita icon theme, e.g. generate PNG from SVG files. Isn't it so that MacPorts has infrastructure to download pre built binary packages, so that none of these heavy dependencies would be required for someone just using the PNG images? To me installing Rust looks like a bit too much for just an icon package.

Change History (3)

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Owner: set to dbevans
Status: newassigned
Type: requestenhancement

comment:2 Changed 3 years ago by kencu (Ken)

I agree with you, for a rather trivial svg to png converter, librsvg brings an insane amount of baggage.

there are several other tools that can do this conversion.

comment:3 Changed 3 years ago by MSoegtropIMC

I still wonder if it is possible to declare these dependencies somehow "build only", so that most users could just download a prebuilt set of PNG files.

Note: See TracTickets for help on using tickets.