Add inkscape in erp5 installation
[slapos.git] / stack / erp5 / buildout.cfg
1 [buildout]
2 # Local development
3 develop =
4   ${:parts-directory}/slapos.cookbook-repository
5   ${:parts-directory}/cloudooo-repository
6
7 extensions =
8   slapos.zcbworkarounds
9   mr.developer
10
11 find-links =
12     http://www.nexedi.org/static/packages/source/slapos.buildout/
13     http://www.nexedi.org/static/packages/source/hexagonit.recipe.download/
14     http://dist.repoze.org
15     http://www.nexedi.org/static/packages/source/
16     http://www.owlfish.com/software/wsgiutils/download.html
17
18 allow-hosts += pybrary.net
19
20 extends =
21 # Exact version of Zope
22   https://raw.github.com/zopefoundation/Zope/2.13.21/versions.cfg
23   ../../stack/slapos.cfg
24   ../../component/logrotate/buildout.cfg
25   ../../component/dcron/buildout.cfg
26   ../../component/file/buildout.cfg
27   ../../component/fonts/buildout.cfg
28   ../../component/ghostscript/buildout.cfg
29   ../../component/git/buildout.cfg
30   ../../component/graphviz/buildout.cfg
31   ../../component/gzip/buildout.cfg
32   ../../component/haproxy/buildout.cfg
33   ../../component/hookbox/buildout.cfg
34   ../../component/librsvg/buildout.cfg
35   ../../component/imagemagick/buildout.cfg
36   ../../component/inkscape/buildout.cfg
37   ../../component/kumo/buildout.cfg
38   ../../component/libdmtx/buildout.cfg
39   ../../component/libpng/buildout.cfg
40   ../../component/libreoffice-bin/buildout.cfg
41   ../../component/lxml-python/buildout.cfg
42   ../../component/percona-toolkit/buildout.cfg
43   ../../component/mariadb/buildout.cfg
44   ../../component/mysql-python/buildout.cfg
45   ../../component/pil-python/buildout.cfg
46   ../../component/pycrypto-python/buildout.cfg
47   ../../component/pysvn-python/buildout.cfg
48   ../../component/python-2.7/buildout.cfg
49   ../../component/python-ldap-python/buildout.cfg
50   ../../component/rdiff-backup/buildout.cfg
51   ../../component/stunnel/buildout.cfg
52   ../../component/subversion/buildout.cfg
53   ../../component/tesseract/buildout.cfg
54   ../../component/w3-validator/buildout.cfg
55   ../../component/w3m/buildout.cfg
56   ../../component/xorg/buildout.cfg
57   ../../component/poppler/buildout.cfg
58   ../../component/zabbix/buildout.cfg
59   ../../component/sed/buildout.cfg
60   ../../component/coreutils/buildout.cfg
61   ../../component/grep/buildout.cfg
62   ../../component/dash/buildout.cfg
63   ../../component/wget/buildout.cfg
64   ../../component/aspell/buildout.cfg
65   ../../component/cloudooo/buildout.cfg
66   ../../component/jsl/buildout.cfg
67   ../../component/6tunnel/buildout.cfg
68   ../../component/findutils/buildout.cfg
69
70 parts =
71   rdiff-backup
72   aspell
73   aspell-en-dictionary
74   apache
75   apache-antiloris
76   file
77   findutils
78   graphviz
79   haproxy
80   jsl
81   stunnel
82   w3m
83   poppler
84   libpng
85   ghostscript
86   mariadb
87   mroonga-mariadb
88   imagemagick
89   inkscape
90   libdmtx
91   dmtx-utils
92   kumo
93   libreoffice-bin
94   w3-validator
95   tesseract
96   hookbox
97   perl-DBD-mariadb
98   perl-DBI
99   percona-toolkit
100   zabbix-agent
101   dcron
102   dash
103   wget
104
105 # Buildoutish
106   eggs
107   testrunner
108   test_suite_runner
109
110 # basic Xorg
111   libXdmcp
112   libXext
113   libXau
114   libSM
115   libXrender
116
117 # fonts
118   liberation-fonts
119   ipaex-fonts
120   ocrb-fonts
121
122 # Cloudooo specific part
123   cloudooo
124
125 # get git repositories
126   erp5
127   genbt5list
128
129 # fix products path (Zeo needs ERP5 Products to be available for
130 # conflict resolution)
131   fix-products-paths
132 # some additional utils
133   slapos-toolbox
134   zodbanalyze
135
136 # Local development
137   slapos.cookbook-repository
138   check-recipe
139 # Create instance template
140   template
141
142 [download-base]
143 recipe = slapos.recipe.build:download
144 url = ${:_profile_base_location_}/${:filename}
145 mode = 644
146
147 # Local development
148 [slapos.cookbook-repository]
149 recipe = slapos.recipe.build:gitclone
150 repository = http://git.erp5.org/repos/slapos.git
151 branch = erp5-cluster
152 git-executable = ${git:location}/bin/git
153
154 [check-recipe]
155 recipe = plone.recipe.command
156 stop-on-error = true
157 update-command = ${:command}
158 command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
159
160 [template-jinja2-base]
161 recipe = slapos.recipe.template:jinja2
162 template = ${:_profile_base_location_}/${:filename}.in
163 rendered = ${buildout:directory}/${:filename}
164 # XXX: extra-context is needed because we cannot append to a key of an extended
165 # section.
166 extra-context =
167 context =
168     key bin_directory buildout:bin-directory
169     key develop_eggs_directory buildout:develop-eggs-directory
170     key eggs_directory buildout:eggs-directory
171     ${:extra-context}
172
173 [template-mariadb]
174 < = download-base
175 filename = instance-mariadb.cfg.in
176 md5sum = 000d5e38bd5f5c8869e69f1232d12e56
177 link-binary =
178   ${coreutils:location}/bin/basename
179   ${coreutils:location}/bin/cat
180   ${coreutils:location}/bin/cp
181   ${coreutils:location}/bin/ls
182   ${coreutils:location}/bin/tr
183   ${coreutils:location}/bin/uname
184   ${gettext:location}/bin/hostname
185   ${grep:location}/bin/grep
186   ${sed:location}/bin/sed
187
188 [template-kumofs]
189 < = download-base
190 filename = instance-kumofs.cfg.in
191 md5sum = 90cfea3b4b38a5a1682e016eb82b391c
192
193 [template-cloudooo]
194 < = download-base
195 filename = instance-cloudoo.cfg.in
196 md5sum = 9622cc0a21b6caf9c9beb5efea3e1998
197
198 [template-zope-conf]
199 < = download-base
200 filename = zope.conf.in
201 md5sum = c4c42d06c63d33de703fc03415e34d84
202
203 [template-my-cnf]
204 < = download-base
205 filename = my.cnf.in
206 md5sum = 774b0e5d167b75a0ad8ead45fa2eadf6
207
208 [template-mariadb-initial-setup]
209 < = download-base
210 filename = mariadb_initial_setup.sql.in
211 md5sum = 564006953b7d7a12d40a14b6648b32f0
212
213 [template]
214 < = template-jinja2-base
215 # XXX: "template.cfg" is hardcoded in instanciation recipe
216 filename = template.cfg
217 template = ${:_profile_base_location_}/instance.cfg.in
218 md5sum = f71e14621d90903eba1b943401548b8a
219 extra-context =
220     key mariadb_link_binary template-mariadb:link-binary
221     key zope_link_binary template-zope:link-binary
222     key apache_location apache:location
223     key aspell_location aspell:location
224     key buildout_bin_directory buildout:bin-directory
225     key coreutils_location coreutils:location
226     key curl_location curl:location
227     key dash_location dash:location
228     key dcron_location dcron:location
229     key erp5_location erp5:location
230     key file_location file:location
231     key findutils_location findutils:location
232     key fontconfig_location fontconfig:location
233     key fonts_location fonts:location
234     key freetype_location freetype:location
235     key gzip_location gzip:location
236     key haproxy_location haproxy:location
237     key jsl_location jsl:location
238     key kumo_location kumo:location
239     key libICE_location libICE:location
240     key libSM_location libSM:location
241     key libX11_location libX11:location
242     key libXau_location libXau:location
243     key libXdmcp_location libXdmcp:location
244     key libXext_location libXext:location
245     key libXrender_location libXrender:location
246     key libpng12_location libpng12:location
247     key libreoffice_bin_location libreoffice-bin:location
248     key librsvg_location librsvg:location
249     key libxcb_location libxcb:location
250     key local_bt5_repository local-bt5-repository:list
251     key logrotate_location logrotate:location
252     key mariadb_location mariadb:location
253     key openssl_location openssl:location
254     key sixtunnel_location 6tunnel:location
255     key stunnel_location stunnel:location
256     key template_balancer template-balancer:target
257     key template_cloudooo template-cloudooo:target
258     key template_erp5 template-erp5:target
259     key template_haproxy_cfg template-haproxy-cfg:target
260     key template_kumofs template-kumofs:target
261     key template_logrotate_base template-logrotate-base:rendered
262     key template_mariadb template-mariadb:target
263     key template_mariadb_initial_setup template-mariadb-initial-setup:target
264     key template_my_cnf template-my-cnf:target
265     key template_neo template-neo:target
266     key template_zeo template-zeo:target
267     key template_zope template-zope:target
268     key template_zope_conf template-zope-conf:target
269     key wget_location wget:location
270     key zlib_location zlib:location
271
272 [template-erp5]
273 < = download-base
274 filename = instance-erp5.cfg.in
275 md5sum = 5b11875e6beba48db7d45c5d462a6d2d
276
277 [template-neo]
278 < = download-base
279 filename = instance-neo.cfg.in
280 md5sum = 7735d535aa34dfdc18a776b80bc0ca3d
281
282 [template-zeo]
283 < = download-base
284 filename = instance-zeo.cfg.in
285 md5sum = 32de16140a294a7e456a9665124bdb93
286
287 [template-zope]
288 < = download-base
289 filename = instance-zope.cfg.in
290 md5sum = 882927b01ee5d5d5c05b9eb8bf3b5255
291 link-binary =
292   ${coreutils:location}/bin/basename
293   ${coreutils:location}/bin/cat
294   ${coreutils:location}/bin/cp
295   ${coreutils:location}/bin/ls
296   ${coreutils:location}/bin/tr
297   ${coreutils:location}/bin/uname
298   ${dmtx-utils:location}/bin/dmtxwrite
299   ${git:location}/bin/git
300   ${graphviz:location}/bin/dot
301   ${grep:location}/bin/grep
302   ${imagemagick:location}/bin/convert
303   ${imagemagick:location}/bin/identify
304   ${mariadb:location}/bin/mysql
305   ${mariadb:location}/bin/mysqldump
306   ${openssl:location}/bin/openssl
307   ${poppler:location}/bin/pdfinfo
308   ${poppler:location}/bin/pdftohtml
309   ${poppler:location}/bin/pdftotext
310   ${sed:location}/bin/sed
311   ${tesseract:location}/bin/tesseract
312   ${w3m:location}/bin/w3m
313
314 [template-balancer]
315 < = download-base
316 filename = instance-balancer.cfg.in
317 md5sum = 722ce9bfd981aa6a246e595902086b65
318
319 [template-haproxy-cfg]
320 < = download-base
321 filename = haproxy.cfg.in
322 md5sum = 9f8bdf49366eee04c2add5c203d20cd0
323
324 [template-logrotate-base]
325 < = template-jinja2-base
326 filename = instance-logrotate-base.cfg
327 md5sum = af19ff0c7817df85987c69738fb083f2
328 extra-context =
329     key dcron_location dcron:location
330     key gzip_location gzip:location
331     key logrotate_location logrotate:location
332
333 [bt5-repository]
334 # Format:
335 #   <url or path> [...]
336 #
337 # Use absolute paths for local repositories, and URLs for non-local otherwise.
338 #
339 list = ${local-bt5-repository:list}
340
341 [local-bt5-repository]
342 # Same as bt5-repository, but only local repository.
343 # Used to generate bt5lists.
344 list = ${erp5:location}/bt5 ${erp5:location}/product/ERP5/bootstrap
345
346 [genbt5list]
347 recipe = plone.recipe.command
348 stop-on-error = true
349 genbt5list = ${erp5:location}/product/ERP5/bin/genbt5list
350 command =
351   ${buildout:executable} ${:genbt5list} ${local-bt5-repository:list}
352 update-command = ${:command}
353
354 [erp5_repository_list]
355 repository_id_list = erp5
356
357 [erp5]
358 recipe = slapos.recipe.build:gitclone
359 repository = http://git.erp5.org/repos/erp5.git
360 branch = master
361 git-executable = ${git:location}/bin/git
362
363 [fix-products-paths]
364 recipe = plone.recipe.command
365 stop-on-error = true
366 dir = ${erp5:location}
367 command =
368   rm -f "${:dir}/Products" && ln -s product "${:dir}/Products" && touch "${:dir}/product/__init__.py"
369 update-command = ${:command}
370
371 [testrunner]
372 # XXX: Workaround for fact ERP5Type is not an distribution and does not
373 #      expose entry point for test runner
374 recipe = zc.recipe.egg
375 python = python2.7
376 eggs = ${eggs:eggs}
377 extra-paths = ${eggs:extra-paths}
378 entry-points =
379   runUnitTest=runUnitTest:main
380 scripts = runUnitTest
381 initialization =
382   import glob, imp, os, sys
383   import App # prevent Testing from importing Zope2.App instead of App
384   import Products
385   Products.__path__[:0] = filter(None,
386     os.getenv('INSERT_PRODUCTS_PATH', '').split(os.pathsep))
387   os.environ['SOFTWARE_HOME'] = os.path.abspath(imp.find_module('Zope2')[1])
388   os.environ['ZOPE_SCRIPTS'] = ''
389   parts_directory = '''${buildout:parts-directory}'''
390   repository_id_list = \
391     '''${erp5_repository_list:repository_id_list}'''.split()[::-1]
392   os.environ['erp5_tests_bt5_path'] = ','.join(sum((
393     [bt5_path, os.path.join(bt5_path, '*')]
394     for bt5_path in (os.path.join(parts_directory, x, 'bt5')
395                      for x in repository_id_list)), []))
396   extra_path_list = '''${:extra-paths}'''.split()
397   sys.path[:0] = sum((
398     glob.glob(os.path.join(x, 'tests'))
399     for x in extra_path_list), [])
400   sys.path[:0] = sum((
401     glob.glob(os.path.join(x, 'Products', '*', 'tests'))
402     for x in extra_path_list), [])
403   sys.path[:0] = sum((
404     glob.glob(os.path.join(x, 'Products', '*', 'tests'))
405     for x in os.getenv('INSERT_PRODUCTS_PATH', '').split(os.pathsep)), [])
406   os.environ['PATH'] = '${jsl:location}/bin:%s' % os.environ['PATH']
407   os.environ['CGI_PATH'] = '${w3-validator:location}/httpd/cgi-bin'
408
409 [test_suite_runner]
410 # XXX: Workaround for fact ERP5Type is not an distribution and does not
411 #      expose entry point for test runner
412 recipe = zc.recipe.egg
413 python = python2.7
414 eggs = ${eggs:eggs}
415 extra-paths = ${eggs:extra-paths}
416 entry-points =
417   runTestSuite=Products.ERP5Type.tests.runTestSuite:main
418 scripts = runTestSuite
419 initialization =
420   import os
421   import sys
422   import Products
423   [Products.__path__.insert(0, p) for p in reversed(os.environ.get('INSERT_PRODUCTS_PATH', '').split(':')) if p]
424   import Zope2
425   os.environ['SOFTWARE_HOME'] = os.path.abspath(os.path.dirname(os.path.dirname(Zope2.__file__)))
426   os.environ['ZOPE_SCRIPTS'] = ''
427   repository_id_list = list(reversed('''${erp5_repository_list:repository_id_list}'''.split()))
428   sys.path[0:0] = ['/'.join(['''${buildout:parts-directory}''', x]) for x in repository_id_list]
429
430 [eggs]
431 recipe = zc.recipe.egg
432 python = python2.7
433 eggs =
434   ${mysql-python:egg}
435   ${lxml-python:egg}
436   ${pil-python:egg}
437   ${python-ldap-python:egg}
438   ${pysvn-python:egg}
439   ${pycrypto-python:egg}
440   lock_file
441   PyXML
442   SOAPpy
443   cElementTree
444   chardet
445   coverage
446   elementtree
447   erp5diff
448   inotifyx
449   ipdb
450   mechanize
451   numpy
452   ordereddict
453   paramiko
454   ply
455   pyflakes
456   pyPdf # should be replaced by PyPDF2, but it is not installable
457   python-magic
458   python-memcached
459   pytz
460   requests
461   threadframe
462   timerserver
463   urlnorm
464   uuid
465   xml_marshaller
466   xupdate_processor
467   feedparser
468   argparse
469   validictory
470   erp5.util
471   huBarcode
472   qrcode
473   spyne
474
475 # Zope
476   ZODB3
477   Zope2
478 # Zope acquisition patch
479   Acquisition
480
481 # Other Zope 2 packages
482   Products.PluggableAuthService
483   Products.PluginRegistry
484
485 # CMF 2.2
486   Products.CMFActionIcons
487   Products.CMFCalendar
488   Products.CMFCore
489   Products.CMFDefault
490   Products.CMFTopic
491   Products.CMFUid
492   Products.DCWorkflow
493   Products.GenericSetup
494   five.localsitemanager
495
496 # Other products
497   Products.DCWorkflowGraph
498   Products.MimetypesRegistry
499   Products.ExternalEditor
500   Products.TIDStorage
501   Products.LongRequestLogger
502
503 # BBB: Temporarily keep zope.app.testing awaiting we use newer version of CMF
504 #      (for tests like testCookieCrumbler).
505   zope.app.testing
506
507 # Currently forked in our repository
508 #    Products.PortalTransforms
509 # Dependency for our fork of PortalTransforms
510   StructuredText
511
512 # Needed for parsing .po files from our Localizer subset
513   polib
514
515 # parameterizing the version of the generated python interpreter name by the
516 # python section version causes dependency between this egg section and the
517 # installation of python, which we don't want on an instance
518 interpreter = python2.7
519 scripts =
520   repozo
521   runzope
522   runzeo
523   tidstoraged
524   tidstorage_repozo
525   web_checker_utility = erp5.util.webchecker:web_checker_utility
526
527 extra-paths =
528   ${erp5:location}
529
530 [zodbanalyze]
531 recipe = zc.recipe.egg
532 python = python2.7
533 eggs =
534   ZODB3
535   erp5.util
536 entry-points =
537   zodbanalyze=erp5.util.zodbanalyze:main
538 scripts = zodbanalyze
539
540 [cloudooo-repository]
541 branch = master
542 revision = 5c67568c403239bd8e25993602d03c553236fcec
543
544 [mysql-python]
545 python = python2.7
546
547 [lxml-python]
548 python = python2.7
549
550 [pil-python]
551 python = python2.7
552
553 [python-ldap-python]
554 python = python2.7
555
556 [pysvn-python]
557 python = python2.7
558
559 [slapos-toolbox]
560 recipe = zc.recipe.egg
561 python = ${eggs:python}
562 eggs =
563   ${lxml-python:egg}
564   slapos.toolbox
565   slapos.toolbox[zodbpack]
566
567 scripts =
568   killpidfromfile
569   onetimedownload
570   zodbpack
571
572 [versions]
573 # pin Acquisition and Products.DCWorkflow to Nexedi flavour of eggs
574 Acquisition = 2.13.7nxd001
575 Products.DCWorkflow = 2.2.3nxd002
576
577 # specify dev version to be sure that an old released version is not used
578 cloudooo = 1.2.5-dev
579
580 # use newer version than specified in ZTK
581 lxml = 2.3.6
582
583 # Known version with works
584 numpy = 1.6.2
585
586 # test_UserManagerInterfaces in testERP5Security fails with 1.10.0.
587 Products.PluggableAuthService = 1.9.0
588
589 # official pysvn egg does not supports --include-dirs and
590 # --library-dirs, so we use our modified version
591 pysvn = 1.7.4nxd006
592
593 # modified version to support ipv6
594 python-memcached = 1.47-ipv6-1
595
596 # use newest version of pytz
597 pytz =
598
599 # Patched version which support python 2.6
600 PyXML = 0.8.4nxd001
601
602 # we are still using this old stable version.
603 rdiff-backup = 1.0.5
604
605 # use dev version
606 setuptools = 0.6c12dev-r88846
607
608 # use newest version of slapos.cookbook
609 slapos.cookbook =
610
611 # modified version that works fine for buildout installation
612 SOAPpy = 0.12.0nxd001
613
614 # CMF 2.3 requries Zope 2.13.
615 Products.CMFCalendar = 2.2.2
616 Products.CMFCore = 2.2.6
617 Products.CMFDefault = 2.2.2
618 Products.CMFTopic = 2.2.1
619 Products.CMFUid = 2.2.1
620
621 # newer version requires zope.traversing>=4.0.0a2.
622 zope.app.appsetup = 3.16.0
623
624 # newer version requires zope.i18n>=4.0.0a3
625 zope.app.publication = 3.14.0
626
627 # BBB: Temporarily keep zope.app.testing awaiting we use newer version of CMF
628 #      (for tests like testCookieCrumbler).
629 zope.app.testing = 3.8.1
630
631 # Pinned versions
632 Flask = 0.9
633 GitPython = 0.3.2.RC1
634 Jinja2 = 2.6
635 MySQL-python = 1.2.4
636 PIL = 1.1.7
637 Paste = 1.7.5.1
638 PasteDeploy = 1.5.0
639 PasteScript = 1.7.5
640 Products.CMFActionIcons = 2.1.3
641 Products.DCWorkflowGraph = 0.4.1
642 Products.ExternalEditor = 1.1.0
643 Products.GenericSetup = 1.7.3
644 Products.LongRequestLogger = 1.1.0
645 Products.MimetypesRegistry = 2.0.4
646 Products.PluginRegistry = 1.3
647 Products.TIDStorage = 5.4.8
648 Products.ZSQLMethods = 2.13.4
649 Pygments = 1.6
650 StructuredText = 2.11.1
651 WSGIUtils = 0.7
652 Werkzeug = 0.8.3
653 apache-libcloud = 0.12.4
654 argparse = 1.2.1
655 async = 0.6.1
656 atomize = 0.1.1
657 cElementTree = 1.0.5-20051216
658 chardet = 2.1.1
659 coverage = 3.6
660 csp-eventlet = 0.7.0
661 elementtree = 1.2.7-20070827-preview
662 erp5.recipe.cmmiforcei686 = 0.1.3
663 erp5.util = 0.4.34
664 erp5diff = 0.8.1.5
665 eventlet = 0.12.1
666 feedparser = 5.1.3
667 five.formlib = 1.0.4
668 five.localsitemanager = 2.0.5
669 fpconst = 0.7.2
670 gitdb = 0.5.4
671 greenlet = 0.4.0
672 hexagonit.recipe.cmmi = 1.6
673 http-parser = 0.8.1
674 huBarcode = 0.63
675 inotifyx = 0.2.0
676 ipdb = 0.7
677 ipython = 0.13.2
678 meld3 = 0.6.10
679 mr.developer = 1.25
680 netaddr = 0.7.10
681 netifaces = 0.8_1
682 ordereddict = 1.1
683 paramiko = 1.10.1
684 plone.recipe.command = 1.1
685 ply = 3.4
686 polib = 1.0.3
687 psutil = 0.7.1
688 pyPdf = 1.13
689 pyflakes = 0.7.2
690 python-ldap = 2.4.10
691 python-magic = 0.4.3
692 qrcode = 2.7
693 requests = 1.2.3
694 restkit = 4.2.1
695 rtjp-eventlet = 0.3.2
696 slapos.core = 0.35.1
697 slapos.recipe.build = 0.11.6
698 slapos.recipe.template = 2.5
699 slapos.toolbox = 0.33.1
700 smmap = 0.8.2
701 socketpool = 0.5.2
702 spyne = 2.10.7
703 supervisor = 3.0b2
704 threadframe = 0.2
705 timerserver = 2.0.2
706 urlnorm = 1.1.2
707 uuid = 1.30
708 validictory = 0.9.1
709 xml-marshaller = 0.9.7
710 xupdate-processor = 0.4
711 zope.app.debug = 3.4.1
712 zope.app.dependable = 3.5.1
713 zope.app.form = 4.0.2