commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r9645 - in trunk/gnue-forms/packaging/osx: . build-env build-env/


From: johannes
Subject: [gnue] r9645 - in trunk/gnue-forms/packaging/osx: . build-env build-env/Resources build-env/pkg-resources
Date: Thu, 31 May 2007 02:30:06 -0500 (CDT)

Author: johannes
Date: 2007-05-31 02:30:06 -0500 (Thu, 31 May 2007)
New Revision: 9645

Added:
   trunk/gnue-forms/packaging/osx/build-env/pkg-resources/
   trunk/gnue-forms/packaging/osx/build-env/pkg-resources/README
Removed:
   trunk/gnue-forms/packaging/osx/build-env/Resources/README
Modified:
   trunk/gnue-forms/packaging/osx/create-build
Log:
Added resource tree for the disk image


Deleted: trunk/gnue-forms/packaging/osx/build-env/Resources/README
===================================================================
--- trunk/gnue-forms/packaging/osx/build-env/Resources/README   2007-05-31 
06:58:11 UTC (rev 9644)
+++ trunk/gnue-forms/packaging/osx/build-env/Resources/README   2007-05-31 
07:30:06 UTC (rev 9645)
@@ -1,36 +0,0 @@
-# README
-
-1. Prerequisites
-
-  - Python2.3
-      Mac OS X Tiger comes with python 2.3.5 installed. That's ok, since this
-      package is designed for that python environment.
-
-  - Fix for handling python2.3 site-packages:
-      Download and install a small fix for Tiger's builtin python 2.3
-      site-packages from:
-      http://pythonmac.org/packages/TigerPython23Compat.pkg.zip
-
-  - egenix.mx.datetime
-      Download and install the egenix-mx-base package from
-      http://pythonmac.org/packages/egenix_mx_base-2.0.6-py2.3-macosx10.3.zip
-
-  - PIL
-      Download and install the Python Imaging Library from
-      http://pythonmac.org/packages/PIL-1.1.5-py2.3-macosx10.3.zip
-
-  - wxPython 2.8
-      Download and install the wxPython package from
-      
http://prdownloads.sourceforge.net/wxpython/wxPython2.8-osx-unicode-2.8.3.0-macosx10.3-py2.3.dmg
-      (make sure to grab a unicode-build)
-
-
-2. Installation
-
-  To install GNU Enterprise Forms double click on the installer package.
-
-
-3. Additional resources and packages:
-
-  If you're looking for a given package (like database drivers) you might visit
-  "http://www.gnuenterprise.org/downloads/depends";.

Copied: trunk/gnue-forms/packaging/osx/build-env/pkg-resources/README (from rev 
9642, trunk/gnue-forms/packaging/osx/build-env/Resources/README)

Modified: trunk/gnue-forms/packaging/osx/create-build
===================================================================
--- trunk/gnue-forms/packaging/osx/create-build 2007-05-31 06:58:11 UTC (rev 
9644)
+++ trunk/gnue-forms/packaging/osx/create-build 2007-05-31 07:30:06 UTC (rev 
9645)
@@ -46,6 +46,7 @@
 curdir=`pwd`
 destdir="$curdir/build-env/pkg-root"
 resdir="$curdir/build-env/Resources"
+pkgres="$curdir/build-env/pkg-resources"
 
 test -d "$destdir" || mkdir "$destdir"
 
@@ -123,14 +124,23 @@
 # Create a disk image
 # ---------------------------------------------------------------------------
 
+cd $curdir
 echo "Creating disk image ..."
 rm -f temp.dmg "$volname.dmg"
 
-hdiutil create -srcfolder $package -volname $volname temp.dmg
+# Prepare the directory tree for the disk image.  This contains the previously
+# created installer-package as well as everything from build-env/pkg-resources
+rm -rf "build-dmg"
+mkdir "build-dmg"
+cp -R $pkgres "build-dmg"
+mv $package "build-dmg"
 
+hdiutil create -srcfolder "build-dmg" -volname $volname temp.dmg
+
 # Convert the image
 echo "Converting disk image ..."
 hdiutil convert temp.dmg -format UDZO -o $volname.dmg
 
+# Clean up the working directory
 rm -f temp.dmg
-rm -rf $package
+rm -rf "build-dmg"





reply via email to

[Prev in Thread] Current Thread [Next in Thread]