[Red5commits] [2072] Created 0.6.1 for mac osx, removed permissions check from installer, added red5-

TTriemstra luke at codegent.com
Wed May 23 16:10:11 EDT 2007


Created 0.6.1 for mac osx, removed permissions check from installer, added red5-shutdown.sh to installer


Timestamp: 05/23/07 15:00:27 EST (less than one hour ago) 
Change: 2072 
Author: TTriemstra

Files (see diff or trac for details): 
build/trunk/macosx/Makefile
build/trunk/macosx/bin/Red5.app/Contents/Info.plist
build/trunk/macosx/bin/Red5.app/Contents/Resources/en.lproj/InfoPlist.strings
build/trunk/macosx/bin/Welcome.txt
build/trunk/macosx/dmg_red5.scpt
build/trunk/macosx/packages/docs/Info.plist
build/trunk/macosx/packages/flash/Info.plist
build/trunk/macosx/packages/main/Info.plist
build/trunk/macosx/packages/source/Info.plist


Trac: http://mirror1.cvsdude.com/trac/osflash/red5/changeset/2072

Index: /build/trunk/macosx/bin/Welcome.txt
===================================================================
--- /build/trunk/macosx/bin/Welcome.txt (revision 1855)
+++ /build/trunk/macosx/bin/Welcome.txt (revision 2072)
@@ -1,4 +1,4 @@
 
-This will install Red5 0.6 RC3 on your computer.
+This will install Red5 0.6.1 on your computer.
 
 It is recommended that you close all other applications before continuing.
Index: /build/trunk/macosx/bin/Red5.app/Contents/Info.plist
===================================================================
--- /build/trunk/macosx/bin/Red5.app/Contents/Info.plist (revision 1855)
+++ /build/trunk/macosx/bin/Red5.app/Contents/Info.plist (revision 2072)
@@ -8,9 +8,9 @@
 	<string>English</string>
 	<key>CFBundleDisplayName</key>
-	<string>Red5 0.6 RC3</string>
+	<string>Red5 0.6.1</string>
 	<key>CFBundleExecutable</key>
 	<string>Red5</string>
 	<key>CFBundleGetInfoString</key>
-	<string>Red5 0.6 RC3 Copyright 2006-2007 OSFlash</string>
+	<string>Red5 0.6.1 Copyright 2006-2007 OSFlash</string>
 	<key>CFBundleIconFile</key>
 	<string>appIcon.icns</string>
@@ -24,9 +24,9 @@
 	<string>APPL</string>
 	<key>CFBundleShortVersionString</key>
-	<string>0.6 RC3</string>
+	<string>0.6.1</string>
 	<key>CFBundleSignature</key>
 	<string>????</string>
 	<key>CFBundleVersion</key>
-	<string>0.6 RC3</string>
+	<string>0.6.1</string>
 	<key>LSEnvironment</key>
 	<dict>
@@ -41,5 +41,5 @@
 	<false/>
 	<key>NSHumanReadableCopyright</key>
-	<string>Red5 0.6 RC3 Copyright 2006-2007 OSFlash</string>
+	<string>Red5 0.6.1 Copyright 2006-2007 OSFlash</string>
 	<key>NSMainNibFile</key>
 	<string>MainMenu</string>
Index: /build/trunk/macosx/bin/Red5.app/Contents/Resources/en.lproj/InfoPlist.strings
===================================================================
--- /build/trunk/macosx/bin/Red5.app/Contents/Resources/en.lproj/InfoPlist.strings (revision 1855)
+++ /build/trunk/macosx/bin/Red5.app/Contents/Resources/en.lproj/InfoPlist.strings (revision 2072)
@@ -1,4 +1,4 @@
 CFBundleName = "Red5";
-CFBundleShortVersionString = "0.6 RC3";
-CFBundleGetInfoString = "Red5 version 0.6 RC3 Copyright 2006-2007 The Red5 Project (red5 at osflash.org)";
+CFBundleShortVersionString = "0.6.1";
+CFBundleGetInfoString = "Red5 version 0.6.1 Copyright 2006-2007 The Red5 Project (red5 at osflash.org)";
 NSHumanReadableCopyright = "Copyright 2006-2007 The Red5 Project (red5 at osflash.org).";
Index: /build/trunk/macosx/Makefile
===================================================================
--- /build/trunk/macosx/Makefile (revision 1855)
+++ /build/trunk/macosx/Makefile (revision 2072)
@@ -5,23 +5,24 @@
 # 3. Updating the version number isn't automated and optimized yet and now has to be done manually.
 #    So before building, first:
-#    - open the file 'packages/docs/Info.plist', change the version number(s) and save the file.
-#    - open the file 'packages/flash/Info.plist', change the version number(s) and save the file.
-#    - open the file 'packages/main/Info.plist', change the version number(s) and save the file.
-#    - open the file 'packages/source/Info.plist', change the version number(s) and save the file.
-#    - open the file 'bin/Red5.app/Contents/Info.plist', change the version number(s) and save the file.
-#    - open the file 'bin/Welcome.txt', change the version number(s) and save the file.
+#    - open the file 'packages/docs/Info.plist', change the version numbers and save the file.
+#    - open the file 'packages/flash/Info.plist', change the version numbers and save the file.
+#    - open the file 'packages/main/Info.plist', change the version numbers and save the file.
+#    - open the file 'packages/source/Info.plist', change the version numbers and save the file.
+#    - open the file 'bin/Red5.app/Contents/Info.plist', change the version numbers and save the file.
+#    - open the file 'bin/Red5.app/Contents/Resources/en.lproj/InfoPlist.strings', change the version numbers and save the file.
+#    - open the file 'bin/Welcome.txt', change the version number and save the file.
 #    - change the VERSION below (don't use any spaces)
 # 4. Run this file with 'make'.
 # 5. The output is the setup-red5xx.dmg file and a folder with a copy of the package's content.
 #
-# Thijs Triemstra, 03/07
+# Thijs Triemstra, 05/2007
 # Original script from http://brok3n.org/archivesextreme/2006/09/dmg_creation_ti.html
 
-VERSION=0.6rc3
+VERSION=0.6.1
 RELEASE_NAME=red5-$(VERSION)
 FANCY_NAME=Red5 v$(VERSION)
 DMG_NAME=setup-$(RELEASE_NAME).dmg
 MPKG_NAME=Install-$(RELEASE_NAME).mpkg
-SRC_DIR=../$(RELEASE_NAME)
+SRC_DIR=../stable/$(RELEASE_NAME)
 BUILD_DIR=build
 BIN_DIR=bin
@@ -89,4 +90,5 @@
 	cp $(SRC_DIR)/red5.jar $(BUILD_DIR)/$(RED5_MAIN_PACKAGE_NAME)
 	cp $(SRC_DIR)/red5.sh $(BUILD_DIR)/$(RED5_MAIN_PACKAGE_NAME)
+	cp $(SRC_DIR)/red5-shutdown.sh $(BUILD_DIR)/$(RED5_MAIN_PACKAGE_NAME)
 	cp -r $(SRC_DIR)/webapps $(BUILD_DIR)/$(RED5_MAIN_PACKAGE_NAME)
 
@@ -112,10 +114,4 @@
 	@# Add fresh copy of change log
 	cp $(SRC_DIR)/doc/changelog.txt $(BUILD_DIR)/$(RED5_META_PACKAGE_NAME)/English.lproj/ReadMe.txt
-
-	@echo == Updating package permissions...
-	@# Set package permissions
-	@echo == Authentication required to set package permissions ==
-	sudo chown -Rh root:admin $(BUILD_DIR)/$(RED5_DOCS_PACKAGE_NAME) $(BUILD_DIR)/$(RED5_FLASH_PACKAGE_NAME) $(BUILD_DIR)/$(RED5_MAIN_PACKAGE_NAME) $(BUILD_DIR)/$(RED5_SOURCE_PACKAGE_NAME) $(BUILD_DIR)/$(RED5_META_PACKAGE_NAME)
-	sudo chmod -R g+w $(BUILD_DIR)/$(RED5_DOCS_PACKAGE_NAME) $(BUILD_DIR)/$(RED5_FLASH_PACKAGE_NAME) $(BUILD_DIR)/$(RED5_MAIN_PACKAGE_NAME) $(BUILD_DIR)/$(RED5_SOURCE_PACKAGE_NAME) $(BUILD_DIR)/$(RED5_META_PACKAGE_NAME)
 
 	@#                         PackageMaker Options
@@ -164,5 +160,5 @@
 	/Developer/Tools/packagemaker -build -p $(BUILD_DIR)/$(PACKAGES_DIR)/$(RED5_SOURCE_PACKAGE_NAME).pkg -f $(BUILD_DIR)/$(RED5_SOURCE_PACKAGE_NAME) -ds -v -i $(RED5_SOURCE_PACKAGE)/Info.plist -d $(RED5_SOURCE_PACKAGE)/Description.plist 
 
-	@echo == Creating $(RELEASE_NAME) package...
+	@echo == Creating $(RELEASE_NAME) metapackage...
 	@# Create metapackage file
 	/Developer/Tools/packagemaker -build -p $(RED5_DIR)/$(MPKG_NAME) -f $(RED5_DIR) -mi $(BUILD_DIR)/$(PACKAGES_DIR) -ds -v -i $(RED5_META_PACKAGE)/Info.plist -d $(RED5_META_PACKAGE)/Description.plist -r $(BUILD_DIR)/$(RED5_META_PACKAGE_NAME)
@@ -170,10 +166,10 @@
 	@echo == Removing old build files...
 	@# cleanup
