-
Notifications
You must be signed in to change notification settings - Fork 135
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
gi-gdkpixbuf-2.0.26 fix #507
Conversation
Add patches to allow building with gi-gdkpixbuf_2_0_26 Upstream PRs: - taffybar/gtk-sni-tray#25 - taffybar/taffybar#507
Thanks! |
I think the right way to fix this is to bump the gdk-pixbuf version |
I was considering that, rather than using ugly CPP. Also, this gi-gdkpixbuf API change seems like a bug to my inexperienced eye. Because returning NULL from that function means the gerror code should be checked and an IOException thrown - instead of returning Nothing. |
@rvl Right I don't disagree that both should be supported, but the way you fixed the nixbuild was to use a patch for gtk-sni-tray. Seems like the right way to fix things is to bump the gtk-sni-tray version, and then apply the fixes to taffybar in a separate update.
Not convinced, but probably not worth trying to figure it out. |
OK, thanks for applying my compile fix. 👍 |
BTW I put my name down as maintainer for the taffybar package in nixpkgs. |
Hi @rvl, wondering if you have any thoughts on this. Getting an error on building Thanks! End of build log (ignore the ?, some formatting issue on my end):
|
Hello @podiki - in nixpkgs taffybar is building against Or, check that you really have |
With Hmm...I'm confused (as someone pretty new to Haskell). Source of gi-gdkpixbuf that you linked to certainly seems to have that Maybe (and in other functions like pixbufnewfromfile), not sure what is happening here. |
I'm also confused @podiki. 😕 The But perhaps this API change happened because of changes in |
Yes they are all generated from .gi interface definitions. https://gi.readthedocs.io/en/latest/ I believe that maybe our heuristic for working out the type signature may not be working perfectly. |
Makes it buildable with gi-gdkpixbuf 2.0.26 and prior versions.
See also: taffybar/gtk-sni-tray#25