directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r627704 - in /directory/studio/trunk/tools/Mac OS X DMG: ./ DS_Store README background.png createDMG.sh
Date Thu, 14 Feb 2008 11:01:50 GMT
Author: pamarcelot
Date: Thu Feb 14 03:01:33 2008
New Revision: 627704

URL: http://svn.apache.org/viewvc?rev=627704&view=rev
Log:
Added the createDMG.sh shell script and utilities which create the Mac OS X disk image for
a new release of Studio.

Added:
    directory/studio/trunk/tools/Mac OS X DMG/
    directory/studio/trunk/tools/Mac OS X DMG/DS_Store   (with props)
    directory/studio/trunk/tools/Mac OS X DMG/README
    directory/studio/trunk/tools/Mac OS X DMG/background.png   (with props)
    directory/studio/trunk/tools/Mac OS X DMG/createDMG.sh   (with props)

Added: directory/studio/trunk/tools/Mac OS X DMG/DS_Store
URL: http://svn.apache.org/viewvc/directory/studio/trunk/tools/Mac%20OS%20X%20DMG/DS_Store?rev=627704&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/studio/trunk/tools/Mac OS X DMG/DS_Store
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/studio/trunk/tools/Mac OS X DMG/README
URL: http://svn.apache.org/viewvc/directory/studio/trunk/tools/Mac%20OS%20X%20DMG/README?rev=627704&view=auto
==============================================================================
--- directory/studio/trunk/tools/Mac OS X DMG/README (added)
+++ directory/studio/trunk/tools/Mac OS X DMG/README Thu Feb 14 03:01:33 2008
@@ -0,0 +1,11 @@
+The createDMG.sh shell script creates the DMG (disk image) for a release of Apache Directory
Studio on Mac OS X.
+
+To create a new DMG, you have to put in a "release" folder the following files:
+  * Apache Directory Studio.app (the application)
+  * LICENSE.txt
+  * NOTICE.txt
+  * Release Notes.txt
+
+Then, you can launch the shell script: ./createDMG.sh
+
+An "ApacheDirectoryStudio.dmg" disc image will be generated.
\ No newline at end of file

Added: directory/studio/trunk/tools/Mac OS X DMG/background.png
URL: http://svn.apache.org/viewvc/directory/studio/trunk/tools/Mac%20OS%20X%20DMG/background.png?rev=627704&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/studio/trunk/tools/Mac OS X DMG/background.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/studio/trunk/tools/Mac OS X DMG/createDMG.sh
URL: http://svn.apache.org/viewvc/directory/studio/trunk/tools/Mac%20OS%20X%20DMG/createDMG.sh?rev=627704&view=auto
==============================================================================
--- directory/studio/trunk/tools/Mac OS X DMG/createDMG.sh (added)
+++ directory/studio/trunk/tools/Mac OS X DMG/createDMG.sh Thu Feb 14 03:01:33 2008
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+# Creating dmg and .background folders
+mkdir dmg
+mkdir -p dmg/.background
+
+# Creating symbolic link to Applications folder
+ln -s /Applications dmg/Applications
+
+# Copying release resources
+cp -r release/* dmg/
+
+# Copying background image and .DS_Store file
+cp background.png dmg/.background/
+cp DS_Store dmg/.DS_Store
+
+# Creating the disk image
+hdiutil makehybrid -hfs -hfs-volume-name "Apache Directory Studio" -hfs-openfolder dmg/ dmg/
-o TMP.dmg
+hdiutil convert -format UDZO TMP.dmg -o ApacheDirectoryStudio.dmg
+
+# Cleaning
+rm TMP.dmg
+rm -rf dmg/
\ No newline at end of file

Propchange: directory/studio/trunk/tools/Mac OS X DMG/createDMG.sh
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message