UFRaw 0.8.1 for Gimpshop 2.2.11 Universal Build

This article has been superseded.
See the update for more information.

I’ve built UFRaw 0.8.1 for Gimpshop 2.2.11 as a Universal Binary and created a point/click installer for it.

I had to build it without libexif or exiv2 support, at least for the time being. I was unable to figure out how to get libexif 0.6.13 to co-exist with the version of libexif used by Gimpshop 2.2.11.

(more after jump)

If you are installing this to a location other than /Applications/Gimpshop.app, select the “Choose…” button and hit Command-Shift-G. Then type the full path to the location of your Gimpshop application. Assuming Gimp.app is laid out similarly, you might be able to specify the ful path to the location of the Gimp application as well, but I don’t use this so that mode is untested.

Example:

Let’s say you have a bunch of Gimp stuff in /Applications/Gimp Stuff, including Gimpshop.app – you would hit Command-Shift-G and type: /Applications/Gimp Stuff/Gimpshop.app and use that as the installation location.

24 Responses to “UFRaw 0.8.1 for Gimpshop 2.2.11 Universal Build”

  1. Fran Says:

    The plug in works with Gimp 2.2.10, but the installer did not. I removed the plug in from the installer package and inastlled it manually and it works.

    Thanks,

    Fran

  2. Matt Says:

    Do you know why it failed?

    Is the directory layout for Gimp 2.2.10 different? Gimpshop puts its plugins in
    Gimpshop.app/Contents/Resources/lib/gimp/2.0/plugins

    Thanks.

  3. Fran Says:

    Gimp 2.2.10 has the same layout as indicated above, only Gimp rather than Gimpshop.

    Fran

  4. Matt Says:

    When you used the installer to install to Gimp.app, did you use CMD-Shift-G and type in the path of Gimp.app (e.g. /Applications/Gimp.app)? If so, where did the installer place the files that was incorrect?

    Thanks.

  5. Fran Says:

    I don’t know where thw installer put the files. I just looked at Gimp.app and the plug in was not in the application, so I went ahead and installed it manually. I did not try to type in the path to Gimp.app.

    I tried to do so now and the installer just comes back with the disk name, not the Gimp.app path.

    Fran

  6. Ningus Says:

    Thank you Matt for building the excellent UFraw for us. I also installed it manually for Gimp.app 2.2.11. My Gimp is on a different volume so I used CMD-Shift-G to install (thanks for that hint, too). Problem is, that OS X (10.3.9 in my case) would not accept /Volumes/HD2/Apps/Gimp.app as a “folder” to install to. Instead of that you can choose any folder inside Gimp.app (i.e. plug-ins), which result in another Contents folder (with subfolders respectively) which is wrong of course. Finally I manually moved ufraw-gimp to this location: ~/.gimp-2.2/plug-ins and deleted the wrong Contents Folder. Does Gimpshop also use a .gimp-2.2 Folder in the home directory, if so, maybe you can adjust the installer to that location?!

  7. Ian Goldby Says:

    Thanks for building this. I installed ufraw-gimp using your installer on my /Applications/Gimp.app directory and it appeared to go without problems. (I used the control-shift-G trick btw, couldn’t select Gimp in the dialog.)

    But when I loaded the GIMP, I couldn’t load RAW images and it turned out that the plugin isn’t listed. I expected to see ufraw-gimp listed under Xtns/Plug-In Browser, but it isn’t there. I then used the Terminal to look inside Gimp.app/Contents/Resources/lib/gimp/2.0/plug-ins/. It is there all right - along with a whole load of other plug-ins - so the installer seems to have done the right thing. But the GIMP isn’t recognising it.

    I’m using an Intel MacBook Pro (but you’ve already said this is a universal build). Any ideas?

  8. Ningus Says:

    Hey Ian, you’ll not see ufraw in the plug-in browser. You can simply use gimp’s open dialog. In the file-type section should be the type “raw image” listed. Open your raw file and you’ll get ufraw’s interface.

  9. Mike Says:

    I used the installer…it put the plug in under Gimpshop.app. I copied this file manually to my 2.2.10 installation under Gimp.app.

    When I start Gimp, it lists ufraw-gimp very briefly in the startup splash screen as it’s loading plugins.

    I then try to load an Olympus ORF file, and it bails, says it doesn’t know what it is. I tried an Adobe-converted DNG too, and it barfs pretty bad (18+ TIFF tag errors, and it loads a 256×192 preview).

    Any ideas what I’m doing wrong? I looked in the plugin list after Gimp starts, but ufraw-gimp isn’t listed.

    Thanks in advance.

  10. Ian Goldby Says:

    Ningus, I don’t have ‘raw image’ listed in the file type drop-down.

    Like Mike, I do see ufraw-gimp flash up very briefly in the splash screen while the GIMP loads, and like Mike, if I load a raw image without selecting ‘raw image’ as the file type, it tries to load it as a TIFF and throws up several errors.

  11. Ningus Says:

    “Like Mike, I do see ufraw-gimp flash up very briefly in the splash screen”
    Ian, this is a good sign.

    Problem could still be, that ufraw-gimp is not set as an executable (although Matt’s installer sets the mode correctly in my case). Please refer to the original developers website <http://ufraw.sourceforge.net/Install.html> . In the middle of the page is a Mac users section with advise for manual install. There is also a link to an older UFRaw Version, just to try if it works, maybe …

    You can also try to find answers in the UFRaw discussion forum <https://sourceforge.net/forum/forum.php?forum_id=434060>

    Good luck!

  12. Alex Says:

    Mike/Ningus:

    I’m having the same problems as you two. But I’ve found a little more info. :)

    Open up the Console and look for ~/Livrary/Logs -> CrashReporter -> ufrwaw-gimp.crash.

    Mine has these contents:

    OS Version: 10.4.6 (Build 8I2025)
    Report Version: 4

    Command: ufraw-gimp
    Path: /Applications/Gimp.app/Contents/Resources/lib/gimp/2.0/plug-ins/ufraw-gimp
    Parent: gimp-2.2 [1011]

    Version: ??? (389)

    PID: 1043
    Thread: Unknown

    Link (dyld) error:

    Library not loaded: /opt/libexif/lib/libexif.12.dylib
    Referenced from: /Applications/Gimp.app/Contents/Resources/lib/gimp/2.0/plug-ins/ufraw-gimp
    Reason: image not found


    So the answer is that this ufraw plugin is looking for libexif, which seems odd, as the author states that it should not be using libexif.

  13. Matt Says:

    This is odd. Thanks for pointing it out. I must not have gotten a completely clean build after disabling exif.

    I’ll create another build tomorrow and update the installer.

  14. Alex Says:

    Thanks! BTW, do you mind deleting my first comment (#12)?

  15. Ningus Says:

    Hey Alex, thanks - very interesting, although I don’t have this error. UFRaw works fine for me, almost* …

    It seems you built your Gimp.app via Fink. I’m using this Gimp build: <http://gimp-app.sourceforge.net/>, which contains a libexif here /Applications/Gimp.app/Contents/Resources/lib/libexif.9.1.2.dylib

    *a side-effect from Matt’s UFRaw build is maybe, that when I open a Raw image, the plug-in asks for a corresponding JPG file to read exif data from. Unfortunately my camera doesn’t create Raw+JPG, only Raw. As a work-around I rename fake JPGs, which hopefully will be obsolete with Matt’s new build …

    Thanks again to you all!

  16. Alex Says:

    Ningus,

    I’m also using gimp.app. I’m not sure how it works for you and not for me (maybe we have different versions?), but regardless: even though you have that libexif within your Gimp.app directory structure, this particular ufraw built on this website is looking for it elsewhere:

    /opt/libexif/lib/libexif.12.dylib

    As I understand it, when you compile something that links against a library, it expects the same version, in the same directory, at runtime. You can use various methods to have the application search for the same version of a library in other folders (i.e. LDLIBRARYPATH, et al), but I think by default it doesn’t magically know to find it elsewhere (and I really doubt it can try and use a different version of the library).

    Cheers,

    Alex

  17. Matt Says:

    Please see the updated post for a new build that should address the libexif issue on Mac OS X Intel.

  18. Ningus Says:

    The new build works again fine here -
    although manually installed on Panther/PPC

    To correct my above Message (15): I wrote that ufraw tried to open corresponding (in my case not existing) JPG files to read exif data from. Actually ufraw tries to find meta-data, my fault, this has nothing to do with exif, sorry.

  19. Antenor Says:

    I use gimp 2.2.11 but i don’t find the gimp.app folder on my system. Moreover i don’t find the plugins folder…..

  20. Josh Says:

    I am using gimp 2.2.11.

    I used the installer package, and it works great!

    When asked for the path I pressed CMD-Shift-G as mentioned, and typed in the path of Gimp.app.

    I quit the Gimp.app (since it was open when I installed the plugin…don’t know if I needed to) and restarted it. It open my Digital Rebel’s raw file right away.

    thanks

  21. Antenor Says:

    Since i don’t have a folder called Gimp.app and my gimp application file can’t be opened when choosing the path what should i do?
    Pressing CMD-Shift-G and typing /application/gimp.app nothing happens…..

  22. Barbara Passman Says:

    I am a true novice with open source- its been years since I played with command line (DOS) so I am always seeking the easy route :)
    The CMD-Shift-G trick worked easily for me!
    I now have UFRaw loaded in both Gimp.app and GimpShop.

    Thank you !

  23. mortimer Says:

    Hello,

    I have compiled UFRaw from source with exif support with no problem, see:
    http://6v8.gamboni.org/UFRaw-on-OSX-with-Exif-support.html

    But I am not using it as plugin to Gimp.app, so that might be the difference.

  24. cofused Says:

    I’ve been trying to install the UFRaw plugin from 0.9.1 zip file without any success. First I just followed the installation prompts then tried opening a PEF file with Gimp.app and all I got was TIFF error messages and a checker board window where an image was to show up. I then tried the CMD + Shift + G trick and input /Applications/Gimp.app/ then tried again to open another PEF file but got the same results as before. I then looked in /Applications/Gimp.app/Contents/Resources/lib/gimp/2.0/plug-ins and there is no UFRaw plugin listed.
    I ran a search with Finder for UFRaw and it only lists a .plist and .pkg installer files in my Home library.
    What am I doing wrong and where did I install the UFRaw plugin using the Command + Shift + G keys?

Leave a Reply