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
Fix build for gimp-with-plugins against exiv2 0.27.1 #64607
Conversation
@@ -13,6 +13,17 @@ stdenv.mkDerivation rec { | |||
sha256 = "0pm216pg0vr44gwz9vcvq3fsf8r5iayljhf5nis2mnw7wn6d5azp"; | |||
}; | |||
|
|||
patches = [ |
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.
See review at #64353.
Those patches could be improved.
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.
Roger that.
@neilmayhew could you test the suggested changes and update the patches at sourceforge.net?
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.
@gloaming Done. The URLs are:
- https://sourceforge.net/p/ufraw/bugs/_discuss/thread/c0761df338/a2d4/attachment/0001-Change-use-of-header-files.patch
- https://sourceforge.net/p/ufraw/bugs/_discuss/thread/c0761df338/a2d4/attachment/0002-Use-symbolic-error-code.patch
Not as tidy as before, but I don't think SourceForge provides a way to modify attachments in the issue description. I had to do it by attaching the new files to a comment.
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.
Thanks! Sorry I didn't notice your PR before opening this one.
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.
Sorry I didn't notice your PR before opening this one.
No worries. It might have helped if I'd created an issue as well as a PR. I'll make sure to do that in future.
Hold up though - I forgot to actually test I dug around a bit more and found that someone is maintaining a fork on GitHub: https://github.com/sergiomb2/ufraw It includes several distro patches, including the |
That's sounds fine, I've checked and fedora also uses that fork. |
e513cd3
to
88d9537
Compare
@worldofpeace It appears that GIMP has not supported the |
@gloaming I believe that should be fine. If you do this please note you need to add a |
ping @gloaming (sorry this is dragging on so long) |
Ufraw was working recently to some capacity at least: #37915. What exactly does “GIMP not supporting plug-in” mean? |
@jtojnar The message itself implies that |
@worldofpeace Hmm... Would it be better to put the |
Fixes broken build with exiv2-0.27.1 by using gexiv2 instead
88d9537
to
349f968
Compare
Actually, I think it's better to leave it for now. Rebased and checked it still works. @worldofpeace feel free to merge |
Okay, I can confirm that opening RAW files through the file dialogue no longer works but the send to GIMP button in UFRaw seems to still require the plug-in: I downloaded https://raw.pixls.us/getfile.php/2835/nice/Apple%20-%20iPhone%208%20-%2016bit%20(4:3).dng, opened it in UFRaw, started GIMP, and clicked the GIMP icon in the bottom right of UFRaw window. When running GIMP without ufraw plug-in, I get the following error:
With the plug-in, It opens the file fine, only complaining about:
|
349f968
to
844bf64
Compare
Ah, right. Happens the same for me. I've left it at just the updates then. |
The original ufraw repo is no longer maintained, so change to a new upstream that's collecting patches, including one we need to fix the build against more recent versions of exiv2.
844bf64
to
26866be
Compare
Don't build the 'dcraw' and 'nikon-curve' binaries, as per ufraw's README: "Do not package the executables generated by by --enable-extras. These extras are there for testing the code during development. They are of no interest to end user. Specifically, if you want to package dcraw, you should use Dave's original code and not UFRaw's modified code."
26866be
to
38b057f
Compare
Ping @worldofpeace |
Thanks, sorry about the delay on this. |
Motivation for this change
Fixes #64586
Things done
Path size
1803392632
vs1798388408
when building againstexiv2 0.26.2018.12.30
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)