-
-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
mono-libgdiplus 5.4 #12862
mono-libgdiplus 5.4 #12862
Conversation
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.
@qmfrederik a new tag would be good. I see 4.2 is from sixteen months ago, and the url you're proposing https://github.com/mono/libgdiplus/archive/910ba3a126d2639861fb7feb3f12941526e99be8.tar.gz
is the head revision, not 4.2.
Formula/mono-libgdiplus.rb
Outdated
@@ -0,0 +1,49 @@ | |||
class MonoLibgdiplus < Formula | |||
desc "C-based implementation of GDI+ API http://www.mono-project.com/" |
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.
Please remove that URL from the description.
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.
Done!
@ilovezfs Yes, the build I'm proposing is a fairly recent comment; it's essentially 4.2 plus the patch required to make lbigdiplus compile on macOS without x11. In other words, up to 910ba3a126d2639861fb7feb3f12941526e99be8, all the changes in libgdiplus which are not part of 4.2 are related to this. |
@ilovezfs So, we just got a new tag in the repo - 5.4. I update title & formula to point to release 5.4 Does that address your feedback? |
This would be nice to get merged. |
@bfontaine @ilovezfs Can either of you give me a bit more information related to the build error:
I'm not sure where it comes from or how to fix it? |
|
@ilovezfs Thanks! Build looks green now - are we good to have this merged? |
Trying the patch out (probably not a problem of the patch/PR itself): OSX:
Ubuntu:
Here https://github.com/mono/mono/blob/master/mcs/class/System.Drawing/System.Drawing/macFunctions.cs#L90 on Loading, with
But I don't think this should stop the PR from being merged, since it's vastly better than the non-alternative and it's not for this PR to change/improve libgdiplus. |
@haf It's best to raise these issues outside of Homebrew because they are not related but may delay this PR being accepted. To your issues:
|
Thanks @qmfrederik and everyone who contributed to this PR! It is a very nice addition to Homebrew |
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install <formula>
)?libgdiplus is the library used by Mono for its graphics. It is a missing dependency for the Mono formula.
Previous efforts to get this into brew have stalled because the upstream repository did not contain a fix which allowed bypassing the dependency libgdiplus has on X11. This was fixed a while ago (mono/libgdiplus#46), so all should be good now to get this into homebrew.
Let me know if you need anything else.
See also #4202 (@medains), Homebrew/legacy-homebrew#45404 (@haf)