[gimp/gimp-2-8] Update osx build files and README



commit 37a884a31b45a6e1594d8e2f2eebdfa6ee66329c
Author: Clayton Walker <blender3dartist gmail com>
Date:   Wed May 23 14:45:56 2012 +0200

    Update osx build files and README

 build/osx/Info.plist     | 1058 +++++++++++++++++++++++++++++++++++++++++++++-
 build/osx/README         |   48 +++
 build/osx/README.txt     |   36 --
 build/osx/gimp.bundle    |   30 +-
 build/osx/gtkrc          |    2 +-
 build/osx/jhbuildrc-gimp |    5 +-
 build/osx/launcher.sh    |   14 +-
 7 files changed, 1124 insertions(+), 69 deletions(-)
---
diff --git a/build/osx/Info.plist b/build/osx/Info.plist
index 19796ea..314dcc6 100644
--- a/build/osx/Info.plist
+++ b/build/osx/Info.plist
@@ -5,7 +5,7 @@
 	<key>CFBundleDevelopmentRegion</key>
 	<string>English</string>
 	<key>CFBundleExecutable</key>
-	<string>gimp-2.8</string>
+	<string>GIMP</string>
 	<key>CFBundleGetInfoString</key>
 	<string>2.8, Copyright 2012</string>
 	<key>CFBundleIconFile</key>
@@ -24,7 +24,1059 @@
 	<string>2.8.0</string>
 	<key>NSHumanReadableCopyright</key>
 	<string>Copyright 2012</string>
