-
Notifications
You must be signed in to change notification settings - Fork 57
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
Building Cairo.jl for AWS Lambda #134
Conversation
dont try to build libfontconfig against expat
is harfbuzz needed everywhere? will need to add package manager sources for it if so, and provide a windows binary source. the validate hook should just check for required versions or symbols rather than paths and environment variables. |
@tkelman; i'm not an pango expert, but their web-page claims:
so there seems to be a propability to setup a native system without harfbuzz |
Not sure. We get all these binaries from winrpm, all the windows-specific BuildProcess lines can likely be deleted since I don't think they've been used in 2+ years. I turned on AppVeyor since it was easy and the package currently works on Windows, better to keep it that way automatically while tweaking BinDeps. The opensuse build service that winrpm downloads from has the cross-compiled libraries including harfbuzz, so that just gets downloaded and seems to work fine. May need to adjust the winrpm |
But how would we know what version of If In this case I need a way to say "BinDeps should ignore system libraries A and B". |
The library group functionality is supposed to be preventing that mixed-source scenario of trying to use some libraries from the system and some from source. If it's not doing so that sounds like it may be a BinDeps bug, or a misusage here. |
|
const png_version = "1.5.14" | ||
|
||
provides(Sources, | ||
@compat Dict( | ||
URI("http://www.cairographics.org/releases/pixman-0.28.2.tar.gz") => pixman, | ||
URI("http://www.cairographics.org/releases/cairo-1.12.16.tar.xz") => cairo, | ||
URI("http://download.savannah.gnu.org/releases/freetype/freetype-2.4.11.tar.gz") => freetype, | ||
URI("http://www.freedesktop.org/software/fontconfig/release/fontconfig-2.10.2.tar.gz") => fontconfig, | ||
URI("http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.2.tar.gz") => gettext, | ||
URI("https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-1.2.6.tar.bz2") => harfbuzz, |
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.
Use HTTPS everywhere possible, or nowhere.
Probably also this one is not necessary after #292 |
Yeah, I think this PR should be closed. If it is still needed it would need a thorough update, but most likely it is just no longer relevant. |
See #133
Amazon Linux on the Lambda sandbox meets some of Cairo.jl's dependancies with system libraries.
There is no way to install new system libraries (i.e. no root access and no yum).
freetype
andfontconfig
are installed as system libraries but the versions are too old forpango
.This PR allows Cairo.jl to use the system versions of
libgobject
,libffi
,libpng
andlibpixman
, while everything else is built form source.The commits make one change at a time:
@checked_lib
statements are generated indeps.jl
).The resulting
deps.jl
contains this: