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
Romain Courteaud
slapos
Commits
6d69a39b
Commit
6d69a39b
authored
May 08, 2014
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build freetype using pkg-config.
parent
8a6ed9eb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
component/fontconfig/buildout.cfg
component/fontconfig/buildout.cfg
+1
-1
component/freetype/buildout.cfg
component/freetype/buildout.cfg
+4
-1
No files found.
component/fontconfig/buildout.cfg
View file @
6d69a39b
...
...
@@ -15,7 +15,7 @@ parts =
recipe = slapos.recipe.cmmi
url = http://fontconfig.org/release/fontconfig-2.11.1.tar.bz2
md5sum = 824d000eb737af6e16c826dd3b2d6c90
pkg_config_depends = ${freetype:
location}/lib/pkgconfig:${libxml2:location}/lib/pkgconfig:${zlib
:location}/lib/pkgconfig
pkg_config_depends = ${freetype:
pkg_config_depends}:${freetype:location}/lib/pkgconfig:${libxml2
:location}/lib/pkgconfig
# XXX-Cedric : should we use --with-add-fonts={somefont:location}/share,{someotherfont:location}/share?
configure-options =
--disable-static
...
...
component/freetype/buildout.cfg
View file @
6d69a39b
...
...
@@ -5,6 +5,7 @@
extends =
../bzip2/buildout.cfg
../libpng/buildout.cfg
../pkgconfig/buildout.cfg
../zlib/buildout.cfg
parts =
...
...
@@ -14,14 +15,16 @@ parts =
recipe = slapos.recipe.cmmi
url = http://download.savannah.gnu.org/releases/freetype/freetype-2.5.3.tar.bz2
md5sum = d6b60f06bfc046e43ab2a6cbfd171d65
pkg_config_depends = ${zlib:location}/lib/pkgconfig:${libpng:location}/lib/pkgconfig
depends =
${libpng:so_version}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
configure-options =
--disable-static
environment =
PATH=${pkgconfig:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${:pkg_config_depends}
CPPFLAGS=-I${bzip2:location}/include -I${zlib:location}/include
LDFLAGS=-L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
PATH=${libpng:location}/bin:%(PATH)s
make-targets =
install && ln -s . ${:location}/include/freetype2/freetype
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