-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
librsvg 2.59.2 #202992
base: master
Are you sure you want to change the base?
librsvg 2.59.2 #202992
Conversation
|
23e3639
to
8bebc6f
Compare
As of |
8bebc6f
to
8535dbf
Compare
8535dbf
to
b4dbc5e
Compare
Formula/lib/librsvg.rb
Outdated
system "make", "install", | ||
"gdk_pixbuf_binarydir=#{lib}/gdk-pixbuf-2.0/2.10.0/loaders", | ||
"gdk_pixbuf_moduledir=#{lib}/gdk-pixbuf-2.0/2.10.0/loaders" | ||
system "meson", "setup", "build", "-Dpixbuf-loader=disabled", *std_meson_args |
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.
-Dpixbuf-loader=disabled
looks suspicious given that we used to pass --enable-pixbuf-loader=yes
.
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.
Yea, this change looks responsible for this failure: https://github.com/Homebrew/homebrew-core/actions/runs/12585492280/job/35078161710?pr=202992#step:3:234
(<unknown>:24532): Gtk-WARNING **: 16:51:08.887: Found an icon but could not load it. Most likely gdk-pixbuf does not provide SVG support.
[2025-01-02 16:51:08.888] [gtk] [critical]
unhandled exception (type Glib::Error) in signal handler:
domain: gtk-icon-theme-error-quark
code : 0
what : Icon 'cherrytree' not present in theme Adwaita
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.
sounds about right, let me find another way to fix the build issue 👍
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.
We should keep the pixbuf-loader
to avoid breaking clients.
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. To keep this pull request open, add a |
b4dbc5e
to
b4c82b1
Compare
b4c82b1
to
f675414
Compare
Part of issue is needing to bypass postinstall by the common Other part of issue is the patch we apply to homebrew-core/Formula/g/gdk-pixbuf.rb Lines 75 to 76 in 0e0c92e
This breaks support for:
Which is what dependents like Main options are:
|
librsvg: update build and test
Patching `gdk_pixbuf_binarydir` impacts dependents that determine loader install path re-defining prefix like `librsvg`.
f675414
to
aa2fcf9
Compare
libv = s.get_make_var "gdk_pixbuf_binary_version" | ||
s.change_make_var! "gdk_pixbuf_binarydir", | ||
HOMEBREW_PREFIX/"lib/gdk-pixbuf-#{gdk_so_ver}"/libv | ||
s.change_make_var! "prefix", HOMEBREW_PREFIX |
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.
Need to decide if this is better option or patching dependents. Mainly if there are any scenarios that unlinked gdk-pixbuf
should work.
Created with
brew bump-formula-pr
.