-	<key>LSMinimumSystemVersion</key>
-	<string>10.7</string>
+	<key>CFBundleDocumentTypes</key>
+	<array>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>xcf</string>
+				<string>XCF</string>
+			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>xcf.icns</string>
+			<key>CFBundleTypeMIMETypes</key>
+			<array>
+				<string>image/x-xcf</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>Gimp Image</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>XCF </string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+			<key>LSIsAppleDefaultForType</key>
+			<true/>
+			<key>LSItemContentTypes</key>
+			<array>
+				<string>org.gimp.xcf</string>
+			</array>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>xcfbz2</string>
+				<string>XCFBZ2</string>
+				<string>xcfgz</string>
+				<string>XCFGZ</string>
+				<string>xjt</string>
+				<string>XJT</string>
+				<string>xjtgz</string>
+				<string>XJTGZ</string>
+				<string>xjtbz2</string>
+				<string>XJTBZ2</string>
+			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>xcf.icns</string>
+			<key>CFBundleTypeMIMETypes</key>
+			<array>
+				<string>image/x-compressed-xcf</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>Gimp Compressed Image</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>XJT </string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+			<key>LSIsAppleDefaultForType</key>
+			<true/>
+			<key>LSItemContentTypes</key>
+			<array>
+				<string>org.gimp.xjt</string>
+			</array>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>xcf.bz2</string>
+				<string>XCF.BZ2</string>
+				<string>xcf.gz</string>
+				<string>XCF.GZ</string>
+			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>xcf.icns</string>
+			<key>CFBundleTypeMIMETypes</key>
+			<array>
+				<string>image/x-compressed-xcf</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>Gimp Compressed Image</string>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>gbr</string>
+				<string>GBR</string>
+				<string>gbp</string>
+				<string>GBP</string>
+			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>xcf.icns</string>
+			<key>CFBundleTypeName</key>
+			<string>Gimp Brush</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>GBR </string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+			<key>LSIsAppleDefaultForType</key>
+			<true/>
+			<key>LSItemContentTypes</key>
+			<array>
+				<string>org.gimp.gbr</string>
+			</array>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>gih</string>
+				<string>GIH</string>
+			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>xcf.icns</string>
+			<key>CFBundleTypeName</key>
+			<string>Gimp Animated Brush</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>GIH </string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+			<key>LSIsAppleDefaultForType</key>
+			<true/>
+			<key>LSItemContentTypes</key>
+			<array>
+				<string>org.gimp.gih</string>
+			</array>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>pat</string>
+				<string>PAT</string>
+			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>xcf.icns</string>
+			<key>CFBundleTypeName</key>
+			<string>Gimp Pattern</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>PAT </string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+			<key>LSIsAppleDefaultForType</key>
+			<true/>
+			<key>LSItemContentTypes</key>
+			<array>
+				<string>org.gimp.pat</string>
+			</array>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>pdf</string>
+				<string>PDF</string>
+			</array>
+			<key>CFBundleTypeMIMETypes</key>
+			<array>
+				<string>application/pdf</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>NSPDFPboardType</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>PDF </string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+			<key>LSIsAppleDefaultForType</key>
+			<true/>
+			<key>LSItemContentTypes</key>
+			<array>
+				<string>com.adobe.pdf</string>
+			</array>
+			<key>NSDocumentClass</key>
+			<string>PVPDFDocument</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>ai</string>
+				<string>AI</string>
+			</array>
+			<key>CFBundleTypeMIMETypes</key>
+			<array>
+				<string>application/pdf</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>NSPDFPboardType</string>
+			<key>CFBundleTypeRole</key>
+			<string>Viewer</string>
+			<key>LSIsAppleDefaultForType</key>
+			<false/>
+			<key>NSDocumentClass</key>
+			<string>PVPDFDocument</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>ps</string>
+				<string>PS</string>
+			</array>
+			<key>CFBundleTypeMIMETypes</key>
+			<array>
+				<string>application/postscript</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>PostScript document</string>
+			<key>CFBundleTypeRole</key>
+			<string>Viewer</string>
+			<key>LSIsAppleDefaultForType</key>
+			<true/>
+			<key>NSDocumentClass</key>
+			<string>PVPDFDocument</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>epi</string>
+				<string>EPI</string>
+				<string>eps</string>
+				<string>EPS</string>
+				<string>epsf</string>
+				<string>EPSF</string>
+				<string>epsi</string>
+				<string>EPSI</string>
+			</array>
+			<key>CFBundleTypeMIMETypes</key>
+			<array>
+				<string>application/postscript</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>PostScript document</string>
+			<key>CFBundleTypeRole</key>
+			<string>Viewer</string>
+			<key>LSIsAppleDefaultForType</key>
+			<true/>
+			<key>NSDocumentClass</key>
+			<string>PVPDFDocument</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>tiff</string>
+				<string>TIFF</string>
+				<string>tif</string>
+				<string>TIF</string>
+			</array>
+			<key>CFBundleTypeMIMETypes</key>
+			<array>
+				<string>image/tiff</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>NSTIFFPboardType</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>TIFF</string>
+				<string>****</string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+			<key>LSIsAppleDefaultForType</key>
+			<true/>
+			<key>LSItemContentTypes</key>
+			<array>
+				<string>public.tiff</string>
+			</array>
+			<key>NSDocumentClass</key>
+			<string>PVDocument</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>CRW</string>
+				<string>crw</string>
+				<string>CR2</string>
+				<string>cr2</string>
+				<string>NEF</string>
+				<string>nef</string>
+				<string>RAF</string>
+				<string>raf</string>
+				<string>ORF</string>
+				<string>orf</string>
+				<string>MRW</string>
+				<string>mrw</string>
+				<string>SRF</string>
+				<string>srf</string>
+				<string>DCR</string>
+				<string>dcr</string>
+				<string>ARW</string>
+				<string>arw</string>
+				<string>PEF</string>
+				<string>pef</string>
+				<string>RAW</string>
+				<string>raw</string>
+				<string>MOS</string>
+				<string>mos</string>
+			</array>
+			<key>CFBundleTypeMIMETypes</key>
+			<array>
+				<string>image/raw</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>Camera Raw</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>CRW </string>
+				<string>CR2 </string>
+				<string>NEF </string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Viewer</string>
+			<key>LSIsAppleDefaultForType</key>
+			<true/>
+			<key>NSDocumentClass</key>
+			<string>PVDocument</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>DNG</string>
+				<string>dng</string>
+			</array>
+			<key>CFBundleTypeMIMETypes</key>
+			<array>
+				<string>image/raw</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>Camera Raw</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>DNG </string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Viewer</string>
+			<key>LSIsAppleDefaultForType</key>
+			<false/>
+			<key>NSDocumentClass</key>
+			<string>PVDocument</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>XBM</string>
+				<string>xbm</string>
+				<string>icon</string>
+				<string>ICON</string>
+				<string>bitmap</string>
+				<string>BITMAP</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>XBM</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>XBM </string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Viewer</string>
+			<key>LSIsAppleDefaultForType</key>
+			<true/>
+			<key>NSDocumentClass</key>
+			<string>PVDocument</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>bmp</string>
+				<string>BMP</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>Windows Bitmap Image</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>BMP </string>
+				<string>BMPf</string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+			<key>LSIsAppleDefaultForType</key>
+			<true/>
+			<key>LSItemContentTypes</key>
+			<array>
+				<string>com.microsoft.bmp</string>
+			</array>
+			<key>NSDocumentClass</key>
+			<string>PVDocument</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>gif</string>
+				<string>GIF</string>
+			</array>
+			<key>CFBundleTypeMIMETypes</key>
+			<array>
+				<string>image/gif</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>Graphics Interchange Format Image</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>GIFf</string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+			<key>LSIsAppleDefaultForType</key>
+			<true/>
+			<key>LSItemContentTypes</key>
+			<array>
+				<string>com.compuserve.gif</string>
+			</array>
+			<key>NSDocumentClass</key>
+			<string>PVDocument</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>ico</string>
+				<string>ICO</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>Windows Icon Image</string>
+			<key>CFBundleTypeRole</key>
+			<string>Viewer</string>
+			<key>LSIsAppleDefaultForType</key>
+			<true/>
+			<key>LSItemContentTypes</key>
+			<array>
+				<string>com.microsoft.ico</string>
+			</array>
+			<key>NSDocumentClass</key>
+			<string>PVDocument</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>jpg</string>
+				<string>JPG</string>
+				<string>jpeg</string>
+				<string>JPEG</string>
+				<string>jpe</string>
+				<string>JPE</string>
+				<string>thm</string>
+				<string>THM</string>
+				<string>*</string>
+			</array>
+			<key>CFBundleTypeMIMETypes</key>
+			<array>
+				<string>image/jpeg</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>JPEG Image</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>JPEG</string>
+				<string>????</string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+			<key>LSIsAppleDefaultForType</key>
+			<true/>
+			<key>LSItemContentTypes</key>
+			<array>
+				<string>public.jpeg</string>
+			</array>
+			<key>NSDocumentClass</key>
+			<string>PVDocument</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>pict</string>
+				<string>PICT</string>
+				<string>pct</string>
+				<string>PCT</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>NSPICTPboardType</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>PICT</string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Viewer</string>
+			<key>LSIsAppleDefaultForType</key>
+			<true/>
+			<key>LSItemContentTypes</key>
+			<array>
+				<string>com.apple.pict</string>
+			</array>
+			<key>NSDocumentClass</key>
+			<string>PVDocument</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>png</string>
+				<string>PNG</string>
+			</array>
+			<key>CFBundleTypeMIMETypes</key>
+			<array>
+				<string>image/png</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>Portable Network Graphics Image</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>PNGf</string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+			<key>LSIsAppleDefaultForType</key>
+			<true/>
+			<key>LSItemContentTypes</key>
+			<array>
+				<string>public.png</string>
+			</array>
+			<key>NSDocumentClass</key>
+			<string>PVDocument</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>tga</string>
+				<string>TGA</string>
+				<string>vda</string>
+				<string>VDA</string>
+				<string>icb</string>
+				<string>ICB</string>
+				<string>vst</string>
+				<string>VST</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>Targa Image</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>TPIC</string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+			<key>LSIsAppleDefaultForType</key>
+			<true/>
+			<key>LSItemContentTypes</key>
+			<array>
+				<string>com.truevision.tga-image</string>
+			</array>
+			<key>NSDocumentClass</key>
+			<string>PVDocument</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>sgi</string>
+				<string>SGI</string>
+				<string>rgb</string>
+				<string>RGB</string>
+				<string>bw</string>
+				<string>BW</string>
+				<string>icon</string>
+				<string>ICON</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>Silicon Graphics Image</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>.SGI</string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+			<key>LSIsAppleDefaultForType</key>
+			<true/>
+			<key>LSItemContentTypes</key>
+			<array>
+				<string>com.sgi.sgi-image</string>
+			</array>
+			<key>NSDocumentClass</key>
+			<string>PVDocument</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>psd</string>
+				<string>PSD</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>Adobe Photoshop Image</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>8BPS</string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+			<key>LSIsAppleDefaultForType</key>
+			<false/>
+			<key>LSItemContentTypes</key>
+			<array>
+				<string>com.adobe.photoshop-image</string>
+			</array>
+			<key>NSDocumentClass</key>
+			<string>PVDocument</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>icns</string>
+				<string>ICNS</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>Apple Icon Image</string>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+			<key>LSIsAppleDefaultForType</key>
+			<true/>
+			<key>LSItemContentTypes</key>
+			<array>
+				<string>com.apple.icns</string>
+			</array>
+			<key>NSDocumentClass</key>
+			<string>PVDocument</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>jp2</string>
+				<string>JP2</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>JPEG 2000 Image</string>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+			<key>LSIsAppleDefaultForType</key>
+			<true/>
+			<key>LSItemContentTypes</key>
+			<array>
+				<string>public.jpeg-2000</string>
+			</array>
+			<key>NSDocumentClass</key>
+			<string>PVDocument</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>svg</string>
+			</array>
+			<key>CFBundleTypeMIMETypes</key>
+			<array>
+				<string>image/svg+xml</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>SVG document</string>
+			<key>CFBundleTypeRole</key>
+			<string>Viewer</string>
+			<key>NSDocumentClass</key>
+			<string>BrowserDocument</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>sun</string>
+				<string>sr</string>
+				<string>im1</string>
+				<string>im8</string>
+				<string>im24</string>
+				<string>im32</string>
+			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>xcf.icns</string>
+			<key>CFBundleTypeName</key>
+			<string>Sun Rasterfile document</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>SUNn</string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>fli</string>
+				<string>flc</string>
+				<string>flh</string>
+			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>xcf.icns</string>
+			<key>CFBundleTypeName</key>
+			<string>FLI/FLC/FLH document</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>FLI </string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>xwd</string>
+				<string>x10</string>
+				<string>x11</string>
+			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>xcf.icns</string>
+			<key>CFBundleTypeName</key>
+			<string>X/Windows Dump document</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>XWDd</string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>wmf</string>
+				<string>apm</string>
+			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>xcf.icns</string>
+			<key>CFBundleTypeName</key>
+			<string>Windows Metafile document</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>WMF </string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>pix</string>
+				<string>mask</string>
+			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>xcf.icns</string>
+			<key>CFBundleTypeName</key>
+			<string>ALIAS pix document</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>APIX</string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>pnm</string>
+				<string>pbm</string>
+				<string>pgm</string>
+				<string>ppm</string>
+			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>xcf.icns</string>
+			<key>CFBundleTypeName</key>
+			<string>Portable Bitmap document</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>PPGM</string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>psp</string>
+				<string>tub</string>
+			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>xcf.icns</string>
+			<key>CFBundleTypeName</key>
+			<string>Paintshop Pro document</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>.PSP</string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>pcx</string>
+				<string>pcc</string>
+				<string>scr</string>
+			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>xcf.icns</string>
+			<key>CFBundleTypeName</key>
+			<string>Paintbrush document</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>PCXx</string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>fax</string>
+				<string>g3</string>
+			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>xcf.icns</string>
+			<key>CFBundleTypeName</key>
+			<string>CCITT3 native fax document</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>FAX3</string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>xpm</string>
+			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>xcf.icns</string>
+			<key>CFBundleTypeName</key>
+			<string>XPM (ASCII Bitmap) document</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>XPM </string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>cel</string>
+			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>xcf.icns</string>
+			<key>CFBundleTypeName</key>
+			<string>KISS CEL document</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>CEL </string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>fits</string>
+				<string>fit</string>
+				<string>fts</string>
+			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>xcf.icns</string>
+			<key>CFBundleTypeName</key>
+			<string>Flexible Image Transport System document</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>FITS</string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>desktop</string>
+			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>xcf.icns</string>
+			<key>CFBundleTypeName</key>
+			<string>Desktop Alias</string>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>dcm</string>
+				<string>DCM</string>
+				<string>dicom</string>
+				<string>DICOM</string>
+			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>xcf.icns</string>
+			<key>CFBundleTypeName</key>
+			<string>DICOM Image</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>DCOM</string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+		</dict>
+	</array>
+	<key>UTExportedTypeDeclarations</key>
+	<array>
+		<dict>
+			<key>UTTypeConformsTo</key>
+			<array>
+				<string>public.data</string>
+				<string>public.image</string>
+			</array>
+			<key>UTTypeDescription</key>
+			<string>Gimp Image</string>
+			<key>UTTypeIconFile</key>
+			<string>xcf.icns</string>
+			<key>UTTypeIdentifier</key>
+			<string>org.gimp.xcf</string>
+			<key>UTTypeReferenceURL</key>
+			<string>http://www.gimp.org/</string>
+			<key>UTTypeTagSpecification</key>
+			<dict>
+				<key>com.apple.ostype</key>
+				<string>XCF </string>
+				<key>public.filename-extension</key>
+				<array>
+					<string>xcf</string>
+					<string>XCF</string>
+				</array>
+				<key>public.mime-type</key>
+				<array>
+					<string>image/x-xcf</string>
+				</array>
+			</dict>
+		</dict>
+		<dict>
+			<key>UTTypeConformsTo</key>
+			<array>
+				<string>public.data</string>
+				<string>public.image</string>
+				<string>public.archive</string>
+			</array>
+			<key>UTTypeDescription</key>
+			<string>Gimp Compressed Image</string>
+			<key>UTTypeIconFile</key>
+			<string>xcf.icns</string>
+			<key>UTTypeIdentifier</key>
+			<string>org.gimp.xjt</string>
+			<key>UTTypeReferenceURL</key>
+			<string>http://www.gimp.org/</string>
+			<key>UTTypeTagSpecification</key>
+			<dict>
+				<key>com.apple.ostype</key>
+				<string>XJT </string>
+				<key>public.filename-extension</key>
+				<array>
+					<string>xcf.bz2</string>
+					<string>XCF.BZ2</string>
+					<string>xcfbz2</string>
+					<string>XCFBZ2</string>
+					<string>xcf.gz</string>
+					<string>XCF.GZ</string>
+					<string>xcfgz</string>
+					<string>XCFGZ</string>
+					<string>xjt</string>
+					<string>XJT</string>
+					<string>xjtgz</string>
+					<string>XJTGZ</string>
+					<string>xjtbz2</string>
+					<string>XJTBZ2</string>
+				</array>
+				<key>public.mime-type</key>
+				<array>
+					<string>image/x-compressed-xcf</string>
+				</array>
+			</dict>
+		</dict>
+		<dict>
+			<key>UTTypeConformsTo</key>
+			<array>
+				<string>public.data</string>
+				<string>public.image</string>
+			</array>
+			<key>UTTypeDescription</key>
+			<string>Gimp Brush</string>
+			<key>UTTypeIconFile</key>
+			<string>xcf.icns</string>
+			<key>UTTypeIdentifier</key>
+			<string>org.gimp.xbr</string>
+			<key>UTTypeReferenceURL</key>
+			<string>http://www.gimp.org/</string>
+			<key>UTTypeTagSpecification</key>
+			<dict>
+				<key>com.apple.ostype</key>
+				<string>GBR </string>
+				<key>public.filename-extension</key>
+				<array>
+					<string>gbr</string>
+					<string>GBR</string>
+					<string>gbp</string>
+					<string>GBP</string>
+				</array>
+			</dict>
+		</dict>
+		<dict>
+			<key>UTTypeConformsTo</key>
+			<array>
+				<string>public.data</string>
+				<string>public.image</string>
+			</array>
+			<key>UTTypeDescription</key>
+			<string>Gimp Animated Brush</string>
+			<key>UTTypeIconFile</key>
+			<string>xcf.icns</string>
+			<key>UTTypeIdentifier</key>
+			<string>org.gimp.gih</string>
+			<key>UTTypeReferenceURL</key>
+			<string>http://www.gimp.org/</string>
+			<key>UTTypeTagSpecification</key>
+			<dict>
+				<key>com.apple.ostype</key>
+				<string>GIH </string>
+				<key>public.filename-extension</key>
+				<array>
+					<string>gih</string>
+					<string>GIH</string>
+				</array>
+			</dict>
+		</dict>
+		<dict>
+			<key>UTTypeConformsTo</key>
+			<array>
+				<string>public.data</string>
+				<string>public.image</string>
+			</array>
+			<key>UTTypeDescription</key>
+			<string>Gimp Pattern</string>
+			<key>UTTypeIconFile</key>
+			<string>xcf.icns</string>
+			<key>UTTypeIdentifier</key>
+			<string>org.gimp.pat</string>
+			<key>UTTypeReferenceURL</key>
+			<string>http://www.gimp.org/</string>
+			<key>UTTypeTagSpecification</key>
+			<dict>
+				<key>com.apple.ostype</key>
+				<string>PAT </string>
+				<key>public.filename-extension</key>
+				<array>
+					<string>pat</string>
+					<string>PAT</string>
+				</array>
+			</dict>
+		</dict>
+	</array>
 </dict>
 </plist>
