-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding librsvg #23966
base: master
Are you sure you want to change the base?
Adding librsvg #23966
Conversation
This comment has been minimized.
This comment has been minimized.
I guess another question is: Can you have recipes that require extra tools? Since this one requires rustc along with cargo-c to compile. |
Huh, did not see that, although that is for an older version which used autotools instead of meson. Should both versions be eventually merged together then? Although I'm not sure how relevant these old versions are... The PR also does not seem very active |
This comment has been minimized.
This comment has been minimized.
I now fixed the cmake error by altering the However the test now fails because the headers are nested in an extra |
This comment has been minimized.
This comment has been minimized.
Include issue is also now fixed, but It seems like including other library's does not work. Cmake mentions declaring all of them though...
|
The other PR is not very active because the support for Rust as a Conan package the librsvg recipe requires was declined and has been blocked indefinitely: #20991. You will not be able to build the package on CCI and get the PR merged without it. Other than that any differences with this PR are probably insignificant. I think I had issues with the Meson build setup when I opened that PR, but maybe things have improved. |
This comment has been minimized.
This comment has been minimized.
@valgur yeah, I saw that. Not having rust as a build tool kinda sucks... There are already a number of libs (c/c++) that require rust to build and that number will probably only increase. As for mason: Building works perfectly well for me. At the moment I just have some problems when including dependencies of librsvg, but thats probably a conanfile issue. |
recipes/librsvg/all/conandata.yml
Outdated
sources: | ||
"2.58.91": | ||
url: "https://download.gnome.org/sources/librsvg/2.58/librsvg-2.58.91.tar.xz" | ||
sha256: "65846ae57c11aba288bf3a6fe517f800f7e38e7fbc79b98c99a8177634ed29f7" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Julianiolo Thank you for your first contribution!! 👏 Please, don't forget to add final empty line for each file. In past we had incident with git diff and CI as changing the last line, resulting in CI failures.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah have to do that still :)
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Well this recipe is pretty much done, just waiting on rust as a package... |
Conan v1 pipeline ❌Failure in build 9 (
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability. Conan v2 pipeline ❌
The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping See details:Failure in build 9 (
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability. |
Specify library name and version: librsvg/2.58.91
I'm trying to add this package because I want to use it with libvips.
However I'm experiencing some problems:
The lib building works, but when compiling the test_package, cmake can't find the library:
I'm guessing the problem may be incorrect names for the package? I'm unsure how I am supposed to choose them or how to know what the package name of a given recipe is. I've tried a lot of stuff, but it always gives the same error. Maybe it also has to do with pkg-config files? But those seem to be similar to other recipies using mason. (librsvg uses mason for building)