1	TUTORIAL HOW TO INSTALL DIGIKAM UNDER MACOSX	
2	--------------------------------------------	
3		
4	1 - INTRODUCTION	
5	----------------	
6		
7	digiKam can be installed through MacPort project. This guide explain how to compile code from KDE git repositories, 	
8	not to install a specific released version provided by MacPort team as package to compile.	
9		
10		
11	2 - INSTALLING MACPORT	
12	----------------------	
13		
14	* Install development environnement Xcode from apple.	
15		
16	   - For OS X versions 10.7 and later, download Xcode from the AppStore	
17	     (http://itunes.apple.com/us/app/xcode/id497799835?mt=12)	
18		
19	   - For OS X versions less than 10.7 download from apple developer center.	
20	     (http://developer.apple.com/xcode).	
21	     It's free, but you need to create an acount as developer on apple.com to download it.	
22		
23	  NOTE: since Xcode 4.3.2, you need to install Xcode Command Line Tools extension package to be able to use Macport on your computer.	
24	  Run Xcode and got to Preference menu entry, Download section, and install Command Line Tools component.	
25	  See this url for details : http://guide.macports.org/#installing.xcode.	
26		
27	* Install MacPort using DMG package (http://www.macports.org/install.php).	
28		
29	* From a terminal, initialize Macport on your computer and install digiKam. This stage require some hours to compile whole environement.	
30		
31	> sudo port -v selfupdate	
32		
33	See complete MacPort guide for more information : http://guide.macports.org	
34		
35	3 - INSTALL DEPENDENCIES	
36	------------------------	
37		
38	Install all compilation and run-time dependencies :	
39		
40	> sudo port -v install qt4-mac 	
41	> sudo port -v install qt4-mac-sqlite3-plugin 	
42	> sudo port -v install kdelibs4 	
43	> sudo port -v install kde4-baseapps 	
44	> sudo port -v install opencv 	
45	> sudo port -v install marble 	
46	> sudo port -v install oxygen-icons 	
47	> sudo port -v install sane-backends 	
48	> sudo port -v install libgpod 	
49	> sudo port -v install libgphoto2 	
50	> sudo port -v install lensfun 	
51	> sudo port -v install liblqr 	
52		
53	Optional if you want to use Mysql database instead SQlite	
54		
55	> sudo port -v install qt4-mac-mysql55-plugin 	
56		
57	Optional Run-time dependencies:	
58		
59	> sudo port -v install hugin-app 	
60	> sudo port -v install enblend