diff --git a/build/osx/README b/build/osx/README
new file mode 100644
index 0000000..3246f95
--- /dev/null
+++ b/build/osx/README
@@ -0,0 +1,48 @@
+This are simple step-by-step instructions on how to build gimp on Mac OSX. This guide assumes that you are already somewhat familiar with jhbuild. Before you begin, it's best to remove all references to previous jhbuild, MacPorts, or HomeBrew install from your .profile. Simply renaming it would suffice.
+
+The dollar sign precedes terminal commands.
+
+These coomands will check for a .profile in your $HOME directory. If one exists, it will rename it.
+$ if [ -f $HOME/.profile ];
+$ then
+$ mv $HOME/.profile $HOME/.profile-backup
+$ fi
+
+For non-Lion users, you will need to install git in order to install jhbuild. You can download a Mac binary from:
+http://git-scm.com/
+
+Once you have git set up, you should download and install jhbuild:
+
+$ cd $HOME
+$ curl -O http://git.gnome.org/browse/gtk-osx/plain/gtk-osx-build-setup.sh
+$ sh gtk-osx-build-setup.sh
+
+Now add the jhbuild path to your shell and new .profile:
+
+$ export PATH=$HOME/.local/bin:$PATH
+$ echo 'export PATH=$HOME/.local/bin:$PATH' > $HOME/.profile
+
+In order to properly install gimp on osx you will need to use a preconfigured jhbuildrc provided by gimp:
+
+$ curl -o $HOME/.jhbuildrc-gimp http://git.gnome.org/browse/gimp/plain/build/osx/jhbuildrc-gimp?h=gimp-2-8
+
+Now you can download and install gimp, where 'gimp' is the directory prefix, and '10.6' is the minimum version you are building gimp for. As it stands, you should be able to leave the values as they are.
+
+$ JHB=gimp GIMP_SDK=10.6 jhbuild bootstrap --ignore-system
+$ JHB=gimp GIMP_SDK=10.6 jhbuild build meta-gimp
+
+In order to create a .app you'll need to download an install gtk-mac-bundler.
+This will install gtk-mac-bundler into ~/.local/bin.
+
+$ cd $HOME/Source/
+$ git clone https://github.com/jralls/gtk-mac-bundler.git
+$ cd gtk-mac-bundler/
+$ make install
+
+Now create the gimp.app.
+
+$ cd $HOME/gimp/10.6/source/gimp/build/osx
+$ gtk-mac-bundler gimp.bundle
+
+Please note that this is not a finished process, and there are a few issues that still need to be fixed. Please joing #gimp on irc.gimp.org if you have any questions.
+
diff --git a/build/osx/gimp.bundle b/build/osx/gimp.bundle
index 2a7877d..929057d 100644
--- a/build/osx/gimp.bundle
+++ b/build/osx/gimp.bundle
@@ -19,7 +19,7 @@
          app. If you leave out the path, the current directory is
          used. Note the usage of an environment variable here again.
     -->
