[buildout] parts = publish-cloudooo-connection-information cloudooo-instance eggs-directory = ${buildout:eggs-directory} develop-eggs-directory = ${buildout:develop-eggs-directory} offline = true [publish-cloudooo-connection-information] recipe = slapos.cookbook:publishurl url = cloudooo://$${cloudooo-instance:ip}:$${cloudooo-instance:port}/ [cloudooo-instance] recipe = slapos.cookbook:generic.cloudooo # Network options ip = $${slap-network-information:local-ipv4} port = 23000 openoffice-port = 23060 # Paths configuration-file = $${rootdirectory:etc}/cloudooo.cfg wrapper = $${basedirectory:services}/cloudooo # Paths: Data data-directory = $${directory:cloudooo-data} environment = LD_LIBRARY_PATH = ${file:location}/lib:${fontconfig:location}/lib:${freetype:location}/lib:${libICE:location}/lib:${libSM:location}/lib:${libX11:location}/lib:${libXau:location}/lib:${libXdmcp:location}/lib:${libXext:location}/lib:${libXinerama:location}/lib:${libxcb:location}/lib:${zlib:location}/lib FONTCONFIG_FILE = $${fontconfig-instance:conf-path} # Binary information # cloudooo specific configuration ooo-binary-path = ${libreoffice-bin:location}/program ooo-paster = ${buildout:bin-directory}/cloudooo_paster ooo-uno-path = ${libreoffice-bin:location}/basis-link/program [fontconfig-instance] recipe = slapos.cookbook:fontconfig conf-path = $${rootdirectory:etc}/font.conf font-system-folder = ${fonts:location} font-folder = $${directory:font} url-list = $${dynamic-fontconfig-instance:url-list} service-folder = $${basedirectory:services} onetimedownload_path = ${buildout:bin-directory}/onetimedownload # rest of parts are candidates for some generic stuff [basedirectory] recipe = slapos.cookbook:mkdirectory services = $${rootdirectory:etc}/run [directory] recipe = slapos.cookbook:mkdirectory cloudooo-data = $${rootdirectory:srv}/cloudooo font = $${rootdirectory:srv}/font [rootdirectory] recipe = slapos.cookbook:mkdirectory etc = $${buildout:directory}/etc srv = $${buildout:directory}/srv