wok-4.x rev 12269
openerp: some path fixes and use custom openerp-server wrapper script
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 27 13:47:15 2012 +0200 (2012-04-27) |
parents | 8c577baa3f46 |
children | 21314cf70e7d |
files | openerp-server/receipt openerp-server/stuff/etc/openerp/openerp-server.cfg openerp-web/receipt |
line diff
1.1 --- a/openerp-server/receipt Wed Apr 25 23:46:27 2012 +0200 1.2 +++ b/openerp-server/receipt Fri Apr 27 13:47:15 2012 +0200 1.3 @@ -11,7 +11,7 @@ 1.4 1.5 DEPENDS="python postgresql libxml2-python libxslt psycopg2 python-reportlab \ 1.6 python-pyparsing graphviz libgcrypt python-pil python-lxml matplotlib \ 1.7 -python-pyxml python-pychart python-pydot egenix-mx-base" 1.8 +python-pyxml python-pychart python-pydot egenix-mx-base libxslt-python" 1.9 BUILD_DEPENDS="libxml2-python psycopg2 libxml2 libxslt-python python-reportlab \ 1.10 python-pychart python-pydot python-dev" 1.11 1.12 @@ -29,8 +29,8 @@ 1.13 chmod 777 $fs/var/run/openerp $fs/var/log/openerp 1.14 cp -a $_pkg/usr/bin $fs/usr 1.15 cp -a $_pkg/usr/lib $fs/usr 1.16 - cp -a $stuff/* $fs 1.17 - sed -i 's|cd .*_pkg|cd |' $fs/usr/bin/openerp-server 1.18 + cp -a $stuff/etc $fs 1.19 + cp -a $stuff/openerp-server $fs/usr/bin 1.20 } 1.21 1.22 # Pre and post install commands for Tazpkg.
2.1 --- a/openerp-server/stuff/etc/openerp/openerp-server.cfg Wed Apr 25 23:46:27 2012 +0200 2.2 +++ b/openerp-server/stuff/etc/openerp/openerp-server.cfg Fri Apr 27 13:47:15 2012 +0200 2.3 @@ -4,8 +4,8 @@ 2.4 verbose = False 2.5 xmlrpc = True 2.6 stop_after_init = False 2.7 -root_path = /usr/lib/python2.5/site-packages/openerp-server 2.8 -addons_path = /usr/lib/python2.5/site-packages/openerp-server/addons 2.9 +root_path = /usr/lib/python2.7/site-packages/openerp-server 2.10 +addons_path = /usr/lib/python2.7/site-packages/openerp-server/addons 2.11 soap = False 2.12 translate_modules = ['all'] 2.13 netrpc = True
3.1 --- a/openerp-web/receipt Wed Apr 25 23:46:27 2012 +0200 3.2 +++ b/openerp-web/receipt Fri Apr 27 13:47:15 2012 +0200 3.3 @@ -8,24 +8,26 @@ 3.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 3.5 WEB_SITE="http://openerp.com/" 3.6 WGET_URL="$WEB_SITE/download/stable/source/$TARBALL" 3.7 +CONFIG_FILES="/etc/openerp/openerp-web.conf" 3.8 +# http://doc.openerp.com/install/linux/web/index.html 3.9 + 3.10 DEPENDS="matplotlib setuptools python-turbogears python-pil python \ 3.11 python-pyxml python-pyparsing python-babel python-mako python-markupsafe" 3.12 -BUILD_DEPENDS="setuptools python-dev python python-pyxml python-turbogears" 3.13 -CONFIG_FILES="/etc/openerp/openerp-web.conf" 3.14 -# http://doc.openerp.com/install/linux/web/index.html 3.15 +BUILD_DEPENDS="setuptools python-dev python python-pyxml python-turbogears\ 3.16 +python-beaker" 3.17 3.18 # Rules to configure and make the package. 3.19 compile_rules() 3.20 { 3.21 cd $src 3.22 - python setup.py install --root=$PWD/_pkg 3.23 + python setup.py install --root=$DESTDIR 3.24 } 3.25 3.26 # Rules to gen a SliTaz package suitable for Tazpkg. 3.27 genpkg_rules() 3.28 { 3.29 mkdir -p $fs/usr $fs/etc/openerp $fs/usr/share/applications 3.30 - cp -a stuff/etc $fs/ 3.31 + cp -a $stuff/etc $fs/ 3.32 cp -a $_pkg/usr/config/openerp-web.cfg $fs/etc/openerp/openerp-web.conf 3.33 cp -a $_pkg/usr/bin $fs/usr 3.34 cp -a $_pkg/usr/lib $fs/usr