Coder Social home page Coder Social logo

Comments (2)

teaguesterling avatar teaguesterling commented on September 18, 2024

Digging into this it seems that librsvg is only required to test the SVG functionality, but not required for compilation.

I could think of two ways to potentially address this.

  1. Since we also don't have any tests for cairo, I feel like the right course of action here is to remove the librsvg dependency to avoid circular dependencies.
  2. Alternatively, I'm not sure if the concretizer will support having two versions of cairo defined in the spec. If so, we could clarify that the librsvg dependency for cairo should be cairo~svg.

I've created a PR for option 1: #44989

from spack.

teaguesterling avatar teaguesterling commented on September 18, 2024

Separately, it seems that the librsvg dependencies need to be reviewed whenever it's next version is added, as they don't align with the documentation (here: https://gnome.pages.gitlab.gnome.org/librsvg/devel-docs/compiling.html):

Mandatory dependencies:
Cairo 1.18.0 with PNG support
Freetype2 2.8.0
GIO 2.24.0
Libxml2 2.9.0
Pango 1.46.0

Optional dependencies:
GDK-Pixbuf 2.20.0
GObject-Introspection 0.10.8
gi-docgen
python3-docutils
dav1d 1.3.0 (to support the AVIF image format)

Where we have the following dependencies declared as required:

    depends_on("gobject-introspection", type="build")  # Note: not a variant
...
    depends_on("[email protected]:+gobject")  # Note: no png support required
    depends_on("[email protected]:")  # Note: not a variant

from spack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.