Skip to content
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

Upgrade to Cairo >= 1.18.0 #38

Open
labordep opened this issue Oct 12, 2023 · 9 comments
Open

Upgrade to Cairo >= 1.18.0 #38

labordep opened this issue Oct 12, 2023 · 9 comments

Comments

@labordep
Copy link

How is the process to support a new Cairo version ?
The current supported version of Cairo (1.17.4) have 3 years, do you have some tools to compare performances between differents Cairo version ?

More informations here : https://www.cairographics.org/news/cairo-1.18.0/

@labordep labordep added the question Further information is requested label Oct 12, 2023
@tinchodias
Copy link
Contributor

We had conversations with Pablo to build the new version. After tests, they would be updated in a new Pharo VM and available for bindings. It's in the to do list!

@tinchodias
Copy link
Contributor

tinchodias commented Oct 12, 2023

With new libs, I would run some benchs in pharo-graphics/BlocBenchs repo.

In fact you gave me the idea to preview this lib upgrade as I did before: replace Pharo vm libraries(*) by downloaded ones.

(*): replacing cairo requires algo png, zlib, pixman, and freetype.

@labordep
Copy link
Author

Cool :) Thanks !

@tinchodias
Copy link
Contributor

@labordep I observed a speed up when using system's Cairo 1.18.0 (in Mac).

For the record, I added instructions on how to do it: https://github.com/pharo-graphics/Alexandrie/wiki/Dependencies

@labordep
Copy link
Author

labordep commented Oct 14, 2023

Thanks @tinchodias, I will test on Windows, but I don't know how to get the librairy because there is not available directly as a dll for Windows.

Last time when I try to run a new version (for Cade) performances was less good than the previous version of Cairo :-(
I hope for Bloc this will be not the case !

@tinchodias
Copy link
Contributor

This was working for Windows: download the zip from the release, they build and ship not only harfbuzz but also its dependencies, which are cairo, freetype, pixman, etc: https://github.com/harfbuzz/harfbuzz/releases/tag/8.2.1

@tinchodias
Copy link
Contributor

I appended some words more about Windows at the end of https://github.com/pharo-graphics/Alexandrie/wiki/Dependencies

@tinchodias
Copy link
Contributor

(@labordep )

@tinchodias
Copy link
Contributor

We can keep this open until we can upgrade in vm with @tesonep

There is currently https://gitlab.freedesktop.org/cairo/cairo/-/releases/1.18.2

@tinchodias tinchodias reopened this Oct 15, 2024
@tinchodias tinchodias removed the question Further information is requested label Nov 27, 2024
@tinchodias tinchodias changed the title Support Cairo 1.18.0 ? Upgrade to Cairo >= 1.18.0 Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants