Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Hardik Juneja
slapos
Commits
e6481f91
Commit
e6481f91
authored
Feb 15, 2012
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version up : LibreOffice 3.5.0 and modify libreoffice-bin script as well.
parent
e0862518
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
component/libreoffice-bin/buildout.cfg
component/libreoffice-bin/buildout.cfg
+12
-5
No files found.
component/libreoffice-bin/buildout.cfg
View file @
e6481f91
...
...
@@ -12,15 +12,15 @@ find-links =
[libreoffice-bin]
recipe = slapos.recipe.build
# here, two %s are used, first one is for directory name (eg. x86_64), and second one is for filename (eg. x86-64).
version = 3.
4.5
version = 3.
5.0
url = http://download.documentfoundation.org/libreoffice/stable/${:version}/rpm/%s/LibO_${:version}_Linux_%s_install-rpm_en-US.tar.gz
# supported architectures md5sums
md5sum_x86 =
34786e6aa570782abac551ab092f3fb3
md5sum_x86-64 = 2
159a50daab707c02b669a83f635ff0c
md5sum_x86 =
72421e3d6ab619b50ea941ab369bd0d4
md5sum_x86-64 = 2
ed879f33f225faff9b0b4b7a1c94155
# where office code can be found?
officedir = libreoffice3.
4
officedir = libreoffice3.
5
# script to install
script =
...
...
@@ -38,7 +38,14 @@ script =
rpmsdir = os.path.join(workdir, [q for q in os.listdir(workdir) if q == 'RPMS'][0])
rpmlist = [os.path.join(rpmsdir, q) for q in os.listdir(rpmsdir) if q.endswith('.rpm') and 'javafilter' not in q and 'xsltfilter' not in q]
[self.pipeCommand([[sys.executable, '${:rpm2cpio}', rpm], ['${:cpio}', '-idum']], cwd=storagedir) for rpm in rpmlist]
self.copyTree(os.path.join(storagedir, 'opt', '${:officedir}'), location, ['basis3.4', 'ure'])
self.copyTree(os.path.join(storagedir, 'opt', '${:officedir}'), location, ['ure-link'])
os.symlink('ure', os.path.join(location, 'ure-link'))
# backward compatibility for cloudooo configuration
os.mkdir(os.path.join(location, 'basis-link'))
os.symlink(os.path.join('..', 'program'), os.path.join(location, 'basis-link', 'program'))
# temporary workaround for https://bugs.freedesktop.org/show_bug.cgi?id=45696
os.unlink(os.path.join(location, 'ure', 'lib', 'libgcc_s.so.1'))
os.unlink(os.path.join(location, 'ure', 'lib', 'libstdc++.so.6'))
# helper binaries
cpio = ${cpio:location}/bin/cpio
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment