Well, here are the instructions to run Lightroom 3.x and 4.x Lightroom under Wine 1.5.17.
**The old instructions and files are obsolete, don't use them!**
I assume here that you know how to compile Wine on a 32 bit Linux system (fairly simple) or 64 bits (a bit trickier). If you have a 64 bit Linux, you can always create a 32 bit chroot and install Wine in the chroot. Otherwise, you must install the 32 bit libraries (see below) and compile a 32 bit Wine.
For the compilation, you must first install the build dependencies of Wine for your system. Refer to this link to see which dependencies you need on your system:
Recommended Packages - The Official Wine Wiki
If you are on a 64 bit Linux with a system based on Debian (Debian, Ubuntu or derivatives), you must also install the following packages: ia32-libs ia32-libs-dev lib32stdc++6 libc6-dev-i386 libc6-i386 gcc-multilib. No need to install dependencies for OpenGL or OpenCL or libgsm, and you can safely ignore the warnings about these packages when compiling Wine. Lightroom runs very well without it. If you have these packages, it will work, of course.
Here are the steps to follow, assuming that you have previously created a working directory and you're within it:
1. Download the following file:
http://roland65.free.fr/lr-wine-1.5.17.tar.gz and unpack it. It contains the Wine patch and other useful files.
2. Download the sources of Wine 1.5.17 and apply the patch:
tar zxvf wine-1.5.17.tar.bz2
patch-p0 < patch-lr-for-wine-1.5.17.patch
cd wine-1.5.17
./configure --with-x --disable-tests
make
sudo make install
If you have a multicore processor, replace 'make' with 'make-j N' where N = number of cores, and it will greatly speed up the compilation. After installation, the Wine binaries will normally be located in /usr/local/bin.
3. Install the winetricks utility. For Debian and derivatives, simply do:
apt-get install winetricks
4. If you already have a ~/.wine directory, delete it or move it. Then do:
winecfg
and install gecko and mono as requested. In winecfg, set the screen resolution in the Display tab to 120 dpi for a 24 inch display or any other value you prefer. Then exit winecfg.
5. Install the following components using winetricks:
winetricks gdiplus comctl32 ie7 atmlib corefonts
6. Copy the two files comctl32.dll and sRGB Color Space Profile.icm from the lr-wine-1.5.17.tar.gz archive to the following places:
cp -f comctl32.dll ~/.wine/drive_c/windows/system32
cp "sRGB Color Space Profile.icm" ~/.wine/drive_c/windows/system32/spool/drivers/color
7. *Only* if you install Lightroom 4.x:
winetricks vista
8. Install Lightroom, for example:
Lightroom_3_LS11_win_3_6.exe wine (for version 3.6)
Lightroom_4_LS11_win_4_2.exe wine (for version 4.2)
9. *Only* if you install Lightroom 4.x:
winetricks winxp
10. Launch Lightroom:
cd "~/.wine/drive_c/Program Files/Adobe/Adobe Photoshop Lightroom 3.6" (for version 3.6)
cd "~/.wine/drive_c/Program Files/Adobe/Adobe Photoshop Lightroom 4.2" (for version 4.2)
That's all, or almost! Here are some final tips:
- At the first run of each module, there appears a greenish band on some elements of the interface. These are the user tips that don't work (you can see the tip dialogues that appear and disappear immediately). Just run each module once, then quit and relaunch Lightroom: the banners will no longer appear.
- With some window managers, the import dialog may not appear when you click on the Import button. What you have to do is to minimize the Lightroom window and then restore it, and the Import dialog should now appear. If you have this problem, you can try disabling compositing in your window manager and the problem will disappear.
- All modules seem to run, the interface is very fast and I've never had a crash. Of course, I could not test everything, but it looks very solid... Let me know the problems you encounter, if any.
I hope I haven't forgotten anything!
Enjoy...
RB