Help for a OSX bundle

Yves de Champlain yves at macports.org
Fri Jul 20 21:21:15 PDT 2007


Hi

I may not be on the best list to ask, but it's the list I'm on

I have made a gimp.app port with a nice gimp.icns.
The app has its icon alright but the xcf files don't (I'm using the  
same icon for both).

I have searched a lot and feel like I'm missing a very stupid thing.

Double-click a xcf will open it in gimp alright while drag n drop  
will not work.

Here is my Info.plist and thanks for having a look.

yves

Pkginfo = APPLGiMP

Info.plist :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http:// 
www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>CFBundleDevelopmentRegion</key>
	<string>English</string>
	<key>CFBundleDocumentTypes</key>
	<array>
		<dict>
			<key>CFBundleTypeExtensions</key>
			<array>
				<string>xcf</string>
				<string>XCF</string>
			</array>
			<key>CFBundleTypeIconFile</key>
			<string>Gimp.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>
	</array>
	<key>CFBundleExecutable</key>
	<string>Gimp</string>
	<key>CFBundleGetInfoString</key>
	<string>2.3.18, © 2001-2007 The GIMP Team</string>
	<key>CFBundleIconFile</key>
	<string>Gimp.icns</string>
	<key>CFBundleIdentifier</key>
	<string>org.gimp.Gimp</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundleName</key>
	<string>Gimp</string>
	<key>CFBundlePackageType</key>
	<string>APPL</string>
	<key>CFBundleShortVersionString</key>
	<string>2.3.18</string>
	<key>CFBundleSignature</key>
	<string>GiMP</string>
	<key>CFBundleVersion</key>
	<string>2.3.18</string>
	<key>NSHumanReadableCopyright</key>
	<string>© 2001-2007 The GIMP Team</string>
	<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>Gimp.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>
	</array>
</dict>
</plist>




More information about the macports-users mailing list