-    <destination overwrite="yes">${env:HOME}</destination>
+    <destination overwrite="yes">${project}</destination>
 
     <image>
       <!-- Not implemented yet (DMG image). -->
@@ -28,8 +28,7 @@
     <!-- Comment this out to keep the install names in binaries. -->
     <run-install-name-tool/>
     
-
-    <!-- Specify launcher script, not necessary -->
+    <!-- Specify launcher script -->
     <launcher-script>
       ${project}/launcher.sh
     </launcher-script>
@@ -41,7 +40,7 @@
   <!-- Copy in Info.plist -->
   <plist>${project}/Info.plist</plist>
 
-  <!-- Name of main gimp binary; something more dynamic should be used, like ${pkg:${gimp}:gimp_binary_version} -->
+  <!-- Name of main gimp binary; in future use ${pkg:${gimp}:gimp_binary_version} -->
   <main-binary>${prefix}/bin/gimp-2.8</main-binary>
 
   <!-- Copy in GTK+ modules -->
@@ -73,25 +72,16 @@
     ${prefix}/share/locale
   </translations>
 
-
-  <!-- Data to copy in -->
-  <!-- data>
-    ${prefix}/share/gtk-demo
-  </data -->
-
-  <!-- Missing dylibs otool -L not helpful enough? Doesn't happen all the time-->
-  <binary>${prefix}/lib/libgimpui-2.0.0.dylib</binary>
-  
-  <!-- Where plugin dylibs need to be explicitly defined -->
+  <!-- Liquid rescale library for the liquid rescal plugin -->
   <!-- <binary>${prefix}/lib/liblqr-1.0.dylib</binary> -->