-	sudo rm -rf $(BUILD_DIR)/$(RED5_DOCS_PACKAGE_NAME)
-	sudo rm -rf $(BUILD_DIR)/$(RED5_FLASH_PACKAGE_NAME)
-	sudo rm -rf $(BUILD_DIR)/$(RED5_MAIN_PACKAGE_NAME)
-	sudo rm -rf $(BUILD_DIR)/$(RED5_SOURCE_PACKAGE_NAME)
-	sudo rm -rf $(BUILD_DIR)/$(RED5_META_PACKAGE_NAME)
-	sudo rm -rf $(BUILD_DIR)/$(PACKAGES_DIR)
+	rm -rf $(BUILD_DIR)/$(RED5_DOCS_PACKAGE_NAME)
+	rm -rf $(BUILD_DIR)/$(RED5_FLASH_PACKAGE_NAME)
+	rm -rf $(BUILD_DIR)/$(RED5_MAIN_PACKAGE_NAME)
+	rm -rf $(BUILD_DIR)/$(RED5_SOURCE_PACKAGE_NAME)
+	rm -rf $(BUILD_DIR)/$(RED5_META_PACKAGE_NAME)
+	rm -rf $(BUILD_DIR)/$(PACKAGES_DIR)
 
 	@echo == Deleting SVN and backup files...
Index: /build/trunk/macosx/packages/source/Info.plist
===================================================================
--- /build/trunk/macosx/packages/source/Info.plist (revision 1855)
+++ /build/trunk/macosx/packages/source/Info.plist (revision 2072)
@@ -4,9 +4,9 @@
 <dict>
 	<key>CFBundleGetInfoString</key>
-	<string>Red5 0.6 RC3, Copyright © 2006-2007 OSFlash</string>
+	<string>Red5 0.6.1, Copyright © 2006-2007 OSFlash</string>
 	<key>CFBundleIdentifier</key>
 	<string>source</string>
 	<key>CFBundleShortVersionString</key>
-	<string>0.6</string>
+	<string>0.6.1</string>
 	<key>IFMajorVersion</key>
 	<integer>0</integer>
@@ -16,5 +16,5 @@
 	<false/>
 	<key>IFPkgFlagAuthorizationAction</key>
-	<string>AdminAuthorization</string>
+	<string></string>
 	<key>IFPkgFlagBackgroundAlignment</key>
 	<string>topleft</string>
Index: /build/trunk/macosx/packages/main/Info.plist
===================================================================
--- /build/trunk/macosx/packages/main/Info.plist (revision 1855)
+++ /build/trunk/macosx/packages/main/Info.plist (revision 2072)
@@ -4,9 +4,9 @@
 <dict>
 	<key>CFBundleGetInfoString</key>
-	<string>Red5 0.6 RC3, Copyright © 2006-2007 OSFlash</string>
+	<string>Red5 0.6.1, Copyright © 2006-2007 OSFlash</string>
 	<key>CFBundleIdentifier</key>
 	<string>main</string>
 	<key>CFBundleShortVersionString</key>
-	<string>0.6</string>
+	<string>0.6.1</string>
 	<key>IFMajorVersion</key>
 	<integer>0</integer>
@@ -16,5 +16,5 @@
 	<false/>
 	<key>IFPkgFlagAuthorizationAction</key>
-	<string>AdminAuthorization</string>
+	<string></string>
 	<key>IFPkgFlagBackgroundAlignment</key>
 	<string>topleft</string>
Index: /build/trunk/macosx/packages/docs/Info.plist
===================================================================
--- /build/trunk/macosx/packages/docs/Info.plist (revision 1855)
+++ /build/trunk/macosx/packages/docs/Info.plist (revision 2072)
@@ -4,9 +4,9 @@
 <dict>
 	<key>CFBundleGetInfoString</key>
-	<string>Red5 0.6 RC3, Copyright © 2006-2007 OSFlash</string>
+	<string>Red5 0.6.1, Copyright © 2006-2007 OSFlash</string>
 	<key>CFBundleIdentifier</key>
 	<string>docs</string>
 	<key>CFBundleShortVersionString</key>
-	<string>0.6</string>
+	<string>0.6.1</string>
 	<key>IFMajorVersion</key>
 	<integer>0</integer>
@@ -16,5 +16,5 @@
 	<false/>
 	<key>IFPkgFlagAuthorizationAction</key>
-	<string>AdminAuthorization</string>
+	<string></string>
 	<key>IFPkgFlagBackgroundAlignment</key>
 	<string>topleft</string>
Index: /build/trunk/macosx/packages/flash/Info.plist
===================================================================
--- /build/trunk/macosx/packages/flash/Info.plist (revision 1855)
+++ /build/trunk/macosx/packages/flash/Info.plist (revision 2072)
@@ -4,9 +4,9 @@
 <dict>
 	<key>CFBundleGetInfoString</key>
-	<string>Red5 0.6 RC3, Copyright © 2006-2007 OSFlash</string>
+	<string>Red5 0.6.1, Copyright © 2006-2007 OSFlash</string>
 	<key>CFBundleIdentifier</key>
 	<string>flash</string>
 	<key>CFBundleShortVersionString</key>
-	<string>0.6</string>
+	<string>0.6.1</string>
 	<key>IFMajorVersion</key>
 	<integer>0</integer>
@@ -16,5 +16,5 @@
 	<false/>
 	<key>IFPkgFlagAuthorizationAction</key>
-	<string>AdminAuthorization</string>
+	<string></string>
 	<key>IFPkgFlagBackgroundAlignment</key>
 	<string>topleft</string>


Note:
Diffs are chopped if more than 25k.
This is to get past the limit on the mailing list.



More information about the Red5commits mailing list