Author: dpage
Date: 2005-10-25 14:35:31 +0100 (Tue, 25 Oct 2005)
New Revision: 4615

Added:
   trunk/pgadmin3/pkg/mac/sql.icns
Modified:
   trunk/pgadmin3/pkg/mac/Info.plist
   trunk/pgadmin3/pkg/mac/Makefile.am
Log:
Mac packaging update [Florian G. Pflug]

Modified: trunk/pgadmin3/pkg/mac/Info.plist
===================================================================
--- trunk/pgadmin3/pkg/mac/Info.plist   2005-10-25 09:18:51 UTC (rev 4614)
+++ trunk/pgadmin3/pkg/mac/Info.plist   2005-10-25 13:35:31 UTC (rev 4615)
@@ -4,21 +4,66 @@
 <dict>
        <key>CFBundleDevelopmentRegion</key>
        <string>English</string>
+       <key>CFBundleDocumentTypes</key>
+       <array>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>sql</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>sql.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>pgAdmin3 SQL Query</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Editor</string>
+                       <key>LSItemContentTypes</key>
+                       <array>
+                               <string>org.postgresql.pgadmin.sql</string>
+                       </array>
+               </dict>
+       </array>
        <key>CFBundleExecutable</key>
        <string>pgAdmin3</string>
+       <key>CFBundleGetInfoString</key>
+       <string>pgAdmin3 1.4</string>
+       <key>CFBundleIconFile</key>
+       <string>pgAdmin3.icns</string>
        <key>CFBundleIdentifier</key>
-       <string>org.postgresql.pgadmin3</string>
+       <string>org.postgresql.pgadmin</string>
        <key>CFBundleInfoDictionaryVersion</key>
-       <string>1.2</string>
+       <string>6.0</string>
        <key>CFBundlePackageType</key>
        <string>APPL</string>
+       <key>CFBundleShortVersionString</key>
+       <string>1.4</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>0.1</string>
-        <key>CFBundleIconFile</key>
-        <string>pgAdmin3.icns</string>
+       <string>1.4</string>
        <key>CSResourcesFileMapped</key>
        <true/>
+       <key>UTExportedTypeDeclarations</key>
+       <array>
+               <dict>
+                       <key>UTTypeConformsTo</key>
+                       <array>
+                               <string>public.utf8-plain-text</string>
+                       </array>
+                       <key>UTTypeDescription</key>
+                       <string>pgAdmin3 SQL Query</string>
+                       <key>UTTypeIconFile</key>
+                       <string>sql.icns</string>
+                       <key>UTTypeIdentifier</key>
+                       <string>org.postgresql.pgadmin.sql</string>
+                       <key>UTTypeTagSpecification</key>
+                       <dict>
+                               <key>public.filename-extension</key>
+                               <array>
+                                       <string>sql</string>
+                               </array>
+                       </dict>
+               </dict>
+       </array>
 </dict>
 </plist>

Modified: trunk/pgadmin3/pkg/mac/Makefile.am
===================================================================
--- trunk/pgadmin3/pkg/mac/Makefile.am  2005-10-25 09:18:51 UTC (rev 4614)
+++ trunk/pgadmin3/pkg/mac/Makefile.am  2005-10-25 13:35:31 UTC (rev 4615)
@@ -10,6 +10,7 @@
 EXTRA_DIST = \
                $(srcdir)/Info.plist \
                $(srcdir)/pgadmin3.icns \
+               $(srcdir)/sql.icns \
                $(srcdir)/PkgInfo
 
 install-exec-hook:
@@ -17,6 +18,7 @@
        $(install_sh_DATA) PkgInfo $(bundledir)/PkgInfo
        $(install_sh_DATA) Info.plist $(bundledir)/Contents/Info.plist
        $(install_sh_DATA) "pgadmin3.icns" 
"$(bundledir)/Contents/Resources/pgAdmin3.icns"
+       $(install_sh_DATA) "sql.icns" "$(bundledir)/Contents/Resources/sql.icns"
        $$($(WX_CONFIG) --rezflags | sed 's/-t[[:space:]]*APPL//') \
                 "$(bundledir)/Contents/Resources/pgAdmin3.rsrc" -useDF
        ./complete-bundle.sh "$(bundledir)"

Added: trunk/pgadmin3/pkg/mac/sql.icns
===================================================================
(Binary files differ)


Property changes on: trunk/pgadmin3/pkg/mac/sql.icns
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to