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
Xiaowu Zhang
slapos
Commits
ec298107
Commit
ec298107
authored
Jun 11, 2018
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cups: shared build
parent
c2cab14a
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
3 deletions
+16
-3
component/cups/buildout.cfg
component/cups/buildout.cfg
+1
-0
component/gdbm/buildout.cfg
component/gdbm/buildout.cfg
+2
-1
component/patch/buildout.cfg
component/patch/buildout.cfg
+1
-0
component/perl/buildout.cfg
component/perl/buildout.cfg
+3
-2
component/xz-utils/buildout.cfg
component/xz-utils/buildout.cfg
+1
-0
component/zlib/buildout.cfg
component/zlib/buildout.cfg
+1
-0
stack/slapos.cfg
stack/slapos.cfg
+7
-0
No files found.
component/cups/buildout.cfg
View file @
ec298107
...
@@ -9,6 +9,7 @@ extends =
...
@@ -9,6 +9,7 @@ extends =
# for now we build and install library and header files only.
# for now we build and install library and header files only.
[cups]
[cups]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
url = http://www.cups.org/software/1.7.4/cups-1.7.4-source.tar.bz2
url = http://www.cups.org/software/1.7.4/cups-1.7.4-source.tar.bz2
md5sum = 1a2295c2b2d2f422db2e50f40ed2fb99
md5sum = 1a2295c2b2d2f422db2e50f40ed2fb99
configure-options =
configure-options =
...
...
component/gdbm/buildout.cfg
View file @
ec298107
...
@@ -4,6 +4,7 @@ parts =
...
@@ -4,6 +4,7 @@ parts =
[gdbm]
[gdbm]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
version = 1.11
version = 1.11
url = ftp://ftp.gnu.org/gnu/gdbm/gdbm-${:version}.tar.gz
url = ftp://ftp.gnu.org/gnu/gdbm/gdbm-${:version}.tar.gz
md5sum = 72c832680cf0999caedbe5b265c8c1bd
md5sum = 72c832680cf0999caedbe5b265c8c1bd
...
@@ -12,7 +13,7 @@ configure-options =
...
@@ -12,7 +13,7 @@ configure-options =
--enable-libgdbm-compat
--enable-libgdbm-compat
# install as parts/gdbm/include/gdbm/*.h etc. because some softwares
# install as parts/gdbm/include/gdbm/*.h etc. because some softwares
# (eg. python's dbmmodule.c extension) assume the location like this.
# (eg. python's dbmmodule.c extension) assume the location like this.
includedir =
${buildout:parts-directory}/${:_buildout_section_name_}
/include
includedir =
@@LOCATION@@
/include
make-targets =
make-targets =
install includedir=${:includedir}/gdbm && rm -f ${:includedir}/*.h && ln -sf gdbm/gdbm.h ${:includedir}/gdbm.h
install includedir=${:includedir}/gdbm && rm -f ${:includedir}/*.h && ln -sf gdbm/gdbm.h ${:includedir}/gdbm.h
# it seems that parallel build sometimes fails for gdbm.
# it seems that parallel build sometimes fails for gdbm.
...
...
component/patch/buildout.cfg
View file @
ec298107
...
@@ -6,6 +6,7 @@ parts =
...
@@ -6,6 +6,7 @@ parts =
[patch]
[patch]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
url = ftp://ftp.gnu.org/gnu/patch/patch-2.7.5.tar.xz
url = ftp://ftp.gnu.org/gnu/patch/patch-2.7.5.tar.xz
md5sum = e3da7940431633fb65a01b91d3b7a27a
md5sum = e3da7940431633fb65a01b91d3b7a27a
environment =
environment =
...
...
component/perl/buildout.cfg
View file @
ec298107
...
@@ -7,16 +7,17 @@ parts =
...
@@ -7,16 +7,17 @@ parts =
[perl]
[perl]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
version = 5.26.1
version = 5.26.1
url = http://www.cpan.org/src/5.0/perl-${:version}.tar.bz2
url = http://www.cpan.org/src/5.0/perl-${:version}.tar.bz2
md5sum = 467cd0c43514b9b5e397c8b385581f53
md5sum = 467cd0c43514b9b5e397c8b385581f53
siteprefix =
${buildout:parts-directory}/site_${:_buildout_section_name_}
siteprefix =
@@HEAD_LOCATION@@/site_@@TAIL_LOCATION@@
patch-options = -p1
patch-options = -p1
patches =
patches =
${:_profile_base_location_}/perl-keep-linker-flags-in-ldflags.patch#4e8e0c59d7176eafb0c7402dea17bef1
${:_profile_base_location_}/perl-keep-linker-flags-in-ldflags.patch#4e8e0c59d7176eafb0c7402dea17bef1
configure-command =
configure-command =
sh Configure -des \
sh Configure -des \
-Dprefix=
${buildout:parts-directory}/${:_buildout_section_name_}
\
-Dprefix=
@@LOCATION@@
\
-Dsiteprefix=${:siteprefix} \
-Dsiteprefix=${:siteprefix} \
-Dcflags=-I${gdbm:location}/include \
-Dcflags=-I${gdbm:location}/include \
-Dldflags="-L${gdbm:location}/lib -Wl,-rpath=${gdbm:location}/lib" \
-Dldflags="-L${gdbm:location}/lib -Wl,-rpath=${gdbm:location}/lib" \
...
...
component/xz-utils/buildout.cfg
View file @
ec298107
...
@@ -4,6 +4,7 @@ parts =
...
@@ -4,6 +4,7 @@ parts =
[xz-utils]
[xz-utils]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
url = http://tukaani.org/xz/xz-5.2.2.tar.bz2
url = http://tukaani.org/xz/xz-5.2.2.tar.bz2
md5sum = f90c9a0c8b259aee2234c4e0d7fd70af
md5sum = f90c9a0c8b259aee2234c4e0d7fd70af
configure-options =
configure-options =
...
...
component/zlib/buildout.cfg
View file @
ec298107
...
@@ -4,5 +4,6 @@ parts =
...
@@ -4,5 +4,6 @@ parts =
[zlib]
[zlib]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
url = http://downloads.sourceforge.net/project/libpng/zlib/1.2.11/zlib-1.2.11.tar.gz
url = http://downloads.sourceforge.net/project/libpng/zlib/1.2.11/zlib-1.2.11.tar.gz
md5sum = 1c9f62f0778697a09d36121ead88e08e
md5sum = 1c9f62f0778697a09d36121ead88e08e
stack/slapos.cfg
View file @
ec298107
...
@@ -4,6 +4,13 @@
...
@@ -4,6 +4,13 @@
[buildout]
[buildout]
python = python2.7
python = python2.7
shared-part = /srv/slapgrid/slappart2/srv/runner/project/cache
eggs-directory = /srv/slapgrid/slappart2/srv/runner/project/shared-eggs
abi-tag-eggs = true
develop =
/srv/slapgrid/slappart2/srv/runner/project/slapos.recipe.cmmi
# Developers need to add explicitely this part in their software profile
# Developers need to add explicitely this part in their software profile
# parts = slapos-cookbook
# parts = slapos-cookbook
# Note that if you want a develop version of slapos-cookbook from a git
# Note that if you want a develop version of slapos-cookbook from a git
...
...
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