Two issues spotted by Ronald OUssoren:
- there were no accessor functions for the global per-database fields
- packages and their dependencies were installed in order in stead
  of in reverse order.
diff --git a/Lib/plat-mac/Carbon/LaunchServices.py b/Lib/plat-mac/Carbon/LaunchServices.py
index 2be67c3..22bb421 100644
--- a/Lib/plat-mac/Carbon/LaunchServices.py
+++ b/Lib/plat-mac/Carbon/LaunchServices.py
@@ -4,6 +4,8 @@
 from Carbon.Files import *
 kLSRequestAllInfo = -1
 kLSRolesAll = -1
+kLSUnknownType = FOUR_CHAR_CODE('\0\0\0\0')
+kLSUnknownCreator = FOUR_CHAR_CODE('\0\0\0\0')
 kLSInvalidExtensionIndex = -1
 kLSUnknownErr = -10810
 kLSNotAnApplicationErr = -10811
@@ -49,8 +51,8 @@
 kLSRolesEditor = 0x00000004
 # kLSRolesAll = (unsigned long)0xFFFFFFFF 
 kLSUnknownKindID = 0
-kLSUnknownType = 0
-kLSUnknownCreator = 0
+# kLSUnknownType = 0
+# kLSUnknownCreator = 0
 kLSAcceptDefault = 0x00000001
 kLSAcceptAllowLoginUI = 0x00000002 
 kLSLaunchDefaults = 0x00000001