[Checkins] SVN: z3c.recipe.openoffice/trunk/ change openoffice
version to 2.3 by default
Jean-Fran�ois Roche
jfroche at jfroche.be
Tue Jan 8 15:03:22 EST 2008
Log message for revision 82757:
change openoffice version to 2.3 by default
more readme + restify readme
Changed:
U z3c.recipe.openoffice/trunk/README.txt
U z3c.recipe.openoffice/trunk/src/z3c/recipe/openoffice/recipe.py
-=-
Modified: z3c.recipe.openoffice/trunk/README.txt
===================================================================
--- z3c.recipe.openoffice/trunk/README.txt 2008-01-08 17:37:14 UTC (rev 82756)
+++ z3c.recipe.openoffice/trunk/README.txt 2008-01-08 20:03:22 UTC (rev 82757)
@@ -1,6 +1,67 @@
-This recipe download openoffice in your buildout, it can also (optional)
-create egg with pyuno and change the default python used by openoffice
+z3c.recipe.openoffice
+=====================
-Original author: Martijn Faassen - faassen at infrae.com
+ This recipe download openoffice in your buildout, it can also (optional)
+ create egg with pyuno and change the default python used by openoffice.
-Modified by: Jean-François Roche - jfroche at affinitic.be
+ More info about Python UNO: http://udk.openoffice.org/python/python-bridge.html
+
+ We are using this to generate OpenOffice documents from zope/python
+
+Buildout configuration:
+-----------------------
+
+ Add this section to your buildout configuration::
+
+ [buildout]
+ parts =
+ ... your other parts ...
+ openoffice
+ ...
+
+ [openoffice]
+ recipe = z3c.recipe.openoffice
+
+ This will just download and install openoffice in your buildout
+
+ To create the pyuno egg add the fallowing config::
+
+ [openoffice]
+ recipe = z3c.recipe.openoffice
+ install-pyuno-egg = yes
+
+ To also change openoffice python, add the following config::
+
+ [openoffice]
+ recipe = z3c.recipe.openoffice
+ install-pyuno-egg = yes
+ hack-openoffice-python = yes
+
+ By default it will fetch version OpenOffice 2.3 but you might want to install from another location or another version like this::
+
+ [openoffice]
+ recipe = z3c.recipe.openoffice
+ install-pyuno-egg = yes
+ hack-openoffice-python = yes
+ version = 2.3.1
+ download-url = ftp://ftp.openoffice.skynet.be/pub/ftp.openoffice.org/stable/2.3.1/OOo_2.3.1_LinuxIntel_install_en-US.tar.gz
+
+Notes:
+------
+
+ For this to work an OpenOffice process need to be running in background. As this require a X server and you don't want to install a real X server in a production environment you might want to use Xvfb. Here are the lines we use to start openoffice::
+
+ $ cd myBuildout
+ $ Xvfb :3 -ac -screen sn 800x600x16 &
+ $ ./parts/openoffice/program/soffice "-accept=socket,host=localhost,port=2002;urp;" -display :3 &
+ $ ./bin/instance start
+
+ This recipe only works with linux at the moment
+
+Authors:
+--------
+
+ Original author: Martijn Faassen - faassen at infrae.com
+
+ Modified by: Jean-François Roche - jfroche at affinitic.be
+
Modified: z3c.recipe.openoffice/trunk/src/z3c/recipe/openoffice/recipe.py
===================================================================
--- z3c.recipe.openoffice/trunk/src/z3c/recipe/openoffice/recipe.py 2008-01-08 17:37:14 UTC (rev 82756)
+++ z3c.recipe.openoffice/trunk/src/z3c/recipe/openoffice/recipe.py 2008-01-08 20:03:22 UTC (rev 82757)
@@ -49,7 +49,7 @@
'version','2.3')
options.setdefault(
'download-url',
- 'ftp://ftp.openoffice.skynet.be/pub/ftp.openoffice.org/stable/2.3.1/OOo_2.3.1_LinuxIntel_install_en-US.tar.gz')
+ 'ftp://ftp.openoffice.skynet.be/pub/ftp.openoffice.org/stable/2.3.0/OOo_2.3.0_LinuxIntel_install_en-US.tar.gz')
options.setdefault(
'unpack-name',
'OOG680_m9_native_packed-1_en-US.9238')
More information about the Checkins
mailing list