[gnue] r9633 - in trunk/gnue-common/packaging/osx: . build-env build-env/Resources

[email protected]
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
Author: johannes
Date: 2007-05-27 06:22:46 -0500 (Sun, 27 May 2007)
New Revision: 9633

Added:
   trunk/gnue-common/packaging/osx/build-env/
   trunk/gnue-common/packaging/osx/build-env/Resources/
   trunk/gnue-common/packaging/osx/build-env/Resources/README
   trunk/gnue-common/packaging/osx/build-env/Resources/postflight
Modified:
   trunk/gnue-common/packaging/osx/create-build
Log:
Add the resource tree


Added: trunk/gnue-common/packaging/osx/build-env/Resources/README
===================================================================
--- trunk/gnue-common/packaging/osx/build-env/Resources/README	2007-05-27 11:18:32 UTC (rev 9632)
+++ trunk/gnue-common/packaging/osx/build-env/Resources/README	2007-05-27 11:22:46 UTC (rev 9633)
@@ -0,0 +1,31 @@
+# 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
+
+
+2. Installation
+
+  To install GNU Enterprise Common 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".

Added: trunk/gnue-common/packaging/osx/build-env/Resources/postflight
===================================================================
--- trunk/gnue-common/packaging/osx/build-env/Resources/postflight	2007-05-27 11:18:32 UTC (rev 9632)
+++ trunk/gnue-common/packaging/osx/build-env/Resources/postflight	2007-05-27 11:22:46 UTC (rev 9633)
@@ -0,0 +1,17 @@
+#!/bin/bash
+#
+# Postflight script: 
+# Compile and optimize all python files of gnue
+#
+
+PYTHON=python2.3
+COMPILE=/usr/lib/$PYTHON/compileall.py
+SITELIB="/usr/lib/$PYTHON/site-packages/gnue/"
+
+if which $PYTHON >/dev/null 2>&1 && [ -e "$COMPILE" ];
+then
+  for i in $SITELIB ; do
+    $PYTHON -O $COMPILE -q $i
+    $PYTHON $COMPILE -q $i
+  done
+fi


Property changes on: trunk/gnue-common/packaging/osx/build-env/Resources/postflight
___________________________________________________________________
Name: svn:executable
   + *

Modified: trunk/gnue-common/packaging/osx/create-build
===================================================================
--- trunk/gnue-common/packaging/osx/create-build	2007-05-27 11:18:32 UTC (rev 9632)
+++ trunk/gnue-common/packaging/osx/create-build	2007-05-27 11:22:46 UTC (rev 9633)
@@ -115,7 +115,7 @@
 # Get rid of the obsolte directories
 # ---------------------------------------------------------------------------
 
-rm -rf "$curdir/build-env"
+rm -rf "$destdir"
 
 
 # ---------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.