+  <!-- libexif library for exif data -->
   <!-- <binary>${prefix}/lib/libexif.12.dylib</binary> -->
 
   <!-- GTK+2 data -->
   <data>${prefix}/etc/gtk-2.0/*</data>
 
-  <!-- Fontconfig data; requires clean up -->
+  <!-- Fontconfig data -->
   <data>${prefix}/etc/fonts/fonts.conf</data>
-  <data>${prefix}/etc/fonts/fonts.conf.bak</data>
   <data>${prefix}/etc/fonts/fonts.dtd</data>
   <data>${prefix}/etc/fonts/conf.avail/*</data>
   <data>${prefix}/etc/fonts/conf.d/*</data>
@@ -99,8 +89,10 @@
   <!-- Gimp data -->
   <data>${prefix}/etc/gimp/2.0/*</data>
   <data dest="${bundle}/Contents/Resources/share/gimp">${prefix}/share/gimp</data>
-  <data>${prefix}/lib/gimp/2.0/modules/*.so</data>
-  <data>${prefix}/lib/gimp/2.0/plug-ins/*</data>
+
+  <!-- Gimp modules and plug-ins -->
+  <binary>${prefix}/lib/gimp/2.0/modules/*.so</binary>
+  <binary>${prefix}/lib/gimp/2.0/plug-ins/*</binary>
 
   <!-- Pango data -->
   <data>${prefix}/etc/pango/pango.modules</data>
@@ -118,7 +110,7 @@
   <!-- GTK+ theme data -->
   <data>${prefix}/share/gtk-engines/*.xml</data>
 
-  <!-- mitch says this will change default theme, didn't work. -->
+  <!-- Change default theme -->
   <data dest="${bundle}/Contents/Resources/etc/${gtkdir}/gtkrc">
     ${project}/gtkrc
   </data>
diff --git a/build/osx/gtkrc b/build/osx/gtkrc
index d65ec9d..8f8c64c 100644
--- a/build/osx/gtkrc
+++ b/build/osx/gtkrc
@@ -1 +1 @@
-gtk-theme-name = "Zukitwo"
+gtk-theme-name = "Zukitwo"
\ No newline at end of file
diff --git a/build/osx/jhbuildrc-gimp b/build/osx/jhbuildrc-gimp
index 4bfa861..516bebb 100644
--- a/build/osx/jhbuildrc-gimp
+++ b/build/osx/jhbuildrc-gimp
@@ -35,7 +35,10 @@ environ_append("OBJCFLAGS", "-isysroot " + _sdkdir)
 environ_prepend("OBJCFLAGS", "-arch " + _architecture)
 environ_append("OBJCFLAGS", "-mmacosx-version-min=" + _gsdk)
 
+# Build with more than one core. Use # of cores +1.
+os.environ['MAKE'] = 'make -j3'
+
 skip.append("libiconv")
 
 # Main module set
-moduleset = "~/gimp.modules"
+moduleset = "http://git.gnome.org/browse/gimp/plain/build/osx/gimp.modules?h=gimp-2-8";
diff --git a/build/osx/launcher.sh b/build/osx/launcher.sh
index aaeabff..730e140 100755
--- a/build/osx/launcher.sh
+++ b/build/osx/launcher.sh
@@ -1,6 +1,5 @@
 #!/bin/bash
 
-# Stuff the Mac dev of gedit wrote.
 if test "x$GTK_DEBUG_LAUNCHER" != x; then
 	set -x
 fi
@@ -13,12 +12,10 @@ else
 	EXEC=exec
 fi
 
-# Where we get all of our paths from.
+# Where is GIMP.app located
 name=$(basename "$0")
-echo $name
 
 dirn=$(dirname "$0")
-echo $dirn
 
 bundle=$(cd "$dirn/../../" && pwd)
 bundle_contents="$bundle"/Contents
@@ -29,12 +26,11 @@ bundle_data="$bundle_res"/share
 bundle_etc="$bundle_res"/etc
 
 export PATH="$bundle_bin:$PATH"
-echo $PATH
 
-# This is a comprimize between clashing with system libs and no libs.
+# This is a compromise between clashing with system libs and no libs; it may no longer be needed
 export DYLD_FALLBACK_LIBRARY_PATH="$bundle_lib:$DYLD_FALLBACK_LIBRARY_PATH"
 
-# The fontconfig file needs to be explicitely defined
+# The fontconfig file needs to be explicitly defined
 export FONTCONFIG_FILE="$bundle_etc/fonts/fonts.conf"
 
 # Gdk needs it's own specifications
@@ -43,11 +39,11 @@ export GDK_PIXBUF_MODULE_FILE="$bundle_etc/gtk-2.0/gdk-pixbuf.loaders"
 # Fix the theme engine paths
 export GTK_PATH="$bundle_lib/gtk-2.0/2.10.0"
 
-# These may or may not be necesary, no harm was observed in the commenting out of these paths
+# Backup paths
 # export GTK_IM_MODULE_FILE="$bundle_etc/gtk-2.0/gtk.immodules"
 # export PANGO_RC_FILE="$bundle_etc/pango/pangorc"
 
-# Strip out the argument added by the OS.
+# Strip out arguments added by the OS.
 if [ x`echo "x$1" | sed -e "s/^x-psn_.*//"` == x ]; then
 	shift 1
 fi



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]